/srv/irclogs.ubuntu.com/2017/07/19/#juju-dev.txt

axwblahdeblah: if the default should be to do X, what's a better approach?00:01
axwforcing someone to say "--do-X" when X is the obvious default isn't very friendly00:01
axw(whether the obvious default is to destroy on remove is debatable, but it's the default already and I'm not sure we can change *that* behaviour)00:02
blahdeblahaxw: Personally, whenever it's destructive, I wouldn't have a default.  But like you say, may not be something you can change...00:02
axwblahdeblah: that has come up as an option, it's probably what we're going to do with destroy-model/destroy-controller (force you to choose between destroying/keeping storage). so *maybe* for remove-storage too00:03
babbageclunkaxw: Yeah, I think I've talked myself around in the state case - it *is* destroying the storage in the model, it's just not destroying the underlying cloud storage. But there are also places in the providers and provisioner that I think would be clearer not calling the method Destroy.00:03
axwblahdeblah: FWIW, the spelling at this stage for destroy-model will be --keep-storage/--destroy-storage00:04
blahdeblahThat makes good sense00:04
axwso no double negatives in sight :)00:04
blahdeblah\o/00:04
axwbabbageclunk: ok. I'll see what can be done to clarify00:05
babbageclunkaxw: Anyway, just wanted to give you a heads-up before I finish the review - it started to feel a bit like I was harping on about it, but it's really my only issue with the PR.00:07
axwbabbageclunk: no problem, I'm always happy to make the code easier to comprehend00:08
axwhml: would you kindly take a quick look at https://github.com/juju/juju/pull/7653?00:21
hmlaxw: looking00:21
axwhml: thanks00:29
axwbabbageclunk hml: standup00:32
babbageclunksorry!00:32
axwbabbageclunk: thanks for the review. ReleaseVolumeParams doesn't really work because release = non-descructive remove. how about "RemoveVolumeParams"? i.e. params for destroying or removing the (cloud) volume01:32
axwer, non-destructive01:32
babbageclunkaxw: Yeah, I like remove too01:36
babbageclunkaxw: That makes sense - so remove becomes the general term that could denote a release or a destroy.01:39
axwbabbageclunk: yep. except in state :)01:40
babbageclunkaxw: sure, not much we can do about that one.01:40
=== mup_ is now known as mup
axwbabbageclunk: can you PTAL at https://github.com/juju/juju/pull/7649/commits, I haven't rebased yet so you can see the changes I've made today03:49
babbageclunkaxw: thanks - looking03:49
axwbabbageclunk menn0: do you know any tricks for removing a method from a newer version of a facade? I'm embedding v3 in v4 for hte Storage API, but I want drop a method... I'd rather not duplicate methods for the ones I want to keep03:56
babbageclunkaxw: If you put a method on the facade that takes 2 args, the RPC layer will ignore it.03:57
babbageclunkaxw: That effectively removes it.03:57
babbageclunkaxw: (This hack brought to you by wpk)03:58
menn0axw: what babbageclunk said. I think the Uniter facade does that.03:58
axwbabbageclunk: that'll work, I think I saw something like that fly by03:58
axwbabbageclunk menn0: ok, ta03:58
menn0axw: see the bottom of apiserver/uniter/uniter.go03:58
babbageclunkaxw: what he said03:58
menn0axw: it's kinda awful but it works03:58
axwcool, got it03:58
axwyeah03:58
babbageclunkyeah, it's gross but better than the alternative.03:59
* babbageclunk really should make an emacs func that builds a github url for a given go file.04:01
babbageclunkaxw: Reviewed - for some reason it marked my comments as outdated, not sure why - maybe a rebase?04:23
babbageclunkaxw: lgtm, anyway04:23
babbageclunkaxw: Thanks for making those changes, sorry if it was a pain!04:24
axwbabbageclunk: not at all04:31
axwbabbageclunk: thank you. not sure why outdated, I didn't rebase04:31
ashipikamenn0: hey.. i fixed https://github.com/juju/juju/pull/7642 , if you could please take another look at it..07:16
menn0ashipika: reviewed!08:37
menn0just one suggestion08:38
menn0but ship it08:38
ashipikamenn0: tyvm08:38
rogpeppejam: I just responded to https://github.com/juju/testing/pull/129 FWIW11:48
mattywanyone around to discuss update status?15:06
niedbalskiwpk, ping15:07
mattywor more generally how uniters respond to lost connections with controllers15:07
bdxhello everyone22:14
bdxhow are new series enabled in metadata for Juju to use?22:14
niedbalskiwpk, hey22:35
wpkhello22:36
niedbalskiwpk, we were testing the reload-spaces functionality and I wondered what's the limitation/constraint for not updating the already existing space names and just the ids/subnets? i.e. we changed the name of a space on maas, run reload-spaces but the name remains as the original22:37
wpkniedbalski: it's the next step - we identify the space by name so in case it is changed we need to trace all places in which it's used and change it too22:40
wpkniedbalski: it is on our roadmap22:40
niedbalskiwpk, ok, so its a known constraint..22:41
niedbalskiwpk, is there a LP bug for tracking this implementation?22:41
niedbalskianastasiamac, ^^ do you know?22:49
wpkniedbalski: I'm looking and there is one for space/subnet remove but I can't find one for rename, you're free to create one22:54
niedbalskiwpk, ok22:54
niedbalskiwpk, thanks!22:54
anastasiamacniedbalski: not that i can immediately recall ;) so probably not :D23:07

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