Handling IP address change

Kapil Thangavelu kapil.thangavelu at canonical.com
Tue Dec 9 12:20:11 UTC 2014


On Mon, Dec 8, 2014 at 9:53 PM, Andrew Wilkins <andrew.wilkins at canonical.com
> wrote:

> On Tue, Dec 9, 2014 at 10:31 AM, Stuart Bishop <
> stuart.bishop at canonical.com> wrote:
>
>> Hi.
>>
>> Does juju handle IP address changes of units yet? If so, what hooks
>> can I expect to be invoked?
>>
>
> From 1.21 onwards, config-changed will be fired whenever the unit's
> addresses change.
>
>
>>  - config-changed?
>>  - relation-changed on every relation, changed unit side?
>>  - relation-changed on every relation, related unit side?
>>
>
> Relation hooks will not fire (yet?).
> For now, public-address will not be updated in the relation settings
> automatically. There is a bug open for this.
>

You mean private-address, which is normally set by juju, therefore charms
are used to not managing it themselves, and it will thus be incorrect on
address changes.

per this bug https://bugs.launchpad.net/juju-core/+bug/1215579
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20141209/c2db4336/attachment.html>


More information about the Juju mailing list