Handling IP address change

Andrew Wilkins andrew.wilkins at canonical.com
Wed Dec 10 01:30:44 UTC 2014


On Tue, Dec 9, 2014 at 8:20 PM, Kapil Thangavelu <
kapil.thangavelu at canonical.com> wrote:

>
>
> 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
>

Yes, that's what I meant. Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20141210/7f1eeaff/attachment.html>


More information about the Juju mailing list