Follow up - "Missing contrib.amulet in charm-helpers-hooks"
James Beedy
jamesbeedy at gmail.com
Tue Oct 27 06:38:04 UTC 2015
As a follow up to my earlier post "Missing contrib.amulet in charm-helpers-hooks” I want to clarify a few things, as well as hopefully get to the bottom of some hook errors I am experiencing. Earlier, I mentioned that
I thought I had found the cause of my hook errors..... I realize now that what I thought was causing my shared-db-relation-changed hook error is most likely entirely unrelated. I apologize for any misconception I may of had there. What definitely is happening though, is that I am experiencing shared-db-relation-changed hook errors amongst a few other inconsistencies for the charms heat, glance and neutron-api, when related to percona-cluster, and ampq-relation-changed hook errors for rabbitmq-server on ampq-relation-changed for cinder and heat as well.
My setup is as follows:
deployer-ha.yaml: http://paste.ubuntu.com/12977516/
rels.py: http://paste.ubuntu.com/12977480/
ha_rels.yaml: http://paste.ubuntu.com/12977481/
primary_rels.yaml: http://paste.ubuntu.com/12977487/
I am kicking off my deploy with the following procedure:
1. '$ juju-deployer -c deployer-ha.yaml --no-relations'
2. '$ ./rels.py ha_rels.yaml'
3. '$ ./rels.py primary_rels.yaml'
* Once #1 finishes, and before running #2, I wait for my env to settle and look like: http://paste.ubuntu.com/12977466/
* After running #2, my env settles and looks like: http://paste.ubuntu.com/12977494/
* After running #3, my env settles and looks like: http://paste.ubuntu.com/12977593/
As you can see, after #3 I have a few incomplete relations, a few hook errors, and a few
hooks stuck in executing.
To gain some insight here, I opened up a few new terminal windows and decided to debug the
hooks in question.
The output of debugging the relation changed hook for glance/0 is as follows: http://paste.ubuntu.com/12977635/
Notice the line 'No handlers could be found for logger "oslo_config.cfg"' is the last bit of
information I can get here before what looks like an sql connection failure...I assumed the
handlers not being available for the logger might of been blocking....this is what led
me on the wild goose chase of the missing import:-)
cat /var/log/glance/api.log shows : http://paste.ubuntu.com/12977656/
cat /var/log/juju/unit-glance-0.log shows: http://paste.ubuntu.com/12977662/
Debugging the heat shared-db-relation-changed hook I get the following output: http://paste.ubuntu.com/12977674/
Heat logs:
cat /var/log/heat/heat-engine.log : http://paste.ubuntu.com/12977676/
cat /var/log/heat/heat-api.log : http://paste.ubuntu.com/12977678/
cat /var/log/heat/heat-api-cfn.log : http://paste.ubuntu.com/12977682/
cat /var/log/juju/unit-heat-0.log : http://paste.ubuntu.com/12977694/
Debugging neutron-api shared-db-relation-changed hook I get the output : http://paste.ubuntu.com/12977718/
cat /var/log/juju/unit-neutron-api-0.log : http://paste.ubuntu.com/12977720/
cat /var/log/neutron/neutron-server.log : http://paste.ubuntu.com/12977734/
Debugging rabbitmq-server:
cat /var/log/juju/unit-rabbitmq-server-2.log: http://paste.ubuntu.com/12977743/
Hopefully this helps give a slightly better understanding of the hook errors I'm experiencing. Any insight would be greatly appreciated!
Thank you all for your time,
James
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <https://lists.ubuntu.com/archives/juju/attachments/20151026/56f01940/attachment.pgp>
More information about the Juju
mailing list