/srv/irclogs.ubuntu.com/2016/06/02/#maas.txt

alexlistkiko: That is not what I am looking for... for Ubuntu, you can have custom preseeds. We need something similar for CentOS as well, without going through the pain of creating custom images...00:18
roaksoaxalexlist: what are you looking for?00:24
roaksoaxalexlist: you *can* have custom preseeds for centos00:27
mupBug #1588116 opened: [2.0-bzr5059] Adding a rack using dpkg-reconfigure isn't intuitive <MAAS:New> <https://launchpad.net/bugs/1588116>01:47
mupBug #1588125 opened: Nodes commission, but don't see network interfaces with Xenial <cpe-sa> <MAAS:New> <https://launchpad.net/bugs/1588125>02:44
mupBug #1588154 opened: Deploying node fails when it has VLAN configuration <MAAS:New> <https://launchpad.net/bugs/1588154>04:58
mupBug #1588161 opened: Empty boot-source-selections imports all available images <cdo-qa> <MAAS:New> <https://launchpad.net/bugs/1588161>06:01
=== frankban|afk is now known as frankban
mupBug #1588350 opened: [2.0b5] Multiple power query's in too little time <MAAS:New> <https://launchpad.net/bugs/1588350>13:00
mupBug #1588350 changed: [2.0b5] Multiple power query's in too little time <MAAS:New> <https://launchpad.net/bugs/1588350>13:06
mupBug #1588350 opened: [2.0b5] Multiple power query's in too little time <MAAS:New> <https://launchpad.net/bugs/1588350>13:12
=== jgrimm-afk is now known as jgrimm
kikoalexlist, what roaksoax said -- you can generate custom preseeds for centos; the preseeds are not OS-specific but rather specific to curtin (and cloud-init)15:28
roaksoaxkiko: /etc/maas/preseeds/curtin_userdata_centos16:00
roaksoaxalexlist: ^^16:00
roaksoaxalexlist: so you can basically do what you need via preseeds16:00
gimmicin maas, can I set the default ipmi credentials?16:05
gimmicsomewhere16:05
gimmicrather than waiting to assign it to hosts which are discovered16:05
gimmicI'd prefer it if Maas defaulted to ipmi 2.0 and used N credentials16:05
roaksoaxgimmic: you can change the credentials after you commission the machine16:40
=== frankban is now known as frankban|afk
gimmicso I've got a host deployed, but I can't seem to ssh to it with the set key17:02
gimmicactually, status says "deploying"17:02
kikogimmic, need to wait until it's deployed17:07
gimmicI can't see any activity on the host or the maas server17:07
shewlessHi guys, I changed the "external" facing IP of my maas server and now I'm having trouble. I can connect via ssh but dhcpd isn't running and I dns look-ups to external sites fail. Any hints at config I'd have to change?17:35
shewlessmaas 2.017:35
shewlessah..nevermind I got it figured out. thanks17:40
mupBug #1588466 opened: gpg --batch --verify during maas install causes Unhandled Error <cdo-qa> <MAAS:New> <https://launchpad.net/bugs/1588466>17:44
mupBug #1588469 opened: cluster view won't load if a single cluster controller lacks a valid UUID <MAAS:New> <https://launchpad.net/bugs/1588469>17:44
shewlesshmm.. I spoke to soon. I fixed the dns lookups but dhcpd is not starting17:48
shewlessI can't seem to find any log files related to maas-dhcpd or dhcp17:50
shewlessany pointers?17:50
kikoshewless, you may need to do a dpkg-reconfigure -- you used to in 1.9. roaksoax, any clue?18:16
shewlesskiko: thanks - is there harm in my doing that on 2.0.0?18:27
shewlesskiko: also which package would I reconfigure?18:28
kikoshewless, I'd guess maas-rackd18:29
roaksoaxshewless: have you tried setting upstream DNS server  in MAAS ?18:31
shewlessroaksoax yes I have18:33
shewlessroaksoax: it's set to an internal DNS that is still reachable by ping18:34
roaksoaxshewless: so why is dhcp not running ? have you looked at systemd ?18:34
shewlessroaksoax: I'm not sure how to do that.18:34
roaksoaxshewless: journalctl -u maas-dhcpd -> try that ?18:36
shewlessroaksoax: 1 single entry: Jun 02 14:37:22 maas systemd[1]: Stopped MAAS instance of ISC DHCP server for IPv4.18:37
shewlessif I restart the service it just prints that18:37
roaksoaxshewless: so what if you do ps faux | grep dhcpd ?18:38
shewlessnothin18:38
shewlessroaksoax: that command shows me tthat dhcpd is not running18:39
roaksoaxshewless: ok, so is DHCP enabled at all in MAAS ?18:39
shewlessroaksoax: yes it is. I tried disabling it and re-enabling it but it didn't seem to have an effect.  Related if I do a "service maas-dhcpd status" I see that /var/lib/maas/dhcpd.conf is missing.. that's probably bad right?18:40
mupBug #1588489 opened: package maas-region-controller 2.0.0~beta3+bzr4941-0ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned18:41
muperror exit status 1 <amd64> <apport-package> <need-duplicate-check> <third-party-packages> <xenial> <maas (Ubuntu):New> <https://launchpad.net/bugs/1588489>18:41
shewlessroaksoax: so any idea why the dhcpd.conf file isn't being generated? Is that rackd that would do that?19:33
kikoshewless, it's a bug I think -- roaksoax?19:47
mupBug #1532478 changed: Can't add SM15K chassis - can't input management IP address of SM15k <oil> <MAAS:Invalid by newell-jensen> <https://launchpad.net/bugs/1532478>19:50
kikoshewless, can you disable and reenable DHCP management on the vlan you are servicing?19:52
kikohave you already>19:52
kiko?19:52
sjltrying to troubleshoot maas API with Postman.  Anyone able to get this basic GET call to work via Postman? http://<insert-your-maas-server-ip>/MAAS/api/version19:57
kikosjl, I have never tried that -- does Postman do OAuth?19:57
sjlyes 1.0 and 2.019:58
gimmicso when deploying, it installs and ends at "cloud-init finished..."19:58
gimmicbut the box stays in "deploying" state19:58
gimmiccloser look appears to be "Node installation - 'curtin' failed: configuring disk: sda"19:59
kikoyep20:00
kikowhy did it fail to configure?20:00
gimmicwhere can I find relevant log data?20:01
kikolook through the install log20:01
roaksoaxshewless: have you enabled DHCP ?20:02
roaksoaxshewless: MAAS will only generate a dhcpd.conf is DHCP is enabled20:02
roaksoaxshewless: also, pastbin rackd.log20:02
gimmicwheres the install log located?20:03
gimmicI don't have access to the iron(yet), and don't see anything specific in maas' log20:03
kikogimmic, maas sends it back and it gets attached to the node page IIRC20:05
gimmicthe node page was where I pulled that from, I don't see any additional detail20:05
kikohm20:05
kikogimmic, are you doing anything custom to sda?20:05
kikoand if not, is there anything unusual about it?20:06
gimmicgeneric out-of-box install20:06
gimmicr620, single SATA20:06
gimmicthis will be the second node deployed, the first onedid the same thing until I rebooted it20:07
gimmicI'm obviously trying to streamline it a bit and tshoot things20:07
gimmicbut basic 14.04 LTS image, very generic hardware. I have 30 of these nodes to do20:07
kikogimmic, it's very odd tbh20:15
kikogimmic, so the entire install log has no hints other than the sda failure? can you put it in a pastebin20:15
gimmicanywhere I can view the log in actual raw format20:16
gimmicrather than the weberface20:16
gimmicdoesnt seem to be much useful in /var/log/maas20:16
gimmicone other interesting question is that on some nodes I want to use a software raid to mirror two disks20:18
gimmicbut since it uses one off the bat, I can't seem to use maas to configure it to mirror the disk20:18
kikogimmic, you can just configure the software raid in the MAAS UI itself20:20
kikothat should be pretty straightforward (and worked as far back as 1.9x)20:20
gimmicbut not before the node has been commissioned as far as I can tell20:20
kikocorrect20:21
kikothe node needs to commission first20:21
kikooh20:21
kikoare you stuck on the commissioning step?20:21
kikocommissioning has an option you can select to let you log in and inspect20:21
kikohave you checked that?20:21
kiko(sorry, I thought you were mid-deployment)20:21
gimmicoh, found it. I'm conflagulating two different 'issues' right now.20:23
gimmicOne set of nodes has two disks, and they will be mirrored /20:23
gimmicthat I just found under a node that was in ready state20:23
gimmicCan I make templates for this somehow?20:23
kikonot yet20:29
kikogimmic, you will be able to, but for the moment the solution is to script node config via the API20:29
gimmicthis is all the detail I can find on the deploy errors:20:35
gimmicNode installation - 'curtin' failed: configuring storageThu, 02 Jun. 2016 15:23:0120:35
gimmicNode installation - 'curtin' failed: configuring disk: sdaThu, 02 Jun. 2016 15:23:0120:35
gimmicNode installation - 'curtin' started: configuring disk: sdaThu, 02 Jun. 2016 15:23:0020:35
gimmicNode installation - 'curtin' started: configuring storageThu, 02 Jun. 2016 15:22:5920:35
shewlessroaksoax: I'll workon getting rackd log. DHCP is enabled as far as the UI tells me.. on my PXE network20:35
gimmickiko: oddly, if I reboot the node it deploys fine the second time20:38
gimmicso it is something with partition creation or an error in the install/deploy script20:38
gimmicabout to test the theory with a third node20:39
kikowwird20:39
mupBug #1519358 changed: Non-fatal error message observed in PXE boot sequence <MAAS:New> <https://launchpad.net/bugs/1519358>20:42
mupBug #1588531 opened: [2.0b5] Deployed regions should be able to transistion back to machines <MAAS:In Progress by ltrager> <https://launchpad.net/bugs/1588531>20:42
shewlessroaksoax: here is rackd.log: http://paste.ubuntu.com/16930706. Note: for some reason if resolve.conf points to maas' own DNS server I can't resolve external DNS (like google).  DOn't know if that is related20:42
gimmicJun  2 20:47:59 ES18 [CLOUDINIT] util.py[DEBUG]: Running scripts-user (<module 'cloudinit.config.cc_scripts_user' from '/usr/lib/python2.7/dist-packages/cloudinit/config/cc_scripts_user.pyc'>) failed#012Traceback (most recent call last):#012  File "/usr/lib/python2.7/dist-packages/cloudinit/stages.py", line 658, in _run_modules#012    cc.run(run_name, mod.handle, func_args, freq=freq)#012  File "/usr/lib/python2.7/dist-packages/cloudinit/cloud.py", line20:51
gimmic63, in run#012    return self._runners.run(name, functor, args, freq, clear_on_fail)#012  File "/usr/lib/python2.7/dist-packages/cloudinit/helpers.py", line 197, in run#012    results = functor(*args)#012  File "/usr/lib/python2.7/dist-packages/cloudinit/config/cc_scripts_user.py", line 38, in handle#012    util.runparts(runparts_path)#012  File "/usr/lib/python2.7/dist-packages/cloudinit/util.py", line 651, in runparts#012    % (len(failed), len(20:51
gimmicattempted)))#012RuntimeError: Runparts: 1 failures in 1 attempted commands20:51
gimmicsmall ui bug during deployment: https://i.imgur.com/RgPKPSq.png20:53
gimmicsystem is ON, dropdown option is 'turn system on' which actually turns it off..20:54
shewlessroaksoax/kiko: I tried to disable DHCP on all networks. I deleted the subnet entirely and then I re-added the subnet and re-enabled DHCP.. dhcpd still won't start because that file is missing20:56
shewlesswhat service is responsible for creating dhcpd.conf? I don't see any logs that indicate a problem there20:56
kikoshewless, rackd does20:56
shewlesskiko: okay.. rackd doesn't want to tell me about any errors regarding dhcpd.conf I guess :(20:57
kikoshewless, it seems to be confused about the IP address it needs to be listening on?20:57
shewlesskiko: interesting.. that might be the hint I needed20:58
jhobbs /wg 620:59
shewlesskiko: so.. regiond.conf should be the "pxe" IP address right?21:00
shewlesskiko: It's working now.. I had it set to my external IP address instead somehow21:00
shewlessanyways.. dhcpd is running.. that's a good first step21:00
kikoshewless, you have a single node running both rackd and regiond right?21:02
shewlesskiko: yup. and I think it's all working now (hopefully) just going to test deployment now21:03
kikoshewless, cool21:04
kikoshewless, this is an old bug, btw, that changing the MAAS server's IP address causes a mess21:05
kikogimmic, hmm21:05
gimmictesting a theory, I changed the default filesystem to use LVM instead of flat21:06
gimmicwe'll see if deploys still err21:06
gimmici set one to allow ssh and got in to look21:06
gimmiceverything looks fine aside from that error I posted21:06
gimmicseems if I deploy the same node twice, it deploys fine the second time21:06
gimmicthe raided node deployed fine21:12
mupBug #1523766 changed: Node stops commissioning and powers down before commissioning is complete <MAAS:Won't Fix> <https://launchpad.net/bugs/1523766>21:51
mupBug #1588547 opened: Generated bonding configuration is incorrect. <sts-needs-review> <MAAS:Triaged by mpontillo> <https://launchpad.net/bugs/1588547>22:21
mupBug #1588547 changed: Generated bonding configuration is incorrect. <sts-needs-review> <MAAS:Triaged by mpontillo> <https://launchpad.net/bugs/1588547>22:48
mupBug #1588547 opened: Generated bonding configuration is incorrect. <sts-needs-review> <curtin:New> <MAAS:Incomplete by mpontillo> <https://launchpad.net/bugs/1588547>23:46

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