10:25 AM
zas
solr2 on its way back
10:27 AM
samj1912
That just means it won't distribute requests to other nodes
10:27 AM
Well, there aren't nodes to distribute though :p
10:27 AM
Solr will still work
10:28 AM
Cloud graph working now
10:28 AM
zas, can you turn solr3 back on?
10:34 AM
zas?
10:35 AM
UmkaDK_ joined the channel
10:35 AM
ruaok
want me do to it?
10:36 AM
solr-3 is coming back
10:36 AM
samj1912
Thanks :)
10:37 AM
UmkaDK has quit
10:38 AM
solr3 in recovery mode
10:38 AM
Missing tlog being played
10:38 AM
bukwurm has quit
10:39 AM
iliekcomputers
10:42 AM
samj1912
Recovered
10:44 AM
Everything back to normal
10:44 AM
ruaok, wanna turn on lb1 too?
10:44 AM
ruaok
done.
10:44 AM
iliekcomputers: pondering.
10:45 AM
D4RK-PH0ENiX has quit
10:46 AM
D4RK-PH0ENiX joined the channel
10:46 AM
D4RK-PH0ENiX has quit
10:47 AM
D4RK-PH0ENiX joined the channel
10:49 AM
samj1912
lb switch working perfectly too
10:51 AM
D4RK-PH0ENiX has quit
10:52 AM
zas
yup, i see ruaok found the power on button ;) thanks, i was providing food to my little monster
10:52 AM
and everything works smoothly it seems
10:52 AM
coffee now, then we'll start to configure for beta test
10:54 AM
10:54 AM
samj1912
zas, let's test it out :p
10:54 AM
zas
i'd like to test that on test.mb.o
10:54 AM
samj1912
Ditto
10:58 AM
zas: are you switching?
10:59 AM
I think there might be problems with the http/https thing though
11:00 AM
zas: you might as well switch
11:00 AM
I have turned off docker solr since day before
11:00 AM
11:00 AM
doesn't work
11:05 AM
11:06 AM
restarted the website container just now
11:07 AM
11:07 AM
seems to work
11:09 AM
11:09 AM
okay, test.mb switched to solr-cloud
11:10 AM
CatQuest: reosarevok if you wanna try it out
11:10 AM
zas
samj1912: can you stop the load testing script now? so we can see requests from test.mb.o in logs
11:10 AM
samj1912
okay
11:11 AM
11:11 AM
final logs from live feed
11:11 AM
turned off now
11:14 AM
zas: 0 reqs :P
11:14 AM
no one uses test.mb :P
11:14 AM
zas
ofc ;)
11:15 AM
those stats are including when we stopped lb & solr nodes right?
11:15 AM
samj1912
yup
11:15 AM
D4RK-PH0ENiX joined the channel
11:15 AM
zas
so basically we lost only few requests :)
11:15 AM
samj1912
yup
11:15 AM
zas
99.97% isn't bad
11:15 AM
samj1912
keepup percent?
11:16 AM
samj1912 makes a couple of reqs to test.mb
11:16 AM
lol, it doesn't even show up on the graph :P
11:17 AM
11:17 AM
zas: ^ ?
11:17 AM
lol :P
11:18 AM
zas
euh?
11:18 AM
samj1912
I made too many reqs through test.mb :P
11:18 AM
zas
np :)
11:18 AM
samj1912
so, how do we test this? :P
11:18 AM
beta? :P
11:19 AM
even that has like 1-2 reqs/s
11:19 AM
meanwhile lets setup the security?
11:20 AM
zas
11:20 AM
Jun 15 13:20:48 solr-lb-1 haproxy[1466]: 138.201.203.28:42882 [15/Jun/2018:13:20:48.565] http-in servers/mb-solr-1 0/0/0/76/76 200 30581 - - ---- 0/0/0/0/0 0/0 "GET /solr/recording/basic?q=rose&start=0&rows=25&wt=mbjson HTTP/1.1"
11:21 AM
76ms
11:21 AM
Jun 15 13:21:14 solr-lb-1 haproxy[1466]: 138.201.203.28:42948 [15/Jun/2018:13:21:14.863] http-in servers/mb-solr-2 0/0/0/97/97 200 30875 - - ---- 0/0/0/0/0 0/0 "GET /solr/recording/basic?q=rose&start=0&rows=25&wt=mbjson HTTP/1.1"
11:21 AM
samj1912
hmm
11:21 AM
zas
97ms on solr2
11:22 AM
Leo__Verto joined the channel
11:25 AM
samj1912
zas: how do you wanna do the access control?
11:26 AM
also, are we resizing solr2 and solr3? I wanna point sir to the floating ip
11:26 AM
zas
i think we need to properly set up auth on solr to start with + firewalling
11:26 AM
11:27 AM
so we can keep authentified access (and IP restrictions)
11:27 AM
samj1912
okay
11:27 AM
zas
i'll disallow any direct access to solr nodes
11:27 AM
samj1912
let me try
11:27 AM
wait
11:28 AM
zas
meanwhile i'll rescale solr2 & 3
11:28 AM
samj1912
let me first shut down sir if you are disallowing access
11:28 AM
otherwise we might lose data
11:28 AM
zas
i'll do it later, first i rescale
11:28 AM
samj1912
okay
11:28 AM
zas
i shut down solr3 for rescaling
11:29 AM
samj1912
okay
11:30 AM
zas
rescaling in progress
11:31 AM
samj1912
let me know once its done, I will have to change mem config for solr3
11:39 AM
ruaok
iliekcomputers: I've been thinking about our loggging/sentry setup.
11:40 AM
I think we should brainstorm our setup a little and think up more logging levels and then move all of our error messages to those new log levels.
11:40 AM
for instance, there are problems from scripts that we need to address that are not urgent.
11:41 AM
then we have urgent things like the site being down that we're not getting good notifications on.
11:41 AM
and loads of general info logging.
11:43 AM
github joined the channel
11:43 AM
github
[listenbrainz-server] mayhem closed pull request #393: Improved Spotify Integration (master...improved-embedded-spotify)
https://git.io/vxzhm
11:43 AM
github has left the channel
11:43 AM
ruaok
11:43 AM
I like the first option you proposed to fix the issue.
11:43 AM
when you have a moment from your GSoC work, I would love a PR to make that happen.
11:46 AM
samj1912
okay its up
11:46 AM
zas: wait 5 mins before bringing down solr2
11:46 AM
iliekcomputers
ruaok: the error levels are a good idea , I like it, we don't use warning or critical anywhere, I think.
11:48 AM
samj1912
okay zas you can resize solr2 now
11:48 AM
zas
ok
11:48 AM
yokel has quit
11:48 AM
chhavi_
ruaok: With my skills it will be more than a moment :p But yes, added to my list of to-do :)
11:48 AM
zas
samj1912: in progress
11:49 AM
im' digging haproxy docs to tune config
11:49 AM
samj1912
👍
11:50 AM
zas
i wonder a thing, currently we have pure round robin, but i guess we could take advantage of having queries from same client sticking to one backend server, as it is likely to improve caches efficiency
11:50 AM
samj1912
that was what I was going to ask
11:50 AM
sticky sessions would be nice
11:52 AM
zas
yes, but they involve cookies, and ...
11:52 AM
let me try to see if it works to start with
11:53 AM
samj1912
a responsive balancer would be nice instead of pure round robin
11:54 AM
yokel joined the channel
11:58 AM
ruaok
chhavi_: maybe we can pester Monkey to help... He wants to help...
11:59 AM
samj1912: the loads looked nicely balanced to me. What else do you need?
11:59 AM
samj1912
ruaok: the current stats are phony :P
11:59 AM
0 reqs coming through
11:59 AM
its just avging out last 1k reqs
12:00 PM
we are just configuring the last bits of security for solr
12:00 PM
and then we will deploy it on beta
12:00 PM
its working on test.mb currently
12:01 PM
ruaok
I was talking about the ones from last night...
12:02 PM
samj1912
ah
12:13 PM
pingupingu joined the channel
12:13 PM
zas: its back?
12:14 PM
I resized the heap
12:14 PM
zas
yes, but i'll reboot it soon, after upgrades
12:14 PM
do not work on it yet
12:15 PM
can you do few searchs on test.mb.o ?
12:15 PM
i'm testing something
12:17 PM
few more please
12:17 PM
samj1912
okay
12:18 PM
enough?
12:18 PM
zas
12:18 PM
yes, sticking to solr2
12:18 PM
samj1912
the result cache should have some nice stats