/srv/irclogs.ubuntu.com/2012/07/04/#juju.txt

=== zyga is now known as zyga-afk
* SpamapS is getting even closer to generic monitoring now.. :-D02:25
SpamapSI wonder if there is an open source real user monitoring package02:26
imbrandonyes02:29
imbrandonthe one newrelic uses is open source too02:29
imbrandonthey are all based on the same lib from a google employee02:29
imbrandonSpamapS: there is also jiffy and mod_pagespeed, probably the most used though is the one google analytics and newrelic use called epsiodes http://stevesouders.com/episodes2/04:37
SC-RMI have deployed maas on a server and trying to deploy new servers from this one, but all my new instances have instance-state: unknown06:15
SC-RMany ideas of where and what to look at?06:15
imbrandonall i wanted was a pepsi, just one pepsi, and she wouldent give it to me ...07:57
jamespagebbcmicrocomputer, morning08:47
jamespagemoring all!08:47
bbcmicrocomputerjamespage: morning08:48
jamespagebbcmicrocomputer, fancy having a stab at the solrcloud charm?  Apache just alpha'ed Lucene and Solr 408:48
jamespageand we already have a nice zookeeper charm....08:48
bbcmicrocomputerjamespage: sure, am already working on the existing Solr charm to add dynamic core/db hookups08:49
bbcmicrocomputerjamespage: assign the ticket to me :)08:49
jamespagebbcmicrocomputer, bug assigned - have fun!09:24
jamespagelooks interesting09:24
bbcmicrocomputerjamespage: cool, thanks09:24
bbcmicrocomputerjamespage: yeah it's pretty cool being able to distribute Solr.. although they still don't do distributed idf, so you have to be careful how you distribute your documents amongst servers09:26
jamespagebbcmicrocomputer, have you looked at solandra at all?09:28
bbcmicrocomputerjamespage: only briefly09:28
jamespagebbcmicrocomputer, I did a while ago09:29
jamespagebut not recently09:29
jamespageit looking interesting09:29
bbcmicrocomputerjamespage: yeah that is quite cool using the Cassandra backend09:32
jamespagebbcmicrocomputer, the last solr deployment I did had a multi-master configuration across data centres09:32
bbcmicrocomputerjamespage: that is pretty impressive!09:33
jamespagewe ended up using reliable message queues to ensure consistency between active site application and both masters09:33
jamespagebut it was complex09:33
jamespageI think solrcloud and solandra both solve that issue more effectively..09:34
bbcmicrocomputerjamespage: yeah, sounds like it would09:34
freeflyingdoes Juju support use specific instance when deploy a charm09:52
jamespagefreeflying, specific instance or specific instance type?10:21
freeflyingjamespage: instance type I meant, sorry10:22
jamespagefreeflying, in which case the answer is yes10:22
* jamespage digs 'contraints' documentation out10:22
jamespagefreeflying, take a look here - https://juju.ubuntu.com/docs/constraints.html10:23
freeflyingjamespage: saying I want deply hadoop, can I have master deployed with one type, and slave with another type instance?10:23
jamespagefreeflying, yep - take a look at http://markmims.com/cloud/2012/06/04/juju-at-scale.html10:24
jamespagethis is some testing we did with hadoop + juju at scale10:24
jamespagethe master is deployed on m1.large and the slaves on m1.mediums10:24
freeflyingjamespage: yup, just get there, very nice, thanks10:25
jamespagefreeflying, note that we have a few 'hadoop' charms in the charm store ATM10:25
jamespageuse 'hadoop' rather than any of the others - there is a bug outstanding to get that resolved.10:25
jamespagefreeflying, and pester me if you have any issue - I wrote it :-)10:25
freeflyingjamespage: very neat :)10:26
jamespagefreeflying, I need to write an in-depth blog post on using the hadoop charm - the README has quite a bit of info10:27
jamespagehttp://jujucharms.com/charms/precise/hadoop10:28
jamespageit has lots of deployment topologies...10:28
freeflyingjamespage: at first glance, its a complex charm :)10:28
jamespagefreeflying, its certainly more complex than some10:29
jamespageit uses a late binding technique to decide what role a service is playing as its related to other deployments of the hadoop service10:29
freeflyingjamespage: but for many devops, they don;t need dig into the charm itself, just use it, get their workload fullfilled10:30
jamespagefreeflying, +1 to that10:30
freeflyingjamespage: thats the magic of juju :)10:30
jamespageabsolutely10:30
imbrandonfreeflying: wow, long time since I've seen your face round , how ya been :)10:31
imbrandonheya jamespage10:31
jamespageimbrandon, hey - just looking at you nginx charm10:31
freeflyingimbrandon: doing pretty well, how about you10:31
imbrandonjamespage: ahh its ummmm, functional , still many rough edges but i wanted to get others eyes on it10:32
imbrandon:)10:32
imbrandonfreeflying: good good, more juju than kde these days :)10:32
freeflyingimbrandon: yep, some of the irc logs tells that obviously10:33
* imbrandon is actualy writing a proof-of-concept jitsu replacemnt/arch rewrite , heheh dunno how its gonna fly tho10:34
freeflyingimbrandon: it sounds cool10:34
imbrandongonna run it by SpamapS and maybe jamespage this morning and see what they think10:35
imbrandon:)10:35
imbrandonmmmm lp:~imbrandon/+junk/pepsi11:18
imbrandonfooooood time , afk11:19
jamespageimbrandon, what is the container scoped website relation for in the nginx charm?11:38
=== zyga is now known as zyga-afk
=== zyga-afk is now known as zyga
jmlIs there a way I can get a postgresql service to give me a db & creds without a charm that relates to it?12:44
jmlJust wondering if I can spin one up to poke at while I'm figuring some things out12:44
=== salgado is now known as salgado-brb
=== salgado-brb is now known as salgado
hazmatjamespage, there's  a juju-jitsu deploy-to14:16
hazmatoh..14:17
hazmatjamespage, solandra is dead, its folded into datastax enteprise along with brisk14:18
jamespagehazmat, thought it might be14:27
=== zyga is now known as zyga-food
SpamapSjml: you want to run the relation hook without an actual relation?15:00
jmlSpamapS: pretty much, yes.15:00
SpamapSjml: you could deploy a subordinate to the pgsql box .. pgclient or something like that15:00
jmlHmm.15:00
SpamapSjml: seems a bit silly tho.. why not just deploy a dummy charm and simulate w/ debug-hooks?15:00
jmlSpamapS: "just"15:01
SpamapScharm create dummy15:01
SpamapSadd relation15:01
SpamapSdeploy, debug-hooks15:01
jmlSpamapS: I ended up installing postgresql server on my laptop15:01
jmlSpamapS: there's a bunch of stuff on my laptop that would be tedious to move over to a new juju instance15:02
SpamapSjml: bind mount in the LXC might help.. right?15:05
jmlSpamapS: yeah.15:08
jmlSpamapS: although my original motivation was convenience (hey, juju makes it easy for me to set up a throw-away postgres db, right?). as is, it's turned out to be less convenient.15:10
jmlSpamapS: which isn't such a big deal. it's probably just not the right tool for the job.15:10
SpamapSwhy did it turn out to be less convenient?15:14
SpamapSjml: was it just less convenient because you couldn't type 'sudo su postgres' to become the admin?15:15
jml'sagi -y postgresql; sudo -u postgres createuser -s -d jml; sudo -u postgres createdb -O jml udd'15:16
SpamapSjml: because 'juju ssh postgres/0 -t sudo su - postgres' is about the same :)15:16
SpamapSjml: indeed, that is easier if you don't mind having it native and such15:16
jmlSpamapS: right. I don't mind having it native. I'd prefer not to, but I can live with it. I certainly prefer it to having the *client* machine being another instance, which involves all sorts of tedious copying of source and data files.15:17
jmlor worse, remote editing15:17
SpamapSright forget the client being a juju box..15:18
SpamapSjml: I think just deploying, and running the same sudo stuff via juju ssh is fine15:19
=== salgado is now known as salgado-lunch
hazmatjml, you can invoke a relation hook in a non relation hook context, but outside of any hook context?16:39
hazmatoh.. you want the data16:40
=== fenris is now known as Guest37369
=== zyga-food is now known as zyga-afk
=== salgado-lunch is now known as salgado
=== almaisan-away is now known as al-maisan
=== al-maisan is now known as almaisan-away
=== Leseb_ is now known as Leseb
SpamapShrm.. config-get seems to have no way to print out an empty string properly22:43
SpamapSif I specify a single value that is an empty string it should just print the string of bytes, not ''22:43

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!