Unit number is increasing in latest juju version.

Mark Shuttleworth mark at ubuntu.com
Fri Nov 13 15:09:53 UTC 2015


OK. So I suspect the tests were written to reuse the environment because
bootstrapping takes time.

The good news is, we'll shortly get instant environment creation, so a
clean environment will be cheap and fast.

:)

Mark

On 13/11/15 10:02, Matthew Williams wrote:
> Hi Mark, Sunitha,
>
> My apologies, I should have included the explanation in the original email.
>
> This was a change to address a long standing bug:
> https://bugs.launchpad.net/juju-core/+bug/1174610
>
> There's a discussion in the bug report, but the summary is that in most
> cases it's desirable to have the unit id be unique across the life of an
> environment. Otherwise you loose the identity of a unit across relations.
>
> We were already numbering the machines in the same way, so this change also
> gives us consistency between machine and unit numbering systems.
>
> Thanks
>
> Matty
>
> On Fri, Nov 13, 2015 at 1:50 PM, Mark Shuttleworth <mark at ubuntu.com> wrote:
>
>> Thanks Sunitha. Matty, deeper question is - was this an intended change
>> in behaviour, and what's the rationale?
>>
>> Mark
>>




More information about the Juju mailing list