Is public-bucket-url used for both tools and streams?

Andreas Hasenack andreas at canonical.com
Wed Jul 31 20:25:33 UTC 2013


On Wed, Jul 31, 2013 at 5:13 PM, Andreas Hasenack <andreas at canonical.com>wrote:

> $ juju bootstrap -v
> 2013-07-31 20:09:01 INFO juju provider.go:115 environs/openstack: opening
> environment "serverstack"
> 2013-07-31 20:09:01 INFO juju provider.go:417 environs/openstack:
> bootstrapping environment "serverstack"
> 2013-07-31 20:09:11 INFO juju tools.go:26 environs: reading tools with
> major version 1
> 2013-07-31 20:09:12 INFO juju tools.go:30 environs: falling back to public
> bucket
> 2013-07-31 20:09:12 ERROR juju supercommand.go:235 command failed: failed
> to list contents of container: juju-dist
> caused by: Unauthorised URL
> http://hyc7y-cofgod.1ss.qa.lexington:8080/v1/AUTH_98ad73deb8eb41ad8f118fd4badfe430/juju-dist?delimiter=&marker=&prefix=tools%2Fjuju-
> (...)
>
>

So I went ahead and created the juju-dist container, with read and list
acls, but uploaded only the simplestrams structure to it:
$ swift post juju-dist
$ swift upload juju-dist/streams/v1 index.json imagemetadata.json
imagemetadata.json
index.json
$ swift post juju-dist -r ".r:*,.rlistings"
$ juju bootstrap -v
2013-07-31 20:23:38 INFO juju provider.go:115 environs/openstack: opening
environment "serverstack"
2013-07-31 20:23:38 INFO juju provider.go:417 environs/openstack:
bootstrapping environment "serverstack"
2013-07-31 20:23:48 INFO juju tools.go:26 environs: reading tools with
major version 1
2013-07-31 20:23:48 INFO juju tools.go:30 environs: falling back to public
bucket
2013-07-31 20:23:48 ERROR juju supercommand.go:235 command failed: no tools
available
error: no tools available

No 401 this time, but no tools either.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20130731/7233622e/attachment-0001.html>


More information about the Juju mailing list