Support hook for handling unit changes (like public IP address)

Bug #1294673 reported by Simon Davy
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
juju-core
New
Undecided
Unassigned

Bug Description

Hi

I need a services unit's public-address to be communicated to another service in relation data.

Currently, there is no easy way to react to public IP address changes (or any other unit change). My choices for doing the above are currently:

a) install a cron jon (or similar) that checks for ip changes and push that into the realtion when changed (using juju-run, so requires dev release at time of writing)

b) have a config that is a map between unit <-> public ip address, thus duplicating the configuration and increasing likelyhood of errors and limiting scaleout.

I would like support for a "unit-changed" hook or similar that juju could trigger when things like public IP addresses change (or volumes), that would make this much simpler to handle.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.