/srv/irclogs.ubuntu.com/2013/10/04/#maas.txt

=== freeflying_away is now known as freeflying
stokachuroaksoax: i think i know whats wrong, maas relies on python-curtin01:24
stokachubut thats no where in the archive01:24
stokachusmoser, roaksoax: python-curtin only exists in saucy atm01:27
stokachui believe thats why the archive is failing01:28
AskUbunturegion controller does not know whether any boot images have been imported | http://askubuntu.com/q/35342601:56
Byrohi01:59
ByroI'm stuck with maas configuration...01:59
ByroI posted a question on askubuntu01:59
Byrohttp://askubuntu.com/questions/353426/region-controller-does-not-know-whether-any-boot-images-have-been-imported01:59
ByroI'd really appreciate it if somebody could take a look01:59
Byroanybody around?02:01
dpb1hi Byro, I ran into something like this recently02:18
dpb1Byro: the script stalls there forever?02:18
dpb1how long did you wait?02:18
dpb1Byro: I hit this issue: https://bugs.launchpad.net/maas/+bug/121243402:19
ubot5Ubuntu bug 1212434 in MAAS "maas-import-pxe-files breaks on 404" [Critical,Fix committed]02:19
jtvdpb1: we landed a fix for that in the development codebase...  Which packages are you using?  Daily?02:23
jtvThe script really can't stall forever, but the downloads can take a long time.  You can tweak the RELEASES and ARCHES settings to eliminate downloads you don't need.02:23
dpb1jtv: ya, I'm past the issue, I was just replying to Byro up there.02:23
jtvAh OK02:24
dpb1Byro, see jtv's question ^02:24
jtvWe're just in the process of re-doing those download scripts, especially the one for the commissioning images.02:24
dpb1jtv: ya, I was reading about that a couple days ago.  makes sense, given maas is useless if they don't work. :)02:25
* jtv ponders people carrying USB sticks around02:28
jtvYes, pretty much.  :)02:28
jtvNow, as far as the maas-import-pxe-files script is concerned, if you're running a reasonably recent version of the package, you could just run the latest upstream version.  No big changes.02:29
jtvBut it calls the maas-import-ephemerals script, which is a wholly different beast and AFAIK will still break if downloads fail.02:30
dpb1jtv: ya, I had a bug about that oo02:35
dpb1too02:35
jtvI need to step out for some time...  But if it's something I can help with, please explain here and I'll get back to it!02:37
jtv(Or if appropriate of course, just file a Launchpad bug :)02:37
dpb1jtv: oh, it's the same bug I think.  in the comments. :)02:37
dpb1jtv: cheers. :)02:37
=== CyberJacob|Away is now known as CyberJacob
gnuoyhi, I have a newly created maas and I'm finding that commissioning is failing most of the time. when a node fails commissioning it never seems to come up on the network and the remote serial connection shows it loading initrd.img for ~1 minute and then reports it failed and prompts to press a key to continue to nothing else. I'd like pass console=ttyS1,38400 to the kernel which I'm hoping will give me more info07:12
gnuoyhow would I go about doing that ?07:12
rvbaHi gnuoy, right now, you need some manually hackery to do that.  If you find maas' kernel_opts.py file, you could change compose_arch_opts() to return the parameter you want. (Don't forget to 'sudo service apache2 restart' for the modification to take effect.)07:15
gnuoyrvba, perfect, thank you07:15
rvbawelcome07:15
AskUbuntuBuild And Host my web application on my own private cloud | http://askubuntu.com/q/35350807:38
=== freeflying is now known as freeflying_away
=== freeflying_away is now known as freeflying
gnuoyfwiw turns out my issues was Bug#115555609:22
=== freeflying is now known as freeflying_away
tych0bug 115555609:42
ubot5bug 1155556 in python-tx-tftp (Ubuntu) "HP ProLiant DL380 G7 tftps kernel, but initrd tracebacks in tftp server. DL380 G6 succeeds." [Undecided,Fix released] https://launchpad.net/bugs/115555609:42
=== freeflying_away is now known as freeflying
=== freeflying is now known as freeflying_away
=== matsubara-afk is now known as matsubara
=== kentb is now known as kentb-afk
rvbaroaksoax: Hi Andres.  I'm seeing something weird with the package that is in Saucy right now: when I install the package with other stuff, the installation breaks: see http://paste.ubuntu.com/6192266/13:42
rvbaroaksoax: any idea what might be wrong?13:42
roaksoaxrvba: ill check in a bit14:27
rvbaThanks.14:27
=== freeflying_away is now known as freeflying
rvbaroaksoax: also, but it's really not urgent, I'd be happy if you could have a look at the power-related bugs recently filed: https://bugs.launchpad.net/maas/+bugs?field.tag=power15:18
roaksoaxrvba: when did you experience the install issue?15:24
rvbaroaksoax: just now15:24
roaksoaxrvba: 3 of those appeared yesterday15:24
roaksoaxrvba: two of which we cant do anything15:25
roaksoaxrvba: and anotherone is on your side of things15:25
roaksoaxrvba: bug #123491015:26
ubot5bug 1234910 in MAAS "maas unsets ipmi protocol when commissioning" [High,Triaged] https://launchpad.net/bugs/123491015:26
roaksoaxrvba: is something I had asked before15:26
roaksoaxand i was told "you cannot update power parameters individually"15:26
rvbaroaksoax: right, I need to look into that… would you mind adding comments on the others and maybe marking them invalid (if we can't do anything).15:26
rvbaroaksoax: that's a bit bizarre, because we can update the power parameters individually; maybe I'm missing something here.15:27
roaksoaxrvba: no, if i have pwoer_user and power_pass set, and then I update power_user to something else, power_pass resets to default, which is ''15:29
roaksoaxrvso you pretty much have to update all the power parameters if you dont want them reset15:29
rvbaroaksoax: I see; well, yes, they basically behave as one piece of information.15:30
roaksoaxexatly15:30
roaksoaxrvba: so if a user changes A on the webui15:30
rvbaroaksoax: but the script manipulating the power parameters can workaround this.15:30
roaksoaxrvba: and then goes to the CLI to change B15:31
roaksoaxthen A gets reset15:31
roaksoaxand shouldn't be that way15:31
roaksoaxthe particular case here was15:31
roaksoaxmachine enlisted, authentication was changed by the user to LAN_@_015:31
roaksoaxand then on commissioning, since commissioning doesn't touch authentication method nor changes it15:31
roaksoaxit gets reset15:31
roaksoaxbecause commissioning only updates power_user, power_pass, power_address15:32
roaksoaxhence the power_type (i think is the variable) gets reset15:32
roaksoaxso the correct is to not reset other parameters when updating some15:32
roaksoaxrvba: ok just did a clean maas install without any issues...15:33
rvbaroaksoax: we have two fields: power_type and power_parameters.  They should be independent from one another.  I'll look into this.15:34
rvbaroaksoax: did you install other packages with the same "apt-get install" command?15:34
rvbaThat's when the problem happens.15:34
roaksoaxi'll re-try15:35
rvbaroaksoax: try sudo apt-get install -y maas python-nose python-testtools juju python-zmq15:35
rvbaroaksoax: also, I don't understand why installing maas installs maas-dns, it's supposed to be optional IIRC.15:37
roaksoaxrvba: not anymore15:38
roaksoaxrvba: maas-dns and maas-dhcp are now default15:38
rvbaroaksoax: ah ok… I don't have a problem with that but I suspect this change caused the problem I'm seeing.15:38
roaksoaxrvba: uhmmm maybe not cause I had my system and had been upgrading it without any issues15:39
roaksoaxrvba: where were you installing maas from though?15:39
roaksoaxin precise? saucy?15:39
rvbaroaksoax: saucy15:39
rvbaroaksoax: just the version in the archive15:39
roaksoaxrvba: ok testing your command now15:43
roaksoaxstokachu: ping15:43
stokachuroaksoax: pong15:45
roaksoaxstokachu: so what was your issue installing from the cloud archive again?15:46
roaksoaxrvba: ok, know what the issue is15:46
roaksoaxrvba: maas-dns uses the 'maas' command15:46
stokachuroaksoax: python-curtin is required and it doesn't exist in the cloud-tools archive15:46
smoserstokachu, i'm fixing.15:46
roaksoaxstokachu: k thanks15:46
stokachusmoser: cool thanks15:47
smoserpython-curtin *is* availalbe15:47
smoserits (source=djorm-ext-pgarray ) python-djorm-ext-pgarray that was not15:47
rvbaroaksoax: I'm wondering why the installation doesn't fail when one installs only maas.15:47
smoseri had failed to copy from -next to -staging.15:47
smoserjust did that now,15:47
stokachuah ok15:47
smoserand then i'll push through -propsed and -updates15:47
roaksoaxrvba: yeah that's weird15:47
roaksoaxrvba: but anyway, maas-dns cannot be a dependency of maas-region-controller15:48
rvbaroaksoax: Right.15:49
roaksoaxrvba: which causes an issue because there would be no way to install it automatically15:50
roaksoaxand gets unseeded15:51
roaksoaxrvba: btw.. i just noticed that maas-dns depends on maas-dhcp, that's not needed... is it?15:53
rvbaroaksoax: I don't see why we would have such a dependency…15:53
rvbaroaksoax: hum, hang on…15:54
smoserstokachu, if you want to just get past this...15:54
smosergrab the binary deb from https://launchpad.net/~ubuntu-cloud-archive-private/+archive/cloud-tools-proposed/+packages15:54
smoserwait. wrong link15:54
stokachusmoser: yea thats what i did15:54
smoserah. ok.15:54
smoserform -next is probably bettre.15:54
rvbaroaksoax: if you want the dns stuff to work you have to let maas control the dhcp.  So the dependency actually makes sense.15:55
smoserstokachu, and thank you for being willing to be a guinea pig. tryin gthis really helps.15:56
stokachusmoser: not a problem at all :D15:56
roaksoaxrvba: right, but that's why the cluster controller is the one that provides dhcp isn't it?15:57
roaksoaxrvba: so in a multi environment maas, the dhcp server on the region (which is being installed by maas-dns)15:57
roaksoaxdoes really work15:58
roaksoaxand it is just installed for nothing15:58
rvbaroaksoax: yeah, you're right.15:58
roaksoaxrvba: i think i'd rather leave it as is15:58
roaksoaxrvba: being so late in the cycle15:59
roaksoaxwe don't want to break anything15:59
rvbaSounds sensible.15:59
roaksoaxrvba: i just uploaded maas_1.4+bzr1656+dfsg-0ubuntu2~ppa1 to ppa:maas-maintainers/experimental16:01
roaksoaxrvba: so we can test the multi package install16:01
roaksoaxand see if we experience the same issue16:01
rvbaroaksoax: ok… well, the test will be easy.16:02
roaksoaxindeed16:02
rvbaroaksoax: arg, the package in the archive takes precedence… is there a trick to force your package to be installed?  I know how to specify that a particular version must be used for one package, but if it's more than one package, it becomes tedious.16:06
roaksoaxrvba: that cant be16:11
roaksoaxrvba: the one in ppa has higher version16:11
roaksoaxit might have not been released yet16:11
rvbaroaksoax: you're right, it's not published yet.16:12
roaksoaxrvba: it is built but not released yet16:12
roaksoaxyep16:12
roaksoaxrvba: published now16:21
roaksoaxrvba: so what script will replce import_ephemerals?16:25
roaksoaxi mean what config file?16:25
rvbagnuoy: As I said on the bug, I found out the feature to add custom kernel params is already there.  Sorry for the confusion, I'm so used to hack things manually that I sometimes forget about the user-facing features ;)16:25
rvbaroaksoax: the pserv config file.16:25
roaksoaxrvba: hold on, the pserv config file will include the config for importing ephemeral images?16:26
rvbaroaksoax: yes16:26
roaksoaxwhy?16:26
roaksoaxthe ephemeral and import-pxe files16:26
roaksoaxshould have its own separate config16:26
roaksoaxfrom the pserv service16:26
rvbawhy?16:26
roaksoaxthese are scripts16:26
roaksoaxthat should be possible to run16:26
roaksoaxbyt the user16:26
roaksoaxitself16:26
roaksoaxsmoser: ^^16:26
rvbaHaving a common config is not a problem for that.16:27
roaksoaxrvba: well, I see things differently but as long as maas-import-ephemerals is not a script limited to a maas daemon and the user *can* run it16:28
roaksoaxthen pserv.yaml could be used as a config source16:29
rvbaThat's the plan.16:29
rvba(Note that we're still working on it)16:29
roaksoaxbut given that it is a "external" script, it should have its own config16:29
rvbaroaksoax: hum, it makes sense… I'll talk to jtv (who is doing this work) about it, see what he thinks.16:30
rvbaroaksoax: your package installed correctly16:30
rvbaroaksoax: I'm calling it a day.  See you next week.16:30
roaksoaxrvba: so AFAIK, is it is place din pserv.yaml, in order for the script to actually catch the config, wouldn't we have to restart maas-pserv all the time too?16:30
roaksoaxbecause AFAIK the config gets loaded on pserv, and maas-import-ephemerals would obtain the config from there16:30
rvbaroaksoax: well, no.16:30
roaksoaxso if we change the config, then we would need to restart pserv16:31
roaksoaxrvba: alrigh! thanks for testing!16:31
rvbaI don't think so, the script is still run "as a script".16:31
rvbaBut I'll check.16:31
rvbaLike I said, this is still WIP.16:31
roaksoaxrvba: ok! thanks!16:32
roaksoaxlet's catch up on monday then16:32
rvbaOkay.16:32
smoserroaksoax, i agree that the user should be able to run theset things16:37
smoserstokachu, 'apt-get install maas' should work on proposed or updates now17:01
smoser(i just tested)17:01
roaksoaxsmoser: i did a new upload to archive that is sitting waiting for approval17:12
roaksoaxit is just a packaging change though17:12
smoserrvba, roaksoax so does the import-ephemerals run regularly ?17:22
smoserit really needs to. same with import-pxe-files17:22
roaksoaxsmoser: it should17:25
smoserand can we boot saucy now ?17:25
smosercause thats also moderately important :)17:26
smoserroaksoax, did you fix http://paste.ubuntu.com/6193171/17:34
smoser?17:34
smoseris that what your upload fixed?17:35
=== matsubara is now known as matsubara-lunch
stokachusmoser: ok ill test it now17:44
stokachuthanks for the quick response17:44
roaksoaxlet me see17:45
roaksoaxsmoser: yeah that's the one i fixed17:45
smoserstokachu, see above. it wont work :)17:45
smoserbut a couple more poushes. and we might get ther.e17:45
stokachuah lol ok cool17:46
stokachuive got a few ansible playbooks setup so i can switch between saucy and precise17:46
* roaksoax lunch17:59
=== kentb-afk is now known as kentb
stokachusmoser, roaksoax: also lxc in the cloud-tools archive wont work unless running the lts-raring hardware enablement kernel i believe18:26
stokachunot by default anyway unless there is a way to disable namespaces in lxc config18:26
* stokachu hasn't checked18:26
smoserstokachu, what do you mean "work" ?18:26
smosercurrent lxc works fine on precise.18:27
stokachulxc version 1.0?18:27
stokachufrom a default install of lxc from cloud-tools archive it won't start a container18:28
stokachuspawns errors like 'get_cgroup" failed18:28
ppetrakihey, how do I grab the power_parameters for a given node from the CLI?18:56
ppetrakiI'm trying to back up  a maas18:57
ppetrakialso, https://code.launchpad.net/~peter-petrakis/maas/maas/+merge/18940718:57
stokachuppetraki: maas-cli maas nodes -h18:58
stokachushould give you an idea of what you can pull from it18:58
stokachuppetraki: http://maas.ubuntu.com/docs/maascli.html#node18:59
ppetrakistokachu, yeah, tried that: maas-cli maas node  read node-eccf979e-2d23-11e3-9b02-525400052fb9 power_parameters_power_id19:01
ppetrakiu'power_parameters_power_id' is not a name=value pair19:01
stokachuread only takes system_id19:01
ppetrakiright, it doesn't return enough information: http://pastebin.ubuntu.com/6193532/19:04
stokachuwhat does power_parameters_power_id refer too19:04
stokachuthe virsh stuff?19:04
ppetrakiin this case it's for virsh19:04
ppetrakibut I'm really targeting this towards ipmi19:05
ppetrakishould still work though19:05
stokachuppetraki: they dont show user/pass there either19:05
stokachui wonder if the id is under the same umbrella19:05
ppetrakithat would suck19:05
stokachulet me look at the source and see if there are any comments19:05
ppetrakiwe show it in plain text in the gui, the cli is authenticated, but I can't get the same level of data back19:06
ppetrakithanks19:06
stokachuppetraki: yea could just be an oversight19:06
stokachuppetraki: probably should file a bug to have the api expose that19:07
ppetrakistokachu, ok, will do19:07
ppetrakiI'll try and hack my existing instances to expose those fields so I can back it all up19:07
ppetrakistokachu, https://bugs.launchpad.net/maas/+bug/123542119:31
ubot5Ubuntu bug 1235421 in MAAS "power_parameters_* should be returned by nodes resource" [Undecided,New]19:31
stokachuppetraki: thanks19:32
=== matsubara-lunch is now known as matsubara
Nik_Hi. I'm having an issue with maas tags trying to identify machines that have more than 4 disks.. not sure if anytone is available who can help?19:58
Nik_"definition": "count(//node[starts-with(@id,\"disk\") and @class=\"disk\"]) >= 4"19:59
Nik_xmlstarlet sel -T -t -v 'count(//node[starts-with(@id,"disk") and @class="disk"]) >= 4' /tmp/lshw.xml19:59
Nik_utput is "true"20:00
Nik_but node doesn't get tagged20:00
Nik_some do, but not that particular one20:00
=== CyberJacob is now known as CyberJacob|Away
AskUbuntuMaas out of sync with lshw | http://askubuntu.com/q/35381421:24
=== kentb is now known as kentb-out
=== freeflying is now known as freeflying_away

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