Fix for LP: #1174610 landing (unit ids should be unique)
Matthew Williams
matthew.williams at canonical.com
Wed May 6 14:31:14 UTC 2015
This has now landed - and at the moment only in master so it will be out in
1.25
On Mon, Apr 27, 2015 at 5:44 PM, Casey Marshall <
casey.marshall at canonical.com> wrote:
> Just a friendly heads-up.. a fix for this longstanding bug will be
> landing into master shortly:
>
> LP: #1174610, unit ids should be unique
>
> What this fix essentially does is assign each deployed workload a
> distinct unit ID (incrementing sequentially) within the scope of an
> environment. Example:
>
> 1. juju deploy mysql
> Deployed workload gets an ID, mysql/0
>
> 2. juju destroy-service mysql
>
> 3. juju deploy mysql
> Deployed workload gets a distinct ID, mysql/1
>
> I do not anticipate any negative impact to normal Juju usage from this
> bugfix, but I'd like to raise awareness here proactively, in the event
> that there is potential breakage in scripts that invoke juju with
> hard-coded assumptions on how Juju assigns unit IDs -- instead of
> retrieving actual assigned unit IDs from status.
>
> -Casey
>
>
> --
> Juju-dev mailing list
> Juju-dev at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/juju-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju-dev/attachments/20150506/99b1bbea/attachment.html>
More information about the Juju-dev
mailing list