[00:08] it looks like your using bmc-config [00:09] which I don't know if I can get it to work right with iLO3 [00:16] that's roaksoax's work :) [00:17] he would know better than I [00:31] bigjools: humm /usr/share/maas/preseeds/enlist_userdata looks to be the place. but if I'm reading this it wants to modify the IPMI setting not just power off and on a machine [00:31] that's the detection stuff [00:31] not the power template [00:32] you'll have an ipmi.template somewhere [00:32] ah [00:44] bigjools: I think I got it! without modify the template [00:45] modified /etc/freeipmi//freeipmi.conf and added driver-type LAN_2_0 [00:45] nice [00:46] I think the IPMI config in the webgui should have a choice since someone may be in a mixed env [00:48] well it is on a per-node basis [00:49] we used to have more choice for ipmi IIRC but roaksoax changed it [00:50] yes and that is why it should be in the webgui so you could provision a driver-type LAN and then add another node and do driver-type LAN_2_0 [00:51] with out login into the MAAS server and modifying that /etc/freeipmi/freeipmi.conf to override the default of LAN [00:53] the underlying tool is ipmipower [01:03] great... note to self do not delete the last MAC address for a node. now I can't select it to remove it... [01:04] oops [01:04] please file a bug [01:04] (you could add a dummy mac) [01:09] from the webgui I can't I only see the "(name)" which isn't a link [01:11] when a mac is there its "93:73:71:73:c1:47(name)" [01:11] and you have to click the mac address to delete or modify the node [01:17] damn [01:25] EntropyWorks, so you still around ? [01:25] yeah, what i was saying was to just try putting that file into place and update-initramfs [01:25] and then reboot [01:26] yes [01:27] ok I think that worked. I'm rebooting that machine again just to check [01:29] bigjools: the link is there in the HTML but nothing for it to underline as a link. [01:32] EntropyWorks: ok thanks [01:33] https://bugs.launchpad.net/maas/+bug/1117875 [01:33] Launchpad bug 1117875 in MAAS "Removed MAC leaves node but can't edit or remove" [Undecided,New] [01:33] EntropyWorks, ok. this makes sense now. [01:33] at least i think. [01:33] after adding that rule (and removing entry in /etc/modules) we need to run 'update-initramfs'. [01:33] otherwise, the module would get loaded in the initramfs [01:34] and then the modprobe.d rules that we were applying only are put into affect when that module (mlx4_core) is installed. [01:34] and since it was already getting installed in the initramfs, the changes were not doing anything. [01:34] so... [01:34] $ lsinitramfs /boot/initrd.img-3.5.0-23-generic | grep mlx4 [01:34] etc/modprobe.d/mlx4.conf [01:34] lib/modules/3.5.0-23-generic/kernel/drivers/net/ethernet/mellanox/mlx4 [01:34] lib/modules/3.5.0-23-generic/kernel/drivers/net/ethernet/mellanox/mlx4/mlx4_core.ko [01:34] lib/modules/3.5.0-23-generic/kernel/drivers/net/ethernet/mellanox/mlx4/mlx4_en.ko [01:35] i'd really apprecate it if you would put the soft dep one in place [01:35] then update-initramfs [01:35] ok [01:35] then reboot [01:35] and, cross your fingers, please [01:35] :) [01:37] humm [01:37] $ update-initramfs -u -k $(uname -r) [01:37] update-initramfs: Generating /boot/initrd.img-3.5.0-23-generic [01:37] FATAL: modprobe: softdep dependency loop encountered inserting mlx4_core [01:37] still want me to reboot? [01:39] it appears that it did not add mlx4_en to the image... [01:40] rebooting anyway... [01:40] hm.. [01:40] shoot. i remember that. [01:40] that is odd. [01:47] only the mlx4_core was loaded [01:47] so that didn't work [01:47] EntropyWorks: which version of maas are you using? I cannot reproduce your bug [01:48] right. EntropyWorks so lets try the whole update-initramfs process with the 'modprobe'. [01:48] er... with the 'install version [01:48] of mlx4.conf [01:48] bigjools: 0.1+bzr1269+dfsg-0ubuntu1 i'm running on quantal 12.10 [01:48] EntropyWorks: from the stable PPA? [01:49] oh is that the version in quantal [01:49] yea its the default in quantal I'm not using another PPA except to mess around with salt [01:50] for me, it's the names that are linkified on the node list [01:50] not the macs, so I can click on it happily [01:50] weird [01:50] can you try the PPA version? it fixes a LOT of bugs and is about to get SRUed [01:50] I only installed MAAS yesterday on a clean system too [01:51] https://launchpad.net/~maas-maintainers/+archive/stable/+packages [01:52] smoser: modifying the mlx4.conf again and initramfs for you and reboot [01:58] bigjools: nice! this one has the @%#$$T@# IPMI settings that was causing me to scream at my monitor [01:58] EntropyWorks: \o/ [01:59] I wondered why you were having trouble! [01:59] keep forgetting all the old versions differences [02:00] *head to desk* [02:00] EntropyWorks, sorry for your pain. [02:00] did we get our modules loaded ? [02:01] i'm about to push this and ask for it to be loaded into raring. [02:01] smoser: well if it wasn't for that you wouldn't have me to trouble shoot the mlx4 issues so... i don't mind since that is one that really pissed me off for a while [02:01] yeah, fwiw, people generally seem to think taht the driver itself is just being stupid here. [02:01] that it isn't automatically loading stuff itself. [02:01] that worked. [02:01] woowhoo! [02:02] now just have to fix the initrd.gz that will get used for MAAS too :-) [02:04] $ lsmod | grep mlx4 [02:04] mlx4_en 63080 0 [02:04] mlx4_core 173435 1 mlx4_en [02:04] oh [02:04] and one more thing, EntropyWorks [02:04] you have functional network based on that, right ? [02:05] (just a little thing like "does it actually give you network" :) [02:06] yes networking works. [02:06] I wanted to see what happens if I unload the both and reload mlx4_en [02:06] that added more modules then before [02:07] mlx4_ib 57930 0 [02:07] mlx4_en 63080 0 [02:07] mlx4_core 173435 2 mlx4_ib,mlx4_en [02:07] ib_mad 47134 3 mlx4_ib,ib_cm,ib_sa [02:07] ib_core 82363 7 mlx4_ib,ib_iser,rdma_cm,ib_cm,iw_cm,ib_sa,ib_mad [02:07] what i did was [02:07] modprobe -r mlx4_en [02:07] modprobe -r mlx4_core [02:08] modprobe mlx4_en [02:08] well past time to leave the office. smoser catch you tomorrow if you need more mlx4 debugging [02:09] thanks again. [02:09] EntropyWorks, right. i tested that. [02:09] seems generally functional. [02:09] but thanks for thinking [03:01] what ports on the MAAS server need to be open by the way? would be nice to have a ufw config in /etc/applications.d/ [03:04] next problem I have to solve is what image has the /etc/apt/sources.list or where I need to add the http_proxy info for MAAS to work in my env [15:54] morning kool kats === matsubara is now known as matsubara-afk [21:07] anyone have a quicker way to add machines then doing it via the webgui? [21:10] the nodes now have gotten Allocated but since they appear to not have working networking I'm suck. I can't delete the node from the gui either [21:10] lovely [21:25] btw this command just fails: sudo maas createsuperuser [21:25] http://paste.ubuntu.com/1622243/ [21:53] EntropyWorks: eummmm that's really odd, I've never seen anything like that. Something is screwed in your system. [21:54] you can add machines via the command line or API [21:57] bigjools: I was able to remove them via the maas-cli [21:57] great [21:58] the createsuperuser thing however I have no clue. [21:58] me neither [21:58] my only guess is that somehow your PPA install clashes with the quantal package [21:59] can you file a bug please and supply as much info as you can about your installation (versions etc) [21:59] maybe. it was happening before in the quantal packages too [21:59] sure [22:00] oh weird [22:00] matsubara, hi [22:28] bigjools: humm yea I'm think something just is wrong with my server. not sure what. going to just reload from scratch and try again. [22:29] EntropyWorks: try LC_ALL=C sudo maas createsuperuser [22:29] nope [22:29] you're missing locale info [22:30] is it even set? [22:30] wonder if my python is screwed someplace [22:30] echo $LC_ALL [22:31] not set [22:31] ok C doesn't work [22:31] set it to a valid locale [22:31] en_US for example [22:31] bugger [22:31] you need sudo -E as well [22:32] preserves env [22:33] yea, but no good either [22:33] something messed up with my install. check this out [22:33] $ maas-cli [22:33] Error: no arguments given. [22:33] Run /usr/lib/python2.7/dist-packages/maascli/__main__.py --help for usage details. [22:34] I'm got to do the sane thing and nuke this machine and try again :-) [22:34] so, LC_ALL=en_US sudo -E maas createsuperuser [22:34] doesn't work? [22:35] ah! yes that prompted me! [22:38] yea I see when I run locale [22:39] LC_ALL= [22:39] and LANGUAGE= [22:39] so thats causing me the issue i guess [22:41] just reset it to en_US.UTF-8 logged out then back in and tada command works [22:42] cool === kentb is now known as kentb-out