Ask Your Question

"glance image-list" fails after taking any snapshot

asked 2015-08-04 20:31:08 -0600

luowei gravatar image

updated 2015-08-05 02:32:51 -0600

SGPJ gravatar image

On a clean kilo install following OpenStack Installation Guide for Ubuntu 14.04 kilo (2015-07-17),"glance image-list" fails after taking any snapshot as below. It works again if snapshot is deleted. Reproducible with cirros image. (same results on two different kilo stacks built independently).

--- after snap shot ---

$ glance image-list

None is not of type u'string'

Failed validating u'type' in schema[u'properties'][u'ramdisk_id']:
    {u'description': u'ID of image stored in Glance that should be used as the ramdisk when booting an AMI-style image.',

  u'is_base': False,
     u'pattern': u'^([0-9a-fA-F]){8}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){12}$',
     u'type': u'string'}

On instance[u'ramdisk_id']:
edit retag flag offensive close merge delete



I've found it works if I force api to version 1 as in:

$ glance --os-image-api-version 1 image-list
luowei gravatar imageluowei ( 2015-08-04 20:44:25 -0600 )edit

This is the bug associated with issue: (

Andrea Lora gravatar imageAndrea Lora ( 2015-08-06 03:32:44 -0600 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2015-11-12 05:09:37 -0600

jokke gravatar image

The resolution for this issue was identified on bug ( and fixed on Liberty & Kilo releases by fixing the schema glance service claimed to follow. The data provided by glance-api service was inconsistent with the schema, which failed the client end verification.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2015-08-04 20:31:08 -0600

Seen: 475 times

Last updated: Aug 05 '15