/srv/irclogs.ubuntu.com/2013/03/15/#maas.txt

=== jtv1 is now known as jtv
=== freeflyi1g is now known as freeflying
cbeebieI may be in the wrong room here -- if so please suggest the right one! Please could someone tell me which package to install onto Ubuntu 12.04 to get the maas-cli client?10:56
melmothcbeebie, not 100% sure, but i think in the maas ppa  apt-add-repository ppa:maas-maintainers/stable11:10
cbeebiemelmoth, thank you. I have the package now. There's no man page for maas-cli, but I guess that's a tier two issue :-)11:20
melmothi have never used it  to be honest :)11:21
racedohi roaksoax i've seen this many times now and i thought i would report it: https://bugs.launchpad.net/maas/+bug/115560712:52
ubot5Launchpad bug 1155607 in MAAS ""DNS zone name" in Cluster controller and "Default domain for new nodes" in settings should be the same" [Undecided,New]12:52
racedobut i'm not sure if it's on purpose12:52
roaksoaxracedo: well the thing is that ypu can assign different zone name depending on the cluster13:30
roaksoaxso that eould defeat the purpose of making them match13:30
=== kentb-out is now known as kentb
johangm90hello15:28
johangm90i have 5 servers running centos15:29
johangm90i want to install ubuntu server 12.0415:29
johangm90i need more information about maas15:32
melmothjohangm90, http://maas.ubuntu.com/15:34
melmothi m not sure i understand what you are tryint to do exactly, nor how maas is involved.15:34
trevorjroaksoax: you around?16:02
roaksoaxtrevorj: hi16:04
trevorjroaksoax: hey! I heard you are the one working on the IPMI related stuff in maas?16:05
roaksoaxtrevorj: i am :) how can i help you?16:05
trevorjroaksoax: Well, first of all, great job16:05
trevorjroaksoax: second, I've bene writing some vendor specific stuff for HP iLO16:06
trevorjroaksoax: and I'd love to get it included into maas somehow16:06
trevorjroaksoax: pretty much, I want to set the hostname in iLO to the hostname of the actual machine, for easy finding in a big blade enclosure, and do simple bios setup, such as setting PXE boot to primary16:07
trevorjroaksoax: I've gotten it somewhat working in dev, but instead of writing HPONCFG xml files as I used to, I used a library called python-hpilo16:07
trevorjroaksoax: The problem is it to access local hpilo devices, you currently (afaik) need to use the hponcfg binary from HP, which I'm unsure of the distribution licensing on. I believe it may operate over simple serial through the hpilo kmod, however16:08
roaksoaxtrevorj: so setting PXE boot to primary you might not need to. Everytime maas tells a machine to power on, it will tell it to PXE as well16:09
trevorjroaksoax: Oh, really? Is this a new thing?16:09
roaksoaxtrevorj: nope, it's been working like this for a while now16:10
roaksoaxsince the early implmentation of mAAS IPMI power management16:10
trevorjroaksoax: Hmm, I think I might of just been hitting the IPMI bug you already squashed when dealing with which IPMI user slot to use16:10
roaksoaxtrevorj: probably, that should be released soon in archives (or should be available in ppa:maas-maintainers/stable)16:11
trevorjroaksoax: yeah, I just need to upgrade ;)16:11
trevorjroaksoax: well than fantastic. There are still things I'd love to automate however, like enabling VMX support16:12
roaksoaxtrevorj: now, as far as doing some customization to your iLO, you could do it in 2 ways16:12
roaksoaxtrevorj: 1, would be to do it in during the commissioning step16:12
trevorjroaksoax: lots of HP blades come with vmx disabled, unfortunately16:12
roaksoaxtrevorj: or 2. do it everytime right before the node gets started16:12
trevorjroaksoax: yeah, that's where I've been doing all of the setting changes, in commissioning16:12
trevorjroaksoax: I also made a small agent that runs via upstart as a task that sets the hostname to the current hostname if they don't match16:13
roaksoaxtrevorj: yeah. so all the stuff done in maas in done by freeipmi-tools16:14
roaksoaxtrevorj: currently, mostly using bmc-config16:14
roaksoaxor ipmi-chassis-config16:14
trevorjroaksoax: yeah, I've been going through the commissioning config =)16:14
trevorjroaksoax: I love how it's rather cross vendor16:14
trevorjroaksoax: I didn't even know IPMI had such standardized user/power mgmt16:15
roaksoaxtrevorj: yeah "standarized"16:15
roaksoax:)16:15
trevorjroaksoax: heh, yeah16:15
roaksoaxtrevorj: bu yeah if you are doing that already, then you are in the right track16:15
trevorjroaksoax: Would this be wanted in maas?16:16
roaksoaxtrevorj: maybe :)16:16
trevorjroaksoax: ok, good enough for me16:16
trevorjroaksoax: better question, would vendor specific optimizations be wanted?16:17
trevorjroaksoax: or are you guys trying to stay "standardized" IPMI?16:17
roaksoaxtrevorj: verdor specific optimizations are difficult, specially if it involves the use of privative tools. However, it is always worth the shot16:18
roaksoaxtrevorj: because we are trying to"standarize" its usage in maas, but at the same time allowing people to do its own thing, as you did16:18
trevorjroaksoax: if I could create/find a way to do it with only OSS tools, would that be better?16:18
roaksoaxtrevorj: yes that would indeed16:18
trevorjI agree at heart ;)16:18
trevorjI bet it's just a serial protocol too16:19
roaksoaxtrevorj: i would recommend you file a bout in http://launchpad.net/maas and propose your improvements16:19
roaksoaxor things that you would like to see16:19
trevorjroaksoax: will do16:19
trevorjroaksoax: thanks!16:19
trevorjoh one more thing16:19
trevorjif commissioning runs more than once somehow16:20
trevorjdoes it change the maas IPMI login's pass and then maas doesn't allow the request to update it as it already exists?16:20
trevorjor does it grab the existing password and set it to that again?16:20
roaksoaxtrevorj: it will change it, but it should update the credentials in MAAS too16:21
trevorjI know I get a traceback if it runs again, due to the node already existing16:21
trevorjbut it may update the credentials, I'll have to test it, as I was dealing with other issues as well at that point16:22
roaksoaxtrevorj: right, the thing would be to see if the credentials have been updated16:22
roaksoaxtrevorj: because in the term of ipmi credentials, we simply "update" the node information16:22
trevorjah, so there's more than one request?16:22
roaksoaxtrevorj: but yeah, re-running commissioning once a node is already commissioned, it is not really a supported feature16:22
trevorjroaksoax: hehe, it was an accident due to the server name in iLO being unknown ;)16:23
trevorjroaksoax: hence my whole process above ^16:23
roaksoaxindeed16:24
roaksoaxtrevorj: and yeah we do updates various times16:24
roaksoaxtrevorj: signal "--power-type=ipmi" "--power-parameters=${power_settings}" WORKING "finished [maas-ipmi-autodetect]"16:24
trevorjAh, I've seen that in there! Makes sense now. I've got much code to go through in maas still, as I was saying before, it's some great Python to read.16:26
roaksoaxindeed16:26
roaksoaxmy code is probably the ugliest :)16:26
trevorjnah, it just looks like it grew fast16:27
roaksoaxyeah16:27
trevorjcatting a couple files through a script is something I do at times as well, without a better distribution mechanism it makes perfect sense to me ;)16:28
roaksoax:)16:29
trevorjok, I'll raise it on launchpad, look forward to helping in any ways I can16:30
trevorjlooking*16:30
roaksoaxcool :)16:31
roaksoaxthanks!16:31
druiidHey all, anyone around to answer a quick question about preseed?17:27
trevorjdruiid: sup18:30
druiidHey, so... I was looking around pretty much everywhere and wasn't seeing how/if you can define per-group preseed configurations. Is this possible? Basically I wanted to define software raid for specific nodes and rely on the hardware-raid for others.18:31
trevorjdruiid: hmm, good question18:34
trevorjdruiid: There may be a way to assign a preseed on a per node or preferably nodegroup object18:36
trevorjdruiid: I'm interested in this as well, because I'll eventually have to assign different preseeds based on more than pure architecture18:36
trevorjdruiid: The devs are in here, I'm sure they'll be able to shine more light on if this is currently possible using the existing models18:37
druiidHopefully so! Kind of critical for me as there are specific systems that the onboard raid isn't supported very well by Linux (grr, Intel) so software raid is necessary.18:38
trevorjpersonally I'm a bigger fan of software raid than hardware, but I can see your reasoning18:39
trevorjs/but/so/g18:39
druiidWell, I also couldn't just use a default preseed even across the cluster and just give them all software raid as some would require raid-6 and some raid-1.18:40
trevorjIs a preseed just a shell script?18:40
trevorjI've always meant to look into that, I have a feeling it may be18:41
druiidSorta. More like a configuration file. It's like the Ubuntu version of kickstart (for redhat systems)18:41
trevorjYeah I've used preseeds before18:41
trevorjbut I'm wondering if they are actually ran through sh18:41
trevorjd-i is an installer command18:41
druiidOh. Not sure. Probably shell based, yeah.18:42
trevorjIf it's actually ran and not just parsed, then you have the benefit of if statements18:42
trevorjactually18:43
trevorjmaas uses templated preseeds18:43
trevorjiirc18:43
trevorjthat may be the 'proper' way to handle this18:43
trevorjmaybe it's generated from the templates per instance18:43
trevorjif so I bet you have variables and if statements etc via {{ }}18:44
druiidHmm, that very well could be. There are indeed lots of if statements and using xpath style variables.18:46
druiidI wonder if the tags get expressed as well.18:46
trevorjI forget the template syntax they use, I'd have to go through that part of the code again, I've only read through certain parts in lieu of issues and skimmed through others18:47
trevorjiirc it's not jinja or mako18:48
druiidhttp://pythonpaste.org/tempita/18:49
trevorjaha!18:49
trevorjthere we go ;)18:50
trevorjIf they generate it per instance, which would make sense to me, then I bet you have a node object where you can access it's xml hardware info18:51
druiidSounds reasonable. A bit clunkier than I'd like, but should be a solution barring another way it's meant to be done.18:52
druiidI guess that at least gives me a direction for next week :)18:55

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