/srv/irclogs.ubuntu.com/2013/10/26/#juju.txt

Azendalezradmin_: could you eloborate (or just point me to something the tells me) what is up with quantum/neutron in havana? I'm trying to set up my first HA setup (in a test lab) and I have been trying to get Quantum and Havana06:13
AskUbuntuIf a Juju HA Cluster charm fails to deploy, will removing the HA cluster charm service mess up the service that was behind it? | http://askubuntu.com/q/36605908:02
=== freeflying is now known as freeflying_away
=== freeflying_away is now known as freeflying
AzendaleI'm trying to debug why the havana rabbitmq-server is ha-relation-changed hook failing for me. Looking at it with the python debugger, it looks like it is trying to get the IP address if an interface that is part of a bridge. I have posted the log of the debugging session at http://paste.ubuntu.com/6308674/ and the section of my config for the two charms at http://paste.ubuntu.com/6308674/.  Could someone tell me if it's something I'm doing/setting wrong? Or is21:22
Azendalespecifically, is setting "vip_iface: 'eth0'" for the rabbitmq-server breaking it?21:26
=== stevanr is now known as stevanr_
* Azendale decides he'll try re-deploying rabbitmq without that option and find out21:53
stryderjzwHow does one debug a install hook? Just destroy-service and deploy? Can I just run the hook?21:59
Azendalestryderjzw: first, run 'juju status' so that you know exactly which unit of the service failed22:02
Azendalestryderjzw: (unit(s) are grouped together to make a service, which is what you deploy)22:02
stryderjzwI see22:03
Azendalestryderjzw: a unit name should have something like 'mysql/2' (unit names end in a slash and some number)22:03
Azendalestryderjzw: then run 'juju debug-hooks <unitname>' from the juju client22:04
stryderjzwMy node-app/0 install hook is failing22:04
stryderjzwso i'd have to run juju resolved --retry after that?22:04
Azendalestryderjzw: yep, you got it22:04
stryderjzwAzendale: Thanks!22:04
Azendalestryderjzw: it will ssh you to the box. Then when you run retry, it will start another prompt for you with the name of the hook22:05
Azendalestryderjzw: then you just want to run/debug the script 'hooks/<hook_name>', which in your case would probably be 'hooks/install'22:06
Azendalestryderjzw: See (if you haven't already) http://askubuntu.com/questions/362687/juju-debug-hooks-how-to-run-hook-in-debug-terminal-or-get-more-information22:07
stryderjzwAzendale: Thanks. So, when I make changes to the hooks/install... what's the best way to update the charm?22:07
Azendalestryderjzw: no problem, your welcome22:08
Azendalestryderjzw: unfortunately, I really don't know the best way to update. I'm learning it from the user side towards learning how to debug/fix, so I haven't tried to develop a charm before -- I've only tried to get it to work when it breaks22:10
stryderjzwAzendale:  Ah. This node-app charm doesn't take a PRIVATE repo from github. So I'm trying to modify it.22:10

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