Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Hello i get the following message

Status Info: hook failed: "shared-db-relation-changed"

I get it on Glance,Cinder and Quantum. What does it mean? Thanks

share|improve this question

It means that the hook script which handles the shared-db relation exited with an error.

Note that from version 2.0, Juju will automatically retry the hooks periodically.

You will find details about hook errors and how to debug them here:

share|improve this answer
In particular, try running juju debug-log in a separate terminal; then run juju resolved --retry glance/0 and watch the output in the other terminal. That should be the easiest way to see what's actually happening in the failed hook. – fwereade Dec 26 '13 at 21:19

Try juju resolved "unit"

e.g. juju resolved glance/0

share|improve this answer
For a moment it gets green but after that again the same error – user226325 Dec 23 '13 at 13:26
FWIW, juju resolved means "I am an expert in this service, so I logged in and fixed everything". Running it without having done so is basically never a good idea. However, running juju resolved --retry should be safe for anyone; it might not fix it, but it shouldn't make anything any more broken than it is already. – fwereade Dec 26 '13 at 21:16

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.