/srv/irclogs.ubuntu.com/2018/04/17/#juju-dev.txt

wallyworldvino: did you have a minute, i just looked at juju run pr, quick hangout?00:52
vino_yes00:57
vino_wallyworld: yes00:58
wallyworldvino: see you in standup00:59
wallyworldanastasiamac: small PR if you have a chance - needed for 2.4 beta 1 https://github.com/juju/juju/pull/861301:00
anastasiamacwallyworld: nws, m about to pr up the comment u've asked and will need a review too :D01:03
anastasiamacbabbageclunk: veebers: could u please TAL https://github.com/juju/juju/pull/8614 does it make sense to u coming in cold into the context?01:18
babbageclunkanastasiamac: will take a look soon01:21
wallyworldanastasiamac: will do just let me know the PR01:22
anastasiamacwallyworld: https://github.com/juju/juju/pull/8614 :)01:27
wallyworldlooking01:27
wallyworldanastasiamac: lgtm, ty01:28
* anastasiamac does a fast-landing dance \o/01:37
babbageclunkoops, sorry anastasiamac01:45
babbageclunkOh, should have looked first before holding off!01:45
anastasiamacbabbageclunk: u r sorry i dance? :D01:46
babbageclunkNo, I just should have paused what I was doing!01:47
anastasiamacbabbageclunk: nws, i just needed someone to tell me that that i made sense :D wallyworld is good at keeping my english straight :D PR is heading for landing now01:48
anastasiamacbabbageclunk: no no, it was not worth interuppting anyone... was just a review ;D01:49
babbageclunkWell I'll do better next time.01:53
veeberssorry anastasiamac was at lunch :-\02:06
anastasiamacveebers: all good!02:06
* thumper goes to make a coffee02:13
veeberswallyworld: when you have a spare moment if you could ack the test addition I made since your approval: https://github.com/juju/juju/pull/859902:23
wallyworldsure, sorry i totally forgot02:23
veebersnw02:23
wallyworldveebers: just a minor tweak02:25
veebersgah, my illusion of perfection is broken ;-) I'll fix it up and merge02:27
wallyworldanastasiamac: thanks for review, i missed those other errors, i've updated PR with a new commit02:35
veeberswallyworld: remind me the command that shows charm hooks run?02:46
veebershah, that's almost not english :-)02:46
wallyworldjuju show-status-log02:47
veebersawesome thanks02:48
veeberswallyworld: is install hook retried by default perchance?02:49
wallyworldveebers: yah, all hooks are retried i think 3 times02:49
veeberswallyworld: ah right cheers, I'll update the test charm to take that into account :-)02:49
wallyworldyeah sorry should have mentioned that02:50
veebersnw, no biggie02:50
wallyworldanastasiamac: i just noticed you already approved but given the changes i made for errors are non-trivial, would appreciate another look; they are all in the 2nd commit02:53
anastasiamacwallyworld: k, looking now :D02:53
wallyworldawesome, ty02:53
wallyworldyay, thanks for review02:59
=== mup_ is now known as mup
thumperbabbageclunk: got a minute, I'm a little confused03:00
babbageclunkthumper: sure03:00
thumperbabbageclunk: jumping in the HO03:00
anastasiamacwallyworld: that was really good !!! loved how u consolidated all these errors. once i saw it, it totally made sense03:01
wallyworldyeah, we do tend to scatter shite everywhere03:02
wallyworldwas good to clean it up03:02
wallyworldthanks for noticing in the PR03:02
wallyworldwas late when i did it :-)03:02
anastasiamac\o/03:02
veebersIt appears that juju is attempting to re-try the install hook at least 8 times. Am I doing something odd in my charm to trigger this?03:31
veebersall my charm is doing is in the install hook increment the attempt count (file stored in tmp) and setting: "status-set blocked "Install hook failed on purpose." then exit 103:31
veeberswallyworld: oh you;re back :-) I was just complaining: It appears that juju is attempting to re-try the install hook at least 8 times. Am I doing something odd in my charm to trigger this?03:35
veebersall my charm is doing is in the install hook increment the attempt count (file stored in tmp) and setting: "status-set blocked "Install hook failed on purpose." then exit 103:35
wallyworldyeah, using vpn drops irc :-(03:35
wallyworldi don't think you're doing anything amiss03:36
wallyworldi think juju reties 3 times03:36
wallyworldmaybe just exit 1 and see what happens though that shouldn't make a difference03:36
thumperwallyworld: it retries more than 3 times03:37
wallyworldreally? :-(03:37
wallyworldi wonder why03:37
wallyworldeven 3 seems too many03:37
wallyworldi had recalled that we settled on 3 but obviously i'm wrong03:37
veebersit's tried 10 times now ^_^03:38
wallyworldi'm sure in my testing it didn't do that03:38
wallyworldit retried what i could have sworn was 3 times and then gave up03:38
wallyworldand left the unit in error state03:38
veeberswallyworld: if your testing was just exit 1 always you might not have seen it, but because I'm waiting to make sure it stops trying to ensure my resolve is the thing that fixed it I see it happen03:39
wallyworldbut could be wrong there too03:39
wallyworldif you always exit 1 then resolve will be the thing that moves it on03:39
* thumper thrashes his computer somewhat03:40
veeberswallyworld: right, I can resolve --no-retry to move it on, but I can't ensure that resolve will re-run the hook when requested (although it seems perhaps that's not needed as it's *always* retrying)03:42
thumperbabbageclunk: got 5 minutes?03:43
thumperbabbageclunk: I'm invoking the live demo demons03:44
thumperbabbageclunk: demonstrating as yet untried code03:44
babbageclunksure03:44
wallyworldveebers: yeah, the code will need to be read to see what's going on. i can't recall off hand03:44
wallyworld--no-retry would be a good start03:44
veeberswallyworld: ack. I'll proceed with a functional test for no-retry. If I get nosey / have time I might try figure out what the code is doing there too03:45
wallyworldsgtm03:45
* thumper jumps back in HO03:46
=== mup_ is now known as mup
veeberswallyworld: I'm confused, my juju 2.3.5 resolve works as expected, passing --no-retry skips the install hook and goes onto the start hook03:56
=== kelvinliu__ is now known as kelvinliu
=== meetingology` is now known as meetingology
=== mup_ is now known as mup
thumperbabbageclunk: I realise there was one more space where I haven't hooked it up :)04:15
babbageclunkthumper: I mean, I guess that had to have been the problem04:15
thumper:)04:16
babbageclunkthumper: so it's working now with quick status changes?04:18
thumpershtill threading04:18
thumperbabbageclunk: got it using the new code, but all coming back as unknown not alive04:34
thumperso all machine showing down04:34
* thumper sighs04:34
babbageclunkdoh04:34
thumperadded more logging04:35
thumperah FFS04:35
* thumper knows04:36
=== mup_ is now known as mup
thumperbabbageclunk: I think I have it this time...04:46
babbageclunkby George, I think he's got it!04:46
thumpernope04:49
thumpergot logic backwards04:49
thumpertrying again04:49
thumperthis is the culmination of around two years of effort04:49
thumperI'll be celebrating when this is in04:49
wallyworldthumper: sent email about upgrade test for 2.3.6 - short answer NFI, can't reproduce04:50
thumperBOOM!!!04:51
thumperworking04:51
thumperwallyworld: ok04:51
thumperbabbageclunk: wanna see it before I run to get Maia04:51
thumper?04:51
thumpertoo late04:53
thumpergotta go04:53
thumperI'll be back on later tonight to polish and put up for review04:54
thumperwallyworld: this is new presence hooked up in status04:54
wallyworldoh joy04:54
thumperwith user updatable controller feature flags04:54
wallyworldfaaark, nice04:54
thumperwallyworld: jump on a HO04:54
thumperI want to show someone04:54
wallyworldrighto04:54
wallyworldlol04:54
wallyworldvino_: go fmt is still sad. you'll need to do a quick fix for run_test.go04:54
vino_that same line 95 ?04:54
thumperwallyworld: in our 1:104:55
vino_ok let me look04:55
wallyworldvino_: there's about 4 errors05:01
babbageclunkthumper: oops, sorry05:02
=== mup_ is now known as mup
vino_i cudnt get this githook fix in my setup.05:06
vino_huh..05:06
anastasiamacthumper: wallyworld: PTAL licencing for 2.3 - https://github.com/juju/juju/pull/861505:08
wallyworldok05:09
wallyworldjeez, 31 files05:09
anastasiamacwallyworld: but mostly tests :D05:09
anastasiamac31? m seeing 25...05:10
wallyworldmaybe i can't count05:14
veeberswallyworld: you're 'resolve --retry' fix, did that go in for 2.3.5 or 2.3.6?05:21
wallyworld2.3.605:21
veeberswallyworld: so with 2.3.5 we should see that 'resolve --no-retry' does in fact try the errored hook? I'm not seeing that, but I"ll double down now and confirm that05:23
wallyworldyeah, i think 2.3.5 has the issue but hmmm, not sure now05:24
vino_wallyworld: run_test.go - 4 errors correct ?05:30
wallyworldsounds right yeah, that's whay my go fmt said i think05:31
vino_line: 105, 110, 11905:31
wallyworldsimething like that, don't have the putput anymore05:31
vino_no worries.05:31
vino_wallyworld: done. plz verify05:38
wallyworldlooking05:40
wallyworldvino_: i thought there were four errors, https://pastebin.ubuntu.com/p/b3DM8qm4m3/05:42
kelvinliu_wallyworld: i still got the same problem. so after I run `juju deploy ./mysql`, I got this message immediately, after unit status changed to `allocating`.05:47
vino_can u see that ?05:48
wallyworldwhich message?05:48
vino_next to @line10405:48
wallyworldlookin again at pr05:49
wallyworldvino_: ah, look ok. the pr showed 2 changes together05:50
wallyworldsorry, looks good, will approve05:50
vino_yea.05:50
vino_but i shd get this githook and few other things fixed sooner..05:50
vino_no sorry required :)05:50
wallyworldyeah, see if you can get it working05:50
wallyworldalso, our landing bot shoulld not accept prs with these errors05:51
wallyworldwe need to fix that05:51
wallyworldkelvinliu_: which message are you seeing?05:51
kelvinliu_wallyworld: some logs are here https://pastebin.ubuntu.com/p/D9sjnXvY4K/05:51
wallyworldkelvinliu_: i can't see anything obvious. does juju status show an incremented version number to indicate the upgrade went ok? ie 2.4-beta1.2 or something like that05:55
wallyworldyou could try creating a new model and trying again05:55
kelvinliu_wallyworld: the controller upgrade went ok, and tried it a few times, now I got 4 testcaas models05:57
wallyworldyou should see in the operator logs that the charm reactive code is calling set-pod-spec05:58
wallyworldthis triggers juju to create the unit05:58
wallyworldwhich then creates the mysql pod05:58
kelvinliu_wallyworld: no, it's not there05:59
wallyworldok, let me run up a k8s cluster and see what my logging says05:59
kelvinliu_wallyworld: so after `juju-unit  executing    running start hook` then `workload   unknown`, then `juju-unit  idle`06:01
wallyworldi can't recall the exact order off hand, i'll see when my k8s cluster starts06:03
kelvinliu_wallyworld: thx06:03
kelvinliu_wallyworld: or do u have a couple of minutes for a screen share session?06:04
wallyworldkelvinliu_: i won't be much help until i run up my k8s bundle to compare06:05
kelvinliu_wallyworld: ok, sure, we will wait for the cluster up and running first06:05
wallyworldkelvinliu_: i just started a k8s cluster and deployed mysql without any problem06:26
wallyworlddid you want to do a hangout?06:26
kelvinliu_wallyworld: yes, plz06:27
wallyworldsee you in standup06:27
kelvinliu_yup06:27
vino_have a quick question.. only snap install, will install the service files in /var/lib/juju/init ?06:48
vino_i dont see in /var/lib/juju/tool07:01
wallyworldvino_: snap install of juju is just the client07:23
wallyworldwhen you bootstrap, it pulls down the agent binary and creates the systemd files on the vm07:23
wallyworldso you need to bootstrap and ssh into the controller machine to see what was done07:24
kelvinliu_wallyworld: just raised a bug for the remove-relation failure on apps running k8s -> https://bugs.launchpad.net/juju/+bug/1764649 and also created a card on caas trello board plz let me know if any questions. thx07:25
mupBug #1764649: juju caas remove-relation does not work <juju:New for wallyworld> <https://launchpad.net/bugs/1764649>07:25
wallyworldgreat ty07:32
vino_wallyworld: sorry i was a bit away for my tea.07:40
vino_yes i did that.07:41
vino_and i am there07:41
wallyworldvino_: great ok, so the service files - you should see a symlink from files /etc/systemd/system to their actual location under /var/lib/juju/init07:43
vino_:) yes.07:43
vino_i did ssh to instance but was looking in another terminal didnt realize :p07:45
wallyworldah no worries07:45
thumperwallyworld: still around?08:12
wallyworldthumper: sorta08:13
wallyworldsoccer soon08:13
thumperwallyworld: how soon?08:13
thumperjust getting PR ready08:13
wallyworld1508:13
wallyworldmaybe 008:14
wallyworld2008:14
thumperlong enough08:15
wallyworldok08:15
thumperpoo, need to remove some critical logging...08:19
thumperwallyworld: https://github.com/juju/juju/pull/861708:21
thumperwallyworld: did you want to get on a hangout to talk through?08:21
thumpersmaller than the penultimate branch08:21
wallyworldthumper: can do08:22
* thumper jumps in HO08:22
thumperphew...08:53
* thumper waits for the merge08:53
thumpermanadart: ping08:58
manadartthumper: Pong. On a call with jam.09:15
thumpermanadart: hey, was just wondering if you had an ETA on removing the horrible lxd patches we have09:15
manadartthumper: Not yet, but I can peel off this intermittent failure I am working on and round up such an estimate.09:16
thumperheh... no, we're good09:17
thumperwhat is the intermittent failures?09:17
manadarthttps://bugs.launchpad.net/juju/+bug/175341809:20
mupBug #1753418: intermittent failure in kvmProvisionerSuite.TestKVMProvisionerObservesConfigChanges <intermittent-failure> <test-failure> <juju:In Progress by manadart> <https://launchpad.net/bugs/1753418>09:20
thumpernight all09:41
manadartG'night.09:42
hmlg’morning o/13:48
rick_h_morning hml13:49
=== frankban is now known as frankban|afk
thumpermorning20:27
hmlmorning thumper20:30
veebersMorning o/20:38
thumperwallyworld: so... no power nor internet at home now21:31
thumpermy laptop battery has several hours I guess21:32
thumperand tethered to my phone21:32
thumperthey are replacing a damanged pole outside my house, so have turned off power, but we never got notified21:32
thumperfrom 9 till 321:32
wallyworldthumper: oh that's what happended21:33
thumperyeah, I was a little surprised, but you should see the kids21:33
thumperthey are like, I can't charge my phone?21:34
thumpercan't watch netflix?21:34
thumperwhat am I going to do?21:34
hmlha!21:35
wallyworldlol21:36
wallyworldthumper: so no release call :-) i thought i might be good to chat about that upgrade issue even thoigh nix is away21:36
thumperwallyworld: let's do a voice only hangout21:38
thumperto save my data21:39
wallyworldok21:39
veeberswallyworld: I'm scratching my head on this one, re: resolve command: every build I've tried it works as expected, --no-retry skips the failing install hook and continues.22:07
veebersI tried 2.3.5 (snap installed), I tried the commit before your one that fixed the issue22:08
babbageclunkha, if you're benchmarking something where you're appending to logs, make sure part of the thing isn't copying all of the logs so your bechmark gets progressively slower.22:08
wallyworldveebers: i don't have an explanation for that off hand, will need to investigate22:09
wallyworldthumper: we can fill out much of the 2.4 release notes but the enable-ha/remove-machine and ha space sections are todo (john/joe) as are model owner changes (you). i think we may need a day to get these sorted22:19
thumperyeah22:19
wallyworldso we maybe should take a view tomorrow after forcing folks to fill out notes today :-)22:20
wallyworldwe can do 2.4 and 2.3.6 a day apart22:20
wallyworlddifferent people do each22:20
vinohey Wallyworld: morning! fixed the format issues u have mentioned.22:35
wallyworldgreat ty22:35
wallyworldlooking at pr22:35
wallyworldlgtm22:36
wallyworldbabbageclunk: ready!23:47
wallyworldstill in same hangout23:48
babbageclunkok23:49

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