Automatic tools-upload/sync during bootstrap

Andrew Wilkins andrew.wilkins at canonical.com
Tue Oct 15 01:56:56 UTC 2013


On Fri, Oct 11, 2013 at 2:19 PM, Ian Booth <ian.booth at canonical.com> wrote:

> >
> > So I'd like to see what people think of this:
> >  - Keep "juju bootstrap --upload-tools", but make that the only time we
> > attempt to upload during "juju bootstrap". There will not be any
> automatic
> > upload if tools aren't found and syncing fails.
>
> The auto upload was added to avoid the less than user friendly scenario
> whereby
> people running from source could not bootstrap without specifying
> --upload-tools. My opinion is that the current functionaility is waranted
> because it makes bootstrap Just Work and removes a common failure path. It
> also
> unifies the bootstrap command for dev vs prod and consistency is good.
>

I'll leave it in, though I think it will have to change slightly to drop
the automatic uploading of tools for series specified through --series.
That can still be handled by "juju bootstrap --upload-tools".

I'm readying a CL now. Took a while to get the tests right.

Cheers,
Andrew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju-dev/attachments/20131015/3214e44c/attachment.html>


More information about the Juju-dev mailing list