/srv/irclogs.ubuntu.com/2012/03/08/#juju.txt

SpamapSheh.. dylan is at ucla.edu ..probably had to leave to beat traffic :p00:00
=== flaviamissi_ is now known as flaviamissi
_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 >01:00
=== Guest8646 is now known as jrgifford
hazmatSpamapS, what was the key prob?02:46
hazmatSpamapS, when you say test proposed updates, you mean an additional juju-origin option  translating to?02:49
hazmatinstall juju from the proposed repo?02:50
hazmater. slice/channel/hot pocket?02:50
_mup_juju/trunk r475 committed by kapil.thangavelu@canonical.com02:50
_mup_merge deploy-upgrade. juju deploy now takes an --upgrade flag that will auto increment the charm [r=jimbaker][f=933695]02:50
_mup_juju/trunk r476 committed by kapil.thangavelu@canonical.com02: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]02:55
=== hspencer is now known as hspencer[afk]
=== philipballew is now known as hello_my_name_is
=== hello_my_name_is is now known as philipballew
SpamapShazmat: right, we need a proposed origin06:45
SpamapShazmat: the ssh problem was that the test suite once again didn't work w/o ~/.ssh/id_*.pub06:45
=== almaisan-away is now known as al-maisan
=== al-maisan is now known as almaisan-away
=== almaisan-away is now known as al-maisan
=== al-maisan is now known as almaisan-away
mariyahi :))08:22
mariyais there any one here08:22
imran-ukhi, 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 exposed10:34
fwereadeimran-uk, sorry, I didn't see that; can you tell me a bit more about your setup?10:47
fwereadeimran-uk, am I right in thinking you're running juju on AWS but zookeeper doesn't seem to be running on the instance?10:48
fwereadeimran-uk, just so you know, zk shouldn't be running on your local machine unless you're using the local provider10:52
imran-ukfwereade, hi - local provider, not ec2 - i'm following this in a virtualbox 11.10 server: https://juju.ubuntu.com/docs/provider-configuration-local.html10:55
imran-ukzk install segfaulted, i reinstalled. still no joy10:55
fwereadeimran-uk, ah ok10:55
fwereadeimran-uk, crikey, never heard of that before10:55
fwereadeimran-uk, you're quite correct that without zk juju can't do much ;)10:56
fwereadeimran-uk, I don;t suppose you have logs/output of the failure?10:56
imran-ukcould 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:56
imran-uki have output trace/journal of what i'm doing as a textfile. pastebin?10:57
fwereadeimran-uk, yes please10:58
imran-ukhttp://pastebin.com/3CJFGNxT10:59
fwereadeimran-uk, I'm afraid I don't know the memory requirements offhand10:59
imran-ukfwereade, np - let me restart the server with 512M10:59
imran-ukprolly not any diff, but worth a try10:59
fwereadeimran-uk, one thing I would say is that the very first local provider setup does take a long time11:01
imran-ukhmm ok, i observed not much happening in top so i reasoned it was good to go11:02
imran-ukbad assumption?11:02
fwereadeimran-uk, there has been talk of making what's going on much clearer, but I don't think anything's been done about it11:02
fwereadeimran-uk, potentially, a lot of it is just downloading stuff, as I understand it11:02
imran-uknp - are you one of the developers?11:03
fwereadeimran-uk, yeah, but I haven't worked directly on the lxc stuff11:03
imran-ukit'd be cool to see it installed wordpress automagically from the charms etc - i spotted a video walkthrough - i'll take a nosey at that11:03
imran-uki guess ec2 is the "tried and trusted" method11:04
imran-uk?11:04
fwereadeimran-uk, it's definitely the quickest path to up-and-runnung11:04
fwereaderunning11:04
imran-ukone small thing: juju --help spits out help and an error, -h does not but it says --help is legal11:04
fwereadeimran-uk, huh, sounds like a bug to me, I'll try to repro and file one11:05
fwereadeimran-uk, but the local provider is (1) cheaper and (2) in many ways more convenient for playing around with11:06
fwereadeimran-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 done11:06
imran-ukyep, deffo.11:06
imran-ukand juju debug-log uses zk aswell ;-)11:07
fwereadeimran-uk, once it's created the lxc template it's pretty snappy really11:07
fwereadeimran-uk, give me a moment and I'll try to see where it's actually logging to11:07
imran-ukok, so on reboot jujo bootstrap now says11:11
imran-uk/tmp/tmpDVKnWb: line 2: java: command not found11:11
imran-uksomething 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/install11:12
imran-ukpretty sure it pulled in java though...11:12
fwereadeimran-uk, yeah, that sounds very odd11:13
fwereadeimran-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 it11:14
imran-ukok 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:16
jamespageimran-uk: sounds like you may have a problem with your java install11:19
jamespageimran-uk, its managed using the alternatives system11:19
jamespageimran-uk, /usr/bin/java should be a link - can you check where it points to for me?11:19
imran-ukjamespage, ok - how do i get going? # update-alternatives --config java11:20
imran-ukupdate-alternatives: error: no alternatives for java.11:20
jamespageimran-uk, update-java-alternatives11:20
imran-uk /usr/bin/java not present11:20
jamespageimran-uk, update-java-alternatives -l to see what the options as11:20
jamespageare11:20
imran-ukupdate-java-alternatives  -a reports no alts for anything11:21
imran-ukthink i'm missing a package? should i install the sun jre?11:21
imran-ukupdate-java-alternatives  -l11:22
imran-ukjava-1.6.0-openjdk 1061 /usr/lib/jvm/java-1.6.0-openjdk11:22
imran-uklittle lost here!11:23
imran-ukbrb11:23
fwereadeimran-uk, my memory is refreshed, sorry for the delay: you're absolutely right that you should have a zookeeper running immediately after bootstrap11:30
imran-uknp, i feel lucky a developer has reponded at all :)11:30
jamespageimran-uk, update-java-alternatives -s java-1.6.0-openjdk should fix you up11:30
fwereadeimran-uk, you'll see a long delay on your first deploy but juju status should work11:31
fwereadeimran-uk, my pleasure :)11:31
fwereadeimran-uk, while it's deploying, an occasional `ps aux | grep lxc` should at least let you see that *something* is happening11:33
fwereadeimran-uk, once that's done all you should see is an `lxc-start` process with a `-n` arg named after your environment11:34
imran-ukjamespage, thanks. i did so and the output didn't look promising to me. was hard to interpret.11:36
jamespageimran-uk, please can you pastebinit11:36
fwereadeimran-uk, btw, I can't seem to repro the --help error, would you pastebin me a transcript please?11:37
imran-ukhttp://pastebin.com/DMx2qF4k11:37
fwereadeimran-uk, btw: `sudo apt-get install pastebinit`, it's really handy :)11:38
imran-ukfwereade, re help - i can no longer repro either. i saw after right after first install of juju11:38
fwereadeimran-uk, odd11:39
jamespageimran-uk, looks like you Java install is broken - which release of Ubuntu are you using11:40
imran-ukjamespage, 11.10 server11:40
imran-uki68611:40
jamespageimran-uk, try 'sudo apt-get install --reinstall default-jre-headless'  might fix things up11:41
jamespagesorry11:41
jamespagedefault-jre-headless -> openjdk-6-jre-headless11:41
imran-ukno joy :( same as before11:42
imran-ukhave to go soon11:43
imran-ukright, i have to jet. thanks for help guys, i will stay on channel but /away11:46
=== almaisan-away is now known as al-maisan
=== al-maisan is now known as almaisan-away
=== fenris is now known as Guest71737
=== Guest71737 is now known as ejat
=== fenris_ is now known as Guest47985
arosalesJuju  Charm School Webinar now starting ( ref = http://cloud.ubuntu.com/2012/02/juju-charm-school-webinar-march-8th/)17:01
robbiewhttp://www.brighttalk.com/webcast/6793/4193317:02
robbiewdirect link ^17:02
andrewsmedinahi17:46
andrewsmedinacan I execute a juju hook manually?17:46
m_3andrewsmedina: not at the moment... heated debate in the juju mailing list17:48
med_jcastro, SpamapS : what's the twitter tag for charm school stuff? #juju  (#charmschool seems to refer to a tv show.)17:58
axisysmed_: thanks17:58
axisysthanks a lot!17:58
carif_jcastro, nice job on the presentation17:59
philipballewNice!17:59
yolandathanks for all!18:00
negronjljcastro, SpamapS: great job on the webinar guys !!18:01
arosalesSpamapS: and jcastro: Thanks for the juju webinar :-)18:01
SpamapSnegronjl: thanks18:01
pkimberThank you18:02
jcastrothanks everyone for showing up!18:02
axisysjcastro: thank you18:04
jcastrowe're available to answer questions here in IRC if you want to keep asking!18:05
ejatwhere to get access n secret key if using trystack ?18:07
philipballewNow 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:14
axisysis there a link for installing and managing hadoop ?18:19
m_3axisys: the story there is changing quite a bit between oneiric to precise18:20
m_3axisys: for oneiric, https://gist.github.com/137510018:21
m_3axisys: and http://markmims.com/cloud/2011/11/08/terasort-ganglia.html18:22
m_3axisys: but for precise, check out http://bazaar.launchpad.net/~charmers/charms/precise/hadoop/trunk/view/head:/README.rst18:22
axisysm_3: i was looking for lucid LTS really.. until we jump to next LTS precise :-)18:22
m_3axisys: this latest is just _awesome_18:22
m_3lucid might take a little work18:22
m_3I'm not sure about juju's current status on that18:23
m_3the hadoop packages are probably old too18:23
axisysm_3: and since precise is the next LTS.. i probably should just concentrate on that18:23
jcastroyeah that's why we're starting early18:23
m_3axisys: I think that'll be easier than trying to get stuff working on lucid18:23
jcastroto give people time to play with it before LTS18:23
axisysm_3: so why would one use juju instead of cloudera? my company wants to send me for cloudera training..18:23
m_3axisys: the hadoop charm currently uses the official bigtop packages18:24
m_3I think the cdh one's will be in a ppa18:24
m_3axisys: the charm will let you choose during deployment18:25
axisysok.. i am still to cloud management.. but why would one use juju instead of cdh.. or do they complement each other ?18:25
m_3but we'll have hbase et al in there too18:25
m_3oh, sorry... I meant versions of hadoop.. bigtop(horton) and cloudera(cdh)18:25
m_3one juju charm will let you choose18:26
axisysoh ok18:26
m_3axisys: 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:35
axisysm_3: ok.. i will give it a try18:36
m_3axisys: awesome... feel free to ping me here with questions!18:37
axisysm_3: cool.. i sure will.. thanks18:37
adam_ghazmat: heya, any ETA on the feature described @ https://lists.ubuntu.com/archives/juju/2012-March/001342.html ?20:49
adam_gi just hit something that would be solved with the ability to do what you describe there20:49
philipballewTHe 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:04
SpamapSadam_g: AFAIK, jimbaker has been working on the more limited scope version21:08
SpamapSphilipballew: you can use the local provider and run charms on a single machine21:08
SpamapSphilipballew: that may need some softening21:08
* SpamapS runs off to handle errands bbl21:08
* philipballew attempts to learn how to build a charm 21:09
jcastrophilipballew: you can use LXC locally21:35
jcastrohttp://askubuntu.com/questions/65359/how-do-i-configure-juju-for-local-usage21:36
philipballewthanks jcastro this fits me perfectly!21:36
jcastrohey hazmat: http://askubuntu.com/questions/111278/what-does-the-term-juju-trunk-mean21:37
* philipballew high fives jcastro 21:37
jcastroit looks like you need to update the documentation21:37
jcastrophilipballew: o/21:37
jcastrophilipballew: watch as I trick hazmat to update this document ....21:37
jcastrophilipballew: so my half answer to that question21:37
jcastroyou don't need to be in juju trunk or anything21:38
jcastrojust one directory up from where oneiric/mysql/ will be21:38
jcastroI made a ~charms directory21:38
jcastroand in there I have oneiric/mysql, oneiric/postgresql, etc.21:38
philipballewThank 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:41
jcastroour entry docs suck, we need a docs day21:42
philipballewyeah, 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 askubuntu21:44
jcastroyeah we didn't really set you up for success here21:45
jcastrobut we'll power through it and I'll see about having a doc day21:45
philipballewI'll try to write a charm eventually after I make a noob of myself on the help channels.21:46
jimbakeradam_g, SpamapS  - this proposal is under review again21:59
jimbakerbut i'm going to let it be reviewed first before resubmitting to the list21:59
jimbakerit does remove juju do (out of band execution); however, we could try this functionality out easily enough in ju-jujitsu if that makes sense22:00
m_3jimbaker: +1 for jujujitsu-do22:02
jimbakerm_3, cool. unless i'm utterly mistaken it's pretty trivial to implement this feature, dangerous or not ;)22:03
adam_gjimbaker: 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 example22:10
jimbakeradam_g, the current proposal allows any hook to work with relation hook commands on any relation22:11
jimbakerwhat 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 cron22:12
jimbakeradam_g, so the proposed functionality does cover the cases that were brought by SpamapS's relation ordering email for example22:12
jimbakeradam_g, given that juju do can be readily written against the current python api, we could also experiment with that in ju-jujitsu22:13
jimbakernote that it only gets interesting once the proposed functionality is written22:14
jimbakeradam_g, hope that makes sense! the proposal is at https://code.launchpad.net/~jimbaker/juju/enhanced-relation-spec/+merge/9526822:15
adam_gjimbaker: ah, gotcha. thanks22:24
adam_ghey, 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?23:41

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