Schema Missing kernel_id, ramdisk_id causes #1447193
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
High
|
Jorge Niedbalski | ||
Kilo |
Fix Released
|
Critical
|
Flavio Percoco | ||
glance (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Vivid |
Fix Released
|
Undecided
|
Jorge Niedbalski |
Bug Description
[Description]
[Environment]
- Ubuntu 14.04.2
- OpenStack Kilo
ii glance 1:2015.
ii glance-api 1:2015.
ii glance-common 1:2015.
ii glance-registry 1:2015.
ii python-glance 1:2015.
ii python-glance-store 0.4.0-0ubuntu1~
ii python-glanceclient 1:0.15.
[Steps to reproduce]
0) Set /etc/glance/
1) nova boot --flavor m1.small --image base-image --key-name keypair --availability-zone nova --security-groups default snapshot-bug
2) nova image-create snapshot-bug snapshot-
At this point the created image has no kernel_id (None) and image_id (None)
3) Enable_v2_api=True in glance-api.conf and restart.
4) Run a os-image-api=2 client,
$ glance --os-image-
This will fail with #1447193
[Description]
The schema-image.json file needs to be modified to allow null, string values for both attributes.
Related branches
- Corey Bryant: Approve
-
Diff: 72 lines (+53/-0)3 files modifieddebian/changelog (+7/-0)
debian/patches/0001-Allow-ramdisk_id-kernel_id-to-be-null-on-schema.patch (+45/-0)
debian/patches/series (+1/-0)
Changed in glance: | |
assignee: | nobody → Jorge Niedbalski (niedbalski) |
Changed in glance: | |
status: | In Progress → Invalid |
Changed in glance: | |
status: | Fix Committed → Fix Released |
Changed in glance: | |
importance: | Undecided → High |
Changed in glance (Ubuntu Vivid): | |
status: | New → Confirmed |
Changed in glance (Ubuntu): | |
status: | Confirmed → Fix Committed |
status: | Fix Committed → Confirmed |
Changed in glance (Ubuntu): | |
status: | Confirmed → In Progress |
Changed in glance (Ubuntu): | |
status: | In Progress → Fix Released |
Fix proposed to branch: master /review. openstack. org/176379
Review: https:/