/srv/irclogs.ubuntu.com/2013/12/19/#maas.txt

bladernr_Does anyone know if there are issues with django and maas on Trusty?00:13
bladernr_I have a system running trusty and just installed MAAS on it (system is fully updated).  After installing MAAS and setting the IP address, I tried accessing the dashboard at 10.0.0.10/MAAS and got an "Internal Server Error".00:19
bladernr_The following is from apache's error log: http://paste.ubuntu.com/6597120/00:20
bladernr_any ideas what's going on here?  Looks to be an issue with django of some sort, but I have no idea what...00:20
=== CyberJacob is now known as CyberJacob|Away
=== freeflying_away is now known as freeflying
=== CyberJacob|Away is now known as CyberJacob
=== CyberJacob is now known as CyberJacob|Away
andre118hi17:31
andre118I am having problems using WoL power management on MaaS17:32
andre118can somebody help me out please?17:32
andre118I can't poweroff any node using the maas-cli stop17:42
andre118or using the web interface17:42
andre118the node goes from 'Allocated' to 'Ready', but doesn't shut down17:42
rbasakandre118: I'm not sure that WoL power management supports shutdown at all.17:43
andre118I know that, unlike IPMI, WoL is meant to only boot up machines17:45
andre118But considering the fact that it does not support, wouldn't it be easy for MaaS to take over the shutdown process?17:47
rbasakI don't think MAAS has credentials.17:47
rbasak(to individual nodes)17:47
rbasakBut it's (relatively) trivial to write your own power management plugin to MAAS, so if there's some way that will work on your setup, you could modify the WoL hook.17:48
andre118I can give it a try17:49
andre118but I thought that, having the option for WoL, all minimum features would be supported17:49
andre118I mean, one can't use MaaS at all without having it shut his nodes down17:50
andre118so WoL power management isn't actually an option17:50
rbasakI think the intention was that you could experiment with MAAS. But in production, I'd expect you to have production server hardware. With WoL you can still do it, but you'll have to run around turning machines off.17:51
andre118ok, I will try to customize the WoL hook just like you suggested, thank you :)17:53
andre118one more thing related to WoL17:53
andre118I guess it is related to my hardware, but WoL only manages to boot up machines where I previously run a 'ethtool -s eth0 wol g' command17:54
rbasakevilnickveitch: ^^ do we have any documentation on node system requirements, and what users should expect depending on what they have? It seems to me that andre118 was surprised, and I can't find anything relevant in the documentation.17:55
andre118if I'm not missing any configuration, is it reasonable to put this command on a customized preseed?17:55
rbasakandre118: once you've run that command, does WoL stay persistently enabled? Then you could do it with a commissioning script. However, you'd need to manually boot each machine into commissioning to make that work.17:58
rbasakandre118: if it works then maybe you could do it during enlistment phase instead, to save that extra step. It's a hack on top of what enlistment is supposed to do though (touch the machine as little as possible).17:59
andre118I'm sorry, I lost your last comments18:03
andre118WoL will remain persistently until the node is reallocated (and subsequently installs a fresh OS)18:04
andre118so the solution is something like editing the comission script AND the preseeds so enables WoL whenever it allocates?18:06
bladernr_what is the proper way to import the PXE stuff when setting up MAAS now?  is it maas-cli or maas-import-pxe-files?19:01
bladernr_what is the proper way to import the PXE stuff when setting up MAAS now?  is it maas-cli or maas-import-pxe-files?19:25
=== CyberJacob|Away is now known as CyberJacob
bladernr_maas-cli didn't seem to do anything and maas-import-pxe-files has called maas-import-ephemerals but that just seems to be stalled and doing nothing19:26
_bjornedo you want to import boot files to? im using maas-cli maas node-groups import-boot-images19:27
bladernr__bjorne: I tried that first and it didn't do anything... sat for well over an hour and there was no indication that anythign had happened19:28
bladernr_the "no boot files found" message still appears on the UI login19:29
_bjornehave you route to wan? so you is not only on lan? :)19:29
bladernr_yep19:29
_bjorneiptraf or tcpdum so you see something happend on ethernet?19:30
bladernr_when I ran maas-import-pxe-files, it did show downloading of all the various PXE files, but then it kicked off maas-import-ephemerals and just stopped.19:30
bladernr__bjorne: heh, heres the kicker... this is on a laptop... eth0 (gigE) is on a private network, wlan1 is connected to the internet.19:31
_bjornefor me that take a long time to get all files, if you have slow internet.19:31
bladernr_hrmmm it could be just that...19:31
bladernr_maybe I'll hook the gigE back up to the wan side and retry then set the network back up as it should be.19:31
_bjorneim have 100mbit and that is some files that need down, like 1gb files or so :)19:31
bladernr_ahh... that's a good point... I could be just impatient as well...19:32
bladernr_do you happen to know where it dumps the files so I could at least monitor progress that way?19:32
_bjorne../var/lib/maas19:33
bladernr_ahhh yeah...19:34
_bjornelocate maas :) and you see all maas dirs.19:34
bladernr_yep, thanks19:35
_bjorneor tcpdump -nvi ethX X=0 or what card you have19:35
_bjorneand you see if something happend there on network card.19:36
bladernr_yep.  I'll let that run a bit and see what happens19:38
_bjornebladernr_ you see something?19:41
bladernr__bjorne: yes... but I also restarted the import so it's downloading the PXE stuff again19:41
bladernr_so once it gets passed that to where it's downloading ephemerals, I'll look for stalled traffic or something19:42
_bjorneok... put it going under the night, if you have slow connection :) so you have the files in the morning :) or edit import_ephemerals so that looks like this RELEASES="precise"19:43
_bjorneARCHES="amd64/generic i386/generic"19:43
_bjorneif you using precise :) and you take down only that :) or what dist you using.19:44
_bjornethat files can you find in /etc/maas19:44
bladernr__bjorne: awesome. thanks!  It is downloading the ephemerals now... I was just being impatient19:47
_bjornehehe :)19:48
=== CyberJacob is now known as CyberJacob|Away

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