/srv/irclogs.ubuntu.com/2019/11/26/#juju.txt

hpidcockwallyworld: noticed that cancel-action didn't become cancel-operation with the v3 rename of actions. I'll add it to the spec for operation interruption03:03
wallyworldhpidcock: yeah, that got missed :-(03:06
kelvinliu_wallyworld: free to HO for 1min?03:31
wallyworldkelvinliu_: sure, give me 503:32
kelvinliu_ok03:33
wallyworldkelvinliu_: or hpidcock: this PR adds a pod-spec-get command. can't land till after 2.7.0 ships so no rush https://github.com/juju/juju/pull/1095304:10
kelvinliu_wallyworld: looking now04:10
hpidcocksorry xwayland locked up had to reboot04:13
wallyworldyay wayland04:20
hpidcockwallyworld: when you talk about task vs operation, operation could be against multiple units? and task is against the individual unit?04:35
wallyworldhpidcock: yeah, operation is a top level grouping of tasks. juju call creates an operation. the actual code that runs on any given uinit is a task. there's still discussion to be had as to whether we allow a task to create a "sub" task04:40
hpidcocktask-inception04:42
hpidcockwallyworld: it doesn't seem the concept of grouped "tasks" as an "operation" has been done yet. Is that planned for this cycle?05:15
wallyworldhpidcock: that's what the new spec is for :-)05:15
wallyworldin the 20.04 folder05:15
hpidcockahah yep05:15
hpidcockwallyworld: I've updated the doc, should be simple enough to implement I think.07:06
dosaboywallyworld: babbageclunk that was the problem :)08:56
dosaboythank you08:56
achilleasamanadart: is this what you had in mind about 10942? https://github.com/juju/juju/pull/10942/commits/43d47dcd6178841e3b060200e0be84f534b1d9ec09:10
manadartachilleasa: Yes, that will do it.09:12
nammn_de1manadart: here I only added the export steps https://github.com/juju/juju/pull/10943 so qa only has test for regression. Would you suggest adding the import steps to another PR  or just in this PR as well?09:41
wallyworldachilleasa: hey, quick question. UniterAPIV12 comment says the LXDProfileAPI hs been removed but it's still embedded in the API struct. It's been taken out in V13. I have a PR where I am doing a V14 and as a driveby can remove from V12 if that's correct to do. or else I will move the incorrect comment. do you know what's correct?09:46
wallyworldPR is https://github.com/juju/juju/pull/1095309:47
achilleasawallyworld: sorry; no clue about it. however, it seems to be missing from the V12 struct: https://github.com/juju/juju/blob/b67e487e19f1835a66c7cd415c70730548c3aa57/apiserver/facades/agent/uniter/uniter.go#L8809:51
wallyworldachilleasa: it is there in 2.7 so I think we can assume devel was updated but not 2.7 maybe09:52
wallyworldit seems like it's safe to remove09:52
wallyworldi didn't check develop as i've got 2.7 checkout out urrently09:52
achilleasawallyworld: I think so too. Looks like it has been replaced by a different set of methods anyway09:53
wallyworldyeah, it has, the imlementation was reworked and the old one removed09:53
wallyworldthanks for the input. i just wanted to double check removing from V12 was correct, seems like it is09:54
stickupkidmanadart, https://github.com/juju/cmd/pull/6810:10
manadartstickupkid: Done.10:16
stickupkidmanadart, let's see if this lands as you don't have a green tick :|10:17
manadartstickupkid: Busted down.10:17
achilleasajam: I have pushed a bunch of commits to 10902 to address your comments. Can you take a look if I missed anything so I can land the PR?10:26
stickupkidmanadart, I've brought the changes in now - https://github.com/juju/juju/pull/1095510:27
nammn_de1stickupkid: moment, when did we start having a master ? :D10:36
nammn_de1oh damn i missread, nvm me10:50
stickupkidmanadart, when processing relations (updating external controllers) and it fails after this, we'll leave the CMR in a broken state11:28
stickupkidmanadart, trying to think how/if we can do something different, I know they're supposed to be idempotent, I'm unsure how this can be11:29
manadartstickupkid: Yes, jam and I spoke about this. We will have to ensure the pre-checks are tight. Then for connectivity issues *to* the external controllers during the change, we can re-try.11:30
stickupkid:(11:30
manadartstickupkid: Or roll them back, or something. We just can't break it.11:31
stickupkidmanadart, let me see if rollback is possible11:31
manadartstickupkid: I haven't looked into it yet, but is it possible to be passive with regard to the consumers, let them get a re-direct from the source controller and update themselves?11:33
stickupkidmanadart, we do have ABORT and REAPFAILED11:33
stickupkidmanadart,  thinking11:33
jamachilleasa: reviewd11:34
achilleasajam: thanks for the review. I will apply your suggestions and push11:36
stickupkidmanadart, i'm unsure you know, we're going to have to keep the old firewall rules around for the redirect, this doesn't seem very clever11:39
stickupkidmanadart, if you migrate a lot of things around, you'll just have a sieve11:39
achilleasamanadart: any suggestions for modifying params/network.go:Network config to align with my recent changes? Presumably, the machiner worker might be running an older jujud binary prior to updating the model14:37
achilleasaI could add additional fields (Addresses, ShadowAddresses) and retain "Address" for backwards compatibility14:37
nammn_de1manadart stickupkid: I think this is ready for a review https://github.com/juju/juju/pull/10943 QA steps are added.  It migrated the rules in the Database, are there additional steps which I have missed?15:21
nammn_de1QA steps describe my mind flow15:21
stickupkidnammn_de1, looks great15:26
nammn_de1Because I thought that the responsible worker picks up the database changes (addition) somewhere and thus apply those firewall changes. Therefore no need for me to additionally check that. But maybe need to doublecheck that15:28
stickupkidnammn_de1, you tested on aws?15:29
nammn_de1stickupkid: only lxd15:29
nammn_de1stickupkid: i can spin up the same qa steps from the description in aws15:29
nammn_de1to be safe15:29
stickupkidnammn_de1, yes please15:29
nammn_de1any other qa steps needed beside the `juju list-firewall-rules`  being the same on the src and dst?15:30
stickupkidnammn_de1, we should verify that the firewall rules are actually applied15:30
nammn_de1stickupkid: makes sense15:30
stickupkidnammn_de1, with aws, you can check the console15:30
nammn_de1stickupkid:  ohhh great to know15:30
nammn_de1just for understanding. Most of our juju magic works through a worker which checks the database and does something upon it, right?15:31
nammn_de1like i add a firewall rule to the db and a worker picks that up and create that rule on the specific provider15:31
stickupkidyeah, that's the theory15:32
nammn_de1stickupkid: haha okay15:33
manadartachilleasa: I think that will work. We just use omitempty and add a comment about retention for compatibility + removing Address in Juju 3.0.15:33
danboidI can't destroy a model, even when using --force15:42
danboidI was trying to deploy the openstack bundle, so I'm good to nuke and pave15:43
danboidHow do you do that though? Is it enough to release all the MAAS machines and delete ~/.local/juju or is there anything else? Maybe its better to purge juju from my machine too?15:44
danboidI couldn't deploy the charm because the model is 'destroying'15:46
danboidIs it safe/correct to remove ~/.local/juju if you want to start over?15:48
danboidI think I fixed it16:07
rick_hdanboid:  no, just juju unregister16:14
rick_hdanboid:  and then release the MAAS machines16:15
rick_hdanboid:  let me know if you hit it and want to pull info to see if there's a bug/etc16:15
rick_hdanboid:  what juju version?16:15
achilleasamanadart: should we assign shadow addresses to the alpha space?16:21
achilleasaSince they don't really belong to a space, can we use alpha as a fallback?16:21
manadartachilleasa: Hmm. jam and I spoke about the notion of external spaces.16:22
manadartI think yes.16:22
manadartBut they will not have a subnet to link them via that mechanism.16:23
manadartI think this should be OK. Let me think about it.16:23
danboidrick_h, The OS bundle is deploying now. We'll see how it went in the morning. I'm sure I'll be recommending a few tweaks to the docs at the end - I've already got a couple of things I think should be added16:27
rick_hdanboid:  cool16:27
nammn_de1achilleasa manadart did you guys ever interact with the firewallrules of juju in aws? `juju set-firewall-rule`?17:10
achilleasanammn_de1: not me; sorry17:11
stickupkidnammn_de1, you should see a security group inside the ec2 instance, check that has the right input/output ports17:13
nammn_de1stickupkid: firewall rules does not set ports afact17:14
nammn_de1so i cannot seem to find any mapping between those17:15
nammn_de1on the first glance adding a firewall rule and having none shows the same sg17:15
stickupkidnammn_de1, https://github.com/juju/juju/blob/dca1ee163dd2f6abdc989d3580d9a56e3ec22864/provider/ec2/environ.go#L155517:16
stickupkidnammn_de1, https://github.com/juju/juju/blob/dca1ee163dd2f6abdc989d3580d9a56e3ec22864/provider/ec2/environ.go#L162617:16
nammn_de1stickupkid: hmm17:23
nammn_de1cannot find any connection to the firewallrule from state17:26
stickupkidnammn_de1, check the workers17:29
nammn_de1this should be the responsible worker https://github.com/juju/juju/blob/52602ea0fb7b79f9fa55040dc4a817d80a4422e4/worker/firewaller/firewaller.go#L22117:29
stickupkidnammn_de1, ho?17:29
nammn_de1stickupkid: sure17:30

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