Image properties that reference image ids are not updated to UUIDs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
High
|
Adam Gandelman | ||
Essex |
Fix Released
|
High
|
Eoghan Glynn | ||
glance (Ubuntu) |
Fix Released
|
Critical
|
Unassigned | ||
Precise |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Migration script 012_id_to_uuid.py updates all image.id's to UUIDs, as well as updates referencing rows in image_properties and image_members. It does not, however, go as far as to update actual properties stored in image_properties (kernel_id, ramdisk_id) that reference the old numerical ID. As a result, clients like nova-compute will get "image not found" errors when trying to launch instances that use images associated with kernels/ramdisks (See Bug #932991)
>>> image_id = '5de785e3-
>>> pprint(
{'checksum': '911439879a8f1f
'container_
'created_at': '2012-04-
'deleted': False,
'disk_format': 'ami',
'id': '5de785e3-
'is_public': False,
'min_disk': '0',
'min_ram': '0',
'properties': {'architecture': 'i386',
'protected': False,
'size': 25165824,
'status': 'active',
'updated_at': '2012-04-
The migration script should also check for any references to the previous ID and upgrade accordingly.
Related branches
- Ubuntu Server Developers: Pending requested
-
Diff: 31 lines (+10/-3)2 files modifieddebian/changelog (+6/-0)
debian/glance-common.postinst (+4/-3)
Changed in glance (Ubuntu): | |
importance: | Undecided → Critical |
status: | New → Triaged |
tags: | added: ubuntu-openstack-upgrade |
Changed in glance: | |
importance: | Undecided → High |
Changed in glance: | |
milestone: | none → folsom-1 |
status: | Fix Committed → Fix Released |
Changed in glance (Ubuntu Precise): | |
status: | New → Confirmed |
Changed in glance: | |
milestone: | folsom-1 → 2012.2 |
Fix proposed to branch: master /review. openstack. org/6343
Review: https:/