/srv/irclogs.ubuntu.com/2015/07/08/#juju.txt

=== scuttlemonkey is now known as scuttle|afk
=== kadams54 is now known as kadams54-away
=== scuttle|afk is now known as scuttlemonkey
=== scuttlemonkey is now known as scuttle|afk
g3narohi, was wondering if there is an easy way to use juju to deploy apache with centos ?13:57
g3narousing local lxc13:58
bloodearnesthey, a juju env is not responding to commands to remove-relation14:13
bloodearnestjust does nothing14:13
bloodearneststatus is clean, no errors, command completes ok, but relation still there14:14
bloodearnest 1.20.11-trusty-amd6414:14
g3narohmm,14:15
g3narodid you remove unit ?14:15
bloodearnestnope14:15
g3narotry trhat?14:15
bloodearnestno chance - production env14:15
g3narooh shit14:15
g3narowhat are you trying to achieve ?14:15
bloodearnestg3naro, I would like to remove the relation :)14:16
g3narodecouple the service from this machine ?14:16
bloodearnestI want to decouple the 2 services. The relation is only supposed to be temporary, to perform a db migration, then removed14:16
bloodearnestwe've been doing it this way for a while14:17
g3naroahh ok, im sorry i can't advise anything in this case14:17
g3naroive only been using in dev env's so far14:17
bloodearnestg3naro, thanks anyway! :)14:25
bloodearnestah, I seem to have a rogue debug-hooks running. Sorry for the noise14:30
lazyPowerbloodearnest: that happens to me a lot14:47
bloodearnestlazyPower, yeah, tell me about it!14:48
bloodearnestlazyPower, I would really like a script to elevate a juju ssh session into a debug-hooks session.14:49
bloodearnestthen I can always start with ssh, rather than using debug-hooks "incase I need it"14:49
lazyPowerbloodearnest: i want to go a step further and debug hooks into a particular hook context.14:49
lazyPowerjuju debug-hooks <service> <hook>14:50
bloodearnestthat would be great. Only hook into one relation14:50
=== scuttle|afk is now known as scuttlemonkey
stoHow 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 MBR14:57
=== scuttlemonkey is now known as scuttle|afk
marcoceppisto: no idea, you may wish to ask in #maas15:27
=== scuttle|afk is now known as scuttlemonkey
stomarcoceppi: thanks15:47
bleepbloopHi 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:03
tvansteenburghbleepbloop: juju help destroy-machine16:12
tvansteenburghbleepbloop: destroy-service and destroy-unit may also be of interest16:13
bleepblooptvansteenburgh: 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:19
bleepblooptvansteenburgh: I tried later and well same thing16:22
tvansteenburghbleepbloop: are any units in error state according to `juju status`?16:22
bleepblooptvansteenburgh: workload-status: current: maintenance message: installing charm software since: 25 Jun 2015 15:14:50-04:0016:24
bleepbloop agent-status: current: executing message: running install hook since: 25 Jun 2015 15:14:51-04:0016:24
bleepblooptvansteenburgh: 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 comments16:26
mupBug #1459761: Unable to destroy service/machine/unit <destroy-machine> <local-provider> <lxc> <juju-core:Triaged> <https://launchpad.net/bugs/1459761>16:26
tvansteenburghbleepbloop: does `juju debug-log` show any actual activity?16:27
bleepblooptvansteenburgh: unit-docker-2[1787]: 2015-07-08 16:27:09 ERROR juju.worker.uniter.filter filter.go:137 state changing too quickly; try again soon16:28
bleepbloopunit-docker-2[1787]: 2015-07-08 16:27:09 ERROR juju.worker runner.go:219 exited "uniter": state changing too quickly; try again soon16:28
bleepblooptvansteenburgh: those two errors over and over16:28
=== msbrown is now known as msbrown-afk
tvansteenburghbleepbloop: 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 suggest16:31
bleepblooptvansteenburgh: No problem, thanks16:32
=== liam_ is now known as Guest71963
=== lukasa is now known as lukasa_away
=== lukasa_away is now known as lukasa
=== scuttlemonkey is now known as scuttle|afk
=== scuttle|afk is now known as scuttlemonkey
=== scuttlemonkey is now known as scuttle|afk
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
=== scuttle|afk is now known as scuttlemonkey
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
=== scuttlemonkey is now known as scuttle|afk
=== kadams54 is now known as kadams54-away
lazyPowercory_fu: ping20:55
cory_fuHey, what's up20:55
lazyPowerlooking @ the new redis charm that got a +1 - did you run bundletester against the charm?20:55
lazyPoweri see consistent failures without disabling the venv in teh test plan yaml20:55
lazyPowerhttps://launchpad.net/bugs/1459345 - for context20:55
mupBug #1459345: Review/promulgation request for the Redis charm <Juju Charms Collection:New> <https://launchpad.net/bugs/1459345>20:55
lazyPowertthe 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 venvs20:56
cory_fuYeah, I ran it via bundletester, in a charmbox20:57
lazyPowerok, thast where i am too - in charmbox :|20:57
lazyPowerwonder why you didnt run into this, it bit me and CI as well20:57
cory_fuCan you pastebin me the error?20:57
lazyPowerhttp://juju-ci.vapour.ws:8080/job/charm-bundle-test-aws/182/console20:58
lazyPower:)20:58
lazyPowerits a real minor fix, just adding venv: false to the tests.yaml20:58
cory_fuUm, says Jenkins is getting ready to work?20:58
lazyPowerlolwut20:58
lazyPowerlooks like CI just got recycled20:59
lazyPowergive me a sec to to spin up another charmbox and i'll re-run20:59
cory_fulazyPower: Check out my comment #6.  I ran into an issue with the venv and it was addressed20:59
lazyPowerthat fix, did not fix it.21:00
lazyPowerit needs the virtualenv: false flag in tests/tests.yaml to function appropriately21:00
lazyPowerotherwise it skips the venv yet again, thinking it should be using bundletesters venv21:01
cory_fuI retested after that change and it was fixed for me21:01
lazyPowerschenanigans21:01
lazyPowerbut ok - whats different in our envs then?21:01
lazyPowersomething's got to be askew21:01
cory_fubtw, charmbox juju is 1.24 stable now for me21:01
lazyPowerwhich charmbox did you pull? jujusolutions/charmbox?21:01
cory_fuYep21:02
lazyPowerok, i'm in charmbox:devel21:02
lazyPowerthats one thing isolated - bueno21:02
cory_fuI'm running bundletester now, btw21:05
cory_fuHrm.  I got a venv error21:05
cory_fuI swear this worked21:05
lazyPower:) i dont doubt that something worked at one time21:06
lazyPowercory_fu: do me a favor and drop in that tests.yaml fix suggested above and see if it works for you21:06
cory_fulazyPower: It seems to but I'm confused as to why.  Was bundletester creating an incomplete .venv underneath the charm?21:17
cory_fuI'm so confused how I got a successful run and didn't hit this21:17
lazyPowerhonestly i dont know - https://github.com/juju-solutions/bundletester/issues/15 - but that is what i came across looking for the proposed fix21:17
lazyPoweri had to recommend this to thumper as well when we were riffing over django21:17
cory_fuI wonder if I forgot to clear the .venv from a previous manual run21:22
lazyPowerthat happens to me, i've had to adopt the workflow of exiting charmbox and re-running between reviews.21:23
lazyPoweras i run the charmbox with --rm21:23
wolverineavthis 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:24
lazyPowerwolverineav: they are typically executed in the order they are received21:25
lazyPowerso you can add all relations at once, and they will sequentially execute21:25
wolverineavlazyPower: ok. that's good. I don't need to monitor using 'juju debug-log' then :)21:26
lazyPowernot unless you get hinky behavior :)21:27
lazyPowerin which case, please file bugs against the charms21:27
wolverineavyep, will do.21:27
marcoceppiwolverineav: 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 you21:27
lazyPowerthats very true21:29
lazyPower+1 marcoceppi21:29
wolverineavmarcoceppi: 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:29
marcoceppiwolverineav: hooks run asyncronously in the environment, but serially on the node21:30
marcoceppiyou'll never have two hooks running at the same time on a single machine21:30
wolverineavgot it! that's very useful piece of info!21:31
=== mwhudson_ is now known as mwhudson
=== mwhudson is now known as Guest82160
=== Guest82160 is now known as mwhudson
=== kadams54 is now known as kadams54-away

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