/srv/irclogs.ubuntu.com/2017/11/28/#juju-dev.txt

* thumper is leaching free cbd wifi00:38
thumperwallyworld: ping00:38
wallyworldthumper: hey00:43
axwwallyworld: https://github.com/juju/juju/pull/8141 adds the initial caasoperator API02:10
axwwallyworld: I'm going to tack on another commit to move the caasprovisioner facade from facades/agent to facades/controller, OK?02:11
babbageclunkdear wallyworld: I want to bootstrap a 2.3-rc1 controller with old audit logging turned on so I can test the upgrade step, but even though I'm specifying --config "auditing-enabled=true" at bootstrap, when I look at controller-config for the running controller it says auditing is off. What am I doing wrong? Is there some trick? Yours &c, Wondering in Whitby02:42
wallyworldaxw: sgtm. do you have a dockerhub user id?02:42
wallyworldbabbageclunk: it's pulling down the released tarball02:42
wallyworldas that is in streams02:43
wallyworldyou need --build-agent02:43
wallyworldto force it to upload a local jujud and override the published version02:43
wallyworldin general, try not to develop on the same version as is released02:43
babbageclunksure - I want a controller with the old behaviour so I can upgrade to mine.02:43
axwwallyworld: nope, I'll create one02:44
wallyworldin that case upgrade-juju --build-agent02:44
wallyworldaxw: i have a jujud image pushed - i'll give access to we can hard code that one into juju for now02:44
babbageclunkNo, the bootstrapped controller (before upgrade) doesn't have the old audit logging running.02:44
babbageclunkBut I want it to.02:44
axwwallyworld: docker ID: axwalk02:45
wallyworldok02:45
wallyworldbabbageclunk: rc1 controller will have old logging. and you want to upgarde to tip of develop right?02:45
axwbrb, restarting02:46
babbageclunkYes, but first I want to have a controller with the old logging, but the one I've got has auditing off.02:46
wallyworldsure, i don't get the issue though - just bootstrap an rc1 controller02:47
babbageclunkI have02:47
wallyworldand upgrade with a local jujud02:47
wallyworldso what isn't working?02:47
babbageclunkThe one I have doesn't have audit logging turned on, even though it's the old version and I specified --config "auditing-enabled=true"02:48
babbageclunkCan we do a hangout?02:48
wallyworldsure02:49
babbageclunk1:102:49
axwwallyworld: did you share the image with me? I didn't get a notification or anything05:40
wallyworldaxw: i added you as a collaborator; there was no option i could see to set anything else05:41
axwwallyworld: what's the docker hub url to the image? maybe I need to navigate there directly. doesn't show up on my proifle anywhere I can see05:41
wallyworldaxw: wallyworld/caas-jujud-operator05:43
axwta05:43
axwwallyworld: have you pushed the Dockerfile somewhere? doesn't appear to be viewable there05:47
wallyworldi have pushed it05:47
wallyworldhmmmm05:47
axwwallyworld: I can see https://hub.docker.com/r/wallyworld/caas-jujud-operator/, but no details. just a docker pull command05:48
wallyworldhttps://hub.docker.com/r/wallyworld/caas-jujud-operator/05:48
axwwallyworld: I might be able to push an image there... but I can't see the Dockerfile05:48
wallyworldi can't see the dockerfile either, i just pushed the image05:49
wallyworldi'm about to put up a PR with the dockerfile in it05:49
axwwallyworld: OK, ta05:50
wallyworldaxw: https://github.com/juju/juju/pull/814205:56
axwwallyworld: thanks, looking. ICYMI, please take a look at https://github.com/juju/juju/pull/814105:56
wallyworldyeah, looking now05:57
wallyworldlooks great, thanks for picking up the rename06:03
axwwallyworld: https://github.com/juju/juju/pull/8143  - small one, gets things working iwht minikube06:23
wallyworldaxw: did you run minikube from the snap?06:53
axwwallyworld: no, I don't recall how I installed it, but it's not a snap07:01
wallyworldaxw: i tried it - getting errors dialling address. someone else also had same issue using snap07:02
axwwallyworld: minikube itself has issues, or juju has issues using k8s set up with snapped minikube?07:03
wallyworldminikube itself07:03
wallyworlddamn same without snap07:04
=== frankban|afk is now known as frankban
thumperjam: https://github.com/juju/juju/pull/8144 and now I'm off to bed :)09:01
thumpernight09:01
jamthumper: night,09:01
thumperjam: if it's good, ask the bot to merge, if it needs fixing, it can wait until 2.3.109:01
thumperthanks09:01
wallyworldaxw: just tested latest feature branch code - using image i just pushed to dockehub - it hangs together nicely :-) need to check python libs in the image etc but good start09:16
axwwallyworld: sweet :)09:17
=== freyes__ is now known as freyes
balloonswpk, can you review https://github.com/juju/juju/pull/8086?15:23
wpkballoons: one suggestion, LGTM15:27
=== frankban is now known as frankban|afk
babbageclunkwallyworld: I've revved the Admin API version, but I haven't made the v3 API do anything different with the CLI args - if they're passed in they'll get stored in the same way as they will for v4.21:34
wallyworldbabbageclunk: righto, i think that's ok21:35
babbageclunkwallyworld: On the client, do I need to start checking for API versions before the Login request?21:35
wallyworldi don't think so since things won't break21:36
babbageclunkwallyworld: So an old controller would be ok with a client sending a v4 Login request?21:36
wallyworldif it doesn't have a params struct that knows about cli args, it will just drop them21:37
babbageclunkBut we explicitly say version 4 in the API call - will that cause a problem?21:37
babbageclunkI guess I can try that...21:37
wallyworldotp, can't think, give me a few21:38
babbageclunkok, I'll do an experiment21:38
wallyworldbabbageclunk: IIANM the request doesn't include any version - it just connects to whatever facade is there. it's up to the client to determine if that version is fit for purpose21:51
babbageclunkwallyworld: but the call includes the API version: st.APICall("Admin", 4, "", "Login", request, &result)21:54
babbageclunkwallyworld: and the LoginResult is where we get the facade versions to work out which version we should send.21:55
babbageclunkwallyworld: so if I bump the version in the client login call then it can't talk to a controller that only supports v3.21:56
wallyworldbabbageclunk: hmm, normally that version is set to BestAPIVersion() so i think Login is different21:56
babbageclunkI guess we could try 4 then fallback to 3? Seems like a lot of work for this backwards compatible case though.21:57
wallyworldwe could just set it to BestAPIVersion() like other api calls21:57
babbageclunkBut doesn't BestAPIVersion rely on having the API versions from the loging result?21:57
babbageclunklogin21:57
wallyworldoh yeah21:58
wallyworldchicken and egg21:58
wallyworldwe used to handle login 1, 2 and 321:59
wallyworldbut all that code was deleted21:59
wallyworldnot sure how it used to work21:59
babbageclunkHow'd we do the negotiation? Just trying again?21:59
babbageclunkI'll have a look21:59
wallyworldall that was in the 1.25 branch21:59
babbageclunkwallyworld: yeah, it looks like it was just "try this version, no, try this one, no, try this one - ok".22:03
babbageclunkwallyworld: If it's ok with you, I'm not going to put that in for this.22:04
wallyworldok i think22:04
wallyworldjust stick with v322:04
babbageclunkwallyworld: cool, thanks.22:07
babbageclunkwallyworld: can you put a tick on https://github.com/juju/juju/pull/8130 please/thankyou?22:26
wallyworldsure22:26
babbageclunkcheers!22:26
babbageclunkwallyworld: ooh, thanks for the comments on the other PR.22:28
wallyworldbabbageclunk: no worries - i am a little confused about the subtle? differences between Call and Request22:28
wallyworldwe can discuss at standup perhaps22:29
babbageclunkwallyworld: yeah, you're right they're confusing. Call represents a top-level juju command (which will produce multiple requests/responses)22:30
babbageclunkMaybe command or connection?22:30
wallyworldbabbageclunk: is in, in the cmd/juju package, the CLI creates one or more facades and then makes various api calls on those facades22:31
babbageclunkYup22:31
wallyworldyeah, Call not so good then. let's brainstorm in standup22:31
babbageclunkok22:31
babbageclunkI'll go through your other comments.22:32
axwwallyworld: need to run QA still, but please take a look at https://github.com/juju/juju/pull/8149 later?23:58
axwtest failures have been driving my crazy23:58

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