10:10 AM
warp
two my $sizes
10:10 AM
I guess I can just remove the second 'my'
10:11 AM
ocharles
I'll read it as 'let urlSize = maybe mempty ('-' : ) size' and it's less scary
10:11 AM
:P
10:12 AM
warp
oh, I'll name it urlsize then. slightly less confusing.
10:13 AM
ocharles
or just sprintf to form the url
10:13 AM
then you get: sprintf "http://ueauea/mbid-%s%s.%s", $mbid, defined($size) ? .., $suffix
10:13 AM
which also requires less munging
10:14 AM
warp
I agree that's prettier.
10:15 AM
(but I pushed the urlsize variant)
10:15 AM
10:16 AM
ocharles
warp: i'm happy with that
10:16 AM
warp merges
10:16 AM
ruaok:
10:16 AM
[2013-07-18T10:16:17+00:00] INFO: Processing service[postgresql] action enable (postgresql::default line 20)
10:16 AM
[2013-07-18T10:16:17+00:00] INFO: Processing service[postgresql] action start (postgresql::default line 20)
10:16 AM
[2013-07-18T10:16:17+00:00] INFO: Processing service[postgresql] action reload (postgresql::default line 20)
10:16 AM
[2013-07-18T10:16:18+00:00] INFO: service[postgresql] reloaded
10:16 AM
which is indeed wrong
10:16 AM
it does appear that postgresql doesn't start, it only reloads
10:17 AM
hmm no, pg is running fine
10:17 AM
odd
10:17 AM
ruaok
mine was running too
10:17 AM
warp
hrm, I get no route to host trying to get to hobbes.
10:18 AM
ocharles
warp: I did get a nagios that hobbes was unreachable recently
10:18 AM
evidently, that was not one to ignore
10:18 AM
ruaok
should I call in a reboot?
10:19 AM
warp
I didn't realize we already moved all the important bits off it, because I haven't seen anyone complaining here :)
10:19 AM
ruaok
jesus kept complaining.
10:19 AM
reosarevok
Isn't that always true? :p
10:19 AM
warp
ruaok: yes, I cannot ssh into the machine from lenny and such.
10:19 AM
ruaok
srsly
10:20 AM
ocharles
no, jesus is complaining because i turned off
test.mb.org
10:21 AM
when i upgraded to pg 9.1
10:21 AM
i wondered if anyone would notice :)
10:21 AM
I didn't intend to entirely nuke hobbes :)
10:21 AM
warp
ocharles: hm, CAA-indexer doesn't have an origin, can I rename the github remote?
10:22 AM
ocharles
yes please
10:22 AM
that confused me
10:23 AM
ruaok
ok, reboot ordered, but apparently they are fighting some other fires too.
10:23 AM
ping me in 10 if its not back.
10:24 AM
warp
ruaok: ok, there's no hurry. I don't need it for anything.
10:24 AM
ruaok
k
10:25 AM
warp
ocharles: caa-indexer updated and restarted
10:25 AM
ocharles
warp: goodo
10:25 AM
try and index something with a png
10:26 AM
yay, my caa-indexer VM came up and has a rabbitmq with all the right queues and exchanges
10:30 AM
warp
10:32 AM
ocharles
woohoo. and how does it look on mb.org?
10:34 AM
warp
looks good afaics
10:35 AM
10:36 AM
nikki
10:36 AM
Leftmost joined the channel
10:36 AM
reosarevok
\o/
10:36 AM
ocharles
firefox seems to be happy it is indeed a png
10:37 AM
that album looks awful, too
10:37 AM
:P
10:37 AM
warp
alright, for reindexing already submitted .png/.gif images. can I just make a list, and munge that into a SELECT pgq.insert_event() statements in a .sql file, and source that on totoro?
10:38 AM
ocharles
just run 'SELECT pgq.insert_event(..) FROM release JOIN whatever WHERE foo' and run that on totoro
10:38 AM
that call will run in a few ms
10:38 AM
and then the indexer will do its thing
10:38 AM
warp
ah, ok
10:40 AM
oh it's only 43 releases.
10:41 AM
nikki
yeah, I discouraged people from going nuts because of the thumbnails and the fact the images don't work at all on the main servers right now :P
10:42 AM
warp
done
10:44 AM
10:46 AM
djce joined the channel
10:47 AM
ocharles: shall I merge the trigger changes into master now? (considering that has already been deployed to production).
10:47 AM
ocharles
warp: yea, master or beta
10:51 AM
warp
oh yes, it has to beta, it is branched off of beta.
11:02 AM
ruaok joined the channel
11:02 AM
ruaok joined the channel
11:07 AM
ruaok
gah.
11:07 AM
I think the AC in my office is making me ill.
11:07 AM
went to office, starting feeling bad. went home, feeling better.
11:07 AM
ocharles
i'm not feeling too perky today
11:08 AM
at least you have AC though, the lack of that is why i feel off
11:09 AM
ruaok
well, when I've sat in the office without AC, I was fine.
11:09 AM
so, no I have no AC. :(
11:09 AM
which may drive me to rent an office here, outside of MTG.
11:10 AM
ocharles
you don't think you will adapt to the ac then?
11:10 AM
outsidecontext joined the channel
11:10 AM
ruaok
I have no problems with AC. the office in cali had great AC.
11:10 AM
I suspect that there is mold in the AC system here.
11:10 AM
and that everytime I turn it on, I get blasted with mold spores.
11:10 AM
ocharles
i know
11:10 AM
i meant adapting to that bit
11:11 AM
ruaok
not something I want to adapt to. mold can be really bad for you.
11:11 AM
ocharles nods
11:11 AM
and in the last working week, we've lost quite a bit of working time to being mysteriously ill.
11:11 AM
and I'm quite done with that, honestly.
11:12 AM
anyways, I'm back home where I have a working vagrant install. I'll keep working on it.
11:12 AM
ocharles
understandably
11:12 AM
mjjc joined the channel
11:23 AM
andreypopp joined the channel
11:24 AM
ruaok
ocharles: any idea on this one?
11:24 AM
11:29 AM
ocharles
Are you trying to run a bash script?
11:29 AM
I've seen this when a bash script fails to exit with 0
11:29 AM
it's an extremely useless stack trace, and I can't figure out why we get one like that
11:30 AM
ruaok
while running vagaran provision
11:30 AM
*vagrant
11:30 AM
ocharles
yea, but presumably you have a bash script in one of the recipes you're running
11:31 AM
ruaok
Not really.
11:32 AM
I've been whittling my default.rb down to noting and finally got to this:
11:32 AM
package "openjdk-7-jre"
11:32 AM
and it still fails.
11:33 AM
and even when I remove chef.add_recipe "search-server" from Vagrantfile it still fails.
11:33 AM
ocharles
paste your Vagrantfile
11:33 AM
the most minimal one you've got it to fail on
11:34 AM
ruaok
ok, let me work on whittling that down.
11:34 AM
ocharles
I think maybe you're using something that depends on an attribute that's not set
11:34 AM
ruaok
I've undone all of my changes now, I think.
11:39 AM
this is the most minimal one that fails:
11:39 AM
11:40 AM
if I remove "chef.add_recipe "virtualmachine"" then I get [default] Warning: Chef solo run list is empty. This may not be what you want.
11:40 AM
ocharles
right
11:41 AM
nikki
nikki has changed the topic to: agenda: questions on reviews, MBS-3841 (nikki), sortnames (nikki)
11:41 AM
ocharles
you have a cookbooks/virtualmachine folder?
11:42 AM
ruaok
yes with recipes/default.rb
11:42 AM
ocharles
did you write that yourself? i can't see it on github
11:42 AM
ruaok
no
11:42 AM
is this more of the submodules hell?
11:43 AM
ocharles
what is git-status on vagrant-images
11:43 AM
and what is git rev-parse HEAD
11:43 AM
ruaok
# Your branch is ahead of 'origin/master' by 28 commits.
11:43 AM
# modified: musicbrainz-server/Vagrantfile
11:43 AM
2834095
11:44 AM
ocharles
ok, have you modified the cookbooks project at all?
11:44 AM
and I don't know what 2834095 is, so I guess you've commited
11:44 AM
ruaok
yes, I added the search-server subdir
11:44 AM
ocharles
ok
11:45 AM
ruaok
yes, its a local commit on my forked repo
11:45 AM
ocharles
go into the cookbooks directory, and git rev-parse HEAD there
11:45 AM
ok
11:45 AM
when did you make this commit?
11:45 AM
ruaok
ef94b90f94b
11:45 AM
ocharles
i've ripped vagrantimages apart quite a lot when i was getting ready to review
11:45 AM
so I think you may have branched off something that no longer exists
11:45 AM
ruaok
yes, I've gotten that feeling.
11:46 AM
something has been quite odd.
11:46 AM
I'd start over again, but then I would have to wait to build the VM and import the data again.
11:46 AM
reluctant to do that, but if I have to...
11:46 AM
ocharles
no, you don't need to do that
11:46 AM
we just need to get you on the right commits
11:46 AM
ruaok
guide me obi-wan!
11:46 AM
ocharles
first, lets do vagrant-images
11:47 AM
you have a single commit, or multiple commits?
11:47 AM
(of your own work)
11:47 AM
marcooliveira joined the channel