Kernel and ramdisk ids cannot have 'None' value in Glance
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Invalid
|
Undecided
|
Mike Fedosin |
Bug Description
Currently if user wants to create an instance using a Glance snapshot that has no value for ramdisk_id or kernel_id, then Nova copies the image metadata into instance system metadata and prefixes the keys with 'image_'.
Due to [1] the None value of ramdisk_id and kernel_id get written as the string 'None' in system metadata.
Unfortunately these values are not accepted by glance image schema in v2 api [2]. They can be None, but a not string 'None'.
This issue doesn't allow us to fully adopt glance v2 api in Nova.
Paste from ~smatzek http://
[1] https:/
[2] https:/
tags: | added: images |
Fix proposed to branch: master /review. openstack. org/274203
Review: https:/