/srv/irclogs.ubuntu.com/2020/04/08/#juju.txt

tlmkelvinliu: does the charm supply the name for a mutating webhook config ? https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.18/#mutatingwebhook-v1-admissionregistration-k8s-io00:05
tlmdon't mean the object meta name00:06
kelvinliuchecking00:06
kelvinliuyes it does00:09
kelvinliucharm provides .meta.name and .WebHooks[].Name  tlm00:11
tlmawesome thanks00:11
kelvinliunp00:11
babbageclunkwallyworld: thumper's not around, can you approve https://github.com/juju/juju/pull/11426 instead? (I'm sure he wouldn't mind)02:38
wallyworldok, let me take a look02:39
wallyworldbabbageclunk: just a couple of small nits02:47
babbageclunkawesome, thanks02:54
=== mup_ is now known as mup
wallyworldkelvinliu: +1 on PR but maybe discuss? have a read of the comments03:08
babbageclunkwallyworld: alright, I'm going to hit merge on that even though thumper's not approved it03:08
wallyworldhe will get over it03:09
kelvinliuwallyworld: I saw u mentioned more tests and to merge the hookChangeParams, HO?03:11
wallyworldkelvinliu: sure, give me 1 mnute to hit send on an email03:11
kelvinliuyep03:12
babbageclunkhey _thumper_ can you approve https://github.com/juju/juju/pull/11426? I tried getting wallyworld to approve it and then smash it in because you weren't around (having made the changes we talked about), but it looks like github prevents that.04:03
_thumper_babbageclunk: sure04:03
babbageclunkthanks!04:04
_thumper_I did leave a comment before04:04
_thumper_but didn't think I  needed to approve as well04:05
_thumper_but have done now04:05
babbageclunk_thumper_: yeah, because you requested changes last time it enforces getting you to re-review04:07
_thumper_yeah, sorry04:07
_thumper_my "thumper" nick seems to be temporarily unavailable just now04:07
_thumper_no idea why04:07
babbageclunkhe's been hacked!04:08
_thumper_boo04:08
wallyworld_thumper_:  glad this was caught. raised against 2.8-beta1 but affects 2.7.6 also https://github.com/juju/juju/pull/1142704:29
* _thumper_ looks04:29
_thumper_wallyworld: approved, but you could simplify04:32
wallyworldok04:32
wallyworldty04:32
wallyworld_thumper_: you can but that's not why i got the controller state04:33
wallyworldi could have used either model or controller state to get config, but i had the controller one anyway04:33
wallyworldthe controller state is used to get the cloud service info04:33
_thumper_ah, ok04:34
_thumper_is that controller specific?04:34
wallyworldnot but here we are looking up the controller api addresses - the the controller cloud service mongo doc is what we need04:34
wallyworldas oopposed to a cloud service doc for a workload app04:35
wallyworldwhen we bootstrap, the controller get a k8s service mad efor it, like any other k8s app04:35
wallyworldand that service is mapped to a cloud service doc in mongo04:36
wallyworldand it records the address info04:36
tlmquick PR for anyone around https://github.com/juju/juju/pull/1142805:37
babbageclunktlm: approved05:38
tlmcheers05:38
wallyworldmanadart: would love a +1 on forward port of 2.7 when you're online https://github.com/juju/juju/pull/1142905:55
manadartwallyworld: Looking now.06:50
wallyworldta06:51
thumperwallyworld: you coming to this meeting too?07:01
kelvinliuwallyworld: a tiny PR to add a helper func to caas layer for raw-k8s-set hook command, +1 plz https://github.com/juju-solutions/layer-caas-base/pull/2607:05
wallyworldkelvinliu: ty, lgtm so long as it's been tested live07:06
kelvinliulol07:07
kelvinliucould u just merge it plz ty07:08
wallyworldkelvinliu: merged, but mke sure to test to ensure there's no regression07:09
kelvinliusure tested by copying to charm, I will be testing it again many times tmr07:12
wallyworldall good :-)07:12
manadartwallyworld: You still there?07:55
manadartwallyworld: Nevermind; approved the merge patch.08:02
hpidcockwallyworld: https://github.com/juju/juju/pull/11395 is ready for re-review with unit tests and requested changes. Ping me tomorrow/tonight/tuesday if there are any issues.08:28
stickupkidhpidcock, JUST DON'T PING ME ON THE WEEKEND?08:35
hpidcockhah08:35
wallyworldhpidcock: ty, will likely look tomorrow09:12
stickupkidmanadart, thoughts https://github.com/juju/juju/pull/1142509:24
stickupkidmanadart, wallyworld that forward port of 2.7 won't land as there is a compile error09:32
wallyworldah balls, ok10:29
wallyworldstickupkid: manadart: it's because in 2.8 there's no uniter state file anymore, so the method tp load it has gone away from the source code, and the 2.7.6 upgrade step fails to compile, so i'll need to resurrect that code for the upgrade step10:35
stickupkidsick10:35
wallyworldi'll do it tomorrow10:35
stickupkidmanadart, is this what you meant by endpoint bindings? Or are you talking about the charms endpoint bindings https://github.com/juju/juju/pull/1142510:51
manadartstickupkid: What you have there is correct for now, but we also want to get st.AllEndpointBindings and continue if any of those are equal to the deletion candidate.11:00
stickupkidhaha, don't delete anything in reality11:00
stickupkidmanadart, also this is becoming somewhat a behemoth of a method, I may split it out11:02
hmlachilleasa:  https://github.com/juju/juju/pull/11414 is ready for review.  :-)12:34
achilleasahml: will take a look in a few min; I have almost managed to bootstrap with an operator from my dockerhub account12:35
hml:-D12:35
hmlachilleasa:  looking at the unit test fails on 11414, looks like to do with no directory created.13:22
stickupkidmanadart, what was the issue with contraints validation not being correctly implemented13:29
manadartstickupkid: It's naively correct for single network machines, but in order to handle multi-NIC, we need to compare units, not the application in aggregate.13:30
stickupkidah13:30
rick_h_each unit lives on its own machine and guimaas is a good example that what spaces/etc are in play vary from machine to machine13:31
hmlachilleasa:  wallyworld reminded me you can do a juju dumpdb too if you’ve enabled the develop feature flag at bootstrap.13:45
hmlinstead of juju-db.bash13:45
hmlachilleasa: fixed fail in UniterSuite.TestUniterRelations,   i *think* that’s the last one.13:48
achilleasahml: any ideas how to upgrade on k8s? I am using dev mode but not sure how to get it to pull the new operator14:21
hmlachilleasa:  ho?14:22
achilleasasure14:22
stickupkidmanadart, got a sec, I'm being dumb14:43
manadartstickupkid: In Daily.14:44
hmlachilleasa:  we’re hitting https://bugs.launchpad.net/juju/+bug/187149614:49
mupBug #1871496: Juju fails on deploy with error cloud service not found for microk8s <juju:Fix Released by wallyworld> <https://launchpad.net/bugs/1871496>14:49
=== narindergupta is now known as narinderguptamac
achilleasahml: left comments in 11414. I stil need to go through the last set of files but that probably means a second pass in the morning. Take a look esp at my last comments regarding the state implementation and let me know what you think16:40
hmlachilleasa: having the relation data SetState all at once, is definately a goal, but would be an even bigger rewrite of this code, i think.    it sounds like polish to me?16:46
achilleasahml: note that my comment was not to do it all at once. just have an object to call State once, then give you a method to get the state for a relation by ID and to save the state of a relation. You still make a SetState for one relation but avoid the Ensure call16:48
achilleasathe end result will be the same but the proposed way would likely involve less API calls and be a bit cleaner16:49
achilleasaalso, having to rewrite a large chunk of code while in beta wouldn't really be considered as polishing ;-)16:51
hmlachilleasa:  i’m not clear on why that avoids the Ensure call.  The ensure call is made at other times, but it looks like the primary need is for new relations, not saved ones.16:51
hmlachilleasa:  ho?16:52
achilleasahml: omw16:54
wallyworldhml: you can do dump-db anytime if the feature flag is enabled, it's only a client side flag20:51
hmlwallyworld: ack20:51
hmlwallyworld: i referenced a sha for yo to fix the merge from 2.7 to develop20:52
wallyworldgreat ok, will look after next meeting, ty20:52
babbageclunkwallyworld: hml's change looks good to me20:57
wallyworldyeah, was what i was going to do myself this morning, saved me the trouble :-)20:59
hmlwallyworld: it was blocking me for a bit… then other stuff came up after i came up with the fix.  :-)21:00

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