/srv/irclogs.ubuntu.com/2014/03/28/#maas.txt

jtvbigjools: can we just delete the install-pxe-bootloader provisioning command?  I'm worried about discarding UEFI work.05:02
bigjoolsjtv: leave it for now then, we can check to see what Blake is doing with it05:02
jtvAlthough... not a lot of changes from the UEFI work, actually.  All looks pretty superficial.05:02
jtvThe only thing that's changed there is that it no longer says "PXE" in some places.05:03
jtvAnd a small change in path.05:04
jtvAhhh, watch the problem cases disappear from my other branch, now landed.05:06
bigjoolsjtv: reviewing your branch06:11
jtvThanks.06:13
bigjoolsjtv: done!06:27
jtvThanks.06:28
jtvAnd the next one is up.  :)06:28
bigjoolsjtv: sheesh!06:29
jtvHey, you're the one making me do work.06:29
jtvAnd unfortunately, your review comments will affect that one.06:29
bigjoolsI know :(06:31
* bigjools afk for 15m06:31
=== CyberJacob|Away is now known as CyberJacob
bigjoolsjtv: quick chat about the config06:52
jtvOK06:52
bigjoolstalky06:53
rvbaHi jtv, question for you: does the conf gets rewritten even where no legacy config file can be found?  In a fresh install of the daily package, I get this: http://paste.ubuntu.com/7167249/.  It's okay… just weirdly formatted.08:26
=== CyberJacob is now known as CyberJacob|Away
jtvrvba: there is no legacy config file — just legacy boot images.  The rewrite always happens.  What you have there though means that the upgrade hook did find old boot images.09:17
jtvAs for the formatting, the yaml module gives us a little bit of control over formatting but not much.09:18
rvbajtv: this is with a fresh install on canonistack.  No old boot image can have been found.09:18
rvbaIt's just not possible.09:18
rvbajtv: I understand we don't have much control over the formatting… I was just surprised to see the file being rewritten for a fresh install.09:20
jtvI told you.09:20
rvba"What you have there though means that the upgrade hook did find old boot images." that's the part I don't understand.09:21
jtvAh, I figured out what happened.09:21
rvbaWell, I understand but it doesn't make sense :)09:21
jtvI thought what you had there was the result of a rewrite based on existing boot images, because it wasn't the default config we had when I wrote the migration code.09:21
jtvBut there's another explanation: the default config has changed since then.09:21
jtvWhat you have there looks like a different "spelling" of the new default config.09:22
jtvLabels were added, as was Precise.09:22
jtvI've been trying all day to get my test rig back up, but there were some problems.09:23
jtvReally weird one: with maas uninstalled, twistd still ran and used up tons of memory — on a machine with very little memory!09:23
rvbaTo me, it looks very much like the default config, just rewritten and thus weirdly formatted.09:23
jtvYes, it's the new default config, as output by the yaml module.09:24
rvbaOkay, I just didn't know the rewritting was supposed to always happen.09:24
jtvWe talked about it in a merge proposal, but I guess you didn't see the part where I explained that.09:25
rvbaNo I didn't.09:25
jtvSorry about that.  Yes, the rewrite always happens — if nothing else, to remove the configure_me marker.09:26
rvbaI see.09:26
rvbaWell, it's not the end of the world.  But the formatting is awkward.  I guess there is nothing we can do about it.09:26
jtvThere's just one thing that I'm aware of: there's a boolean to control formatting.09:27
jtvWhich doesn't give us a lot of options.  :)09:27
dimiternrvba, bigjools, hey, a quick question re gomaasapi and networks09:46
dimiternrvba, bigjools, if I call this inside the provider, will I be able to verify networks support in maas with certainty:09:47
dimiternrvba, bigjools, client := env.getMAASClient().GetSubObject("networks/"); result, err = client.CallGet("", nil) ?09:49
dimiternrvba, bigjools, the difficulty is "networks/" does not specify op=list like the other paths in the api supporting GET09:49
jtvdimitern: with networks, you just GET the "directory" URL to retrieve the listing.09:50
rvbadimitern: yeah, it's a bit inconsistent.  Some calls use op=list some use a plain GET with no 'op' parameter.09:51
rvbadimitern: but the proper way to do this now is to check the capabilities by requesting /version/.09:51
dimiternjtv, rvba, so CallGet("", nil) should either give me err=nil or some 404 or other error09:52
jtvYes.09:53
dimiternthanks guys!09:53
dimiternrvba, is that /version/ working and released in 1.5 r1977 package i'm using?09:54
rvbadimitern: the new endpoint has been added in revision 2188.09:55
dimiternrvba, so I see https://bugs.launchpad.net/maas/+bug/1297814 got fixed09:56
ubot5Ubuntu bug 1297814 in MAAS "MAAS does not advertise its capabilities" [High,Fix committed]09:56
dimiterneven better!09:56
rvbadimitern: yes, in revision 2188.09:56
rvbadimitern: see https://lists.launchpad.net/maas-devel/msg01537.html09:57
dimiternrvba, awesome! thanks again for the quick response!09:59
dimiternrvba, looking at the daily-qa-ok ppa I can't see a newer package than 1.5+bzr1977+2115+246~ppa0-ubuntu14.04.111:12
dimiternrvba, where should I get the package with /version/ support r2188?11:13
dimiternrvba, sorry, I found it in https://launchpad.net/~maas-maintainers/+archive/dailybuilds11:14
rvbadimitern: yes, the package in there has been QAed.  That's the one you should use.11:27
rbasakroaksoax: I see you touching bug 1298130. Do you still need me for anything on this one? I noticed that the test suite is disabled, and was looking into that.15:22
ubot5bug 1298130 in python-seamicroclient (Ubuntu) "[MIR] python-seamicroclient" [Critical,Incomplete] https://launchpad.net/bugs/129813015:22
roaksoaxrbasak: so there are a few thinsg that need to be fixed there in order to get it to the cloud archive tools pocket, since I'm trying to upload a new maas today16:13
roaksoaxrbasak: I'll try to make an upload today that should leave the package in a good state for MIR, which you can take care of? that makes sense?16:14
rbasakroaksoax: sure. Let me know when you're done?16:15
roaksoaxrbasak: will do! thanks for filing the MIR though16:15
allenapblake_r: Have you been able to do much QA on the UEFI stuff, especially since your last change yesterday?16:33
allenaprvba: What’s the workflow for selecting an HWE kernel now?16:34
rvbaallenap: a hwe kernel = a subarch.  So you just assign the right arch/subarch to the node in question.16:40
rvbaallenap: the kernel can come from simplestreams or you can put it manually (in the 'right' place, with files having the 'right' names — this probably ought to be documented) in /var/lib/maas/boot-resources/16:42
=== roadmr is now known as roadmr_afk
basicerAny idea how I can customize the partitions and filesystems curtin creates?17:07
basicerId be willing to just have a shell script do all of it, but Im not sure what the section I would put it in would be?  early_commands: ?17:09
roaksoaxrvba: is that documented? selecting hwe kernel?17:13
roaksoaxbasicer: check with smoser17:13
roaksoaxallenap: we really need to QA UEFI, blake is testing curint now, d-i should just work17:14
roaksoaxor well17:14
roaksoaxhe is verifying that d-i just works17:14
roaksoaxand needs to fix curtin17:14
dimiterni found and filed bug 1299114 in r218817:14
ubot5bug 1299114 in MAAS "'ValidationError' object has no attribute 'error_dict' when creating a network" [Undecided,New] https://launchpad.net/bugs/129911417:14
smoserbasicer, documented... um... no17:15
roaksoaxrbasak: https://launchpad.net/ubuntu/+source/python-seamicroclient/0.1.0-2ubuntu1 ok, so I uploaded that which should fixes various blockiers that prevent this from being backported into Cloud Tools pocket. Feel free to work against that to fix any thing you might need to fix for the MIR!17:15
roaksoaxrbasak: thanks again for taking care of this17:15
smoserbut if you have code that can do it, essentially waht you need to do is provide config that replaces the builtin's config that calls 'block-meta simple'17:15
smoser'partitioning_commands': {'builtin': ['curtin', 'block-meta', 'simple']},17:16
smoserand then your code just needs to do what it does17:17
basicerAnd I just need to get it mounted to $TARGET_MOUNT_POINT ?17:17
rbasakroaksoax: ack. Thanks for sorting the tests - that's all I really needed for the MIR I think. I'll review.17:19
=== roadmr_afk is now known as roadmr
=== Valduare_ is now known as Valduare
=== CyberJacob|Away is now known as CyberJacob
=== CyberJacob is now known as CyberJacob|Away
=== CyberJacob|Away is now known as CyberJacob
=== CyberJacob is now known as CyberJacob|Away

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