/srv/irclogs.ubuntu.com/2015/03/27/#maas.txt

mupBug #1437092 was opened: Username not logged in machine de-allocations <cts> <MAAS:Confirmed> <https://launchpad.net/bugs/1437092>01:08
mupBug #1437094 was opened: Sorting by mac address on webui causes internal server error <cts> <sts> <MAAS:New> <https://launchpad.net/bugs/1437094>01:08
nodtknHowdy!01:31
nodtknI posted earlier in the day about having trouble with grubx64.efi.  I have narrowed down the problem to a specific adapter "82599ES 10-Gigabit SFI/SFP+" that the grub image is not able to support.01:33
nodtknI can commission machines if I UEFI off of the integrated adapter.01:34
nodtknMy question is how does maas build grubx64.efi (with grub-mkimage and what options)?01:37
nodtknanyone on?02:04
DonG1hey all.  does anyone have any experience getting MAAS working in Virtual Box instances?  I'm having some problems with the PXE stuff and would like some pointers.  if you can assist then please pm me as the noise in the channel is likely to mean I miss your post.07:22
=== racedo_ is now known as racedo
mupBug #1437221 was opened: regiond.log contains log entries that belong to maas.log <log> <MAAS:Triaged> <https://launchpad.net/bugs/1437221>09:25
mupBug #1360306 changed: Feedback of bulk actions is lacking <confusing-ui> <MAAS:Invalid> <https://launchpad.net/bugs/1360306>09:55
mupBug #1437231 was opened: No instant feedback when performing an action in the UI <ui> <MAAS:New> <https://launchpad.net/bugs/1437231>09:55
mupBug #1437251 was opened: "ImportError: cannot import name node_query" when running test.region with some test modules, but not when passing a folder or running without arguments <tests> <MAAS:Triaged> <https://launchpad.net/bugs/1437251>10:55
mupBug #1437288 was opened: 1.8 intermittently fails to capture lshw output when commissioning <landscape> <MAAS:New> <https://launchpad.net/bugs/1437288>12:16
mupBug #1437288 changed: 1.8 intermittently fails to capture lshw output when commissioning <landscape> <MAAS:New> <https://launchpad.net/bugs/1437288>12:28
mupBug #1437288 was opened: 1.8 intermittently fails to capture lshw output when commissioning <landscape> <MAAS:New> <https://launchpad.net/bugs/1437288>12:34
mupBug #1437288 changed: 1.8 intermittently fails to capture lshw output when commissioning <landscape> <MAAS:New> <https://launchpad.net/bugs/1437288>12:46
nodtknHowdy! does anyone on know how MAAS downoads, modifies, and/or creates grubx64.efi ?13:19
mrhatchkiko, do you have a minute for a question on MaaS 1.7 and DNS?13:21
mupBug #1437280 was opened: maas 1.8.0alpha7 two machines have same ip address <openstack> <uosci> <juju-core:Invalid> <MAAS:New> <https://launchpad.net/bugs/1437280>14:22
mupBug #1437353 was opened: UEFI network boot hangs at grub for adapter 82599ES 10-Gigabit SFI/SFP+ <MAAS:New> <https://launchpad.net/bugs/1437353>14:22
mupBug #1437364 was opened: node that was never previously commissioned in ready state <oil> <MAAS:New> <https://launchpad.net/bugs/1437364>14:52
roaksoaxnodtkn: greubx64.efi is obtained from the ubuntu archives14:55
roaksoaxnodtkn: can you give me the link of your bug again please?14:55
roaksoaxnodtkn: also, that could potentially be an issue with grub, rather than maas14:56
mupBug #1437364 changed: node that was never previously commissioned in ready state <oil> <MAAS:New> <https://launchpad.net/bugs/1437364>15:16
mupBug #1437380 was opened: Form validatation on add node inconsistant <ui> <ux> <MAAS:Incomplete> <https://launchpad.net/bugs/1437380>15:40
mupBug #1437383 was opened: button text on add node is inconsistent and out of date <ui> <ux> <MAAS:Triaged by blake-rouse> <https://launchpad.net/bugs/1437383>15:40
mupBug #1437388 was opened: exceptions.AttributeError: 'NoneType' object has no attribute 'is_superuser' <websocket> <MAAS:Triaged> <https://launchpad.net/bugs/1437388>15:40
mrhatchAnyone have an idea as to why my nodes are not showing up in DNS?15:55
mrhatchI am running MaaS 1.7 stable from the PPA15:55
=== rvba` is now known as rvba
kikomrhatch, ah, you're back16:16
kikomrhatch, just to be sure, are you using DNS managed by MAAS? i.e. in your cluster interface, do you have both DHCP and DNS set to be managed?16:17
mrhatchyes I do16:17
kikomrhatch, okay. and are you sure you are sending your DNS queries to your maas server?16:18
kikoi.e. what does nslookup tell you your default resolver is?16:18
=== chuck_ is now known as zul
mrhatchI think I see the problem16:19
mrhatchbut I don't know how to fix it16:19
mrhatchThe server is set to my Router address16:20
mrhatchShould that be set on the networks tab?16:28
nodtknroaksoax: I have opened bug https://launchpad.net/bugs/1437353  my guess is that this is either a grub or bios issue but could also be related to mishandling of tsize by the tftp server16:31
nodtknroaksoax: my plan is to gather tcpdumps and log files for two different machine manufactures with the same network adapter16:34
kikomrhatch, the resolver is configured in your local linux environment16:35
kikomrhatch, what machine are you issuing the queries on?16:35
kikomrhatch, are you on the maas server itself?16:35
kikoif so16:35
mrhatchright now I am on the maas server itself16:38
kikois the dns setup done through /etc/network/interfaces or via networkmanager?16:39
mrhatchI just did a plain install here is what I did: http://brd-dumb.com/?p=1716:39
kikomrhatch, did you install Ubuntu server or desktop on the node?16:40
mrhatchserver16:40
mrhatchlooks like /etc/network/interfaces has the only dns-nameserver pointed to the router16:41
mrhatchwhich explains the problem16:41
kikoright16:41
kikochange that to be 127.0.0.116:41
mrhatchshould I add anything for resolving outside of the network?16:43
mrhatchlike google?16:43
kikomrhatch, if you configured your maas upstream dns server correctly, 127.0.0.1 should just work16:44
kikoin the maas options you can specify your upstream dns server (which could be your router's)16:44
kiko(normally even without the upstream dns server it should work)16:45
mrhatchupstream is working fine, still can't resolve the node16:46
mrhatchit is coming up with localhost as the resolver16:46
mrhatchwould I need to reboot or reload the node at this point?]16:46
mrhatchThat seemed to take care of it...the reboot that is16:49
mrhatchkiki, rebooting the node seems to have fixed things, I can now do the lookups from the host16:51
kikomrhatch, okay, cool -- the reboot probably was avoidable, but I'm happy it's sorted now :)16:54
mrhatchI may have one other question...I have noticed issues with 1.7 and virtualbox machines last night16:54
mrhatchI am hoping that getting the dns sorted out may have fixed it16:54
kikomrhatch, okay, keep us posted16:55
mrhatchOk, I have tried enlisting two different virtual box nodes and they go through all of the steps to commission but never seem to finish17:15
kikowhat do their consoles show you?17:16
kikoanything suggestive17:16
mrhatchThe node list says17:16
mrhatchfailed deployment17:17
mrhatchI can't get them to boot up17:17
mrhatchthey keep going back out to the pxe server17:17
kikomrhatch, the commissioning will make the machines boot up -- are they not booting up at all?17:17
mrhatchthey boot up, but try to load the OS and then shutdown17:19
kikomrhatch, what happens when they try and load the OS?17:20
kikothere's something weird there17:20
mrhatchbasically they are stuck in an endless reboot loop17:23
mupBug #1437424 was opened: Main navigation and action bar should be sticky <ui> <ux> <MAAS:New> <https://launchpad.net/bugs/1437424>17:23
mupBug #1437426 was opened: No view for loading page or notification for connection error <ui> <ux> <MAAS:In Progress by carlaberkers> <https://launchpad.net/bugs/1437426>17:23
mrhatchI get to through commissioning, to acquire and start17:23
mrhatchthey seem to do everything I expect a node to do but never complete the reboot17:24
kikomrhatch, oh, the machines actually commission correctly?17:24
kikoand you can tell them to start?17:24
mrhatchyes I tell them to start, they boot up as normal, I get the login prompt and then faster than I can read they shutdown17:26
kikomrhatch, when you "start" node or when you "commission" node17:26
mrhatchThey seemed to work with 1.5 just fine17:27
mrhatchwhen I start the node...virtual box doesn't seem to actually turn a node on when you interact with the maas interface17:28
mrhatchIhave been powering them on and off manually17:41
mupBug #1437443 was opened: MAAS needs to storage failed commissioning or successful commissioning log just like we do witht he isntall log. <MAAS:Confirmed> <https://launchpad.net/bugs/1437443>18:14
mrhatchI was able to watch the virtualbox machine a little closer, it looks like it did everything it was supposed to on start, but that final reboot after the completion for some reason never triggers the status to change in MaaS correctly18:23
kikohmmm18:35
kikothat's odd18:35
=== mup_ is now known as mup
mrhatchso I looked in the install log on MaaS and found Installation failed with exception: Unexpected error while running command. Command: ['curtin', 'curthooks'] Exit code: 319:12
kikohmm19:14
mrhatchI am going though the different network cards the vm can emulate right now to see if that makes a difference19:21
kikoit's definitely odd19:24
kikoany reason why you want to use virtualbox and not virsh?19:24
mrhatchI am just testing at home and only have limited hardware...I don't want to wipe out my windows box to have machines to play with juju19:25
kikoah19:25
kikointeresting use case ;)19:25
mrhatchwell I work for a small company...they want some big things but don't want to spend big $$19:25
mrhatchbefore I can go to the boss with this is great, I need to work out all of the kinks19:26
mrhatchand have something to demo19:26
kikoright19:27
kikoI was mostly noting that instead of using virtualbox you could use virsh19:27
kikowhich should be equivalent19:27
kikoand is reported to work with maas19:27
kikoroaksoax, ^^19:27
mrhatchvirtualbox worked on 1.519:29
kikoI wonder if it worked with d-i19:29
kikomrhatch, you can try one thing19:29
kikomrhatch, click on the "use debian-installer" button19:30
kikoto use the same provisioning mechanism as the default in 1.519:30
mrhatchI will spin up another vm and give it a try...I also just started using the 32 bit version of Ubuntu for testing purposes19:30
roaksoaxmrhatch: your log doesn't give any idea as to what it might be failing. You should be able to see the install log on the web ui19:31
roaksoaxthe full one19:31
roaksoaxmrhatch: that wbeing said, we dont officially support VBox either19:32
roaksoaxso might be related to the configuration of your VM19:32
roaksoaxmrhatch: also, what version of MAAS and curtin convinationsa re bieng used19:32
mrhatchgive me a few and I will check19:32
mrhatchmaas is version1.7.219:34
roaksoaxmrhatch: what about curtin version in the maas server 1.X bzr 201?19:35
mrhatchwhere would I find that?19:37
roaksoaxmrhatch: in the maas server, dpkg -l | grep curtin19:37
mrhatchii  curtin-common                       0.1.0~bzr201-0ubuntu1~14.04.1~ppa0 all          Library and tools for curtin installer ii  python-curtin                       0.1.0~bzr201-0ubuntu1~14.04.1~ppa0 all          Library and tools for curtin installer19:38
mrhatchthe only real difference that changing it to using the debian installer is that it no longer marks itself as a failure, but keeps the status of deploying19:46
roaksoaxmrhatch: maybe it is still deploying19:47
roaksoaxmrhatch: twhat's the full curtin log?19:47
mrhatchI just wiped out those nodes, give me a few and I will get you logs from the next deployment.19:47
mrhatchhttp://pastebin.com/nQELWT8G19:59
mrhatchhttp://pastebin.com/bqn5f7SS20:00
mrhatchroaksoax do those logs help any?20:00
roaksoaxmrhatch: yup20:01
roaksoaxseems lie a bug in curtin20:01
roaksoaxnot MAAS20:01
roaksoaxmrhatch: can youplease file a bug?20:01
mrhatchI will gladly file the bug if you point me in the right direction20:04
mrhatchI am guessing that the version of curtin or the use of curtin has changed since MaaS 1.5?20:04
roaksoaxmrhatch: launchpad.net/curtin20:05
roaksoaxmrhatch: yup20:05
mrhatchis there anything other than it is failing with Virtualbox I should include?20:06
roaksoaxmrhatch: all the information of what type of disk it is being virtualized and stuff like that20:08
smoserif you think it happens only in 201 (and not in 196), can you roll back to 196 and verify that ?20:09
smoserit *really* seems not likely to me that it regressed there.20:09
mrhatchOK20:10
mrhatch196 being 1.5 of Maas?20:12
mrhatchOh you mean curtin-common20:12
smoserright.20:12
smoserif this is very reproducible for you, it'd be nice if we could get an 'lsof' right after it fails20:13
mrhatchcrap, I didn't realize that taking out curtin-common and its dependencies would take out maas as well20:15
mrhatchsmoser: since the vm is not up long enough to even log in I don't think I can do that20:29
smosermrhatch, oh no.20:30
smosersorry. you can / cloud hav just installed (dpkg -i) the curtin_common and python-curtin)20:30
smoserthose are likely the 2 you have installed20:31
smoseryou can ake the vm mnot reboot20:31
mrhatchthe funny thing is the machine comes up and shows a login screen but that only lasts for about 20 seconds20:31
smoser/etc/maas/preseeds/curtin_userdata20:31
smoserthat file has20:32
smoserpower_state:20:32
smoser  mode: reboot20:32
smoserif you comment it out, you'll just not reboot.20:32
smoseryou should be able to ssh into the install environment too.20:32
smoserthats possibly bug, but its true :)20:32
mrhatchI'll give that a try, but I have to rebuild my maas server since I yanked curtin out and it uninstalled some of maas20:33
mrhatchsmoser I managed to get into the vm that was failing, is there anything you would like to know?  I had to boot to root mode and set a username and password to get in20:56
smoserwell, during the install, you should be able to ssh in as the user that did the deploy20:57
smoserwith their keys20:57
smosererr.. their keys, ubuntu user.20:57
smoseranyway... youf igured it out.20:57
smoseri assume that the directory is unmounted now ?20:57
smosermrhatch, can you20:57
smoserapt-get install pastebinit20:57
mrhatchyeah that was one of the things, the user was never created20:57
smoser(and do you avhe internet or proxied internet from there ?)20:58
mrhatchsure I can do that20:58
smoserthe uubntu  user shoudl be ther.e20:58
mrhatchstraight internet20:58
smoserok.20:58
mrhatchIt wasn't there...I tried to just set the password and it wasn't there so I created it, set a static ip and then rebooted and I am in as ubuntu now20:58
smoserso pastebinit /proc/mounts20:58
smosermrhatch, ah. right. the user wouldnt be crated at that point.20:58
smoserbut if you cause the install to not reboot, there is an 'ubuntu' user there tha tyou could go in as20:59
smoseryeah... this wont be terribly helpful20:59
smoserso what happened...20:59
smoserer.. heres what happend.20:59
smosercurtin does install20:59
smoserthen chroots and runs 'update-grub'20:59
smoserand then20:59
smoserunmount /target20:59
mrhatchwhich is where it fails21:00
smoserbut in your case, something got left behind during hte chroot21:00
smosersome filehandles were left open21:00
smoserand curtin's unmount failed21:00
smoseri'm not sure what gets done, keeping that filesystem busy.21:00
smoser:-(21:00
mrhatchugh evidently ssh server is not installed no good way to get data out of the vm...21:07
mrhatchwife is ready for dinner, I am gonna head out thank you all for your help.  I will try this again after my maas server is rebuilt21:08
mupBug #1437491 was opened: Cannot poweroff node when they are in New state but ON <usability> <MAAS:New> <https://launchpad.net/bugs/1437491>21:20
mupBug #1437494 was opened: Cannot view power details from CLI for New nodes as Admin user. But I can view them in the WebUI <cli> <usability> <MAAS:New> <https://launchpad.net/bugs/1437494>21:20

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