/srv/irclogs.ubuntu.com/2020/02/14/#juju.txt

* thumper is off to physio in 1.5 hours to see if he has broken his hand00:25
babbageclunk:(00:26
anastasiamacbabbageclunk: my thoughts so far... https://github.com/juju/juju-restore/pull/300:53
babbageclunkok, will look at that after kelvinliu's one00:53
babbageclunk(after your other one)00:54
anastasiamacbabbageclunk: no worries \o/ m not in a rush...00:58
anastasiamacbabbageclunk: also cannot seem to link juju-reestore repo in trello so will just attach the link instead of using github button00:59
wallyworldkelvinliu: can we have a unit test for the PR? i guess you're waiting for a +1 from field?01:14
kelvinliuwallyworld: yeah. and babbageclunk is reviewing01:16
babbageclunkanastasiamac: maybe there's a trello user that needs access to the repo?01:17
anastasiamacbabbageclunk: dunno but attaching suited me for now :)01:30
babbageclunkfine :)01:37
hpidcockwallyworld: I've changed the remotestate/resolver in the uniter for passing through changes in state. https://github.com/juju/juju/pull/11214/ I haven't finished the unit tests, but just a preliminary change to see if you like it.01:43
wallyworldok, ta01:43
wallyworldhpidcock: yeah, i think that's ok01:56
wallyworldi left a couple of questions01:56
babbageclunkanastasiamac: approved the backup format version PR01:56
anastasiamacbabbageclunk: \o/01:57
babbageclunkkelvinliu: approved the vsphere change too01:59
kelvinliubabbageclunk: ty01:59
anastasiamacbabbageclunk: "plugin" template name copied from elsewhere (I think maybe the juju command)..? want me to give it a diff name?02:21
anastasiamacbabbageclunk: addressed everything else02:22
babbageclunkJust confused me - what about "template"? Or just ""? Not sure.02:23
anastasiamaci like "template" :)02:23
babbageclunkI guess it would be in the error if there's a syntactic problem with the template, but that's not a problem here since it's hardcoded.02:24
anastasiamacyes :D02:24
babbageclunkooh, apparently the name becomes important if you want to have one template that invokes another02:30
anastasiamacmakes sense02:31
kelvinliuwallyworld_: got this pr to add hostNetwork https://github.com/juju/juju/pull/11219  +1 plz04:32
wallyworld_kelvinliu: just did it :-)04:32
wallyworld_ty04:32
kelvinliuquick! ty!04:33
wallyworld_hpidcock: i'll try and land this on monday if you can review at some stage whenevr https://github.com/juju/juju/pull/1122006:02
hpidcockwallyworld_: I'll check it out06:03
nammn_deanyone with access to spaces want to give review/qa for https://github.com/juju/juju/pull/11183 only contains the patch for the command interface. rick_h wanted to give some feedback on ux, if his vpc is working09:18
achilleasanammn_de: is there any easy way to remove the duplicate "cannot remove space" from the error messages? They look a bit odd; also (minor nitpick) if the reasons are a list maybe we could prefix them with a '-' or something09:22
nammn_deWill update the messages accordingly. Makes sense. Will try and update the qa section09:24
nammn_deachilleasa: like this? https://paste.ubuntu.com/p/s8kFWfw9MS/09:29
nammn_dehmm I think I can omit the because though09:29
nammn_deyeah, I will omit the ... because:\n09:30
achilleasanammn_de: much nicer! Is it also possible to pretty print the constraint list?09:30
nammn_deachilleasa: you mean  instead of this [{"model-e"} {"application-mediawiki"}] just this "model-e","application-mediawiki"09:31
achilleasanammn_de: or maybe like this: https://paste.ubuntu.com/p/j29kcdpmWZ/09:31
achilleasaI don't remember if we usually quote these or not. Can you check what the other commands do?09:32
nammn_deachilleasa: okay, great feedback. Will try to make it look more sexy09:32
achilleasacan anyone recommend a lightweight charm that uses storage?09:38
achilleasanvm; swift-storage works for my tests09:57
manadartstickupkid: What was the issue with old EC2 accounts/VPCs again?11:21
manadartstickupkid: Oh, the flavours are not all available, right?11:22
stickupkidmanadart, if you don't have one setup (default VPC) - you don't have new instance types11:22
stickupkidmanadart, like everything is deprecated, but I believe you can use force an instance type, but don't quote me on that11:23
nammn_deachilleasa: now it looks pretty11:33
nammn_desimiliar to your showed output11:34
achilleasanammn_de: nice!11:34
rick_hnammn_de:  and what is "model-e" there? We don't tend to show the raw tag like that. Should that just be "Found an existing model constraint"?12:09
nammn_derick_h: you are right, I should change that. Will change that for the other tags as well.  Like instead of application-mediawiki -> mediawiki12:51
hmlstickupkid: what do you think?  are we ready to move 11093 from WIP status?  After updating the form part?12:52
rick_hnammn_de:  definitely, please look around as to how we would show stuff like that in other places. I think the error messages in the binding calls are done pretty well as good examples12:53
nammn_derick_h: Noted. Will do thanks!12:53
hmlstickupkid: should have read my email more closely :-)13:08
nammn_derick_h: does this look better? https://paste.ubuntu.com/p/MM4dTt2dkf/13:20
rick_hnammn_de:  what does `juju get-constraints mediawiki` show in your example?13:22
nammn_derick_h: i accidentally killed my controller. Need to start it up and create env again13:22
rick_hnammn_de:  ah sorry13:23
nammn_derick_h: if helps we can quick before daily? Else Im gonna recreate and look later.13:23
nammn_demediawiki is shown as constraint because one can deploy with: juju deploy mediawiki --constraints spaces=bla13:23
nammn_deand a constraints entry in the collection is created with the id to that application13:23
nammn_derick_h: https://pastebin.canonical.com/p/PyVfwtY84f/13:30
manadartstickupkid: https://github.com/juju/juju/pull/1122113:58
rick_hnammn_de:  but what does "juju get-constraints" show?13:59
nammn_dehttps://paste.ubuntu.com/p/bbnwzYS4ZD/13:59
nammn_derick_h ^14:00
rick_hy14:00
rick_hty14:00
rick_hnammn_de:  manadart stickupkid so I'm really thinking we should ignore those for the case of applications. We'll always end up with double output on the constraint and the binding.14:00
rick_hwhat do you think?14:01
nammn_derick_h: afaict I could deploy a application with a constraint but without a binding -> which does not lead to a double output14:01
rick_hnammn_de:  hmm, ok. Can you test/verify you can deploy with a space constraint but no bindings please?14:02
nammn_dethat would be my pastebin https://paste.ubuntu.com/p/CnBGZ2C5mX/14:02
nammn_derick_h: yeah above pastebin14:02
rick_hhah ok you beat me to it14:03
rick_hok, that's cool then14:04
rick_hnammn_de:  so one tweak to the wording on that please. As it reads now it's saying "following existing constraints" but the data afterwards isn't a constraint14:04
rick_hnammn_de:  so I think it should read more direct like: "db" is used as a constraint on: x14:05
rick_hnammn_de:  and in the model case it would be: "db" is used as a constraint on: mymodel, mediawiki14:07
rick_hhow does that read?14:07
stickupkid❯ juju remove-space db14:08
stickupkidERROR cannot remove space "db":14:08
stickupkid- Found the following existing constraints: mediawiki14:08
stickupkidThis is really painful in integration tests14:08
stickupkid:(14:08
achilleasastickupkid: nammn_de maybe we should add a --force?14:09
stickupkidI wonder if there is a way to do it `--cascade`14:09
rick_hachilleasa:  nammn_de we should definitely have a --force14:10
stickupkidI think using force for this isn't quite right imo14:10
rick_hstickupkid:  how so? My concern are things like stuck units, machines that didn't delete, etc14:10
rick_hstickupkid:  basically the machines go unchanged you've just force moved the subnets from the one space name back to alpha14:10
stickupkidif you remove-space db, what happens to mediawiki (in that scenario)14:10
stickupkidfine, that makes sense14:10
rick_hstickupkid:  so the subnet moves back to the alpha space14:11
stickupkid--force is good14:11
* stickupkid is happy again14:11
rick_hstickupkid:  and now mediawiki is still the same IP address-wise, but the endpoint binding it to alpha14:11
rick_hoh ok, /me likes happy stickupkid14:11
stickupkiddon't want to have that situation around relations, that sucks14:11
* rick_h cannot process that sentence atm14:12
* rick_h sips more coffee...14:12
stickupkidi.e. if you have a relation, you can't remove an application14:12
rick_hoh a CMR one?14:12
stickupkidor destroy a controller, hence why we brute force it in the integration tests14:12
stickupkidyes14:12
rick_hif you have a relation you can remove the app, but yes the CMR one is the complicated one that hangs up folks14:12
rick_hgotcha, right14:13
rick_hdefinitely don't want more of that14:13
stickupkid100% agree14:13
nammn_dewill add force. Do we want force to be able to run in any case (controller setting, application binding, constraints)?14:13
hmlstickupkid: https://bugs.launchpad.net/juju/+bug/186325314:14
mupBug #1863253: model cache: publish modelUnitAdd too often with subordinates <juju:Triaged> <https://launchpad.net/bugs/1863253>14:14
rick_hnammn_de:  yes14:14
stickupkidhml, wicked14:14
hmlstickupkid: anything missing from the description: https://github.com/juju/juju/pull/11093?14:18
stickupkidhml, nope, all good from me14:19
hmlstickupkid: i’ll hit the merge button14:20
stickupkidYAY14:21
stickupkidhml, me right now https://i.imgur.com/5irRQLe.gif14:21
hml:-D14:22
nammn_destickupkid: for better integration test compability, should I remove the "-"?14:36
stickupkidnammn_de, from ?14:37
nammn_destickupkid: from the remove-space output you posted above from my example14:37
stickupkidnammn_de, nah, that's fine imo14:37
hmlachilleasa:  available to chat on  "storing uniter state server-side" ?14:49
achilleasahml: sure. give me 2min14:50
nammn_derick_h: does this output look better? https://paste.ubuntu.com/p/B5yTVs76TV/14:52
stickupkidhml, can you look at my PR for goose, https://github.com/go-goose/goose/pull/7714:56
stickupkidhml, I think that's everything14:57
hmlstickupkid: sure14:57
rick_hnammn_de:  looking good, what's the controller settings? Since spaces don't exist until the controller comes up so not sure what that is. I'd also assume it's `controller-config` vs "settings" since that's what the commands are around that14:59
nammn_derick_h:  ah, yes controller-config  its: juju-ha-space and juju-mgmt-space in case you are running on a controller-model15:00
rick_hnammn_de:  k, yea let's roll with calling it the same thing throughout (-config) but cool15:04
nammn_derick_h: rgr thanks15:04
nammn_dewill update with the force option, update qa and link again then15:04
rick_hachilleasa:  do you have time to help me with my aws vpc setup please?15:08
rick_hachilleasa:  or not if you're close to school pickup/etc15:08
achilleasarick_h: sure. I am in daily15:33
rick_h achilleasa omw15:33
nammn_derick_h: I am trying to fiddle around a good way to use force. Here are the options I see.15:42
nammn_deEach option makes the implementation quite different.15:42
nammn_dehttps://paste.ubuntu.com/p/TMGByz6BJk/15:42
nammn_deFor the first option i need to use some-kind of dry-run/just run without force and prompt again if error15:42
rick_hnammn_de:  sec, otp will peek in a minute15:44
hmlstickupkid: did you get the go test -live working for your goose changs?15:44
stickupkidhml, not via the python15:45
hmlstickupkid: no cli?15:45
stickupkidhml, i just switched the default value15:47
stickupkidhml, https://github.com/go-goose/goose/blob/v2/neutron/neutron_test.go#L1215:48
hmlstickupkid: how are these ports going to be used?  after being created?15:54
stickupkidhml, ho?15:54
hmlstickupkid: sure15:55
rick_hnammn_de:  ok, the first one is good but we have to remove the Y/n so that it's scriptable16:01
rick_hif you go force that's it, you're on your own16:01
nammn_derick_h: the  Y/n is used in other code as well with the option to provide a -y .16:01
nammn_deso I planned to the same16:02
rick_hnammn_de:  ah ok, then carry on16:02
nammn_derick_h: time for a ho?16:06
rick_hnammn_de:  sure thing, meet in our 1-1 room?16:07
nammn_derick_h: coming16:07
achilleasarick_h: did the bootstrap work?16:45
rick_hachilleasa:  no, it failed with a 20m timeout16:45
achilleasa:-( did you retry with --debug?16:46
rick_hachilleasa:  not yet, was otp16:47
rick_hand have to run to family lunch. I'll mess with it achilleasa ty for the help!16:47
* rick_h goes *poof*16:48
achilleasagood luck!16:48
achilleasastickupkid: can you help me track down something?17:08
stickupkidachilleasa, maybe17:08
achilleasadaily?17:08
stickupkidof course17:08

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