16:07 PM
zas
ok, good
16:08 PM
atj
it's going to take a few mins to complete the rest because we have to update apt package cache and then install the new package
16:08 PM
also restarting the service takes some time for some reason
16:08 PM
i think consul doesn't signal success to systemd until various internal checks have passed
16:09 PM
zas
likely
16:10 PM
16:10 PM
clash done
16:10 PM
atj
yeah, i think that when that message is logged is when the service restart completes
16:11 PM
zas
16:11 PM
~90 seconds later
16:11 PM
atj
suspicious that it seems to take exactly 1m30
16:11 PM
yeah
16:12 PM
i think we should set serial to 2 or 3 when upgrading clients in future
16:12 PM
this is going to take a little while
16:12 PM
zas
2 minutes per server, but we could do them in parallel
16:13 PM
atj
well maybe 2 or 3
16:13 PM
zas
for clients, I don't think that's a problem
16:13 PM
atj
got a failed got gaga and then a join
16:13 PM
*for gaga
16:13 PM
zas
yes, I saw that
16:14 PM
same for hip
16:14 PM
messages are obscure...
16:15 PM
monkey
Go team go ! You both get a consulation prize at the end of this, right?
16:15 PM
atj
i have beers in the fridge
16:16 PM
monkey
(that wasn't a typo)
16:16 PM
zas
kiss load is quite high
16:16 PM
rdswift got the joke.
16:16 PM
atj
sorry monkey, sense of humour bypass
16:16 PM
zas
:D
16:16 PM
monkey
Understandable
16:17 PM
atj
quite high is an understatement
16:17 PM
ah, just dropped
16:17 PM
was it due to a consul service causing reloads / restarts?
16:18 PM
zas
16:19 PM
time is matching
16:19 PM
but the load increases started 15 minutes sooner
16:20 PM
atj
4 left
16:22 PM
zas
we don't have EventMemberUpdate each time...
16:22 PM
atj
when that happens the service restarts almost instantly
16:23 PM
zas
16:23 PM
atj
we're going to get an update from zappa
16:23 PM
then it's done
16:24 PM
zas
ok, I think we can restore services now
16:24 PM
atj
ok, done
16:24 PM
thank god for that
16:25 PM
zas
ready to go?
16:25 PM
atj
yep
16:27 PM
zas
ok, everything's back
16:28 PM
atj: please commit playbooks you used for the upgrade
16:28 PM
monkey
Should I tweet we're back online?
16:28 PM
atj
if everyone is happy things are working
16:29 PM
monkey
I checked BB, LB and CB web pages, working 👍
16:29 PM
monkey tweets for those three
16:29 PM
LB API also responding
16:30 PM
zas
we have few alerts still on, but most should resolve soon
16:31 PM
bitmap
MB website and WS look ok
16:31 PM
zas
16:31 PM
bitmap
I can push consul config changes to docker-server-configs now, right?
16:32 PM
zas
bitmap: yes
16:32 PM
bitmap
thanks
16:32 PM
monkey
Tweeted for BB, CB and LB.
16:32 PM
zas
atj: we have to go through servers to remove old containers: dnsmasq, consulagent
16:34 PM
atj: you can merge the consul-migration branch now
16:35 PM
atj
zas: i'm just re-arranging and amending some commits
16:36 PM
monkey
!m atj and zas 👏
16:36 PM
BrainzBot
You're doing good work, atj and zas 👏!
16:37 PM
akshaaatt
16:38 PM
I mean, people dig such facts. The likes, shares and comments on the post can tell
16:38 PM
This is a good way to make noise about our stats
16:38 PM
However, I think MB would play a bigger role in all this
16:39 PM
zas
atj: I'll clean old containers
16:39 PM
atj
zas: ok thanks
16:43 PM
16:44 PM
vardan joined the channel
16:44 PM
just have another quick look through and confirm you're happy
16:45 PM
bitmap: test. is still b0rked, do you know what the issue is? i think Pratha-Fish was hoping to use it for his GSoC development
16:47 PM
reosarevok
zas, atj, bitmap: can I release MBS now? :)
16:51 PM
bitmap
atj: Pratha-Fish: yeah I’m importing a new test DB now, will let you know when it’s ready
16:52 PM
reosarevok: seems so
16:52 PM
reosarevok
Ok :)
16:52 PM
zas
reosarevok: yes, but beware running scripts from docker-server-configs
16:52 PM
reosarevok
Oh. Still cannot do that?
16:53 PM
zas
you can, but carefully
16:53 PM
reosarevok
The upgrade system checks stuff in d-s-c
16:53 PM
Oh
16:53 PM
zas
because I made a lot of changes
16:53 PM
reosarevok
Well only one way to find out if it works I guess
16:53 PM
I'll do beta first and hope for the best
16:53 PM
16:56 PM
BrainzGit
16:56 PM
reosarevok
I guess I'll skip translations this time since yvanzo hasn't mentioned being done with weblate
17:01 PM
atj
bitmap: thanks
17:04 PM
reosarevok
Trying a beta update
17:04 PM
17:04 PM
Guess not trivial
17:05 PM
17:06 PM
I assume on
17:06 PM
17:07 PM
17:07 PM
Or maybe something really is not running, but
17:09 PM
Pratha-Fish
mayhem epic. I"ll reach out to you soon about troi. Gotta put that degree in use somewhere 🗿
17:09 PM
atj
reosarevok: can you run bash -x ./script/update_containers.sh beta
17:10 PM
reosarevok
Sure can try
17:10 PM
Pratha-Fish
reosarevok: bitmap hey thanks for the quick diagnosis, but it's alright if you take your time. I am unfortunately out of station for today and tomorrow 🥲. Please take your time fixing it
17:12 PM
reosarevok
atj: I guess it's safe to paste the log here? :)
17:12 PM
atj
not sure
17:12 PM
reosarevok
I'll paste in pm in case then
17:15 PM
atj
17:16 PM
reosarevok
The running_image assignment is getting an id instead of the name that I assume was getting before
17:16 PM
atj
$running_image is a container id, but $updated_image is a container name
17:18 PM
reosarevok
Is there a reason why the result of docker ps --filter "name=$container" --format '{{.Image}}' would have changed?
17:21 PM
zas
nope, but if you want the name that's not .Image
17:22 PM
17:22 PM
those are running on paco
17:22 PM
17:23 PM
atj
docker ps --filter name=musicbrainz-webservice-beta --format '{{.Names}}'
17:23 PM
kinda of redundant tho i guess L()
17:24 PM
zas
but if you filter by name ... I guess you have it
17:24 PM
reosarevok: what do you want to achieve?
17:24 PM
atj
i guess it's to check if the docker image matches?
17:25 PM
which would need the ID rather than the name
17:25 PM
reosarevok
This is not my code, but yeah, the idea is to check if the image needs updating or not
17:26 PM
atj
yes, who wrote this code? i thought it was zas :P
17:26 PM
akshaaatt
Hi theflash_ !
17:27 PM
zas
not at all
17:27 PM
reosarevok
yvanzo:
17:27 PM
* without the :
17:27 PM
akshaaatt
Can you please go to your local codebase on xcode, click on the artist model file, add it to Target Membership from the right panel and then push that code to github? theflash_
17:28 PM
reosarevok
Basically, it checks whether the new image we have is the same as the one already running, if it is it does nothing, if it is not it puts the container in maintenance mode and then updates it, then puts it out of maintenance mode
17:28 PM
Don't ask me what maintenance mode did, I don't remember
17:28 PM
zas
also the filter should probably be stricter to avoid issues
17:28 PM
that's a regex
17:28 PM
--filter "name=^musicbrainz-webservice-beta$"
17:31 PM
17:31 PM
about spotify_metadata
17:32 PM
atj: do you have the change to hold the docker version in Ansible ready? I don't think you committed it
17:33 PM
BrainzGit
17:33 PM
17:34 PM
17:35 PM
reosarevok
Ok, I'll talk about it with yvanzo in the morning :)
17:35 PM
CatQuest
🐟
17:36 PM
🗿
17:48 PM
ansh has quit
17:49 PM
Maxr1998 joined the channel
17:49 PM
Pratha-Fish has quit
17:49 PM
ansh joined the channel
17:49 PM
Maxr1998_ has quit
17:49 PM
shivam_ has quit
17:49 PM
vscode has quit
17:49 PM
Pratha-Fish joined the channel