Incomplete simplestreams metadata and failed juju bootstrap
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance - Simplestreams Sync Charm |
Invalid
|
Undecided
|
Данило Шеган | ||
Landscape Server |
Fix Committed
|
Undecided
|
Данило Шеган | ||
16.06 |
Won't Fix
|
Undecided
|
Данило Шеган | ||
simplestreams |
Fix Released
|
Undecided
|
Данило Шеган | ||
simplestreams (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Xenial |
Won't Fix
|
Medium
|
Unassigned | ||
Bionic |
Fix Released
|
Undecided
|
Unassigned | ||
Disco |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
This was seen on a Landscape Autopilot deployment (using ceph/ceph) after the fix for lp:1583276 was committed:
root@juju-
Warning: Permanently added 'node-11.
Warning: Permanently added '10.245.201.73' (ECDSA) to the list of known hosts.
python-
Installed: 0.1.0~bzr434~
Candidate: 0.1.0~bzr434~
The glance-
WARNING * 05-23 16:29:08 [PID:18247] * sstreams * Ignoring inactive image 37d8dfe7-
The log then shows that another xenial image was downloaded and ultimately the sync process switches to the daily cron.
[Test Case]
The problem occurs with the user tries to juju bootstrap with trusty. It appears that the trusty simplestreams metadata is incomplete [2,3] and leads to a failed bootstrap [4]. Creating a trusty instance via horizon (no juju involved) works fine and a bootstrap with xenial works also.
[Regression Potention]
This part was added specifically for the Xenial backport, including:
- 436-glance-
And chances of regression are small based on the MR feedback from SEG and this particular bug already stating the issue was fixed.
[Other Info]
Attached are a collection of logs including all the pastebins linked here.
[1] - https:/
[2] - https:/
[3] - https:/
[4] - https:/
Related branches
- simplestreams-dev: Pending requested
-
Diff: 444 lines (+247/-70)2 files modifiedsimplestreams/mirrors/glance.py (+27/-4)
tests/unittests/test_glancemirror.py (+220/-66)
- 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)
Changed in glance-simplestreams-sync-charm: | |
assignee: | nobody → Данило Шеган (danilo) |
Changed in landscape: | |
assignee: | nobody → Данило Шеган (danilo) |
Changed in simplestreams: | |
status: | New → In Progress |
assignee: | nobody → Данило Шеган (danilo) |
Changed in glance-simplestreams-sync-charm: | |
status: | New → Invalid |
Changed in landscape: | |
status: | New → In Progress |
tags: | added: kanban |
tags: | removed: kanban |
Changed in simplestreams (Ubuntu): | |
importance: | Undecided → High |
status: | New → Confirmed |
Changed in simplestreams: | |
status: | In Progress → Fix Committed |
Changed in landscape: | |
status: | In Progress → Fix Committed |
Changed in simplestreams (Ubuntu Disco): | |
status: | New → Fix Released |
Changed in simplestreams (Ubuntu Bionic): | |
status: | New → Fix Released |
Changed in simplestreams (Ubuntu Xenial): | |
status: | New → In Progress |
importance: | Undecided → Medium |
Changed in simplestreams (Ubuntu): | |
importance: | High → Medium |
Changed in simplestreams (Ubuntu Xenial): | |
assignee: | nobody → Rafael David Tinoco (rafaeldtinoco) |
description: | updated |
Changed in simplestreams (Ubuntu Xenial): | |
status: | In Progress → Won't Fix |
Changed in simplestreams (Ubuntu Bionic): | |
status: | Fix Released → 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 |
Here's another pastebin showing the image status after the OSA deployment was finished: /pastebin. canonical. com/157048/
https:/
fginther@ sandman: ~/work/ 16.05/vmstack$ glance image-list ------- ------- ------- ------- ----+-- ------- ------- ------- ------- ------- ------- ------- ------- ------- + ------- ------- ------- ------- ----+-- ------- ------- ------- ------- ------- ------- ------- ------- ------- + b0db-4c4a- 8506-5033ce9956 6d | auto-sync/ ubuntu- trusty- 14.04-amd64- server- 20160516- disk1.img | f829-48e0- a66f-aff0cbe0a2 01 | auto-sync/ ubuntu- xenial- 16.04-amd64- server- 20160516. 1-disk1. img | 05b1-4e3a- 93b6-52f72b255e b0 | auto-sync/ ubuntu- xenial- 16.04-amd64- server- 20160516. 1-disk1. img | ------- ------- ------- ------- ----+-- ------- ------- ------- ------- ------- ------- ------- ------- ------- + sandman: ~/work/ 16.05/vmstack$ nova image-list ------- ------- ------- ------- ----+-- ------- ------- ------- ------- ------- ------- ------- ------- ------- +------ --+---- ----+ ------- ------- ------- ------- ----+-- ------- ------- ------- ------- ------- ------- ------- ------- ------- +------ --+---- ----+ b0db-4c4a- 8506-5033ce9956 6d | auto-sync/ ubuntu- trusty- 14.04-amd64- server- 20160516- disk1.img | ACTIVE | | f829-48e0- a66f-aff0cbe0a2 01 | auto-sync/ ubuntu- xenial- 16.04-amd64- server- 20160516. 1-disk1. img | SAVING | | 05b1-4e3a- 93b6-52f72b255e b0 | auto-sync/ ubuntu- xenial- 16.04-amd64- server- 20160516. 1-disk1. img | ACTIVE | | ------- ------- ------- ------- ----+-- ------- ------- ------- ------- ------- ------- ------- ------- ------- +------ --+---- ----+
+------
| ID | Name |
+------
| d12bef49-
| 37d8dfe7-
| d24eb4f5-
+------
fginther@
+------
| ID | Name | Status | Server |
+------
| d12bef49-
| 37d8dfe7-
| d24eb4f5-
+------