environs/simplestreams doesn't fall over if a datasource has valid metadata, but contains no matching product IDs
Bug #1247730 reported by
Andrew Wilkins
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Fix Released
|
High
|
Andrew Wilkins |
Bug Description
If a datasource contains metadata, but that metadata doesn't include the product ID specified, it blocks lookup of the product ID - there is no fallover to following datasources. This manifested in lp:1233924.
Related branches
lp:~axwalk/juju-core/lp1233924-simplestreams-getmetadata-fallback
- Tim Penhey (community): Approve
-
Diff: 321 lines (+107/-42)6 files modifiedenvirons/simplestreams/simplestreams.go (+4/-3)
environs/simplestreams/simplestreams_test.go (+43/-0)
environs/simplestreams/testing/testing.go (+24/-0)
environs/tools/tools_test.go (+12/-22)
provider/openstack/export_test.go (+2/-4)
provider/openstack/local_test.go (+22/-13)
Changed in juju-core: | |
assignee: | nobody → Andrew Wilkins (axwalk) |
status: | Triaged → In Progress |
Changed in juju-core: | |
status: | In Progress → Fix Committed |
tags: | added: docs |
Changed in juju-core: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.