/srv/irclogs.ubuntu.com/2013/02/07/#maas.txt

EntropyWorksit looks like your using bmc-config00:08
EntropyWorkswhich I don't know if I can get it to work right with iLO300:09
bigjoolsthat's roaksoax's work :)00:16
bigjoolshe would know better than I00:17
EntropyWorksbigjools: 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 machine00:31
bigjoolsthat's the detection stuff00:31
bigjoolsnot the power template00:31
bigjoolsyou'll have an ipmi.template somewhere00:32
EntropyWorksah00:32
EntropyWorksbigjools: I think I got it! without modify the template00:44
EntropyWorksmodified /etc/freeipmi//freeipmi.conf and added driver-type LAN_2_000:45
bigjoolsnice00:45
EntropyWorksI think the IPMI config in the webgui should have a choice since someone may be in a mixed env00:46
bigjoolswell it is on a per-node basis00:48
bigjoolswe used to have more choice for ipmi IIRC but roaksoax changed it00:49
EntropyWorksyes 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_000:50
EntropyWorkswith out login into the MAAS server and modifying that /etc/freeipmi/freeipmi.conf to override the default of LAN00:51
EntropyWorksthe underlying tool is ipmipower00:53
EntropyWorksgreat... note to self do not delete the last MAC address for a node. now I can't select it to remove it...01:03
bigjoolsoops01:04
bigjoolsplease file a bug01:04
bigjools(you could add a dummy mac)01:04
EntropyWorksfrom the webgui I can't I only see the "(name)"  which isn't a link01:09
EntropyWorkswhen a mac is there its "93:73:71:73:c1:47(name)"01:11
EntropyWorksand you have to click the mac address to delete or modify the node01:11
bigjoolsdamn01:17
smoserEntropyWorks, so you still around ?01:25
smoseryeah, what i was saying was to just try putting that file into place and update-initramfs01:25
smoserand then reboot01:25
EntropyWorksyes01:26
EntropyWorksok I think that worked. I'm rebooting that machine again just to check01:27
EntropyWorksbigjools: the link is there in the HTML  but nothing for it to underline as a link.01:29
bigjoolsEntropyWorks: ok thanks01:32
EntropyWorkshttps://bugs.launchpad.net/maas/+bug/111787501:33
ubot5Launchpad bug 1117875 in MAAS "Removed MAC leaves node but can't edit or remove" [Undecided,New]01:33
smoserEntropyWorks, ok. this makes sense now.01:33
smoserat least i think.01:33
smoserafter adding that rule (and removing entry in /etc/modules) we need to run 'update-initramfs'.01:33
smoserotherwise, the module would get loaded in the initramfs01:33
smoserand then the modprobe.d rules that we were applying only are put into affect when that module (mlx4_core) is installed.01:34
smoserand since it was already getting installed in the initramfs, the changes were not doing anything.01:34
smoserso...01:34
EntropyWorks$ lsinitramfs /boot/initrd.img-3.5.0-23-generic | grep mlx401:34
EntropyWorksetc/modprobe.d/mlx4.conf01:34
EntropyWorkslib/modules/3.5.0-23-generic/kernel/drivers/net/ethernet/mellanox/mlx401:34
EntropyWorkslib/modules/3.5.0-23-generic/kernel/drivers/net/ethernet/mellanox/mlx4/mlx4_core.ko01:34
EntropyWorkslib/modules/3.5.0-23-generic/kernel/drivers/net/ethernet/mellanox/mlx4/mlx4_en.ko01:34
smoseri'd really apprecate it if you would put the soft dep one in place01:35
smoserthen update-initramfs01:35
EntropyWorksok01:35
smoserthen reboot01:35
smoserand, cross your fingers, please01:35
smoser:)01:35
EntropyWorkshumm01:37
EntropyWorks$ update-initramfs -u -k $(uname -r)01:37
EntropyWorksupdate-initramfs: Generating /boot/initrd.img-3.5.0-23-generic01:37
EntropyWorksFATAL: modprobe: softdep dependency loop encountered inserting mlx4_core01:37
EntropyWorksstill want me to reboot?01:37
EntropyWorksit appears that it did not add mlx4_en to the image...01:39
EntropyWorksrebooting anyway...01:40
smoserhm..01:40
smosershoot. i remember that.01:40
smoserthat is odd.01:40
EntropyWorksonly the mlx4_core was loaded01:47
EntropyWorksso that didn't work01:47
bigjoolsEntropyWorks: which version of maas are you using?  I cannot reproduce your bug01:47
smoserright. EntropyWorks so lets try the whole update-initramfs process with the 'modprobe'.01:48
smoserer... with the 'install version01:48
smoserof mlx4.conf01:48
EntropyWorksbigjools: 0.1+bzr1269+dfsg-0ubuntu1 i'm running on quantal 12.1001:48
bigjoolsEntropyWorks: from the stable PPA?01:48
bigjoolsoh is that the version in quantal01:49
EntropyWorksyea its the default in quantal I'm not using another PPA except to mess around with salt01:49
bigjoolsfor me, it's the names that are linkified on the node list01:50
bigjoolsnot the macs, so I can click on it happily01:50
EntropyWorksweird01:50
bigjoolscan you try the PPA version?  it fixes a LOT of bugs and is about to get SRUed01:50
EntropyWorksI only installed MAAS yesterday on a clean system too01:50
bigjoolshttps://launchpad.net/~maas-maintainers/+archive/stable/+packages01:51
EntropyWorkssmoser: modifying the mlx4.conf again and initramfs  for you and reboot01:52
EntropyWorksbigjools: nice! this one has the @%#$$T@# IPMI settings that was causing me to scream at my monitor01:58
bigjoolsEntropyWorks: \o/01:58
bigjoolsI wondered why you were having trouble!01:59
bigjoolskeep forgetting all the old versions differences01:59
EntropyWorks*head to desk*02:00
smoserEntropyWorks, sorry for your pain.02:00
smoserdid we get our modules loaded ?02:00
smoseri'm about to push this and ask for it to be loaded into raring.02:01
EntropyWorkssmoser: 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 while02:01
smoseryeah, fwiw, people generally seem to think taht the driver itself is just being stupid here.02:01
smoserthat it isn't automatically loading stuff itself.02:01
EntropyWorksthat worked.02:01
smoserwoowhoo!02:01
EntropyWorksnow just have to fix the initrd.gz that will get used for MAAS too :-)02:02
EntropyWorks$ lsmod | grep mlx402:04
EntropyWorksmlx4_en                63080  002:04
EntropyWorksmlx4_core             173435  1 mlx4_en02:04
smoseroh02:04
smoserand one more thing, EntropyWorks02:04
smoseryou have functional network based on that, right ?02:04
smoser(just a little thing like "does it actually give you network" :)02:05
EntropyWorksyes networking works.02:06
EntropyWorksI wanted to see what happens if I unload the both and reload mlx4_en02:06
EntropyWorksthat added more modules then before02:06
EntropyWorksmlx4_ib                57930  002:07
EntropyWorksmlx4_en                63080  002:07
EntropyWorksmlx4_core             173435  2 mlx4_ib,mlx4_en02:07
EntropyWorksib_mad                 47134  3 mlx4_ib,ib_cm,ib_sa02:07
EntropyWorksib_core                82363  7 mlx4_ib,ib_iser,rdma_cm,ib_cm,iw_cm,ib_sa,ib_mad02:07
EntropyWorkswhat i did was02:07
EntropyWorksmodprobe -r mlx4_en02:07
EntropyWorksmodprobe -r mlx4_core02:07
EntropyWorksmodprobe mlx4_en02:08
EntropyWorkswell past time to leave the office. smoser catch you tomorrow if you need more mlx4 debugging02:08
smoserthanks again.02:09
smoserEntropyWorks, right. i tested that.02:09
smoserseems generally functional.02:09
smoserbut thanks for thinking02:09
EntropyWorkswhat 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:01
EntropyWorksnext 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 env03:04
sam_onemorning kool kats15:54
=== matsubara is now known as matsubara-afk
EntropyWorksanyone have a quicker way to add machines then doing it via the webgui?21:07
EntropyWorksthe 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 either21:10
EntropyWorkslovely21:10
EntropyWorksbtw this command just fails: sudo maas createsuperuser21:25
EntropyWorkshttp://paste.ubuntu.com/1622243/21:25
bigjoolsEntropyWorks: eummmm that's really odd, I've never seen anything like that. Something is screwed in your system.21:53
bigjoolsyou can add machines via the command line or API21:54
EntropyWorksbigjools: I was able to remove them via the maas-cli21:57
bigjoolsgreat21:57
EntropyWorksthe createsuperuser thing however I have no clue.21:58
bigjoolsme neither21:58
bigjoolsmy only guess is that somehow your PPA install clashes with the quantal package21:58
bigjoolscan you file a bug please and supply as much info as you can about your installation (versions etc)21:59
EntropyWorksmaybe. it was happening before in the quantal packages too21:59
EntropyWorkssure21:59
bigjoolsoh weird22:00
bigjoolsmatsubara, hi22:00
EntropyWorksbigjools: 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:28
bigjoolsEntropyWorks: try LC_ALL=C sudo maas createsuperuser22:29
EntropyWorksnope22:29
bigjoolsyou're missing locale info22:29
bigjoolsis it even set?22:30
EntropyWorkswonder if my python is screwed someplace22:30
bigjoolsecho $LC_ALL22:30
EntropyWorksnot set22:31
bigjoolsok C doesn't work22:31
bigjoolsset it to a valid locale22:31
bigjoolsen_US for example22:31
bigjoolsbugger22:31
bigjoolsyou need sudo -E as well22:31
bigjoolspreserves env22:32
EntropyWorksyea, but no good either22:33
EntropyWorkssomething messed up with my install. check this out22:33
EntropyWorks$ maas-cli22:33
EntropyWorksError: no arguments given.22:33
EntropyWorksRun /usr/lib/python2.7/dist-packages/maascli/__main__.py --help for usage details.22:33
EntropyWorksI'm got to do the sane thing and nuke this machine and try again :-)22:34
bigjoolsso, LC_ALL=en_US sudo -E maas createsuperuser22:34
bigjoolsdoesn't work?22:34
EntropyWorksah! yes that prompted me!22:35
EntropyWorksyea I see when I run locale22:38
EntropyWorksLC_ALL=22:39
EntropyWorksand  LANGUAGE=22:39
EntropyWorksso thats causing me the issue i guess22:39
EntropyWorksjust reset it to en_US.UTF-8 logged out then back in and tada command works22:41
bigjoolscool22:42
=== kentb is now known as kentb-out

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