[SRU] glance do not require hypervisor_mapping
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
simplestreams |
Fix Released
|
Medium
|
Unassigned | ||
simplestreams (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Xenial |
Won't Fix
|
Medium
|
Unassigned | ||
Yakkety |
Fix Released
|
Medium
|
Unassigned | ||
Bionic |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
currently the glance mirror requires hypervisor_mapping config in the api.
Better to not required that as a library consumer would not necessarily provide it.
[Test Case]
* deploy a openstack environment with keystone v2 enabled
- get a copy of the bundle available at http://
Expected Result:
- "glance image-list" lists trusty and xenial images
- the file glance-
Actual result:
- "glance image-list" is empty
- glance-
In /var/log/
ERROR * 02-14 15:46:07 [PID:1898] * root * Exception during syncing:
Traceback (most recent call last):
File "/usr/share/
do_
File "/usr/share/
tmirror.
File "/usr/lib/
return self.sync_
File "/usr/lib/
self.
File "/usr/lib/
return self.sync_
File "/usr/lib/
self.
File "/usr/lib/
if self.config[
KeyError: 'hypervisor_
[Regression Potential]
* This patch makes an argument optional only, there is no expected regressions in users of this library.
[Other Info]
The bundle used in the test case uses a modified version of the glance-
Related branches
- Rafael David Tinoco (community): Disapprove
- Bryce Harrington (community): Approve
- Felipe Reyes (community): Approve
- Edward Hope-Morley: Pending requested
-
Diff: 1851 lines (+1732/-11)10 files modifieddebian/changelog (+15/-0)
debian/patches/428-do-not-require-that-hypervisor_config-be-present.patch (+23/-0)
debian/patches/433-glance-ignore-inactive-images.patch (+42/-0)
debian/patches/435-glance-refactor-for-testing.patch (+853/-0)
debian/patches/436-glance-fix-race-conditions.patch (+479/-0)
debian/patches/450-453-454-keystone-v3-support.patch (+13/-10)
debian/patches/455-nova-lxd-support-squashfs-images.patch (+230/-0)
debian/patches/460-glance-handle-v2-auth-with-sessions.patch (+33/-0)
debian/patches/series (+8/-1)
debian/patches/skip-openstack-tests-if-no-libs.patch (+36/-0)
- Rafael David Tinoco (community): Disapprove
- Billy Olsen (community): Approve
- Scott Moser (community): Needs Resubmitting
- Felipe Reyes (community): Approve
- Eric Desrochers: Pending requested
-
Diff: 1845 lines (+1729/-11)10 files modifieddebian/changelog (+12/-0)
debian/patches/428-do-not-require-that-hypervisor_config-be-present.patch (+23/-0)
debian/patches/433-glance-ignore-inactive-images.patch (+42/-0)
debian/patches/435-glance-refactor-for-testing.patch (+853/-0)
debian/patches/436-glance-fix-race-conditions.patch (+479/-0)
debian/patches/450-453-454-keystone-v3-support.patch (+13/-10)
debian/patches/455-nova-lxd-support-squashfs-images.patch (+230/-0)
debian/patches/460-glance-handle-v2-auth-with-sessions.patch (+33/-0)
debian/patches/series (+8/-1)
debian/patches/skip-openstack-tests-if-no-libs.patch (+36/-0)
affects: | ubuntu → simplestreams (Ubuntu) |
Changed in simplestreams (Ubuntu): | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in simplestreams: | |
importance: | Undecided → Medium |
status: | New → Fix Committed |
Changed in simplestreams (Ubuntu Xenial): | |
status: | New → Confirmed |
Changed in simplestreams (Ubuntu Trusty): | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in simplestreams (Ubuntu Xenial): | |
importance: | Undecided → Medium |
Changed in simplestreams (Ubuntu Wily): | |
status: | New → Confirmed |
importance: | Undecided → Medium |
no longer affects: | simplestreams (Ubuntu Wily) |
no longer affects: | simplestreams (Ubuntu Trusty) |
description: | updated |
description: | updated |
summary: |
- glance do not require hypervisor_mapping + [SRU] glance do not require hypervisor_mapping |
description: | updated |
description: | updated |
Changed in simplestreams (Ubuntu Xenial): | |
status: | Confirmed → In Progress |
assignee: | nobody → Rafael David Tinoco (rafaeldtinoco) |
Changed in simplestreams (Ubuntu Xenial): | |
status: | In Progress → Won't Fix |
Changed in simplestreams (Ubuntu Bionic): | |
status: | New → Triaged |
status: | Triaged → In Progress |
Changed in simplestreams (Ubuntu Xenial): | |
assignee: | Rafael David Tinoco (rafaeldtinoco) → nobody |
Changed in simplestreams (Ubuntu Bionic): | |
assignee: | nobody → Rafael David Tinoco (rafaeldtinoco) |
Changed in simplestreams (Ubuntu Bionic): | |
status: | In Progress → Fix Released |
assignee: | Rafael David Tinoco (rafaeldtinoco) → nobody |
This bug was fixed in the package simplestreams - 0.1.0~bzr430- 0ubuntu1
--------------- bzr430- 0ubuntu1) yakkety; urgency=medium
simplestreams (0.1.0~
* New upstream snapshot.
- set a default user agent (LP: #1578622)
- glance mirror: do not require that hypervisor_config be
present (LP: #1578624)
- Optimise read_signed method for better performance (LP: #1580534)
-- Scott Moser <email address hidden> Thu, 12 May 2016 12:55:30 -0400