[00:04] <hobbyBobby> this ssh to bootstrap thing is perplexing
[13:01] <jcverdie> Is there a trick with juju get and set ? I try to "get" the settings from one charm, and a simple set with the same file does not work (says "no settings found for <charm>"
[14:06] <jcverdie> Hi, what is the best way to modify a charm? Are the charm recipes kept somewhere incache on my pc?
[14:08] <natefinch> jcverdie: the code for charms is kept in source control on launchpad. The best way to modify a charm is to branch from the main repository for the charm.
[14:08] <natefinch> jcverdie: if you go to the charm you want to modify on jujucharms.com, there will be a link to the source under the name of the charm on the left, like this one for mongodb: https://jujucharms.com/precise/mongodb-21/
[14:48] <jcverdiee> thanks, but gerrit charm is not mainstream it comes from cs:~canonical-ci/precise/gerrit-59
[14:48] <jcverdiee> so i'm confused where to find the sources
[14:48] <jcverdiee> and where to send patches (I found a couple of misbehaviour)
[15:00] <facebook> guys, can someone please take a look at this? it's been sitting there for around two months waiting to get reviewed/promoted. https://bugs.launchpad.net/charms/+bug/1125869
[15:00] <_mup_> Bug #1125869: New charm: postfix <Juju Charms Collection:New for jose> <https://launchpad.net/bugs/1125869>
[15:10] <jcverdie> if I go to https://bazaar.launchpad.net/%7Ecanonical-ci/charms/precise/gerrit/trunk/files I get unauthorized ? Any help :)
[15:20] <jcverdie> i asked to join the charmers team, hope to get access :)
[15:21] <jcverdie> but the canonical-ci page is private :(
[15:23] <tomixxx> hi, i have tried to deploy multiple juju charms on a single node with the command "juju deploy X -to lxc:0" but sth went wrong as it seems. Please have a look at the output of the "juju status" command: http://pastebin.ubuntu.com/6867420
[15:24] <tomixxx> so, the "agent-state-info" indicates some error and the charms itself stay in the state "pending"
[15:41] <tomixxx> is there a way to UNDEPLOY a single charm?=
[15:44] <tomixxx> what sources in source.list do i need for juju?
[15:45] <lazyPower> tomixxx: you can destroy a single unit, or the service to "undeploy" the charm
[15:45] <lazyPower> tomixxx: typically you will want to add ppa:juju/stable - and run off the stable tree of juju for your production environment.
[15:45] <tomixxx> yeah, i have already found out the command: juju destroy-service mysql for example
[15:46] <jcverdie> Hi lazyPower, hope you had a wonderful superbowl party yesterday :) I solved & deployed my gerrit...Thanks for your help!
[15:46] <lazyPower> Hey thats great news jcverdie! glad I was of some service.
[15:46] <jcverdie> if I go to https://bazaar.launchpad.net/%7Ecanonical-ci/charms/precise/gerrit/trunk/files I get unauthorized access... So I can't file bugs & submit patches to complete  a clean install of this charm
[15:47] <lazyPower> jcverdie: ah, yeah I am on that list too. It appears that since its only intended to be used by Canonical internally we aren't privvy to the launchpad assets.
[15:48] <tomixxx> lazyPower: how do i add "ppa:juju/stable"?
[15:48] <jcverdie> so what's the idea here? I can't even fork it to fix it :( ?
[15:49] <lazyPower> tomixxx: apt-add-repository ppa:juju/stable
[15:49] <tomixxx> lazyPower: thx
[15:49] <lazyPower> jcverdie: email the list, and someone on the team may be able to work something out for you.
[15:52] <tomixxx> lazyPower: Is there a possibility to clear the log message in agent-state-info when i call "juju status"?
[15:55] <tomixxx> lazyPower: how can i destroy a lxc container?
[15:59] <lazyPower> tomixxx: whatare you trying to do? if you're trying to delete a lxc container that juju is managaing you will encounter some issues as the bootstrap node handles all that.
[16:00] <jcverdie> lazyPower: done:)
[16:00] <tomixxx> lazyPower: excactly, i want to delete an lxc container because thre creation of the container failed
[16:01] <tomixxx> lazyPower: http://pastebin.ubuntu.com/6867420
[16:01] <tomixxx> i could also do "destroy-environment" but it needs a lot of time to reset juju at all
[16:06] <lazyPower> tomixxx: you can run the lxc-destroy command to remove the containers, but you will encounter an issue with juju thinking the containers are still around in an error state and will desync your local provider from the bootstrap node. at least thats the behavior I have seen when i've remoevd lxc containers without juju's help
[16:07] <tomixxx> ok, so what could i do instead?
[16:07] <lazyPower> personally, i would rebootstrap the environment
[16:07] <lazyPower> destory & rebootstrap
[16:08] <tomixxx> lazyPower: ok but it seems "apt-add-repository ppa:juju/stable" was not sufficient abecause it failed again to get http:s//cloud-images.ubuntu.com/query/precise/server/released-dl.current.txt"
[16:09] <tomixxx> ah i guess i have to call sudo apt-get update
[16:11] <tomixxx> sorry :(
[20:30] <rkpaul> marcoceppi: hello
[20:30] <marcoceppi> rkpaul: hello!
[20:30] <marcoceppi> rkpaul: what happens when you go to https://store.juju.ubuntu.com/charm-info?charms=cs%3A~marcoceppi%2Fprecise%2Fdiscourse in your browser?
[20:31] <rkpaul> on the host system, I'm getting some json. When I wget it in the VM, I'm getting a cert error
[20:32] <rkpaul> ERROR: cannot verify store.juju.ubuntu.com's certificate, issued by ‘/C=US/ST=Arizona/L=Scottsdale/O=GoDaddy.com, Inc./OU=http://certificates.godaddy.com/repository/CN=Go Daddy Secure Certification Authority/serialNumber=07969287’:
[20:32] <rkpaul>   Issued certificate not yet valid.
[20:32] <marcoceppi> rkpaul: yeah, it seems you don't have the CA chain on theVM
[20:32] <marcoceppi> and it's a 13.10 VM?
[20:32] <rkpaul> yeah
[20:32] <marcoceppi> rkpaul: can you make sure ca-certificates is installed
[20:33] <rkpaul> yeah, already installed
[20:35] <marcoceppi> rkpaul: well this is unfortunate and very odd. I've got 13.10 on my laptop without issue it seems to be missing some root ca in your chain to validate the godaddy cert
[20:35] <rkpaul> very weird
[20:36] <rkpaul> I'll try spinning up a new vm with 13.10 and see what happens
[20:36] <marcoceppi> rkpaul: please, I'm in Europe right now so it's nearing my EOD, but I'll hang around for a bit.
[20:36] <marcoceppi> rkpaul: the charm is also broken, I can try to patch it, but upstream changed the way production database configuration options are stored
[20:37] <marcoceppi> so you're already walking in to a bit of a trap ;) It's one of the reasons I've not submitted the charm to the charm store, given how fast upstream is moving
[20:37] <rkpaul> ok, no worries. I was just messing around with discourse and figured it'd be an interesting way to start looking at juju
[20:38] <marcoceppi> rkpaul: feel free to give it a whirl anyways, there's an earlier version of discourse that will work with the charm
[20:38]  * marcoceppi looks it up
[20:41] <marcoceppi> rkpaul: you can run `juju deploy cs:~marcoceppi/discourse`; then immediately after run `juju set discourse release=v0.9.8.1`
[20:41] <marcoceppi> which is the version right before the config change
[20:41] <rkpaul> cool, thanks!
[20:42] <marcoceppi> rkpaul: cheers, feel free to pop in with any questions about juju!
[20:44] <rkpaul> very weird, new VM isn't exhibiting the cert issue
[20:44] <marcoceppi> wonky
[20:44] <marcoceppi> hopefully you can press forward without any other weirdness
[20:44] <rkpaul> sorry to have bothered you with it, thanks for helping! :-)
[20:44] <marcoceppi> rkpaul: np anytime!