/srv/irclogs.ubuntu.com/2012/07/13/#maas.txt

allenaproaksoax: I doubt you're there, but you can get this later. No, he hasn't pulled the changes yet, but he did review some additional parts last night. I have a small amount of work to do to satisfy that, then he'll pull. Should be done today or by the beginning of next week at the latest.08:21
roaksoaxallenap: hehe alright, either way it is not usable12:44
roaksoaxyet12:44
roaksoaxallenap: let me know when you ditch the celeryconfig stuff12:45
roaksoaxrvba: howdy! so I figured it the ipmi stuff out12:47
roaksoaxrvba: the difference is the interface being in use12:47
allenaproaksoax: Will do. It's actually requiring (in my head at least) quite a lot of change.12:47
roaksoaxipmitool uses the OpenIPMI interface, while ipmilan uses fence_ipmilan which uses ipmitool's lan interface12:48
roaksoax(besides the fact of course fence_ipmilan was created for clustering)12:48
roaksoaxallenap: ehe ok, just make sure it lands upstream before FF12:48
roaksoaxallenap: if not, we can just patch our source12:49
allenaproaksoax: When is FF?12:49
roaksoaxrvba: Feature Freeze (/me just remembered you guys are not bound by the Ubuntu Release Schedule :) )12:49
rvbaroaksoax: do we want to keep the two power methods then?12:50
roaksoaxrvba: so my idea is this. (1.) 3 IPMI options, IPMI, IPMI-LAN, IPMI-LANPLUS, or (2.) 1 IPMI option, that has "Interface" option and is a combobox, or (3.) Interface is a text box,12:51
roaksoaxrvba: this obviously means that choosing the interface means adding additional parameters to the command12:51
rvbaroaksoax: then I would very much be in favor or 1.12:52
rvbas/or/of/12:52
allenaprvba: Tests pass.12:53
rvbaallenap: thanks.12:53
roaksoaxrvba: (2.) is IPMI Power Method, which as Interface Combobox with "OpenIPMI" "LAN" "LANPLUS"12:53
rvbaroaksoax: I mean it would require some JS code if we wanted to have different parameters depending on the value on the value of a combo box12:54
roaksoaxrvba: right, so we 1. duplicate template files (which will only differ on ~10 words - -I opne, -I lan, -I lanplus)12:55
roaksoaxor we add the different parameters12:55
roaksoaxsome other way12:55
roaksoaxrvba: cause I think it makes no sense to duplicate the template file12:56
roaksoaxrvba: cause if that's so, then a textbox would be easier12:56
rvbaroaksoax: no need to duplicate the templates, we could use the inheritance feature of tempita.12:58
roaksoaxrvba: cool, can you give me an example of how this would be done?12:58
rvbaroaksoax: sure, hold on.12:59
rvbaroaksoax: so, here are your 3 templates: master (http://paste.ubuntu.com/1089798/), specific1 (http://paste.ubuntu.com/1089799/) and specific2 (http://paste.ubuntu.com/1089800/).13:04
rvbaroaksoax: if you render 'specific1' you'll get: http://paste.ubuntu.com/1089802/13:05
roaksoaxrvba: ok cool, I'll get it done and forward it your way for review13:07
roaksoaxthanks!13:07
rvbaroaksoax: cool13:07
roaksoaxrvba: how is the master referenced in the inherit? I'm guessing by telling it the path?13:21
rvbaroaksoax: yes13:21
roaksoaxrvba: and how does tempita now the path for the ttemplates?13:22
rvbaroaksoax: you can have a look at src/maasserver/preseed.py:load_preseed_template.  That's what we've done for the preseed templates which also uses 'inherit'.13:24
roaksoaxrvba: so I just realized we do not need the complexion of inheritance13:42
roaksoaxrvba: the only reason why we have various files is to satisfy cobbler, but since that's gonna be gone, we can just pass a parameter13:42
roaksoaxrvba: src/maasserver/power_parameters.py is only a UI thing right? I couldn't set a power_interface parameter there that would not shown on the UI, but would set a default when that parameter is selected14:03
rvbaroaksoax: it is a UI thing yes. (I'm otp btw.)14:04
Davieyhola!14:48
roaksoaxDaviey: howdy! have you played with IPMI much?15:10
Davieyroaksoax: yep15:14
roaksoaxDaviey: so doing ipmitool -H 1.1.1.1 -U a -P a power on is the same as doing ipmitool -I lan -H 1.1.1.1 <...etc>15:15
roaksoaxright?15:15
roaksoaxDaviey: for on/off/status commands does it make a difference using -I lan or -I lanplus?15:15
Davieyroaksoax: err, no user / pass?15:16
Davieyno.. but i tend to use lanplus for everything15:16
Davieyanother more complete alias is also chassis power on.15:16
roaksoaxDaviey: i'm just trying to figure out whether in MAAS there should only be 1 IPMI command, or IPMI, IPMI-LAN and IPMI-LANPLUS15:16
roaksoaxIPMI = ipmitool -H 1.2.3.4 -U a -P a chassis power <on/off>.15:17
roaksoaxIPMI-LAN = ipmitool -I lan -H 1.2.3.4 -U a -P a chassis power <on/off>15:18
roaksoaxIPMI-LANPLUS = ipmitool -I lanplus -H 1.2.3.4 -U a -P a chassis power <on/off>15:18
roaksoaxDaviey: does that make sense, or you think is not really necessary?15:18
Davieyroaksoax: i don't think it really matters tbh15:19
Davieyroaksoax: as i say, i've used lanplus for everything i think.. If that turns out to be an issue, we can change it15:19
Davieyroaksoax: TBH, freeipmi still needs more focus imo.15:19
Davieythe bmc discover tool of freeipmi is probably needed for the ephemeral environment anyway15:20
roaksoaxDaviey: right, adding the command to use is easy, so we can have a IPMI (ipmitool LANPLUS Interface) , IPMI (freeipmi)15:21
roaksoaxDaviey: etc etc15:21
Davieycool.15:22
Chocobo_Hi all,  I have set up MAAS but every action I do on the web interface requires me to re-enter my user name and password.  Also some functions (adding ssh key, and deleting nodes) does not seem to work.  Has anyone seen this before?15:39
Chocobo_hmmm, I tried a "maas flush" recreated the superuser account, but the same problem exists.15:49
DavieyChocobo_: no, never seen or heard of that before.17:24
DavieyChocobo_: Have you had similar issues before?17:24
DavieySounds like you are not maintaining your http session.17:24

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