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 am writing a custom charm that is installed on the nova-compute. D

uring the installation, I need to configure some OS files with the information of OS controller, cinder, neutron gateway etc.

How do I determine the IPs of these components? Are there any hooks available within the charm to do this? I prefer to write the charm in bash but Python is ok too.

share|improve this question
This might help:… – Jorge Castro Aug 25 '14 at 13:29

If the units need to "know" about each other in some way (even if it's just knowing the IP address of each other), then they need to be related.

Please see the link that @Jorge Castro posted, as it is a great starting point:

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.