<div dir="ltr">On Sun, Oct 6, 2013 at 2:02 AM, Bjorn Tillenius <span dir="ltr"><<a href="mailto:bjorn@canonical.com" target="_blank">bjorn@canonical.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="im">On Sun, Oct 06, 2013 at 01:04:33AM +0800, Andrew Wilkins wrote:<br>
> On Sat, Oct 5, 2013 at 11:41 PM, Bjorn Tillenius <<a href="mailto:bjorn@canonical.com">bjorn@canonical.com</a>>wrote:<br>
><br>
> > Hi Andrew,<br>
> ><br>
> > bootstrapping the environment fails for me, with this error message:<br>
> ><br>
> > 2013-10-05 15:33:46 INFO juju.environs.tools simplestreams.go:235<br>
> > Fetching tools to generate hash:<br>
> ><br>
> > sftp://juju-bootstrap//var/lib/juju/storage/tools/releases/juju-1.15.1-precise-amd64.tgz<br>
> > 2013-10-05 15:33:46 ERROR juju supercommand.go:282 Get<br>
> ><br>
> > sftp://juju-bootstrap//var/lib/juju/storage/tools/releases/juju-1.15.1-precise-amd64.tgz:<br>
> > unsupported protocol scheme "sftp"<br>
> ><br>
><br>
> Hmm. I'll have to see if I can reproduce this and get back to you with any<br>
> workarounds. I tested all this on a clean environment yesterday without<br>
> issue, so either something's changed since, or it's environmental. If you<br>
> can reproduce the issue easily, could you please run bootstrap with<br>
> "--debug" and attach it to this bug?<br>
> <a href="https://bugs.launchpad.net/juju-core/+bug/1235717" target="_blank">https://bugs.launchpad.net/juju-core/+bug/1235717</a><br>
<br>
</div>Done. I tested it on three different machines, saucy, raring and<br>
precise, same problem everywhere.<br></blockquote><div><br></div><div>Great, thanks Björn, the log was useful. Seems to me that what might have happened is:</div><div> - you tried to bootstrap, and it got part way through downloading the tools</div>
<div> - you tried to bootstrap again</div><div><br></div><div>I've reproduced the error by forcing this scenario in my dev environment, and will have a fix up for review today. For a temporary workaround: if you go to the machine that you're trying to bootstrap and remove /var/lib/juju, then you should be able to bootstrap. If you still can't, please update the bug with the output of "find /var/lib/juju" at the time you get the error.</div>
<div><br></div><div>Cheers,</div><div>Andrew</div></div></div></div>