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

SpamapSLaney: I don't think so..00:07
SpamapSLaney: note that the EC2 API is secure against all but replay attack (and that is mitigated by expiring most commands very soon after they are run)00:08
lifelessserver can do replay detection anyhow00:10
lifelessif we wanted to teach it00:11
SpamapSlifeless: if you +1 this https://code.launchpad.net/~clint-fewbar/juju/docs-clarify-service-name/+merge/104995 I'll just merge it.00:13
lifelesslooking00:20
lifelessI think on line 600:21
Laneyfair00:21
lifelessyou should replace :: with00:21
lifeless\n\nFirst we need a database for wordpress, so we use the optional name parameter to call it wordpress-db::'00:22
lifelessSpamapS: ^ what do you think ?00:22
Laneycan I have a service exposed on an allocated public address?00:23
SpamapSLaney: yes, it will expose the public-address00:24
LaneySpamapS: do I have to give it as a parameter to any command?00:25
SpamapSlifeless: yeah that makes sense. http://paste.ubuntu.com/974771/00:26
lifelessSpamapS: +1 :)01:25
marcoceppiOh crap, shazzner is working on a gitolite charm04:40
popeyyo yo yo04:44
marcoceppio/04:44
marcoceppipopey: did lxc finally get running?04:46
* marcoceppi is lazy04:46
popeymarcoceppi: yes04:57
popeylol04:57
marcoceppiexcellent04:57
popeyhowever...04:58
popeyalan bell is having fun04:58
popeyhe had to reboot his machine04:58
popeynow doesn't know how to start the 3 lxc containers up04:58
marcoceppipopey: that sounds fun...05:11
SpamapSpopey: the incantations for recovery of the lxc containers after reboot has not been fully discovered yet06:03
SpamapSpopey: best to destroy/bootstrap again06:03
marcoceppiSpamapS: that's what we ended up doing. I though LXC could survive reboots, at least it has been for me.06:07
SpamapSmarcoceppi: seeing as zookeeper and the containers are not restarted, thats surprising06:11
SpamapSwhich is particularly problematic as the machine agent *is* started, and spews forth with ridiculous maounts of zk timeouts06:12
marcoceppiSpamapS: happened on my desktop a week ago, did a reboot, came back 5 days later with my disk full06:12
marcoceppiSpamapS: ah, that's why. error log just grew due to timeouts06:13
marcoceppiso, would restarting zookeeper fix that?06:13
SpamapSyes that06:13
SpamapSjust need to restart it w/ the same data dir06:13
SpamapSand then in theory you could start the containers back up and it would all work06:14
SpamapSugh I have to sleep.. have to wake up in 5 hours06:22
marcoceppiSpamapS: see ya o/06:39
_mup_juju/scale-test r538 committed by kapil.thangavelu@canonical.com07:00
_mup_disable extraneous ec2 api usage07:00
popeythanks guys. i had fun playing with juju tonight, looking forward to more playing during breaks and lunch tomorrow :D07:36
=== almaisan-away is now known as al-maisan
bkerensagnight charmers07:58
=== al-maisan is now known as almaisan-away
aboI am trying out juju on my local machine. I have done a bootstrap and then I deploy a mysql charm. However "juju status" just keeps telling me that it is pending. When I look in the output.log for the unit the only info there is "/usr/bin/python: No module named juju.agents"11:57
aboWhen I look in the lxc rootfs for the unit there is no juju python package installed (in /usr/share/pyshared). Is this a bug I should report or am I doing something wrong?11:58
=== phschwartz_ is now known as phschwartz
james_wso what does one do to make a charm subordinate? Is it at creation time or deploy time, or both?15:44
* james_w finds https://juju.ubuntu.com/docs/subordinate-services.html15:47
SpamapSjames_w: we need to improve the tutorial to include a subordinate example.16:00
SpamapSwe also need to update the yaml examples to match the new format16:00
marcoceppio/ SpamapS16:00
james_wSpamapS, also the config.yaml documentation seems outdated?16:00
SpamapSmarcoceppi: join us in junior ballroom 1 .. talking about mysql. :)16:01
james_whttps://bugs.launchpad.net/charms/+bug/88636216:04
_mup_Bug #886362: New charm proposal: txstatsd <Juju Charms Collection:New> < https://launchpad.net/bugs/886362 >16:04
SpamapSjames_w: woot16:05
james_wneed to complete the graphite-web side now16:05
marcoceppiSpamapS: at the Ubuntu Cloud thing :)16:43
koolhead17marcoceppi, you at the cloud summit?16:43
marcoceppikoolhead17: yes16:43
FunnyLookinHatHeyo - was at Charm School last night and was running local juju w/o issue, but all of a sudden today I get this error when I try to bootstrap: "ERROR Unable to create file storage for environment"16:43
koolhead17ok. i will join in afternoon. mysql roundtable talk sounds interesting :)16:44
FunnyLookinHatalso - I'm at the System76 booth in case anyone wants to stop by...  :D16:44
FunnyLookinHatmarcoceppi, any luck with the glusterfs16:44
FunnyLookinHatand a reboot fixed it...16:54
FunnyLookinHat:-/16:54
marcoceppiFunnyLookinHat: nothing like a Windows fix to an Ubuntu glitch :)17:00
jamespageFunnyLookinHat, local juju environments don't recover that well after a reboot17:29
jamespageif you get that again try a 'juju destroy-environment' first - that normally sorts things out..17:29
koolhead17FunnyLookinHat, i think you need to restart to get the networking part working if you using LXC17:33
FunnyLookinHatI destroyed environment and re-did the bootstrap after rebooting - not sure ..17:34
FunnyLookinHatBefore rebooting the bootstrap didn't work right17:34
FunnyLookinHatvery strange indeed.17:34
FunnyLookinHatOk - so SSL...  how would I configure a service to use a specific private and public key file?  Is there an easy way to pass that along as an argument?19:04
m_3_negronjl: that should be public now19:30
FunnyLookinHatAnyone?  Bueller?  Don't make me come up to the charm school...20:18
SpamapSFunnyLookinHat: ?20:59
SpamapSFunnyLookinHat: usually SSL keys are generated on the hosts that they live on.21:00
FunnyLookinHatSpamapS, Yeah - I guess I'm just wondering what the process would be in terms of rolling out and scaling a service that uses SSL21:03
marcoceppiFunnyLookinHat: It looks like you're going to just have to come up21:03
FunnyLookinHatmarcoceppi, hahaha - I'll try to sneak out of the booth in a bit.21:03
NCommanderHeyall, I'm trying to get juju working locally with lxc. Every command seems to succeed, but I don't get IP addresses appearing in juju status21:08
NCommanderoh, nm I think. Seems that while deploy works, it returns instantly instead of waiting for juju tofinish its background work21:09
marcoceppiNCommander: the first time you deploy to local juju takes a while to build the master image21:12
marcoceppieach subsequent time from deployment should be relatively quick21:12
NCommandermarcoceppi: the behavior confused me since I'm used to commands waiting until they're done21:12
marcoceppiNCommander: yeah, Juju is asynchronous in that respect21:13
* NCommander is learning to writing ajuju charm for quassel-core21:13
marcoceppicommands get pushed to the juju bootstrap, and bootstrap "queues" them and manages/co-ordinates everything21:13
=== carif_ is now known as carif
* NCommander tests his charm21:16
NCommandermarcoceppi: now I've got a weird issue. My charm "works" but the output from APT during RSA key generation is showing up as error21:18
NCommander(I think openssl is writing to stderr ...)21:18
SpamapSNCommander: ERROR is just "stderr"21:18
NCommanderRight, but agent-status then ended up in start-error21:18
SpamapSNCommander: we all agree we should probably change that. :)21:18
SpamapSNCommander: your start-eror is based solely on exit code of the hook21:19
NCommanderDo I need to redirect stderr to stdout? :-/21:19
NCommanderWeird21:19
NCommanderoh, I see what happened21:19
FunnyLookinHatSpamapS, so here's my confusion - when I setup an apache server to use SSL, I upload my cert to it and then set the apache virtual host to use that21:19
FunnyLookinHati.e. I have to generate the cert locally with something I grab from my cert signer... and I'm not seeing a proper place to inject those steps or that data21:21
NCommanderSpamapS: alright, second question. It seems every juju deploy creates a new instance. That is probably desirable for some setups, but for quassel-core, its probably best to have it and its postgresql backend on the same machine (or I suppose I could set it up so when the relation is added, migrate from sqlite -> postgresql)21:21
* flepied finished the first version of a naxsi charm21:22
* NCommander is a bit suprised there is no Launchpad charm ...21:23
NCommanderhrm, also, I could connect to quassel-core without having to expose21:27
SpamapSflepied: naxsi?21:30
lifelessSpamapS: help needed in #ubuntu-server :( is there some doc we can point folk at?22:18
=== objectiveous_ is now known as objectiveous

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