/srv/irclogs.ubuntu.com/2018/09/10/#juju.txt

veeberswallyworld: to confirm, if we have a unit status of Blocked and a container status of Blocked, which wins? Show the unit blocked message of container?03:02
wallyworldveebers: if the container itself reports as blocked, we need to show that as that will surface the more relevant error. consider the gitlab charm case. gitlab will report blocked as db relation is missing, but gitlab pod may not be able to be started03:04
veeberswallyworld: ack. Makes sense03:07
babbageclunkwallyworld: hey, do I need to merge that change forward from 2.3 to 2.4, or will that get done periodically?04:04
wallyworldbabbageclunk: only if someone does it; feel free to do it this time04:04
babbageclunkok, so a full forward merge from 2.3 to 2.4, right?04:05
babbageclunkwallyworld: ^04:07
wallyworldyeah04:07
wallyworldsorry, otp, distracted04:07
veeberswallyworld: I'll need to revert my change to my caas charm where it sets active before setting podspec, as we never overwrite that unless the cloud container is error, blocked or allocating04:29
babbageclunkkelvinliu__: did you get anywhere with the flag problem?04:31
kelvinliu__babbageclunk, I manually chown the log files to solve the problem. but I am still solving a different error now04:33
veebershmm, actually is this a different issue04:33
kelvinliu__babbageclunk, {"request-id":2,"error":"unknown version (2) of interface \"Agent\"","error-code":"not implemented","response":"'body redacted'"} Agent[""].GetEntities, seems the Agent facade is not registered correctly.04:34
veeberswallyworld: no, I think it's my crappy active message that has me wrong. Charm will set active, pod starts up, if it encounters errors they are displayed (and in  history) then once resolved the charm active status is used (including in history)04:35
babbageclunkkelvinliu__: I wouldn't have thought the log file would cause any problem - it tries to create and chown the file but doesn't worry if it fails.04:35
babbageclunkkelvinliu__: weird, that sounds like a mismatch between what the client and the server thinks that facade version should be.04:36
babbageclunkIf you turn on trace-level logging for juju.apiserver, can you see the contents of the login response?04:36
babbageclunkThat should show all of the registered versions of all facades.04:36
kelvinliu__babbageclunk, let me have a try,04:41
anastasiamacbabbageclunk: do u have a chance to review this little gem? https://github.com/juju/juju/pull/917504:46
babbageclunkanastasiamac: of course!04:46
anastasiamacbabbageclunk: \o/04:46
wallyworldveebers: sorry, otp. seems like you got it sorted04:49
veebersaye, sorry for the noise04:49
babbageclunkanastasiamac: sorry, got distracted - reviewed!05:00
babbageclunkanastasiamac: did you tag the wrong PR for your trello task?05:01
anastasiamacthnx!05:03
anastasiamacand yes but untagged within seconds :(05:03
babbageclunkanastasiamac: do we normally need to get merge PRs reviewed? This one was small and pretty straightforward. https://github.com/juju/juju/pull/918105:03
anastasiamacbabbageclunk: no05:04
babbageclunksweeeeet05:04
anastasiamacand fwiw i had a pcik at ur merge and +105:04
babbageclunkThanks!05:04
kelvinliu__babbageclunk, NewConnFacade.caller.BestFacadeVersion('Agent') --> 2         CallNotImplementedError -> &rpcreflect.CallNotImplementedError{RootMethod:"Agent", Version:2, Method:""}05:04
kelvinliu__, and we have only one v2 facade for Agent on apiserver   do u think what's wrong here05:04
anastasiamacbabbageclunk: i have not clicked the button but will for ur peace of  mind05:04
babbageclunkanastasiamac: thanks! Then it's diffuse responsibility when it breaks everything,05:05
anastasiamacbabbageclunk: certainly, especially in that universe where we held reviewers accountable as much as devs :)05:06
babbageclunk:D05:06
anastasiamacbabbageclunk: funny. i did originally do everything in the loop but though it'd be cleaner to separate individual logical steps.. i'll revert05:07
babbageclunkanastasiamac: thanks!05:10
anastasiamacbabbageclunk: nws, the difference of course is that u will always get an additional pass through the loop05:11
anastasiamacbabbageclunk: so in most cases, instead of going once, u'll loop twice05:11
anastasiamacbabbageclunk: since the loop will be do-while instead of while-do05:12
babbageclunkanastasiamac: I think that's ok, but you could just have an if-break in the middle if you wanted it to be the other way.05:13
babbageclunkkelvinliu__: sorry, I have to go for a bit, but I'll be back online later on05:14
anastasiamacbabbageclunk: i could but in terms of lean loop, the ifs and other logic stmts, make it yuck...05:14
kelvinliu__babbageclunk, no worries. cu later05:15
babbageclunkanastasiamac: I'm not sure - it's not a big deal either way05:15
babbageclunkkelvinliu__: did you get that facade issue sorted out? want any help?07:01
kelvinliu__babbageclunk, just got some hints from Ian, im testing on it now. Thank you07:03
babbageclunkkelvinliu__: cool cool07:05
kelvinliu__babbageclunk, have a good one, cu tmr07:06
babbageclunkkelvinliu__: you too! :)07:06
wallyworldkelvinliu__: if you get a chance between testing, here's a small PR which fixes a critical k8s agent issue affecting CI and end users which I'd like to land https://github.com/juju/juju/pull/918207:08
kelvinliu__wallyworld, looking now07:08
wallyworldty07:09
kelvinliu__wallyworld, LGTM thanks07:22
wallyworldtyvm07:22
wallyworldhow's the jujud? did you find any state errors?07:22
kelvinliu__wallyworld, found a mongo auth issue, looking on it now07:30
wallyworldkelvinliu__: ah good! at least that explains the error07:30
kelvinliu__wallyworld, yeah, thanks!07:30
boritekhello, after a machine restart "juju status" hangs, and the gui is not reachable09:03
boritekalso the IP not pingable09:03
boritekhow can I start it again?09:03
boritekit seems the controller is not running09:03
stickupkidif you've lost your controller and you no longer have access to it, then you need to bootstrap and start from scratch...09:08
boritekstickupkid: how can i lose it?09:13
boriteknothing special happened. is it not production ready?09:13
stickupkidboritek: which provider did you use, lxd, aws, azure, etc?09:13
boritekstickupkid: I configured my own maas09:14
boritekand maas-controller is on the same host where juju controller was09:15
stickupkidboritek: i don't know enough about setting maas up to be more helpful, some people will come on later today that will be able to help you more09:15
boritekstickupkid: does juju controller not run in a container?09:16
boritekhow could I manually start it up?09:17
boritekis it in lxc, lxd ?09:17
rick_h_boritek: so the controller runs on top of hardware registered in MAAS11:32
rick_h_boritek: the controller runs on the cloud with the software you want to run/manage so that we know it can reach everything network-wise and such11:32
rick_h_TFW your print says it's out of paper and you can't recall the last time you put paper in it or where fresh paper might be...12:42
veebersso with the fixes for 1.11 going into 2.3 and 2.4 I suspect that we're looking at doing the next release with go 1.11?21:16
rick_h_veebers: just trying to test windows21:30
rick_h_veebers: we're not updating everything to 1.11. the issues fixed are valid 1.1021:31
rick_h_veebers: my understanding is 1.11 is a sprint topic21:31
veebersrick_h_: ack I see, thanks for confirming21:36

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