/srv/irclogs.ubuntu.com/2019/07/22/#juju.txt

anastasiamaca review plz https://github.com/juju/juju/pull/1045002:34
kelvinliu_anastasiamac: looking now02:44
anastasiamackelvinliu_: thnx \o/02:44
kelvinliu_np ^ ^02:44
anastasiamacanother trivial - honestly :D - https://github.com/juju/juju/pull/1045102:49
anastasiamacbabbageclunk: tyvm!02:58
babbageclunk:)03:03
hpidcockkelvinlie_: I think it makes sense the juju run-action for k8s only supports running on the workload? or do we also want it to support running in the operator pod?04:58
hpidcock`juju run` makes sense to allow both, but I'm not entirely certain running an action in the operator makes sense.04:59
anastasiamachpidcock: any chance u could have a look at https://github.com/juju/juju/pull/10452 -mit's mostly wording PR05:00
hpidcocksure thing05:01
hpidcockanastasiamac: looks great05:07
anastasiamac\o/05:07
hpidcockcorrect australianism would be sick bickies05:09
anastasiamacor just 'sick' (depending on ur generation) ;D05:11
hpidcockI feel sick bickies resonates with me more :P05:14
anastasiamackelvinliu_: m looking at https://bugs.launchpad.net/juju/+bug/1830949... can u confirm? for add-k8s command, region option what is the valid value?05:43
mupBug #1830949: [k8s] add-k8s command accepts incorrect cloud type <usability> <juju:Triaged> <https://launchpad.net/bugs/1830949>05:43
anastasiamackelvinliu_: any remote cloud that a user has? any local cloud a user has?05:43
anastasiamackelvinliu_: only regions that are avaialable for this cloud?05:43
anastasiamackelvinliu_: a comment on the bug would be awesome!05:44
anastasiamac:S)05:44
kelvinliu_yes, looking05:44
kelvinliu_added a comment, anastasiamac i think we could have a small enhancement from the cmd side.05:56
anastasiamackelvinliu_: thnx05:59
kelvinliu_np05:59
anastasiamackelvinliu_: right, so really we should only accept a region for this option not <cloud>/<region>06:00
anastasiamackelvinliu_: and the region needs to be valid for the current cloud..06:00
anastasiamacright?06:00
anastasiamackelvinliu_: so is it a bootstrap cloud that is used here?06:01
kelvinliu_we do support --cloud=<cloudNameOrCloudType>  --region=<cloudNameOrCloudType>06:02
kelvinliu_these two options will be splitted to cloud + region then combined together06:02
anastasiamackelvinliu_: isn't it confusing that both cloud and region accept the same value?06:02
anastasiamacshouldnt one accept cloud, the other region?06:03
anastasiamacwe only accept <cloud>/<region> in places where we do not have both oprtions separately06:03
kelvinliu_because juju --cloud is <cloud>/<region>06:03
kelvinliu_to make it flexible and consistent with other cmd, so we made this decision06:04
kelvinliu_i think the add-k8s cmd is smart enough to handle any edge case of the two options' combination. if not, then it's a bug06:05
anastasiamackelvinliu_: well, it's obviously a bug already :)06:05
kelvinliu_i think it's more like message enhancement06:06
anastasiamackelvinliu_: but also it's just confusing... if i as user will supply -cloud a/1 and region b/1 how is the decision made?06:06
kelvinliu_they will get an error, i think06:06
anastasiamackelvinliu_: the fact that right now, -region accepts xxxx/us-east-1 is not a message enhancement but clud name validation06:06
anastasiamactoo flacingble U with a lot of guess work around 'what does user actually mean' feels messy06:07
anastasiamactoo flexible UX*06:08
kelvinliu_the problem here is we don't always require both cloud and region.06:09
kelvinliu_we might just require one of them06:10
kelvinliu_sometimes, we do need both of them06:10
anastasiamackelvinliu_: that's why in most places we accept one [[cloud][/region]]06:10
kelvinliu_so current process is Juju will try to figure out as many as i can, if missing any of them, ask user to provide06:11
kelvinliu_* provide the one was missing06:11
anastasiamacyes, again this feels wrong and clumsy as UX06:15
anastasiamacit should have one argument, usually we call it '-cloud'06:15
anastasiamacand it will accepts either <cloud name> or /<region name> or <cloud name>/<region name>06:16
anastasiamacand we have infrstructure to process that06:16
anastasiamacas well as it provides consistent UX and experience for user throughput Juju06:17
anastasiamacthroughout*06:17
kelvinliu_yeah, it's good to have a  discuss with Ian end of this week, this wasn't the idea introduced by me. I might not understand the full story behind this design.06:25
stickupkidCR anybody? https://github.com/juju/testing/pull/14614:57
hmlmanadart: have you seen these goland tricks?  https://medium.com/@keperry/5-tips-to-speed-up-golang-development-with-intellij-or-goland-6646110e9c5e15:06
manadarthml: Knew extract and implement. Not forr or err; that's nice.15:08
hmlmanadart: those last two look very useful.  type them over and over15:08
hmlmanadart: looks like you can create your own live templates too.15:11
timClicksI've written up some advice for working with the vSphere provider code https://discourse.jujucharms.com/t/some-notes-for-working-with-the-vmware-vsphere-provider-code/186721:44

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