On Tue, Dec 3, 2013 at 12:49 PM, Andreas Hasenack <[email protected]>wrote:

> On Tue, Dec 3, 2013 at 4:31 AM, Andrew Wilkins <
> [email protected]> wrote:
>
>> Ahoy,
>>
>> Just wanted to inform everyone that synchronous bootstrap has landed on
>> trunk. If you've got any scripts that bootstrap an environment and expect
>> it to chug away in the background, then some script changes will be
>> necessary.
>>
>>
> Why not introduce this behavior via a switch to the existing bootstrap
> command? Something like:
>
> juju bootstrap --wait
>
> Then existing scripts wouldn't break.
>

Followup commands always waited for bootstrap to complete before they'd
actually complete; the only negative impact should be that *if* you were
expecting to do independent work in parallel with a bootstrap, that work
will no longer be parallel. I'm very reluctant to maintain multiple code
paths for bootstrap, especially given the many drawbacks of async bootstrap
(lack of feedback, difficulty of diagnosing failure, unnecessarily complex
behaviour communicating secrets to the environment) -- are there cases
we've missed in which this change will actually stop anything working?

Cheers
William
-- 
Juju-dev mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju-dev

Reply via email to