[03:11] <roaksoax> allenap: any updaes?
[03:11] <roaksoax> err
[03:11] <roaksoax> bigjools: any luck>
[03:11] <roaksoax> ?
[03:12] <bigjools> roaksoax: literally just finished
[03:12] <bigjools> seems ok now
[03:12] <bigjools> however
[03:12] <bigjools> I did see an error fly by from maas-ipmi something about None type not having a group attribute
[03:12] <roaksoax> bigjools: ok let me check
[03:12] <bigjools> then it shut down so it disappeared :/
[03:12] <bigjools> this is raring packages btw
[03:13] <bigjools> I need to take the dog out now, leave me a message if you want me to do anything
[03:21] <roaksoax> bigjools: i'm testing enlistment here and see what happens
[03:21] <roaksoax> bigjools: did it add the power settings correctly?
[03:26] <roaksoax> bigjools: I just tested it, it works just fine for me
[03:26] <roaksoax> bigjools: maybe your bmc is locked out?
[03:53] <bigjools> roaksoax: I can't find the commissioning data after reinstall, did you move it?
[03:53] <roaksoax> bigjools: jtv did
[03:53] <roaksoax> bigjools: it's in /usr/share/maas/pyshared/metadataserver/commission/user_data.template IIRC
[03:55] <bigjools> aha
[03:55] <bigjools> /usr/share/maas/preseeds/enlist_userdata
[03:55] <bigjools> everything worked but I hadn't enabled the BMC options for the HP so no power was detected
[03:55] <roaksoax> bigjools: yeah that's enlistment, commissioning is under metadataserver (instead of /etc/maas/commissioning-user-data)
[03:56] <roaksoax> bigjools: ah! that was it then :)
[03:57] <bigjools> mmmm which do we change?
[03:57] <bigjools> /usr/share/pyshared/metadataserver/commissioning/user_data.template
[03:57] <bigjools> has the same code
[03:57] <roaksoax> bigjools: yeah, so I really wanna make it a binary
[03:57] <roaksoax> bigjools: along with maas-signal
[03:57] <bigjools> that'd be nice
[03:57] <roaksoax> (which is used during commissioning)
[03:57] <roaksoax> so we can ditch all the dup code
[03:58] <bigjools> no complains from me :)
[03:58] <bigjools> complaints*
[03:59] <roaksoax> cool, I'll try to get that done this week
[04:11] <bigjools> roaksoax: just testing a new enlistment with the impi options set up, let's see ...
[04:11] <bigjools> ipmi even
[04:13] <bigjools> roaksoax: didn't detect it on enlistment
[04:13] <roaksoax> bigjools: i would need to see logs why. I have just tested it myself
[04:13] <roaksoax> and it worked like a charm
[04:14] <bigjools> getting logs is hard :(
[04:14] <bigjools> we really need to make them all go back to the maas host
[04:14] <roaksoax> bigjools: nah! get the backport image thing and at touch /tmp/block-poweroff to the user data
[04:14] <roaksoax> bigjools: and then you just ssh in and that's it :)
[04:14] <roaksoax> bigjools: but yes, we need to get all those logs back to maas
[04:14] <bigjools> roaksoax: that is too hard, really, when all we should do is rsyslog
[04:15] <roaksoax> agreed
[04:15] <bigjools> heck even my router logs using rsyslog to my server :)
[04:15] <roaksoax> heh :)
[04:16] <bigjools> I actually thought we had rsyslog set up
[04:16] <bigjools> isn't it on the kernel cmd line?
[04:16] <roaksoax> bigjools: we do, it only works for deployments
[04:16] <roaksoax> bigjools: it doesn't work for ephemeral images
[04:16] <bigjools> ah
[04:16] <bigjools> shame
[04:18] <roaksoax> bigjools: indeed.. but anyways... i thought danwest was gonna be in charge of maas from now on..
[04:19] <bigjools> roaksoax: apparently so
[04:19] <bigjools> roaksoax: so, I enabled this line:
[04:19] <bigjools> IPMI_SI_PARAMS="type=kcs ports=0xca2"
[04:19] <roaksoax> bigjools: that should be all you need
[04:19] <bigjools> in /usr/share/pyshared/metadataserver/commissioning/user_data.template
[04:19] <bigjools> and
[04:19] <bigjools> /usr/share/maas/preseeds/enlist_userdata
[04:19] <bigjools> didn't get power params on enlist or commissioning
[04:20] <bigjools> this has happened before - the BMC goes all weird
[04:20] <roaksoax> bigjools: boomer, I'm guessing there's an issue with your BMC?
[04:20] <roaksoax> bigjools: yeah... I upgraded to the latest fiirmware
[04:20] <roaksoax> so maybe you should do the same
[04:20] <bigjools> last time, it refused DHCP OFFER all the time
[04:20] <bigjools> then it worked for a while
[04:21] <bigjools> oh
[04:21] <bigjools> Apr 10 14:10:20 maas dhcpd: Can't create new lease file: Permission denied
[04:21] <bigjools> apparmor fix needed
[04:21] <bigjools> it existed already I think
[04:22] <roaksoax> bigjools: i'll test that tomorrow and see what happens. cause I'm pretty sure it was working
[04:22] <roaksoax> bigjools: unless the fixes got dropped
[04:22] <bigjools> let me check my BMC hang on
[04:23] <bigjools> ah bollocks this one's easy
[04:23] <bigjools> the BMC has no ethernet cable in it :)
[04:23] <roaksoax> lol
[04:23] <roaksoax> :)
[04:24] <bigjools> EOUTOFROUTERPORTS
[04:24] <bigjools> I'll delete it and do it again
[04:26] <bigjools> so I plugged in a cable and it's not DHCP requested yet :/
[04:26] <roaksoax> bigjools: ok I think it got dropped
[04:26] <roaksoax> the change in isc-dhcp
[04:26] <bigjools> damn
[04:26] <roaksoax> i'm checking now just o be sure
[04:26] <bigjools> that was really screwing people over
[04:27] <roaksoax> bigjools: nope, my bad, the fix is there
[04:28] <roaksoax> bigjools: check in /etc/appamor.d/dhcpd.d/ whether there's the maas profile
[04:28] <bigjools> roaksoax: no :/
[04:29] <bigjools> why is that missing?  I install maas-dhcp
[04:29] <bigjools> installed
[04:30] <roaksoax> aas-dhcp.install:/debian/tmp/etc/apparmor.d/dhcpd.d/maas
[04:30] <roaksoax> maas-dhcp.install:/debian/tmp/etc/apparmor.d/dhcpd.d/maas
[04:30] <roaksoax> maas is installing it
[04:30] <bigjools> maas is installed
[04:30] <roaksoax> roaksoax@pursue:/etc/apparmor.d/dhcpd.d$ ls
[04:30] <roaksoax> maas
[04:31] <bigjools> oh wait it's there
[04:31] <bigjools> so I suspect there's a profile problem where it can't delete and make a new file
[04:31] <bigjools> ?
[04:31] <bigjools> or open as new
[04:31] <bigjools> overwriting an old one
[04:32] <bigjools> aha I see IPMI
[04:32] <bigjools> and it powered on when I did "accept & commission"
[04:32] <bigjools> \o/
[04:33] <roaksoax> \o/
[04:34] <roaksoax> bigjools: alright, the other i can think of is that the profile has not being loaded with the maas related stuff
[04:34] <roaksoax> see maas-dhcp.postinst in http://bazaar.launchpad.net/~maas-maintainers/maas/packaging/revision/169
[04:34] <bigjools> roaksoax: it must be, it works
[04:34] <bigjools> it's just that error on restarting it if there's an existing file
[04:34] <bigjools> it can't clean out the file AFAICS
[04:34] <bigjools> so it'll grow forever
[04:34] <roaksoax> ah! I see
[04:35] <roaksoax> alright then
[04:35] <roaksoax> knowing you got it working
[04:35] <roaksoax> i'm gonna go pass out :)
[04:35] <bigjools> heh
[04:35] <roaksoax> have a good day man
[04:35]  * roaksoax sleeps
[04:35] <bigjools> it must be late there
[04:35] <roaksoax> half past midnight :)
[04:36] <bigjools> go sleep!
[04:36] <bigjools> thanks!
[04:36] <roaksoax> np :)