[00:00] <SpamapS> heh.. dylan is at ucla.edu ..probably had to leave to beat traffic :p
[01:00] <_mup_> Bug #949558 was filed: MaaS provider tests fail in clean chroot because of missing SSH key <juju:Triaged by clint-fewbar> < https://launchpad.net/bugs/949558 >
[02:46] <hazmat> SpamapS, what was the key prob?
[02:49] <hazmat> SpamapS, when you say test proposed updates, you mean an additional juju-origin option  translating to?
[02:50] <hazmat> install juju from the proposed repo?
[02:50] <hazmat> er. slice/channel/hot pocket?
[02:50] <_mup_> juju/trunk r475 committed by kapil.thangavelu@canonical.com
[02:50] <_mup_> merge deploy-upgrade. juju deploy now takes an --upgrade flag that will auto increment the charm [r=jimbaker][f=933695]
[02:55] <_mup_> juju/trunk r476 committed by kapil.thangavelu@canonical.com
[02:55] <_mup_> merge env-from-env. the juju environment that the cli acts upon can now be specified from the environment variable JUJU_ENV [r=bcsaller,jimbaker][f=933165]
[06:45] <SpamapS> hazmat: right, we need a proposed origin
[06:45] <SpamapS> hazmat: the ssh problem was that the test suite once again didn't work w/o ~/.ssh/id_*.pub
[08:22] <mariya> hi :))
[08:22] <mariya> is there any one here
[10:34] <imran-uk> hi, i'm following the "try it now" steps on https://juju.ubuntu.com/ but "juju status" keeps timing out. i think it might be because zookeeper is not running. any ideas? zk does not seem to be listed in /etc/init.d and i read docs that it intentially not exposed
[10:47] <fwereade> imran-uk, sorry, I didn't see that; can you tell me a bit more about your setup?
[10:48] <fwereade> imran-uk, am I right in thinking you're running juju on AWS but zookeeper doesn't seem to be running on the instance?
[10:52] <fwereade> imran-uk, just so you know, zk shouldn't be running on your local machine unless you're using the local provider
[10:55] <imran-uk> fwereade, hi - local provider, not ec2 - i'm following this in a virtualbox 11.10 server: https://juju.ubuntu.com/docs/provider-configuration-local.html
[10:55] <imran-uk> zk install segfaulted, i reinstalled. still no joy
[10:55] <fwereade> imran-uk, ah ok
[10:55] <fwereade> imran-uk, crikey, never heard of that before
[10:56] <fwereade> imran-uk, you're quite correct that without zk juju can't do much ;)
[10:56] <fwereade> imran-uk, I don;t suppose you have logs/output of the failure?
[10:56] <imran-uk> could it be memory related? i have spurious "corrupted packet" messages that drop my ssh session. some blogs say its down to lack of memory?
[10:57] <imran-uk> i have output trace/journal of what i'm doing as a textfile. pastebin?
[10:58] <fwereade> imran-uk, yes please
[10:59] <imran-uk> http://pastebin.com/3CJFGNxT
[10:59] <fwereade> imran-uk, I'm afraid I don't know the memory requirements offhand
[10:59] <imran-uk> fwereade, np - let me restart the server with 512M
[10:59] <imran-uk> prolly not any diff, but worth a try
[11:01] <fwereade> imran-uk, one thing I would say is that the very first local provider setup does take a long time
[11:02] <imran-uk> hmm ok, i observed not much happening in top so i reasoned it was good to go
[11:02] <imran-uk> bad assumption?
[11:02] <fwereade> imran-uk, there has been talk of making what's going on much clearer, but I don't think anything's been done about it
[11:02] <fwereade> imran-uk, potentially, a lot of it is just downloading stuff, as I understand it
[11:03] <imran-uk> np - are you one of the developers?
[11:03] <fwereade> imran-uk, yeah, but I haven't worked directly on the lxc stuff
[11:03] <imran-uk> it'd be cool to see it installed wordpress automagically from the charms etc - i spotted a video walkthrough - i'll take a nosey at that
[11:04] <imran-uk> i guess ec2 is the "tried and trusted" method
[11:04] <imran-uk> ?
[11:04] <fwereade> imran-uk, it's definitely the quickest path to up-and-runnung
[11:04] <fwereade> running
[11:04] <imran-uk> one small thing: juju --help spits out help and an error, -h does not but it says --help is legal
[11:05] <fwereade> imran-uk, huh, sounds like a bug to me, I'll try to repro and file one
[11:06] <fwereade> imran-uk, but the local provider is (1) cheaper and (2) in many ways more convenient for playing around with
[11:06] <fwereade> imran-uk, it's just that the first time you start one up it takes ages and I'm not immediately sure how to tell when it's done
[11:06] <imran-uk> yep, deffo.
[11:07] <imran-uk> and juju debug-log uses zk aswell ;-)
[11:07] <fwereade> imran-uk, once it's created the lxc template it's pretty snappy really
[11:07] <fwereade> imran-uk, give me a moment and I'll try to see where it's actually logging to
[11:11] <imran-uk> ok, so on reboot jujo bootstrap now says
[11:11] <imran-uk> /tmp/tmpDVKnWb: line 2: java: command not found
[11:12] <imran-uk> something fundamental wrong here, java missing os not in my path or something. i lost my ssh session while it installed so let me reinstall zk again by aptittude remove/install
[11:12] <imran-uk> pretty sure it pulled in java though...
[11:13] <fwereade> imran-uk, yeah, that sounds very odd
[11:14] <fwereade> imran-uk, figuring out the dependencies is definitely the first order of business; I'll keep trying to figure out what actually kicks off the template creation and what visibility yu can get into it
[11:16] <imran-uk> ok ta. some oddity with java, "java" is not in my path but ubuntu reports it';s in openjdk-6-jre-headless. i can see that package in the zk deps installed list though.
[11:19] <jamespage> imran-uk: sounds like you may have a problem with your java install
[11:19] <jamespage> imran-uk, its managed using the alternatives system
[11:19] <jamespage> imran-uk, /usr/bin/java should be a link - can you check where it points to for me?
[11:20] <imran-uk> jamespage, ok - how do i get going? # update-alternatives --config java
[11:20] <imran-uk> update-alternatives: error: no alternatives for java.
[11:20] <jamespage> imran-uk, update-java-alternatives
[11:20] <imran-uk>  /usr/bin/java not present
[11:20] <jamespage> imran-uk, update-java-alternatives -l to see what the options as
[11:20] <jamespage> are
[11:21] <imran-uk> update-java-alternatives  -a reports no alts for anything
[11:21] <imran-uk> think i'm missing a package? should i install the sun jre?
[11:22] <imran-uk> update-java-alternatives  -l
[11:22] <imran-uk> java-1.6.0-openjdk 1061 /usr/lib/jvm/java-1.6.0-openjdk
[11:23] <imran-uk> little lost here!
[11:23] <imran-uk> brb
[11:30] <fwereade> imran-uk, my memory is refreshed, sorry for the delay: you're absolutely right that you should have a zookeeper running immediately after bootstrap
[11:30] <imran-uk> np, i feel lucky a developer has reponded at all :)
[11:30] <jamespage> imran-uk, update-java-alternatives -s java-1.6.0-openjdk should fix you up
[11:31] <fwereade> imran-uk, you'll see a long delay on your first deploy but juju status should work
[11:31] <fwereade> imran-uk, my pleasure :)
[11:33] <fwereade> imran-uk, while it's deploying, an occasional `ps aux | grep lxc` should at least let you see that *something* is happening
[11:34] <fwereade> imran-uk, once that's done all you should see is an `lxc-start` process with a `-n` arg named after your environment
[11:36] <imran-uk> jamespage, thanks. i did so and the output didn't look promising to me. was hard to interpret.
[11:36] <jamespage> imran-uk, please can you pastebinit
[11:37] <fwereade> imran-uk, btw, I can't seem to repro the --help error, would you pastebin me a transcript please?
[11:37] <imran-uk> http://pastebin.com/DMx2qF4k
[11:38] <fwereade> imran-uk, btw: `sudo apt-get install pastebinit`, it's really handy :)
[11:38] <imran-uk> fwereade, re help - i can no longer repro either. i saw after right after first install of juju
[11:39] <fwereade> imran-uk, odd
[11:40] <jamespage> imran-uk, looks like you Java install is broken - which release of Ubuntu are you using
[11:40] <imran-uk> jamespage, 11.10 server
[11:40] <imran-uk> i686
[11:41] <jamespage> imran-uk, try 'sudo apt-get install --reinstall default-jre-headless'  might fix things up
[11:41] <jamespage> sorry
[11:41] <jamespage> default-jre-headless -> openjdk-6-jre-headless
[11:42] <imran-uk> no joy :( same as before
[11:43] <imran-uk> have to go soon
[11:46] <imran-uk> right, i have to jet. thanks for help guys, i will stay on channel but /away
[17:01] <arosales> Juju  Charm School Webinar now starting ( ref = http://cloud.ubuntu.com/2012/02/juju-charm-school-webinar-march-8th/)
[17:02] <robbiew> http://www.brighttalk.com/webcast/6793/41933
[17:02] <robbiew> direct link ^
[17:46] <andrewsmedina> hi
[17:46] <andrewsmedina> can I execute a juju hook manually?
[17:48] <m_3> andrewsmedina: not at the moment... heated debate in the juju mailing list
[17:58] <med_> jcastro, SpamapS : what's the twitter tag for charm school stuff? #juju  (#charmschool seems to refer to a tv show.)
[17:58] <axisys> med_: thanks
[17:58] <axisys> thanks a lot!
[17:59] <carif_> jcastro, nice job on the presentation
[17:59] <philipballew> Nice!
[18:00] <yolanda> thanks for all!
[18:01] <negronjl> jcastro, SpamapS: great job on the webinar guys !!
[18:01] <arosales> SpamapS: and jcastro: Thanks for the juju webinar :-)
[18:01] <SpamapS> negronjl: thanks
[18:02] <pkimber> Thank you
[18:02] <jcastro> thanks everyone for showing up!
[18:04] <axisys> jcastro: thank you
[18:05] <jcastro> we're available to answer questions here in IRC if you want to keep asking!
[18:07] <ejat> where to get access n secret key if using trystack ?
[18:14] <philipballew> Now I know it was mentioned that if you see a piece of software that does not have a juju charm, that someone should write it, however, is there a list of charms that need to be made, or would be more desirable then others?
[18:19] <axisys> is there a link for installing and managing hadoop ?
[18:20] <m_3> axisys: the story there is changing quite a bit between oneiric to precise
[18:21] <m_3> axisys: for oneiric, https://gist.github.com/1375100
[18:22] <m_3> axisys: and http://markmims.com/cloud/2011/11/08/terasort-ganglia.html
[18:22] <m_3> axisys: but for precise, check out http://bazaar.launchpad.net/~charmers/charms/precise/hadoop/trunk/view/head:/README.rst
[18:22] <axisys> m_3: i was looking for lucid LTS really.. until we jump to next LTS precise :-)
[18:22] <m_3> axisys: this latest is just _awesome_
[18:22] <m_3> lucid might take a little work
[18:23] <m_3> I'm not sure about juju's current status on that
[18:23] <m_3> the hadoop packages are probably old too
[18:23] <axisys> m_3: and since precise is the next LTS.. i probably should just concentrate on that
[18:23] <jcastro> yeah that's why we're starting early
[18:23] <m_3> axisys: I think that'll be easier than trying to get stuff working on lucid
[18:23] <jcastro> to give people time to play with it before LTS
[18:23] <axisys> m_3: so why would one use juju instead of cloudera? my company wants to send me for cloudera training..
[18:24] <m_3> axisys: the hadoop charm currently uses the official bigtop packages
[18:24] <m_3> I think the cdh one's will be in a ppa
[18:25] <m_3> axisys: the charm will let you choose during deployment
[18:25] <axisys> ok.. i am still to cloud management.. but why would one use juju instead of cdh.. or do they complement each other ?
[18:25] <m_3> but we'll have hbase et al in there too
[18:25] <m_3> oh, sorry... I meant versions of hadoop.. bigtop(horton) and cloudera(cdh)
[18:26] <m_3> one juju charm will let you choose
[18:26] <axisys> oh ok
[18:35] <m_3> axisys: sorry, got a call... does that make sense?  So you'd use juju to deploy a hadoop cluster.  Juju will let you choose to use the cloudera packaged versions if you'd like.  I'd recommend juju over other deployment methods just because it's dead simple.
[18:36] <axisys> m_3: ok.. i will give it a try
[18:37] <m_3> axisys: awesome... feel free to ping me here with questions!
[18:37] <axisys> m_3: cool.. i sure will.. thanks
[20:49] <adam_g> hazmat: heya, any ETA on the feature described @ https://lists.ubuntu.com/archives/juju/2012-March/001342.html ?
[20:49] <adam_g> i just hit something that would be solved with the ability to do what you describe there
[21:04] <philipballew> THe getting started guide states that "A prerequisite is the access credentials to a dedicated computing environment such as what is offered by a virtualized cloud hosting environment." Does that mean that I can not make charms on my laptop or home server, or is this referring to running juju charms?
[21:08] <SpamapS> adam_g: AFAIK, jimbaker has been working on the more limited scope version
[21:08] <SpamapS> philipballew: you can use the local provider and run charms on a single machine
[21:08] <SpamapS> philipballew: that may need some softening
[21:08]  * SpamapS runs off to handle errands bbl
[21:09]  * philipballew attempts to learn how to build a charm 
[21:35] <jcastro> philipballew: you can use LXC locally
[21:36] <jcastro> http://askubuntu.com/questions/65359/how-do-i-configure-juju-for-local-usage
[21:36] <philipballew> thanks jcastro this fits me perfectly!
[21:37] <jcastro> hey hazmat: http://askubuntu.com/questions/111278/what-does-the-term-juju-trunk-mean
[21:37]  * philipballew high fives jcastro 
[21:37] <jcastro> it looks like you need to update the documentation
[21:37] <jcastro> philipballew: o/
[21:37] <jcastro> philipballew: watch as I trick hazmat to update this document ....
[21:37] <jcastro> philipballew: so my half answer to that question
[21:38] <jcastro> you don't need to be in juju trunk or anything
[21:38] <jcastro> just one directory up from where oneiric/mysql/ will be
[21:38] <jcastro> I made a ~charms directory
[21:38] <jcastro> and in there I have oneiric/mysql, oneiric/postgresql, etc.
[21:41] <philipballew> Thank seems to make sence jcastro I'll watch all those online videos as well. Try to make sure I have all the prerequisites cleared out of the way and understood.
[21:42] <jcastro> our entry docs suck, we need a docs day
[21:44] <philipballew> yeah, I am kinda having struggle my way though, there are unexplained terms. Its hard to start working with juju with no juju experience just via reading the docs. Thats why there's Google then askubuntu
[21:45] <jcastro> yeah we didn't really set you up for success here
[21:45] <jcastro> but we'll power through it and I'll see about having a doc day
[21:46] <philipballew> I'll try to write a charm eventually after I make a noob of myself on the help channels.
[21:59] <jimbaker> adam_g, SpamapS  - this proposal is under review again
[21:59] <jimbaker> but i'm going to let it be reviewed first before resubmitting to the list
[22:00] <jimbaker> it does remove juju do (out of band execution); however, we could try this functionality out easily enough in ju-jujitsu if that makes sense
[22:02] <m_3> jimbaker: +1 for jujujitsu-do
[22:03] <jimbaker> m_3, cool. unless i'm utterly mistaken it's pretty trivial to implement this feature, dangerous or not ;)
[22:10] <adam_g> jimbaker: not sure i follow. by 'out of band' you mean execution from the client side, or the new spec removess the ability for hooks to execution realtion-set on other relations? like kapil's wordpress+db+loadbalancer example
[22:11] <jimbaker> adam_g, the current proposal allows any hook to work with relation hook commands on any relation
[22:12] <jimbaker> what is removed is being able to do this out of a hook, either by the juju admin through the juju cli, or through non hook contexts like cron
[22:12] <jimbaker> adam_g, so the proposed functionality does cover the cases that were brought by SpamapS's relation ordering email for example
[22:13] <jimbaker> adam_g, given that juju do can be readily written against the current python api, we could also experiment with that in ju-jujitsu
[22:14] <jimbaker> note that it only gets interesting once the proposed functionality is written
[22:15] <jimbaker> adam_g, hope that makes sense! the proposal is at https://code.launchpad.net/~jimbaker/juju/enhanced-relation-spec/+merge/95268
[22:24] <adam_g> jimbaker: ah, gotcha. thanks
[23:41] <adam_g> hey, whats the story with: juju.errors.JujuError: No session file specified ? on the bootstrap node, this should end up specified in the agents upstart job that is written via cloud-init, no?