[13:57] <g3naro> hi, was wondering if there is an easy way to use juju to deploy apache with centos ?
[13:58] <g3naro> using local lxc
[14:13] <bloodearnest> hey, a juju env is not responding to commands to remove-relation
[14:13] <bloodearnest> just does nothing
[14:14] <bloodearnest> status is clean, no errors, command completes ok, but relation still there
[14:14] <bloodearnest>  1.20.11-trusty-amd64
[14:15] <g3naro> hmm,
[14:15] <g3naro> did you remove unit ?
[14:15] <bloodearnest> nope
[14:15] <g3naro> try trhat?
[14:15] <bloodearnest> no chance - production env
[14:15] <g3naro> oh shit
[14:15] <g3naro> what are you trying to achieve ?
[14:16] <bloodearnest> g3naro, I would like to remove the relation :)
[14:16] <g3naro> decouple the service from this machine ?
[14:16] <bloodearnest> I want to decouple the 2 services. The relation is only supposed to be temporary, to perform a db migration, then removed
[14:17] <bloodearnest> we've been doing it this way for a while
[14:17] <g3naro> ahh ok, im sorry i can't advise anything in this case
[14:17] <g3naro> ive only been using in dev env's so far
[14:25] <bloodearnest> g3naro, thanks anyway! :)
[14:30] <bloodearnest> ah, I seem to have a rogue debug-hooks running. Sorry for the noise
[14:47] <lazyPower> bloodearnest: that happens to me a lot
[14:48] <bloodearnest> lazyPower, yeah, tell me about it!
[14:49] <bloodearnest> lazyPower, I would really like a script to elevate a juju ssh session into a debug-hooks session.
[14:49] <bloodearnest> then I can always start with ssh, rather than using debug-hooks "incase I need it"
[14:49] <lazyPower> bloodearnest: i want to go a step further and debug hooks into a particular hook context.
[14:50] <lazyPower> juju debug-hooks <service> <hook>
[14:50] <bloodearnest> that would be great. Only hook into one relation
[14:57] <sto> How do I tell curtin to use GPT instead of MBR with MAAS? I have a 3TB disk and MAAS only uses 2TB because it is using MBR
[15:27] <marcoceppi> sto: no idea, you may wish to ask in #maas
[15:47] <sto> marcoceppi: thanks
[16:03] <bleepbloop> Hi everyone, I have an issue with a juju charm being hung on "running install hook", can anyone give me a hint on how to destroy that unit and machine without losing the whole environment?
[16:12] <tvansteenburgh> bleepbloop: juju help destroy-machine
[16:13] <tvansteenburgh> bleepbloop: destroy-service and destroy-unit may also be of interest
[16:19] <bleepbloop> tvansteenburgh: I actually tried all of those, destroy machine and destroy-service return but never destroy it and destroy-unit says "ERROR no units were destroyed: state changing too quickly; try again soon"
[16:22] <bleepbloop> tvansteenburgh: I tried later and well same thing
[16:22] <tvansteenburgh> bleepbloop: are any units in error state according to `juju status`?
[16:24] <bleepbloop> tvansteenburgh: workload-status: current: maintenance message: installing charm software since: 25 Jun 2015 15:14:50-04:00
[16:24] <bleepbloop>  agent-status: current: executing message: running install hook since: 25 Jun 2015 15:14:51-04:00
[16:26] <bleepbloop> tvansteenburgh: I found one other person with this issue https://bugs.launchpad.net/juju-core/+bug/1459761 however I'm not sure how to manually modify the mongo database to manually force it into an error state as suggested in the comments
[16:26] <mup> Bug #1459761: Unable to destroy service/machine/unit <destroy-machine> <local-provider> <lxc> <juju-core:Triaged> <https://launchpad.net/bugs/1459761>
[16:27] <tvansteenburgh> bleepbloop: does `juju debug-log` show any actual activity?
[16:28] <bleepbloop> tvansteenburgh: unit-docker-2[1787]: 2015-07-08 16:27:09 ERROR juju.worker.uniter.filter filter.go:137 state changing too quickly; try again soon
[16:28] <bleepbloop> unit-docker-2[1787]: 2015-07-08 16:27:09 ERROR juju.worker runner.go:219 exited "uniter": state changing too quickly; try again soon
[16:28] <bleepbloop> tvansteenburgh: those two errors over and over
[16:31] <tvansteenburgh> bleepbloop: if destroying the environment is not an option, i would comment on that bug and ask Gabriel how he did the mongo update. sorry, don't know what else to suggest
[16:32] <bleepbloop> tvansteenburgh: No problem, thanks
[20:55] <lazyPower> cory_fu: ping
[20:55] <cory_fu> Hey, what's up
[20:55] <lazyPower> looking @ the new redis charm that got a +1 - did you run bundletester against the charm?
[20:55] <lazyPower> i see consistent failures without disabling the venv in teh test plan yaml
[20:55] <lazyPower> https://launchpad.net/bugs/1459345 - for context
[20:55] <mup> Bug #1459345: Review/promulgation request for the Redis charm <Juju Charms Collection:New> <https://launchpad.net/bugs/1459345>
[20:56] <lazyPower> tthe makefile works perfectly though, as is - just when being routed through CI i noticed some failure due to not being able to find the venv targets - because bundletester gets hinky with venvs
[20:57] <cory_fu> Yeah, I ran it via bundletester, in a charmbox
[20:57] <lazyPower> ok, thast where i am too - in charmbox :|
[20:57] <lazyPower> wonder why you didnt run into this, it bit me and CI as well
[20:57] <cory_fu> Can you pastebin me the error?
[20:58] <lazyPower> http://juju-ci.vapour.ws:8080/job/charm-bundle-test-aws/182/console
[20:58] <lazyPower> :)
[20:58] <lazyPower> its a real minor fix, just adding venv: false to the tests.yaml
[20:58] <cory_fu> Um, says Jenkins is getting ready to work?
[20:58] <lazyPower> lolwut
[20:59] <lazyPower> looks like CI just got recycled
[20:59] <lazyPower> give me a sec to to spin up another charmbox and i'll re-run
[20:59] <cory_fu> lazyPower: Check out my comment #6.  I ran into an issue with the venv and it was addressed
[21:00] <lazyPower> that fix, did not fix it.
[21:00] <lazyPower> it needs the virtualenv: false flag in tests/tests.yaml to function appropriately
[21:01] <lazyPower> otherwise it skips the venv yet again, thinking it should be using bundletesters venv
[21:01] <cory_fu> I retested after that change and it was fixed for me
[21:01] <lazyPower> schenanigans
[21:01] <lazyPower> but ok - whats different in our envs then?
[21:01] <lazyPower> something's got to be askew
[21:01] <cory_fu> btw, charmbox juju is 1.24 stable now for me
[21:01] <lazyPower> which charmbox did you pull? jujusolutions/charmbox?
[21:02] <cory_fu> Yep
[21:02] <lazyPower> ok, i'm in charmbox:devel
[21:02] <lazyPower> thats one thing isolated - bueno
[21:05] <cory_fu> I'm running bundletester now, btw
[21:05] <cory_fu> Hrm.  I got a venv error
[21:05] <cory_fu> I swear this worked
[21:06] <lazyPower> :) i dont doubt that something worked at one time
[21:06] <lazyPower> cory_fu: do me a favor and drop in that tests.yaml fix suggested above and see if it works for you
[21:17] <cory_fu> lazyPower: It seems to but I'm confused as to why.  Was bundletester creating an incomplete .venv underneath the charm?
[21:17] <cory_fu> I'm so confused how I got a successful run and didn't hit this
[21:17] <lazyPower> honestly i dont know - https://github.com/juju-solutions/bundletester/issues/15 - but that is what i came across looking for the proposed fix
[21:17] <lazyPower> i had to recommend this to thumper as well when we were riffing over django
[21:22] <cory_fu> I wonder if I forgot to clear the .venv from a previous manual run
[21:23] <lazyPower> that happens to me, i've had to adopt the workflow of exiting charmbox and re-running between reviews.
[21:23] <lazyPower> as i run the charmbox with --rm
[21:24] <wolverineav> this is a noobie doubt: when I'm doing multiple 'juju add-relation ' with the same service (like adding all relations to mysql), should I wait until the first one is applied or just execute all statements and juju makes sure the service is correctly configured and restarted after every relation change?
[21:25] <lazyPower> wolverineav: they are typically executed in the order they are received
[21:25] <lazyPower> so you can add all relations at once, and they will sequentially execute
[21:26] <wolverineav> lazyPower: ok. that's good. I don't need to monitor using 'juju debug-log' then :)
[21:27] <lazyPower> not unless you get hinky behavior :)
[21:27] <lazyPower> in which case, please file bugs against the charms
[21:27] <wolverineav> yep, will do.
[21:27] <marcoceppi> wolverineav: while that's typically true, there's no guarentee when an event will run. Juju will queue things though, so you should just run all teh commands you want and the system will take care of taht for you
[21:29] <lazyPower> thats very true
[21:29] <lazyPower> +1 marcoceppi
[21:29] <wolverineav> marcoceppi: yes, as long as it doesn't apply changes to the same service simultaneously and result in an inconsistent state, I'm ok with it handling in any random order.
[21:30] <marcoceppi> wolverineav: hooks run asyncronously in the environment, but serially on the node
[21:30] <marcoceppi> you'll never have two hooks running at the same time on a single machine
[21:31] <wolverineav> got it! that's very useful piece of info!