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

i have two charms and i want to build relationship and get details from server charm(server charm and application charm).Now i can add relationship.But it is not running application-relation-joined in my hooks.For my understanding after add relationships it should be run.But i have put logs to check whether relation-joined hooks are runnning or is not printing log files.Please anyone tell me littile bit more about after adding relationship how -relation-joined,-relation-changed,-relation-departed and -relation-broken are running.

share|improve this question
up vote 0 down vote accepted

The reason was not running when run-server in start(my server is jetty) so it holds the hook and it will not continue the other hooks.I resolve problem.After adding relationship i have start the works.It means i didn't run server in start hook i run the server -relation-changed hook file.

share|improve this answer

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.