13:13 PM
samphippen
I did not pay for *one thing* while I was there
2015-09-28 27109, 2015
13:14 PM
samphippen
(they even covered my flights :O)
2015-09-28 27116, 2015
13:14 PM
alastairp
instead you payed for 10000 things!
2015-09-28 27124, 2015
13:14 PM
ruaok
good deal. that was my arrangement too when I went there.
2015-09-28 27125, 2015
13:14 PM
samphippen
:D
2015-09-28 27136, 2015
13:14 PM
ruaok
but to get a souvenir for my mom was... ugh.
2015-09-28 27138, 2015
13:14 PM
samphippen
now I'm geocoding ~600,000 addresses for a client
2015-09-28 27122, 2015
13:24 PM
samphippen has quit
2015-09-28 27131, 2015
13:24 PM
samphipp_ joined the channel
2015-09-28 27102, 2015
13:32 PM
Mogmi_ is now known as Momgi
2015-09-28 27108, 2015
13:32 PM
Momgi is now known as Mogmi
2015-09-28 27148, 2015
13:35 PM
ruaok
zas: hypnocat is making me ill. :(
2015-09-28 27112, 2015
13:36 PM
alastairp
samphipp_: got 5 minutes to pair on a flask question?
2015-09-28 27119, 2015
13:36 PM
samphipp_
sure
2015-09-28 27121, 2015
13:36 PM
samphipp_ is now known as samphippen
2015-09-28 27138, 2015
13:36 PM
alastairp
2015-09-28 27155, 2015
13:36 PM
alastairp
it seems that one recommendation is to put your current session's connection in flask.g
2015-09-28 27123, 2015
13:37 PM
alastairp
but that doesn't help if 1) you also want to use stuff from a command line program, 2) you want to isolate your db models/functions to not rely on flask
2015-09-28 27100, 2015
13:38 PM
zas
ruaok: this cat is overpowered imho
2015-09-28 27107, 2015
13:38 PM
alastairp
I'm trying to work out a compromise that lets me use my same database access package from cli or flask
2015-09-28 27116, 2015
13:38 PM
ruaok nods
2015-09-28 27143, 2015
13:38 PM
alastairp
2015-09-28 27144, 2015
13:39 PM
alastairp
2015-09-28 27112, 2015
13:40 PM
alastairp
I don't want to create a new connection every time I go into a function. ideally it'd happen once at the beginning of a flask request, or script startup
2015-09-28 27141, 2015
13:44 PM
alastairp
I guess I could just have a method in db/__init__ to create a connection and save it to db.connection. then I can call that in @before_request, or at the top of the script
2015-09-28 27121, 2015
13:45 PM
alastairp
that is - almost exactly like what's there already, except I do it per-request instead of per-server isntance
2015-09-28 27122, 2015
13:45 PM
alastairp
instance
2015-09-28 27127, 2015
13:45 PM
alastairp
thanks
2015-09-28 27124, 2015
13:57 PM
alastairp
ruaok: 🍍 it?
2015-09-28 27140, 2015
13:58 PM
ruaok
I'm finding that emoji are a great way of being non-sequitoristic.
2015-09-28 27150, 2015
13:58 PM
ruaok
If that is even a word. ;)
2015-09-28 27133, 2015
14:05 PM
ruaok
zas: you around?
2015-09-28 27149, 2015
14:05 PM
zas
ruaok: yes
2015-09-28 27133, 2015
14:06 PM
ruaok
ok, running the localhost-setup script on all of our servers now.
2015-09-28 27146, 2015
14:06 PM
ruaok
I can run you through our servers as I do that.
2015-09-28 27152, 2015
14:06 PM
ruaok
you can follow along, take notes and see that you can log in.
2015-09-28 27154, 2015
14:06 PM
ruaok
first one
2015-09-28 27158, 2015
14:06 PM
ruaok
2015-09-28 27136, 2015
14:07 PM
ruaok
for each server, make sure you have sudo
2015-09-28 27148, 2015
14:08 PM
ruaok
nagios is hosted at the OSLOSU and is intentionally not hosted at DWNI.
2015-09-28 27156, 2015
14:08 PM
ruaok
so that it can monitor DWNI.
2015-09-28 27125, 2015
14:09 PM
zas
2015-09-28 27148, 2015
14:09 PM
ruaok
2015-09-28 27118, 2015
14:10 PM
zas
yup, ok now, it timed out on first attempt
2015-09-28 27140, 2015
14:10 PM
zas
sudo ok
2015-09-28 27117, 2015
14:11 PM
ruaok
next
2015-09-28 27120, 2015
14:11 PM
ruaok
2015-09-28 27135, 2015
14:11 PM
ruaok
that is our freedb gateway that chirlu` has recently adopted to look after
2015-09-28 27141, 2015
14:11 PM
ruaok hopes it is housebroken
2015-09-28 27113, 2015
14:12 PM
zas
ok ssh + sudo
2015-09-28 27119, 2015
14:14 PM
ruaok
2015-09-28 27124, 2015
14:14 PM
ruaok
our currently active gateway.
2015-09-28 27129, 2015
14:14 PM
ruaok
pair to bert.
2015-09-28 27137, 2015
14:14 PM
ruaok
failover isn't fully setup yet.
2015-09-28 27146, 2015
14:14 PM
ruaok
I want to finish that myself before I hand it over to you.
2015-09-28 27116, 2015
14:15 PM
zas
ok
2015-09-28 27101, 2015
14:16 PM
ruaok
ok, now moving into our hosting setup.
2015-09-28 27117, 2015
14:16 PM
ruaok
have a quick look at syswiki/NetworkTopology.md
2015-09-28 27156, 2015
14:16 PM
reosarevok joined the channel
2015-09-28 27156, 2015
14:16 PM
reosarevok has quit
2015-09-28 27156, 2015
14:16 PM
reosarevok joined the channel
2015-09-28 27131, 2015
14:17 PM
samphipp_ joined the channel
2015-09-28 27108, 2015
14:18 PM
samphippen has quit
2015-09-28 27140, 2015
14:18 PM
ruaok
lb1 and zaphod are aliases for machines.
2015-09-28 27153, 2015
14:18 PM
ruaok
zaphod is the currently active gateway machine.
2015-09-28 27124, 2015
14:19 PM
zas
ok noted
2015-09-28 27107, 2015
14:20 PM
ruaok
internally we have our own DNS server.
2015-09-28 27116, 2015
14:20 PM
ruaok
with its own TLD: .mb
2015-09-28 27119, 2015
14:20 PM
ruaok
ssh scooby.mb
2015-09-28 27123, 2015
14:20 PM
ruaok
works from ernie/bert
2015-09-28 27104, 2015
14:21 PM
zas
scooby asks a password atm
2015-09-28 27132, 2015
14:21 PM
ruaok
yeah, I'm still working on scooby, sorry.
2015-09-28 27137, 2015
14:21 PM
ruaok
scooby is special.
2015-09-28 27139, 2015
14:21 PM
zas
np ;)
2015-09-28 27141, 2015
14:21 PM
samphipp_ has quit
2015-09-28 27138, 2015
14:22 PM
ruaok
scooby has been in service continuously since 2006.
2015-09-28 27150, 2015
14:22 PM
ruaok
wrap your head around that.
2015-09-28 27159, 2015
14:22 PM
ruaok
it needs to head to retirement soon.
2015-09-28 27106, 2015
14:23 PM
ruaok
but it sill has stats and FTP on it.
2015-09-28 27155, 2015
14:23 PM
reosarevok
ruaok: did you put up the stuff from this book again?
2015-09-28 27103, 2015
14:24 PM
ruaok
reosarevok: yes
2015-09-28 27106, 2015
14:24 PM
reosarevok
Ok :)
2015-09-28 27118, 2015
14:24 PM
ruaok
zas: scooby is so old it won't even run this script.
2015-09-28 27129, 2015
14:24 PM
reosarevok
I guess I'll write to Peter and see what they're thinking of
2015-09-28 27150, 2015
14:24 PM
ruaok
reosarevok: please do.
2015-09-28 27156, 2015
14:24 PM
samphippen joined the channel
2015-09-28 27158, 2015
14:24 PM
ruaok
zas: we'll come back to scooby
2015-09-28 27100, 2015
14:27 PM
ruaok
next: cartman.mb
2015-09-28 27110, 2015
14:27 PM
ruaok
cartman is our index generator for the search indexes.
2015-09-28 27126, 2015
14:27 PM
ruaok
in an endless loop of making indexes and pushing them to our search servers
2015-09-28 27131, 2015
14:28 PM
zas
cartman asks pw too
2015-09-28 27150, 2015
14:28 PM
ruaok
try again
2015-09-28 27153, 2015
14:28 PM
ruaok
the script just finished
2015-09-28 27113, 2015
14:29 PM
samphippen has quit
2015-09-28 27151, 2015
14:30 PM
zas
does the script supposed to add ssh keys on ernie/bert zas/.ssh ? there is none atm
2015-09-28 27128, 2015
14:31 PM
juhae has quit
2015-09-28 27111, 2015
14:32 PM
samphippen joined the channel
2015-09-28 27127, 2015
14:32 PM
ruaok
no, only your public key to authorized_keys
2015-09-28 27134, 2015
14:32 PM
ruaok
we dont have access to your private key.
2015-09-28 27102, 2015
14:34 PM
ruaok
how about cartman now?
2015-09-28 27158, 2015
14:34 PM
zas
still ask pw
2015-09-28 27108, 2015
14:35 PM
ruaok
wiley?
2015-09-28 27127, 2015
14:35 PM
zas
same
2015-09-28 27137, 2015
14:35 PM
ruaok
grrr.
2015-09-28 27145, 2015
14:37 PM
ruaok
zas: on cartman your passwd is "foo"
2015-09-28 27149, 2015
14:37 PM
ruaok
log in and change it.
2015-09-28 27157, 2015
14:37 PM
ruaok
then figure out why your SSH isn't working. :p
2015-09-28 27159, 2015
14:38 PM
ruaok
same thing on wiley.
2015-09-28 27154, 2015
14:40 PM
ruaok waits for zas
2015-09-28 27110, 2015
14:45 PM
regagain joined the channel
2015-09-28 27130, 2015
14:46 PM
zas
i changed passwords, but i didnt figure yet about ssh keys, let's move on, i'll look into that later
2015-09-28 27145, 2015
14:46 PM
ruaok
ok
2015-09-28 27146, 2015
14:46 PM
ruaok
you
2015-09-28 27155, 2015
14:46 PM
ruaok
re in both on wiley and cartman?
2015-09-28 27111, 2015
14:48 PM
zas
i need pass to sudo on cartman
2015-09-28 27151, 2015
14:48 PM
zas
same for wiley
2015-09-28 27126, 2015
14:52 PM
ruaok
try again cartman
2015-09-28 27121, 2015
14:54 PM
zas
ok
2015-09-28 27133, 2015
14:55 PM
ruaok
working?
2015-09-28 27103, 2015
14:57 PM
zas
yes
2015-09-28 27106, 2015
14:57 PM
zas
on cartman
2015-09-28 27115, 2015
14:57 PM
ruaok
ok, try asterix
2015-09-28 27143, 2015
14:57 PM
zas
but wiley still asks a pw to sudo
2015-09-28 27149, 2015
14:58 PM
ruaok
working on that now that cartman is confirmed
2015-09-28 27155, 2015
14:58 PM
zas
asterix asks pw for ssh (same as others).
2015-09-28 27116, 2015
14:59 PM
zas
what are the main roles of wiley and asterix ?
2015-09-28 27139, 2015
14:59 PM
ruaok
try wiley
2015-09-28 27109, 2015
15:00 PM
ruaok
wiley was intended to be a replacement for scooby, but now is as decript as scooby.
2015-09-28 27115, 2015
15:00 PM
ruaok
it runs mail and jira.
2015-09-28 27124, 2015
15:00 PM
ruaok
and git related things that may not be in use anymore
2015-09-28 27134, 2015
15:00 PM
zas
wiley asks pw for sudo
2015-09-28 27105, 2015
15:01 PM
ruaok
thats fine. does it succeed?
2015-09-28 27102, 2015
15:03 PM
zas
yes
2015-09-28 27111, 2015
15:03 PM
ruaok
ok, done then. :)
2015-09-28 27123, 2015
15:03 PM
ruaok
asterix is one of three application servers for mb.
2015-09-28 27133, 2015
15:03 PM
ruaok
four now.
2015-09-28 27141, 2015
15:03 PM
ruaok
lolo, astro and lobe are the others.
2015-09-28 27102, 2015
15:04 PM
ruaok
why in the hell does asterix ask for a passwd?
2015-09-28 27104, 2015
15:04 PM
zas
i figured out about ssh keys, i need to enable ForwardAgent
2015-09-28 27115, 2015
15:04 PM
ruaok
ah
2015-09-28 27120, 2015
15:05 PM
zas
lolo.mb asks for ssh pw, (but not wiley anymore),
2015-09-28 27136, 2015
15:05 PM
ruaok
now you're getting ahead of me.
2015-09-28 27137, 2015
15:05 PM
ruaok
:)
2015-09-28 27145, 2015
15:05 PM
zas
:)
2015-09-28 27146, 2015
15:05 PM
ruaok
asterix sudo ok?
2015-09-28 27105, 2015
15:06 PM
zas
yes
2015-09-28 27126, 2015
15:06 PM
ruaok will proceed down the list
2015-09-28 27129, 2015
15:07 PM
ruaok
hobbes
2015-09-28 27152, 2015
15:07 PM
ruaok
used for jenkins and not much else. it used to be
test.mb.org and we needed a separate machine for it
2015-09-28 27106, 2015
15:08 PM
ruaok
but I didn't want to dedicate a whole server for it, so that is a mac mini.