/srv/irclogs.ubuntu.com/2018/02/01/#juju-dev.txt

thumperaxw: can I grab you in about 30 min for a chat?02:02
axwthumper: yes but I need to go out for an appointment in 50 mins02:03
thumperack02:03
thumperaxw: now?02:17
axwthumper: sure, 1:1?02:17
thumperack02:17
thumperaxw: I had to go hunting for an old hangout link02:18
axwheh me too02:18
* thumper EODs04:28
codenameba▄▄▄▄▄▄▄▄▄▄▄▄ SPECIAL ANNOUNCEMENT: IRC.SUPERNETS.ORG #SUPERBOWL IS HAVING A SUPERBOWL WATCH PARTY ON FEB. 4TH. MESSAGE CHRONO FOR DETAILS!!  onwbnzhmn: tinwood rogpeppe cmars ▄▄▄▄▄▄▄▄▄▄07:24
codenameba▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ SPECIAL ANNOUNCEMENT: IRC.SUPERNETS.ORG #SUPERBOWL IS HAVING A SUPERBOWL WATCH PARTY ON FEB. 4TH. MESSAGE CHRONO FOR DETAILS!!  gcyboohq: alexlist coreycb jog_ ▄▄▄▄▄▄▄▄▄▄▄▄07:24
codenameba▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ SPECIAL ANNOUNCEMENT: IRC.SUPERNETS.ORG #SUPERBOWL IS HAVING A SUPERBOWL WATCH PARTY ON FEB. 4TH. MESSAGE CHRONO FOR DETAILS!!  zebvh: rogpeppe tasdomas joedborg ▄▄▄▄▄▄▄▄▄▄▄▄07:24
codenameba▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ SPECIAL ANNOUNCEMENT: IRC.SUPERNETS.ORG #SUPERBOWL IS HAVING A SUPERBOWL WATCH PARTY ON FEB. 4TH. MESSAGE CHRONO FOR DETAILS!!  onqha: blahdeblah Mmike meetingology ▄▄▄▄▄▄▄▄▄▄▄07:24
codenamebaâ–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„ SPECIAL ANNOUNCEMENT: IRC.SUPERNETS.ORG #SUPERBOWL IS HAVING A SUPERBOWL WATCH PARTY ON FEB. 4TH. MESSAGE CHRONO FOR DETAILS!!  dvhznvpupg: meetingology jillr zeestrat â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â07:24
codenameba▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ SPECIAL ANNOUNCEMENT: IRC.SUPERNETS.ORG #SUPERBOWL IS HAVING A SUPERBOWL WATCH PARTY ON FEB. 4TH. MESSAGE CHRONO FOR DETAILS!!  gkizhbv: rick_h elmo jose ▄▄▄▄▄▄▄▄▄▄▄▄▄07:24
codenameba▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ SPECIAL ANNOUNCEMENT: IRC.SUPERNETS.ORG #SUPERBOWL IS HAVING A SUPERBOWL WATCH PARTY ON FEB. 4TH. MESSAGE CHRONO FOR DETAILS!!  fhhzaeg: ejat rick_h redir ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄07:24
codenameba▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ SPECIAL ANNOUNCEMENT: IRC.SUPERNETS.ORG #SUPERBOWL IS HAVING A SUPERBOWL WATCH PARTY ON FEB. 4TH. MESSAGE CHRONO FOR DETAILS!!  ksqzlqs: niemeyer chaology blahdeblah ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄07:24
codenamebaâ–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„ SPECIAL ANNOUNCEMENT: IRC.SUPERNETS.ORG #SUPERBOWL IS HAVING A SUPERBOWL WATCH PARTY ON FEB. 4TH. MESSAGE CHRONO FOR DETAILS!!  zjwrxodat: mpontillo jw4 bogdanteleaga â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–07:24
codenamebaâ–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„ SPECIAL ANNOUNCEMENT: IRC.SUPERNETS.ORG #SUPERBOWL IS HAVING A SUPERBOWL WATCH PARTY ON FEB. 4TH. MESSAGE CHRONO FOR DETAILS!!  lyndkhssz: niedbalski anastasiamac tvansteenburgh â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â07:25
=== frankban|afk is now known as frankban
=== mup_ is now known as mup
jamrogpeppe1: I might have targetted the wrong branch for the mgo change. I probably wanted to target the v1 branch, looks like I targeted master by mistake14:34
rogpeppe1jam: no, looks like the one that landed was targeting v114:35
rogpeppe1jam: https://github.com/go-macaroon-bakery/macaroon-bakery/pull/19614:35
jamrogpeppe1: thx, I guess I just missed seeing it from gopkg, but it seems to be there14:46
=== frankban is now known as frankban|afk
thumpermorning20:00
alexisbmorning thumper20:26
thumperalexisb: hey, still miss you20:26
alexisb:) I miss you guys as well20:26
zeestratthumper: morning. I've got about 30-45 min before EOD if you'd like me to poke at #174626520:35
mupBug #1746265: juju-upgrade from 2.2.9 to 2.3.2 fails with state changing too quickly <upgrade-juju> <juju:Triaged> <juju 2.2:Won't Fix> <juju 2.3:Triaged> <https://launchpad.net/bugs/1746265>20:35
thumperzeestrat: ack, otp just now20:36
zeestratRoger. If I'm out, just leave some steps in the comments and I can mess about and get some results for monday.20:38
thumperzeestrat: can you do google hangouts?20:41
zeestratthumper: sorry, remoting from home atm without a good setup20:44
thumperhmm...20:44
thumperok20:44
thumperI suppose I can talk you through it :)20:44
thumperzeestrat: so, am I right in thinking that you have a reproduction of the upgrade problem right now?20:45
thumperwhere it is mid-upgrade20:45
thumperand one agent hasn't restarted ?20:45
zeestratYes. Though the agents in controller 0,1,2 all seem to be spewing different error messages so I'm not sure which one's are stuck20:47
thumper:)20:47
thumperkk20:47
thumperthe first thing to do is to work out which one is stuck20:48
thumperso... open terminals into each of the three machines20:48
* thumper quickly bootstraps a lxd to make sure he gets the commands right20:49
zeestrat:)20:49
thumperyou want to look for 'running jujud' in the machine log files20:49
thumpergrep machine*.log 'running jujud' | tail20:49
thumpersomething like that20:49
thumperlook for the timestamp of when each of the agents most recently started20:49
zeestratin decending order, machine-0 11:12:51, machine-2 11:15:25, machine-1 11:15:27, so machine-1 was the last one to the party20:51
thumperdoes the 11:15 time match the upgrade-juju?20:52
thumperroughly?20:52
thumpercan you pastebin a bunch of the logs from machine-1 to pastebin.ubuntu.com ?20:53
zeestratThey're all in the bug so you could take a look there :)20:53
zeestratTime sounds right, though I don't have the exact timestamps20:54
thumperzeestrat: how is your mongo foo ?20:57
thumpermongo fu?20:58
zeestratfubar20:58
zeestratBut if you have some docs I'll probably get through them.20:59
thumperlet me pastebin you a cool command20:59
zeestratThese are still usable? https://github.com/juju/juju/wiki/Login-into-MongoDB21:00
thumperhttps://pastebin.ubuntu.com/26502452/21:00
thumperzeestrat: this is better21:00
thumperput that in your path somewhere as executable called 'juju-db'21:00
thumperthen you can just type 'juju db' to get a mongo shell on the controller'21:01
zeestratVery handy indeed. What's next?21:02
thumperzeestrat: I need to see the content of the leases collection21:04
thumperwhich you can get with db.leases.find().pretty()21:05
thumperit appears that the leases are a bit fubared21:05
zeestratWould you like that for all controlelrs?21:05
thumperno, just one21:05
thumpersince the db is replicated, it should be the same info21:05
thumperno matter which we look at21:05
zeestratRoger21:05
thumperalthough by default you can only query the master21:05
thumperso if the command doesn't show "juju:PRIMARY"21:06
thumperit is probably quicker to try another machine rather than me digging the command to query from replicas21:06
zeestratYeah, sorry, was just finding a nice way to dump mongo into pastebinit21:07
zeestrathttps://paste.ubuntu.com/26502475/21:08
zeestratAh, didn't spot the type "it" for more. Here's the complete dump: http://paste.ubuntu.com/26502478/21:09
thumpercool21:11
thumpernow I want to get the transaction that is failing...21:11
thumperthis will be more interesting21:11
thumperdb.txns.find({"o.c": "leases", "s": 5}).sort({"$natural":-1}).limit(1).pretty()21:15
thumperzeestrat: which says21:15
thumperfind the last transaction that was aborted that tried to modify the leases collection21:15
zeestrathttp://paste.ubuntu.com/26502504/21:16
thumperok, thanks21:17
thumpernow I have what I need to work out why it is failing21:17
thumperif you want to wait a few minutes I might be able to get you past it...21:17
zeestratI've got about 10 minutes, but no rush to get it fixed right now. A comment in the bug will do fine.21:19
zeestratDo let me know if you want to run some other permutations or fixes over the weekend21:20
thumperzeestrat: ok, you best go then21:20
zeestratthumper: Thanks for taking the time and effort. We owe you and the team a round of alcoholic beverages if any of you ever stop by Norway :)21:22
thumper:)21:22
thumperunlikely, but not impossible21:22
zeestratbeeroverip.org just doesn't hit the spot21:23
zeestratThanks again and have nice weekend.21:23
thumpercheers, you too21:24
kwmonroehey thumper, is it true that only 1 hook will ever run on a unit?  so like if a million apps are smashed onto a single unit, the agent will coordinate such that only 1 hook is running at any given time?21:47
kwmonroethe key part there being "at 1 time", which i didn't make clear in that first part21:48
thumperkwmonroe: yes21:51
kwmonroethx21:52
thumperkwmonroe: although I think you mean a million units on a single machine21:52
thumperbut the answer is the same21:52
kwmonroethumper: let's be real here, there are a lot of things i would have changed about that initial ping if i could.21:52
thumper:)21:53

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