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

Andreas Hasenack andreas at canonical.com
Wed Jul 31 20:13:45 UTC 2013


Hi,

the scenario is the following:
- the openstack cloud I'm working with has juju-tools and product-streams
published in keystone catalog
- I'm using juju-core from the ppa (1.11.4-1~1514~raring1)
- someone already took care of uploading the corresponding tools to the
product-streams service of this openstack cloud. juju bootstrap works.
- I want juju to use a custom image, and not the one published in the
product-streams

Since someone decided default-image-id had to go, I went on to produce my
own simplestreams and upload it. And I added public-bucket-url to
environments.yaml so that juju would look there. But now I'm getting an
error about the tools:
$ 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-
(...)

juju is looking for the tools in public-bucket-url. I understand it's not
finding it there, and not trying the keystone catalog url for tools.

Does public-bucket-url, if specified, need to contain both? Tools and
streams? What should I do if I want juju to use a custom image?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20130731/b9c4ad61/attachment-0001.html>


More information about the Juju mailing list