-
ephemer0l has quit
-
ephemer0l joined the channel
-
D4RK-PH0ENiX has quit
-
D4RK-PH0ENiX joined the channel
-
Hobbyboy has quit
-
pingupingu joined the channel
-
michelv__ joined the channel
-
pingupingu has quit
-
travis-ci joined the channel
-
travis-ci
-
travis-ci has left the channel
-
Freso
milkii: I was just about to open a ticket on your behalf, but I see you did so yourself already (PICARD-1508). :)
-
BrainzBot
-
milkii
Freso: hehe, though i should log it properly
-
Freso
milkii: Good job. :)
-
(And thank you!)
-
iliekcomputers
Mr_Monkey: moin!
-
chirlu has quit
-
chirlu joined the channel
-
Mr_Monkey
Hi iliekcomputers ! Sorry, had an alarm clock failure…
-
Hi zas ! Are you around today for a dns change?
-
iliekcomputers
No worries. I have a college thing in like 40 min. Do you wanna start once i get back?
-
Mr_Monkey
Sure
-
iliekcomputers: roughly how long do you think?
-
iliekcomputers
10-15 min at most
-
Mr_Monkey
Oh, OK :p
-
iliekcomputers
I'm gonna be here fully from 5 PM IST.
-
Mr_Monkey
I was thinking 2-3 hours, thinking about lunch plans and all that :p
-
iliekcomputers
Ahh
-
When do you lunch?
-
Mr_Monkey
I'll do that now-ish and be free at 5PM IST
-
iliekcomputers
Ah, cool!
-
Hopefully we're done in minutes :) :)
-
Mr_Monkey: how many tables does the db have?
-
michelv__ has quit
-
Might be good to write a script to count number of rows in each table for a consistency check.
-
I can do that today.
-
Mr_Monkey
That would be great :)
-
iliekcomputers: 240 tables
-
iliekcomputers
Yikes lol
-
Mr_Monkey
61 of which are on the bookbrainz schema
-
michelv__ joined the channel
-
zas
Mr_Monkey: yup, just ping me when you need
-
Mr_Monkey
Hello zas! Could you please change the DNS TTL to 5 minutes for BookBrainz.org?
-
letaiv joined the channel
-
iliekcomputers
Be around in just 10-15 min, if that's okay.
-
zas
K
-
iliekcomputers
* I'll be around.
-
zas
Mr_Monkey: ttl is on 300 seconds already
-
Mr_Monkey
Ah, I hadn't realised, thanks zas
-
No rush iliekcomputers
-
michelv__ has quit
-
iliekcomputers
Mr_Monkey: i'm here, sorry!
-
Mr_Monkey
No worries !
-
Do you need more time?
-
iliekcomputers
nope, here totally now
-
Mr_Monkey takes deep breath
-
yo!
-
Mr_Monkey
All right, let's do this then :)
-
iliekcomputers
let's migrate the db once before bringing the site down.
-
Mr_Monkey
I'm down with that. do you want to do the honnors?
-
iliekcomputers
yea, sure.
-
in the meanwhile, can you come up with a list of tables that we should check for consistency in rows?
-
Mr_Monkey
Yep
-
iliekcomputers
new db created.
-
Mr_Monkey
OK, time to take a dump.
-
I'm set up to compare rows
-
iliekcomputers
wokay, creating dump on the vm.
-
Mr_Monkey
The dumps are so fast on BB
-
For now
-
ruaok
-
not a bad place to pay people from, no?
-
if you sent your invoice in already, its paid. the rest of you: Slackers!
-
ruaok runs off again
-
Mr_Monkey
Damn, I always forget the month ends.
-
Enjoy, ruaok !
-
iliekcomputers
ok dump copied over
-
and imported into postgres master
-
sorry for the lateness, some network problems
-
Mr_Monkey
OK, let me compare rows
-
iliekcomputers
-
zas
-
Mr_Monkey
Did you stop the service iliekcomputers ?
-
iliekcomputers
yes.
-
do the rows look ok?
-
Mr_Monkey
Ah, I thought we were doing a dry run. Well, zas it'll be down fora short period of time
-
iliekcomputers: Checking now
-
iliekcomputers
Mr_Monkey: do you have a script to test?
-
Mr_Monkey
iliekcomputers: I'm checking manually
-
iliekcomputers
ah.
-
what tables, maybe I can do the counts on vm and you on bowie
-
Mr_Monkey
iliekcomputers: Just saw this, sorry. It all looks good!
-
iliekcomputers
ahh
-
woohoo nice!
-
i checked new.bookbrainz and it looks sane to me.
-
search works.
-
Mr_Monkey
Let me add an item to make sure
-
iliekcomputers: A-OK
-
iliekcomputers
cool, cool, cool.
-
i triggered the reindex.
-
Mr_Monkey
Are you reindexing?
-
OK
-
iliekcomputers
{"success":true}
-
Mr_Monkey
Great
-
iliekcomputers
-
to gateways
-
zas: ping?
-
zas
pooong
-
iliekcomputers
-
Mr_Monkey
On it for the PR
-
zas
ok
-
iliekcomputers
Mr_Monkey: cool cool cool.
-
-
zas
done, ttl is 5 mins
-
hmmm weird, i got an ssl error
-
-
Mr_Monkey
zas: I just opened a PR for that
-
iliekcomputers
zas: yep, Mr_Monkey was doing that afaik.
-
zas
lgtm
-
btw, when the switch will be fully completed, we'll make a snapshot of the gcloud VM and stop it
-
Mr_Monkey
OK, liekcomputers, I'm pulling the merged PR and restarting containers
-
Ah, no need.
-
iliekcomputers
Mr_Monkey:yo!
-
it works for me.
-
login does too.
-
Mr_Monkey
Well, it looks to me like we've just migrated.
-
iliekcomputers
wow, a release i didn't fuck up
-
nice!
-
Mr_Monkey
You and me both !
-
iliekcomputers
last migration took me 15 hrs :D
-
Mr_Monkey
High five !
-
iliekcomputers
<3 <3
-
Mr_Monkey
Let me tweet tweet tweet
-
iliekcomputers
let's keep a look out on cron dumps
-
zas
good job guys ! Next level: do it without any downtime ;)
-
iliekcomputers
right, i triggered a dump and it worked.
-
zas
i'll update nagios checks for it
-
iliekcomputers
thanks zas !
-
Mr_Monkey
Thanks zas! And yes as you pointed out that leaves cleaning up the VM
-
Oh, and putting the DNS TTL back to a sane value?
-
zas: mind if we keep the VM up for another few days, just in case?
-
iliekcomputers
yea, we probably should.
-
zas
yes, few days, but when sure, ping me so i archive/stop it
-
Mr_Monkey
Cool, thanks
-
zas
i'll increase ttl again
-
done
-
now updating nagios stuff
-
Mr_Monkey
Yay, we didn't faceplant! Thanks iliekcomputers
-
iliekcomputers
❤️❤️
-
zas
nagios done