Ask Your Question
0

"glance image-list" fails after taking any snapshot

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

luowei gravatar image

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

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']:
    None
edit retag flag offensive close merge delete

Comments

1

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 -0500 )edit
1

This is the bug associated with issue: https://bugs.launchpad.net/python-glanceclient/+bug/1447193 (https://bugs.launchpad.net/python-gla...)

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

1 answer

Sort by ยป oldest newest most voted
0

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

jokke gravatar image

The resolution for this issue was identified on bug https://bugs.launchpad.net/glance/+bug/1447215 (https://bugs.launchpad.net/glance/+bu...) 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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

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

Seen: 407 times

Last updated: Aug 05 '15