/srv/irclogs.ubuntu.com/2017/03/30/#maas.txt

mupBug #1673091 changed: Tags with dots are not saved <error-surface> <MAAS:Triaged> <https://launchpad.net/bugs/1673091>03:01
mupBug #1677444 opened: [2.2b4] Cannot select composed machines from POD details to perform actions (e.g. deploy) <rsd> <MAAS:Triaged> <https://launchpad.net/bugs/1677444>04:10
Joe_THi all, I am very new to MAAS…. I was wondering if there were plans to include a ZFS as part of a booting file system that MAAS could manage ?08:45
Joe_Tor has anyone done an network install using  preseed, dhcp, tftp, http and live image where ZFS was the target root file system?08:57
mupBug #1677573 opened: [2.2] Static addresses can be allocated in dynamic range <networking> <MAAS:Triaged> <https://launchpad.net/bugs/1677573>11:53
=== frankban|afk is now known as frankban
mupBug #1677631 opened: [2.2r5880, UI] Cannot scroll down to the bottom of the page <MAAS:Triaged> <https://launchpad.net/bugs/1677631>14:26
mupBug #1677631 changed: [2.2r5880, UI] Cannot scroll down to the bottom of the page <MAAS:Triaged> <https://launchpad.net/bugs/1677631>14:32
mupBug #1677631 opened: [2.2r5880, UI] Cannot scroll down to the bottom of the page <MAAS:Triaged by ricgard> <https://launchpad.net/bugs/1677631>14:35
mupBug #1677658 opened: [2.2, UI] Firefox selection of subtabs yields a big box <MAAS:Triaged> <https://launchpad.net/bugs/1677658>15:38
=== cmagina_ is now known as cmagina
ThiagoCMCWith MaaS 2.2 (beta4), how to mark an "Interface" as "disconnected" again?17:01
ThiagoCMConce you connect it to something, it is not possible to disconnect it agai, this works on MaaS Stable.17:02
pmatulisThiagoCMC, how are you "connecting/disconnecting"? works for me using the web UI and editing the subnet17:09
=== frankban is now known as frankban|afk
ThiagoCMCpmatulis, I'm going into MaaS 2.2 -> Nodes -> Interface -> Edit, there is no "disconnect" under "Fabrics".17:24
roaksoaxThiagoCMC: working on fixing that17:29
ThiagoCMC^_^17:29
roaksoaxThiagoCMC: just to confirm, you were able to do that in 2.1 ?17:29
ThiagoCMCyep17:29
ThiagoCMCI just upgraded from MaaS 2.1, to 2.2, because it have better VLAN management but, when I tried to disconnect an interface, like I did many times last week, the option wasn't there anymore...17:30
ThiagoCMCA workaround is to trash it, and re-commision, which takes a lot of time and headache...17:31
roaksoaxThiagoCMC: or do it via the APIAPI17:32
ThiagoCMCOh, cool! I'm not familiar with API, is it via maas CLI?17:33
roaksoaxThiagoCMC: yes17:34
roaksoaxThiagoCMC: next iteration of tmaas 2.2 will have that fixed17:34
ThiagoCMCAwesome, I'll configure it, thanks!17:34
ThiagoCMCNice!  :-D17:34
ThiagoCMCHow to link a new DNS domain, to a specific fabric/subnet/space ?17:55
ThiagoCMCIs it possible?17:55
ThiagoCMCLooks like that maas relies too much on top of the PXE network, but, I want to make the PXE network to be very minimalistic, only for PXE, nothing else...17:57
roaksoaxThiagoCMC: you can only link a domian to the machine18:13
ThiagoCMCits IP on the DNS will still be the one from the PXE network?18:14
ThiagoCMCYep, it is... Just tested it...   :-(18:15
roaksoaxThiagoCMC: all IP's a machine gets will be on the DNS18:17
ThiagoCMCHmm...18:17
ThiagoCMCBut if a machine have many fabrics, how to create a domain / subdomain for each fabric?18:17
ThiagoCMCFor example: eth0 - 192.168.0.1 - openstack-1.pub.mydomain.com, eth1 - 192.168.1.1 - openstack-1.admin.mydomain.com ?18:18
roaksoaxThiagoCMC: so basically, you want to have the ability to select what domain gets assigned per subnet ?18:32
ThiagoCMCyep18:32
roaksoaxhow would that work on situations where you have 2 different machines in the same subnet and want to assign a different domain name18:32
roaksoaxi.e. machine02.exaple.com18:32
roaksoaxmachine3.production.com18:32
ThiagoCMCRight, well, I think that it should / can be flexible enough to do that...18:33
ThiagoCMChowever, since you said that all IPs of a server ends up on its DNS, I'll what is in there, so I can try to use it...18:34
roaksoaxThiagoCMC: well you can create a dns record against IP address18:34
ThiagoCMCMmm... Sounds cool! I'll dive into DNS / MaaS today...18:44
tychicusis there any mechanism within MaaS to limit DNS zone transfers19:03
tychicusI know that this can be done directly through bind, but was not sure whether the configuration would be overwritten by MaaS19:03
mupBug #1677713 opened: [2.2, trunk] Logout page is blank <MAAS:Triaged by ricgard> <https://launchpad.net/bugs/1677713>19:06
cmd_pancakesAnyone else experiencing this error on the dashboard page? 'relation "maasserver_discovery" does not exist LINE 1: ...", "maasserver_discovery"."is_external_dhcp" FROM "maasserve... ^' I've change the postgresdb to live in AWS instead of locally and I start to see these issues19:47
cmd_pancakesAnyone else experiencing this error on the dashboard page? 'relation "maasserver_discovery" does not exist LINE 1: ...", "maasserver_discovery"."is_external_dhcp" FROM "maasserve... ^' I've change the postgresdb to live in AWS instead of locally and I start to see these issues19:56
roaksoaxmpontillo: ^^ strange error20:24
mpontillocmd_pancakes: how did you move it to AWS? are you sure you preserved everything? that data is coming from a view that should exist; the MAAS region creates it when it starts20:26
mpontillocmd_pancakes: does MAAS have sufficient administrative privileges on the AWS DB to create triggers and views? both are very important to the operation of MAAS.20:27
mupBug #1677573 changed: [2.2] Static addresses can be allocated in dynamic range <networking> <MAAS:Triaged> <https://launchpad.net/bugs/1677573>20:36
cmd_pancakesmpontillo: I basically just changed the settings in regiond.conf. Then I used maas-region syndb to have the migrations created20:39
cmd_pancakesit was seemingly able to create all the required tables without any problems20:39
cmd_pancakesmpontillo: i'm also using the MAAS region server in a docker container....so basically my dockerfile will install MAAS (which creates the local DB) then I copy over the modified regiond.conf that points to AWS20:40
mpontillocmd_pancakes: I would restart maas-regiond while tailing /var/log/maas/regiond.log and see if there are any exceptions raised. MAAS is supposed to create the maasserver_discovery view when it starts up.20:40
cmd_pancakesgreat, i'll give that a try now20:41
cmd_pancakesmpontillo: tailing the logs on reboot more or less look good, rack controllers reconnect, etc...This is the only line that seems to be a related error:20:46
cmd_pancakesmpontillo: 2017-03-30 20:42:08 maasserver.api.support: [warn] maasserver.api.domains.AnonDomainHandler does not have `resource_uri`. This means it may be omitted from generated documentation. Please investigate. 2017-03-30 20:42:08 maasserver.api.support: [warn] maasserver.api.zones.AnonZoneHandler does not have `resource_uri`. This means it may be omitted from generated documentation. Please investigate.20:46
cmd_pancakesalso this:20:47
cmd_pancakes2017-03-30 20:42:09 maasserver.regiondservices.active_discovery: [info] Active network discovery: Discovery interval set to 10800 seconds. 2017-03-30 20:42:09 maasserver.listener: [error] Unable to connect to database: dictionary changed size during iteration20:47
cmd_pancakesthis is the full exception of the error20:48
mpontillocmd_pancakes: maasserver.listener: [error] Unable to connect to database: dictionary changed size during iteration20:48
mpontillo^ that seems to be the relevant bit20:48
mpontillocmd_pancakes: seems like something went wrong while MAAS was trying to update the triggers and views20:49
cmd_pancakesyeah, that looked suspicious20:49
mpontillocmd_pancakes: can you give more details about how you set up the postgres database? it seems using an amazon-hosted postgres DB would need to be further tested and validated20:50
cmd_pancakesi couldn't seem to find any docs on setting up an external postgresDB. Yeah for sure!20:50
mpontillocmd_pancakes: personally I would not recommend that approach; MAAS expects the postgres DB to be local and fast. the main reason I wouldn't suggest this is because MAAS stores OS images in the database. so having it somewhere on the internet could introduce serious slowdowns20:50
cmd_pancakesyeah that makes sense...i was mostly trying this so that it could be more resilient to the container moving, but if thats not possible or the best method, thats probably working we can work with20:51
cmd_pancakesbut yeah basically i just started maas in a docker container with a regiond.conf file that points to aws20:52
cmd_pancakesthen in the container, i ran maas-region syndb, and it detects that the aws db is empty and starts running all the required migrations20:52
cmd_pancakesand they all ran successfully so figured it should work fine20:52
catbus1Hi, I have one node failed commissioning and the console shows failed posting event. I have another node which commissioned successfully around the same time.20:53
mpontillocmd_pancakes: MAAS uses event-driven triggers to do things like live-update the UI, plus some server-side tasks, which will also fail if we aren't able to insert/update the triggers20:53
catbus1 2.1.4+bzr5591-0ubuntu1 (16.04.1). the node will fail commissioning after the 20min timeout.20:54
cmd_pancakesyep, i noticed the UI was not actively updating when i changed things also...had to reload the page for changes to occur20:54
cmd_pancakesbut alright cool, as long as i wasn't overlooking something easy...any change external databases would be supported in the future?20:54
cmd_pancakeschance*20:54
mpontillocmd_pancakes: it's definitely supported. I would just try using an Ubuntu server on your local LAN, not AWS20:55
cmd_pancakesthe region controller is also an EC2 instance if thats any better20:57
cmd_pancakesand i have local rack controllers in each site handling dhcp/deployments and the region controller in the cloud20:57
cmd_pancakesmpontillo: so you think the 'maasserver.listener: [error] Unable to connect to database: dictionary changed size during iteration' error is caused by latency?20:58
cmd_pancakesim fine if things are slower than usual, this seems to be something actually preventing the updates20:58
catbus1I checked the ssh access checkbox but ubuntu/ubuntu doesn't work to login.20:59
mpontillocmd_pancakes: interesting approach! I would try using the same EC2 instance for the DB first20:59
mpontillocatbus1: allowing SSH access during commissioning uses the commissioning user's SSH keys. I don't think it works with username/password auth21:00
catbus1oh21:01
cmd_pancakesok yeah i can give that a try...i mostly was looking to leverage the auto db backups of aws since the actual region/rack controllers may be ephemeral and didn't want to have to backup the DB manually21:01
mpontillocmd_pancakes: well, I don't know the full details of how postgres is set up in your case. it might be a permission issue, not a latency issue. if it's a latency issue, I would expect it's some sort of race condition. I'm not aware of anything that depends on timing for that feature21:01
mpontillocmd_pancakes: what I would to to triage this would be to isolate the "dictionary changed size during iteration" problem21:02
cmd_pancakesmakes sense...considering its coming from the same process thats probably related21:02
mpontillocmd_pancakes: so I imagine you're using https://aws.amazon.com/rds/postgresql/?21:03
mupBug #1677741 opened: DNS resources with addresses that are assigned to interfaces on nodes do not get those addresses in the DNS <MAAS:In Progress by lamont> <https://launchpad.net/bugs/1677741>21:03
cmd_pancakesmpontillo: that is correct21:03
cmd_pancakesgetting more details now21:04
mpontillocmd_pancakes: I strongly suspect it's something specific to that postgresql server and how it's set up. I bet it's highly customized and not exactly like the one that Ubuntu ships with. I bet there's a subtle difference there that causes the bug21:04
cmd_pancakesdefinitely possible...this is also 9.5.4 and i believe the default maas uses is 9.5.6?21:04
mpontillocmd_pancakes: good point, but MAAS has been tested with a wide range of postgres releases, way back to the ones that shipped with Ubuntu 14.04. So I doubt that's the problem.21:06
cmd_pancakescool...well i can go back to just using it locally in the ec2 instance...not really ideal since i'll have to do manual backups of the DB but not the end of the world. do you want me to make a ticket/follow up somewhere else with more details? this might be something others want to do in the future21:08
cmd_pancakesmpontillo: ^21:12
mpontillocmd_pancakes: you could file a bug in MAAS asking to support Amazon RDS for PostgreSQL. https://bugs.launchpad.net/maas/+filebug -- I expect it will go onto the wishlist. or you could isolate the bug and follow up using amazon's support process21:14
cmd_pancakesgreat, sounds good...thanks for the help mpontillo!21:15
mpontillocmd_pancakes: np, good luck with MAAS!21:16
cmd_pancakesthanks! i really love it so far...i basically wrote all this automation at my last position and to have it already as a project is awesome21:17
mpontillocmd_pancakes: MAAS *is* pretty awesome ;-)21:17
catbus1turns out the node wasn't pxe booting (no nic selected for network boot in bios) the whole time.21:36

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!