/srv/irclogs.ubuntu.com/2015/12/02/#juju.txt

Bofu2Uis there an easy way to just deploy a KVM VPS? with juju?09:51
Bofu2Ujust with a stock centos image or something like that09:51
Laneyhi11:02
LaneyI defined a new action in my charm and then upgraded it (juju upgrade-charm), but I can't run it (status: failed, script never run)11:02
Laneyis this known to not work?11:02
=== verterok is now known as verterok-away
=== verterok-away is now known as verterok
bloodearnestLaney, what's the error output when you try to run the action?13:27
Laneybloodearnest: I don't see any output, where might it be?13:27
Laneywait13:28
LaneyI do!13:28
Laney'action not implemented on unit ...#13:28
Laneyso you can't upgrade and get new actions?13:28
bloodearnestLaney, what does this say: juju action defined <svc>13:29
Laneybloodearnest: It's in there13:30
bloodearnestLaney, and juju action do <svc> <action> gave you 'action not implemented on unit'13:31
bloodearnest?13:31
Laneyright13:31
bloodearnestso if the action is defined, then the upgrade worked and it's available13:31
Laneywell it's <unit> in one case and <svc> in the other13:32
LaneyIf I ssh in I can see that actions.yaml was indeed updated13:32
bloodearnestCan you try invoke the action manually?13:33
bloodearnestwhen ssh'd in?13:33
Laneyyes, but the first line is a juju-log which I never see in the debug-log13:34
Laneyso I suspect it's not running13:34
bloodearnestLaney, what version of juju is your environment?13:35
Laney1.25.013:35
bloodearnestit's odd that it;s defined, but then can't be executed13:36
bloodearnestLaney, is actions/<your-action> executable?13:37
Laneyyup13:38
LaneyI can't run it manually, don't know how to set the environment up13:38
LaneyJUJU_CONTEXT_ID13:38
bloodearnestLaney, I think you should be able to run it like so, from the unit: juju-run <unit> action/<your-action>13:40
bloodearnestLaney, if you want to check/rulle out the upgrade-charm being an issue, simply add a new unit, and see if the actions works on that.13:41
Laneybloodearnest: bleh, juju-run doesn't seem to ever do anything, is that because config-changed is still running?13:46
Laney(the failure was from before this)13:46
bloodearnestLaney, ah, we have a stuck unit13:49
Laneyit's meant to still be running13:50
bloodearnestLaney, juju serializes hooks/actions on a unit. So if one is stuck, blocks all else. Any ideas why config-changed is still running?13:50
Laneystill grinding away13:50
bloodearnestit's deliberate?13:50
Laneybut when I tried the action it was before I changed the config, nothing was running then13:51
Laneyjust means I can't try juju-run now13:51
bloodearnestLaney, ack13:51
gnuoyjamespage, https://code.launchpad.net/~gnuoy/charms/trusty/nova-compute/no-hugepages/+merge/279245 to unbreak nova-compute if you have a moment. The amulet fail is odd as I can't actually see a failed test14:08
bloodearnestanother charm layers question: I have charm layer at ./layers/x509-cert: It's layer.yaml has: includes: ['layer:basic', 'interface:x509-paths']14:24
bloodearnestI have interface defined at ./interfaces/x509-paths/14:25
bloodearnestthe charm builds fine14:25
bloodearnestbut, the built charm output, the hooks/relations/x509-paths directory containes the x509-cert *charm* code, not the interface code, as I was expecting14:26
bloodearnestam I doing something wrong?14:26
bloodearnestcharm layer: http://bazaar.launchpad.net/~bloodearnest/charms/trusty/x509-cert/trunk/files14:27
bloodearnestinterface layer: http://bazaar.launchpad.net/~bloodearnest/+junk/x509-paths/files14:27
bloodearnestoutput looks like: http://paste.ubuntu.com/13623707/14:29
=== CyberJacob_ is now known as CyberJacob
JoseeAntonioRmarcoceppi: ping15:58
=== JoseeAntonioR is now known as jose
Laneyif I mess up an upgrade-charm hook how can I push a new version and retry?16:41
LaneyI tried upgrade-charm again and resolved --retry but it has the old version still16:41
LaneyI got it, upgrade-charm --force && resolved --retry16:48
asanjarkwmonroe: hey ugly16:51
asanjarkwmonroe: the latest spark-bench code should get uploaded to github16:52
asanjarsoon16:52
=== frobware_ is now known as frobware
=== CyberJacob is now known as Guest32965
=== jose is now known as Guest78115
=== sarnold_ is now known as sarnold
=== rharper` is now known as rharper
=== elopio_ is now known as elopio
thomiHi, my juju deployment is stuck, and I see this error in 'juju debug-log' every few seconds:22:57
thomimachine-0: 2015-12-02 22:56:15 ERROR juju.worker runner.go:223 exited "toolsversionchecker": cannot update tools information: cannot get latest version: cannot find available tools: no tools available22:57
thomiany ideas?22:57
jrwrenchamers: requesting requeue: http://review.juju.solutions/review/235723:02

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