/srv/irclogs.ubuntu.com/2018/08/15/#juju.txt

kelvinliu_veebers, agreed.00:11
veeberskelvinliu_: great work on the snap plugin stuff, lgtm01:27
veebersoh, let me comment that on the PR :-)01:27
veeberskelvinliu_: is this cribbed from the godep one?01:28
veebersif so, would it be possible to inherit from that and just change what's needed (I suspect the pull part)01:29
kelvinliu_veebers, the go and godeps plugin are very similar.01:31
veeberskelvinliu_: ack, I wouldn't want to hold up the PR, twas a thought :-)01:31
veeberskelvinliu_: is GepPlugin a typo?01:33
kelvinliu_veebers, i was also thinking to inherit existing plugin, but later think the plugin could be changed more often and is not like lib, might be very easy to break.01:34
veeberskelvinliu_: ack, fair enough01:34
kelvinliu_veebers, typo! lol01:35
veebers^_^01:35
babbageclunkthumper: hey, quick question? I've upgraded yaml, and a slight behaviour change is causing problems in the netplan tests.02:15
thumperbabbageclunk: what is the problem?02:16
babbageclunkthumper: we're using UnmarshalStrict and relying on the fact that it will overwrite keys in maps (if you unmarshal into an existing structure).02:16
babbageclunkthumper: the new version refuses to do this.02:16
babbageclunk(of UnmarshalStrict)02:16
thumperwhat does it do?02:16
babbageclunkalthough normal Unmarshal will (but also that implies silently ignoring unrecognised attrs).02:17
babbageclunkErrors.02:17
thumperis it a bug in the yaml code?02:18
thumperor defined behaviour?02:18
babbageclunkThe latter, I think02:18
babbageclunkYeah, it's mentioned in the doc02:18
thumperprobably worth checking that bit02:18
thumperis it only effecting tests and not real code?02:18
babbageclunkthumper: It's affecting real behaviour02:21
thumperugh... what is the new yaml changes needed for?02:21
babbageclunkI use NewDecoder and NewEncoder in the raftlease code.02:22
babbageclunkI could rewrite it without them, but that's kind of leaving the problem for someone else who tries to upgrade it next time.02:22
thumperI guess we should fix the netplan code02:23
thumpercan you do a separate branch that just updates yaml and the netplan bits?02:23
babbageclunkAlso, the feature that netplan uses it for is kind of broken anyway. It's using this to merge multiple configs, but this doesn't merge the mapping values, it just replaces the object at one key with a new one: https://bugs.launchpad.net/juju/+bug/170142902:24
mupBug #1701429: Netplan bridger does not properly merge yaml files <juju:Won't Fix by wpk> <https://launchpad.net/bugs/1701429>02:24
babbageclunkYeah, I'll do that.02:24
babbageclunk(Separate branch for the yaml upgrade.)02:24
thumperbabbageclunk: will you fix bug 1701429 while you are at it?02:26
mupBug #1701429: Netplan bridger does not properly merge yaml files <juju:Won't Fix by wpk> <https://launchpad.net/bugs/1701429>02:26
babbageclunkthumper: No, I wasn't planning on that, but it would be a step towards doing it.02:26
thumperok02:26
thumperleave a bug reference in the code02:27
babbageclunkWilco02:27
* thumper sighs...02:50
thumpervinodhini: commented on goose PR03:31
thumperoh ffs, I fubared my git thing again03:34
* thumper wonders how to do this...03:35
thumperhow do I merge just one file out of a commit?03:35
* thumper wonders WTF is going on now...03:40
* thumper works it out03:42
thumpernm everyone, it's all fine03:42
veebersthumper: to merge a single file from another commit, in the past I've used 'git checkout <branch/commit> -- <paths>'03:44
thumperoh... nice03:44
thumperI ended up cherry picking then discarding03:44
veebersah, that'll work too03:45
thumperbabbageclunk: please ask jam to review your yaml netplan branch update05:05
babbageclunkthumper: ok, will do05:06
veeberskelvinliu_: awesome work with the edge snap, looks like their building fine now05:28
kelvinliu_veebers, thanks for the help. :->05:29
thumperhazaah05:35
thumperwell done veebers and kelvinliu_05:35
kelvinliu_thumper, ^_^05:43
vinodhinithumper: i have replied to ur comments and added few more unit tests.06:02
thumpervinodhini: awesome, I'm EOD now, but I'll look tomorrow morning06:06
thumperlater peeps06:09
babbageclunkhey jam: would you be able to take a look at this? https://github.com/juju/juju/pull/906306:17
jambabbageclunk: sure06:26
jambabbageclunk: reviewed 9063, lgtm10:19
eloxI'm trying to deploy to a specific zone, but "juju status" ends up in "pending" how can I figure out why?11:31
hadrianwebmaybe stack on retrieving lxd image? or downloading rootfs?11:31
eloxIts a maas, to the servers are physical11:32
hadrianwebso you can see the pxe installation progress11:32
eloxThis is what i do: "juju add-machine zone=b209-104011:32
eloxThe output from juju status is "pending"11:33
hadrianwebhave you acces to server, ilo os ipmi to se quehre they are stacked?11:33
eloxI can perform a "power check" successfully, I don't think its the ipmi11:35
eloxIf I run "juju deploy ubuntu --to able-stork.maas" .... that works (which is the only host in the zone I need) the host successfully deploy. But as soon as I deploy with "juju deploy ubuntu --to zone=b209-1040", it ends up in pending.11:50
eloxMaybe this is a MAAS specific question.11:50
rick_h_elox: do you see a machine pop up and start allocating in MAAS?12:25
eloxrick_h: The node works12:29
eloxI'm trying out the zone concept, so its not a crisis, but I keep getting stuck at "pending"12:32
rick_h_elox: right, so from a Juju perspective it seems it's asked for a machine. So I'm wondering if MAAS is seeing/bringing up that machine at all?12:35
eloxrick_h: It seems that it could have been due to me using another users model which I seem to be able to deploy machines, but not using "zone" as a placement directive... very confusing. I'm now using a model I own and it seems to work now ?12:36
jamelox: if you're using another users model, then likely it is deploying using *their* credentials. Are they able to see the zone in MAAS?12:38
jam and/or do they have machines in that zone available to them from MAAS?12:38
jamwe do a check to see if the availability zone specified is available, and generate a "availability-zone "blah" is unavailable" if we don't see it.12:38
eloxjam: It started to work just now, but stopped to work for newly added zones (!)13:01
eloxCould this be due to some delay in some update frequency for the nodes metadata?13:02
eloxIt seems it might not have been due to the ownership of the modes since now after I have made some modifications to the zones again in MAAS, again, I'm getting the "pending" status for using the new zones.13:18
hmlstickupkid: do you want me to wait on reviewing pr 9065 or go ahead?13:31
stickupkidhml: go ahead13:31
hmlstickupkid: k13:32
eloxI have found that only when starting a new model, it seems to work to deploy to a zone. As soon as I create a new model, it works for that model. This must be a maas/juju bug ?13:45
eloxIs this perhaps "by design" ? keeping zone information imutable ?13:49
stickupkidhml: I responded to your questions... i've got a potential fix for register credentials comming, but thought i'd give a heads up https://github.com/juju/juju/pull/9065#pullrequestreview-14646706217:08
veebersrick_h_: you may have seen that kelvinliu_ sorted out the edge snap builds20:55
rick_h_veebers: yep, awesome stuff. Used it today to test out some stuff20:55
rick_h_veebers: and ty for your discourse post around the snap stuff20:56
veebersnw, always good to get the siloed info shared21:00
thumperanyone? https://github.com/juju/juju/pull/906422:45
* babbageclunk is someone!22:45
thumpervinodhini: ping22:57
kwmonroethumper: i enjoy reading your PRs.  i'm not qualified to review them, but by golly, i like that even you have to add a 2nd commit that says "fix the tests".23:07
thumperheh23:08
thumperkwmonroe: and you can even see that the commit that fixes the test doesn't just delete them or comment them out :)23:08
kwmonroeyeah thumper, that was weird.  i look forward to a discourse post that says "don't just delete the tests; fix them!"23:09
thumper:)23:09
kwmonroe(ps, most tests can be fixed with global vars)23:10
* babbageclunk narrows eyes23:11
* babbageclunk reaches for an obscure unicode character23:11
babbageclunkI didn't even send it!23:20
kwmonroeha babbageclunk!  it took me a minute to get the ref... don't you worry, unicode away, for i have just upgraded my quassel.  you can't hurt me now ∂23:29
* babbageclunk hmms23:30
babbageclunkDid he just auto-lart?23:32
vernhey thumper: I've got several bundles that are only different by a few lines in the variables section. can an overlay bundle simply be a variables section? or do I need to also define every application/option that I want to change with those variables?23:35
thumpervern: the variable substitution is done before the merging code23:36
thumperas the substitution happens as part of the yaml parsing23:36
thumpervern: so the latter23:36
vernthumper: ah, I was worried about that. okay, thanks23:36
kwmonroedag nab it.  quassel-client wasn't the problem.  ∫ ∂ ø all day now babbageclunk23:40
vernthumper: slight variation to the same question: do juju bundles allow any kind of include directive?23:44
thumpervern: only post parsing... for include and include-base64 for config values23:45
vernthumper: thank you23:45

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