/srv/irclogs.ubuntu.com/2017/11/27/#maas.txt

mupBug #1733847 opened: same ip got assigned to two different container  <juju:New> <MAAS:New> <https://launchpad.net/bugs/1733847>05:30
=== frankban|afk is now known as frankban
PTOIm trying to use MAAS on an IBM Bladecenter H, but im stuck at a strange error. Sometimes, when i PXE boot the server is stuck at a blank screen with a blinking "_" cursor.09:18
PTOI can see the DHCP negotiations in a tcpdump on the MAAS controller, but i seems like the syslinux is never downloaded and executed.09:19
PTOAny suggestions on how to fix this?09:19
tosaraja_Hi all! We got a situation that took some debugging, and just wanted to know if this sounds like a bug in MAAS or not. We have a bunch of rack servers with 2 NICs. In MAAS we've bonded them together as one. We deploy Ubuntu 17.04 hosts on these and run multiple KVM virtual machines on the host. Our situation was such that one of the servers had one of the ethernet ports disconnected. It had no physical wire going in to it. The symptom was packet10:34
tosaraja_ loss on one of the KVM virtual machines, but not on all of them. While running tshark on the host we found out that packages are not even there. That lead us to look at the NICs and realized that one was disconnected. When we removed the bounding in MAAS, the traffic went back to being OK. The funny part was that this didn't affect the traffic on the host itself, nor on all the KVM guests. Just this one (at least. Could be been more if we10:34
tosaraja_cloned more)10:34
tosaraja_and it was/is MAAS 2.2.2 we are using10:34
bviktor_anyone with experience in proxying maas with nginx?11:32
torontoyesmornign14:28
=== torontoyes is now known as heyya
=== roaksoax changed the topic of #maas to: World's best bare-metal provisioning tool | Docs: http://maas.io/docs | Mailing list: https://lists.ubuntu.com/mailman/listinfo/maas-devel | MAAS 2.3.0 now released!
=== roaksoax changed the topic of #maas to: World's best bare-metal provisioning tool | MAAS 2.3.0 now released! | Docs: http://maas.io/docs | Mailing list: https://lists.ubuntu.com/mailman/listinfo/maas-devel
vogelc_roaksoax: can we restart a regiond worker?   maas-regiond-worker@117:14
vogelc_its hung importing images but I cant restart the entire regiond service right now.17:14
roaksoaxvogelc_: you can17:26
=== frankban is now known as frankban|afk
torontoyesIn oreder for me to deploy windows 10 image with MAAS, I will need to create a sysprep image if I want unattended install, correct? Is that the only way?18:50
mupBug #1711203 changed: Deployments fail when Secure Boot enabled <curtin:Invalid> <dellserver:New> <MAAS:Invalid> <maas-images:In Progress by ltrager> <grub2 (Ubuntu):Won't Fix> <https://launchpad.net/bugs/1711203>19:07
bdxhey whats up all20:20
bdxdoes 2.3 not auto-detect power type and bmc details?20:21
bdxjust trying 2.3 for the first time in the wild20:21
bdxultimate fail due to the power type configuration not being picked up/autofilled20:22
bdxdah20:22
roaksoaxbdx: do you have cloud-init logs ?20:23
roaksoaxbdx: ther'es only been one change on ipmi auto detect that I can recall and should not impact you at all20:24
bdxroaksoax: yeah, omp20:25
bdxroaksoax: http://paste.ubuntu.com/26060222/20:26
bdxooh my b20:26
bdxthats regiond20:26
roaksoaxbdx: was that a fresh install ?20:27
bdxyes20:27
bdxhttp://paste.ubuntu.com/26060226/20:27
bdxclou-init.log^20:27
bdxill add these to the bug20:27
roaksoaxbdx: can you ssh into the machine20:28
roaksoaxbdx: while it is "commissioning "20:28
bdxit wont even let me commission20:28
roaksoaxbdx: change the power type to manual20:28
bdxI get blocked in the gui from it even happening20:28
bdxok20:29
bdxdone20:29
roaksoaxbdx: so where did you get that log form ?20:29
roaksoaxthe cloud-init one ?20:29
bdxvar/log/cloud-init.log on my maas-region-rackd-0020:30
bdxI'm assuming you wanted the one from the machine20:30
roaksoaxbdx: yes, so do something else20:30
bdxthat Im trying to commission20:30
bdxyeah, ok20:30
roaksoaxbdx: /var/log/maas/rsyslog/maas-enlisting-node/20:30
roaksoaxbdx: /var/log/maas/rsyslog/maas-enlisting-node/<date>/messages20:30
roaksoaxi think that's the path20:30
bdxits snap install20:30
bdxbut I see it20:31
bdxok nm20:31
bdxI thought I did20:31
mupBug #1734763 opened: bmc discovery/auto-detect broken in 2.3 <MAAS:Incomplete> <https://launchpad.net/bugs/1734763>20:31
bdxI have no var/log/maas bc the snap install20:31
bdxI wonder if the snap is proxying those logs to syslog20:32
bdxheres the syslog from the maas-region-rack-00 http://paste.ubuntu.com/26060259/20:32
roaksoaxbdx: check /var/snap/maas/common/log/20:33
bdxroaksoax: http://paste.ubuntu.com/26060271/20:34
roaksoaxbdx: ok, so just change the machine to manual power type, commission it with the option to allow ssh, manually power it on20:35
roaksoaxbdx: and ssh into the environment20:35
roaksoaxbdx: wait for the commissioning to finish20:36
bdxok20:36
roaksoaxand gather /var/log/cloud-init-ouput.log20:36
roaksoaxbdx: the issue i think you are having is that the ephemeral image cannot access the internet, hence it cannot download ipmi related tools and fails to configure the BMC20:36
roaksoaxbdx: because on the hardware we have, it all works just fine20:36
bdxreally20:37
bdxso from my region-rack-controller20:37
bdxhttp://paste.ubuntu.com/26060285/20:38
bdxpossibly its more contrived then that though20:38
bdxwell, I didnt think I would be here (at the datacenter) for more then a few moments, totally spaced grabbing my power adapter for the macbook20:40
bdxpower is on 5%20:40
bdxstupid20:40
bdxanyway20:40
bdxhopefully we can get some info from this node before my rig dies20:41
bdxotherwise I'll be back online in an hourish20:41
bdxjust fyi20:41
bdxhttps://www.dropbox.com/s/oxx5xfv6bf5dv3h/Screen%20Shot%202017-11-27%20at%2012.42.58%20PM.png?dl=020:44
bdxroaksoax: I cant see what ip the node has20:44
bdxI dont know by what means I can get at it20:44
bdxahh nm20:45
bdxgot in20:45
bdxroaksoax: cloud-init.log http://paste.ubuntu.com/26060310/20:46
bdxcloud-init-output.log http://paste.ubuntu.com/26060311/20:46
bdxahh20:47
bdxwell shoot20:48
=== newell_ is now known as newell
=== newell is now known as newell_
roaksoaxbdx: there you go :)20:50
=== newell_ is now known as newell
mupBug #1734763 changed: bmc discovery/auto-detect broken in 2.3 <MAAS:Invalid> <https://launchpad.net/bugs/1734763>21:01
mupBug #1734765 opened: [2.x] MAAS snap does not store rsyslog from pxe booting machines <snap> <MAAS:Triaged> <https://launchpad.net/bugs/1734765>21:01
bdxroaksoax: nothing changed in my environment/network that would cause this though21:18
bdxroaksoax: so where to go next?21:21
bdxpart of me just wants to revert to 2.2 so I can get my stack back21:22
bdxbut I know we should work this out21:22
bdxI see you have marked the bug invalid, meaning it must be something on my end21:22
bdxjust scrambled wondering what it could be21:23
bdxill do some more digging21:23
bdxbut I mean, I went from working 2.2, wiped the slate, installed 2.321:24
bdxnow my nodes wont commission21:24
bdxthat cant be user error21:24
bdxpossibly somehow it is21:24
roaksoaxbdx: is proxy running ?21:26
bdxyeah21:26
roaksoaxbdx: ok, i'm gonna re-deploy mt env using the snap21:28
bdxok, thx21:28
roaksoaxbdx: is this MAAS though? 10.10.0.113:800021:29
bdxoooh21:30
bdxno21:30
bdxI see the issue21:30
bdxI'm using haproxy infront of maas21:30
bdxproxying port 80 -> 524021:30
bdxI'm guessing I need 8000 too then21:31
bdxso, I reset my maas-url to be maas-url=http://10.10.0.113/MAAS21:32
roaksoaxright21:32
roaksoaxbut masa will always add :8000 for the proxy21:32
roaksoaxso maas is effectively being told "your proxy is in 10.10.0.113:8000"21:32
bdxahhh21:32
bdxok21:32
bdxwell21:32
roaksoaxbdx: but might as well be haproxy21:33
bdxyeah, but I'm not proxying port 800021:33
bdxso its probably hitting 10.10.0.113:8000 and nothing is there21:33
bdxso, the answer here is to forward port 8000 too then21:34
bdxgot it21:34
bdxthat makes sense21:34
roaksoaxso in a non-snap world, pointing rackd.conf to maas_url=http://10.10.0.113/MAAS means that you are telling it that the region is on that IP21:35
bdxgot it21:35
roaksoaxso when deploying machines, maas tells them "here's your metadata server  (10.10.0.113) and your proxy is on :8000"21:35
roaksoaxon the snap world, the same happens, but you just dont modify rackd.conf anymore21:36
bdxtotally21:36
bdxso the only way the maas-url can change, is if the new ip accounts for proxying 8000 as well as 5240?21:36
bdx5240 -> 80, 8000 -> 800021:37
bdxbleh21:37
bdx80 -> 5240, 8000 -> 800021:37
roaksoaxright, so if you tell maas is on "http://XXXX:2020/MAAS" then the maas proxy is still running  in :8000 in the same XXXX21:37
bdxtotally21:37

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