Merge lp://staging/~wallyworld/juju-core/simplestreams-multiple-indices into lp://staging/~juju/juju-core/trunk
Proposed by
Ian Booth
Status: | Merged |
---|---|
Merged at revision: | 1224 |
Proposed branch: | lp://staging/~wallyworld/juju-core/simplestreams-multiple-indices |
Merge into: | lp://staging/~juju/juju-core/trunk |
Prerequisite: | lp://staging/~wallyworld/juju-core/oxygen-data-parse |
Diff against target: |
468 lines (+157/-27) 11 files modified
cmd/juju/upgradejuju.go (+1/-1) cmd/jujud/upgrade.go (+1/-1) environs/ec2/ec2.go (+22/-1) environs/ec2/export_test.go (+4/-0) environs/ec2/local_test.go (+11/-0) environs/imagemetadata/simplestreams.go (+41/-13) environs/imagemetadata/simplestreams_test.go (+10/-4) environs/interface.go (+8/-0) environs/openstack/export_test.go (+5/-1) environs/openstack/local_test.go (+13/-0) environs/openstack/provider.go (+41/-6) |
To merge this branch: | bzr merge lp://staging/~wallyworld/juju-core/simplestreams-multiple-indices |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Juju Engineering | Pending | ||
Review via email: mp+162919@code.staging.launchpad.net |
Description of the change
Use multiple base urls for simplestreams
The simplestreams image metadata lookup now takes multiple base urls, and looks at each
in turn to try and find an index file containing the requested image. The order of looking
is:
- public bucket (if openstack)
- product-streams keystone catalog entry (if openstack)
- default cloud-images.
The ec2 and openstack providers have been configured to generate the above urls. The next
branch will use these urls and the simplestreams support to find the image id for the
relevant image based on series, arch etc.
To post a comment you must log in.
Reviewers: mp+162919_ code.launchpad. net,
Message:
Please take a look.
Description:
Use multiple base urls for simplestreams
The simplestreams image metadata lookup now takes multiple base urls, ubuntu. com url
and looks at each
in turn to try and find an index file containing the requested image.
The order of looking
is:
- public bucket
- product-streams keystone catalog entry (if openstack)
- default cloud-images.
The ec2 and openstack providers have been configured to generate the
above urls. The next
branch will use these urls and the simplestreams support to find the
image id for the
relevant image based on series, arch etc.
https:/ /code.launchpad .net/~wallyworl d/juju- core/simplestre ams-multiple- indices/ +merge/ 162919
Requires: /code.launchpad .net/~wallyworl d/juju- core/oxygen- data-parse/ +merge/ 162308
https:/
(do not edit description out of merge proposal)
Please review this at https:/ /codereview. appspot. com/9128047/
Affected files: ec2/export_ test.go ec2/local_ test.go imagemetadata/ simplestreams. go imagemetadata/ simplestreams_ test.go openstack/ export_ test.go openstack/ local_test. go openstack/ provider. go
A [revision details]
M environs/ec2/ec2.go
M environs/
M environs/
M environs/
M environs/
M environs/
M environs/
M environs/