Validation error when doing image-list with v2 api
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance Client |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Get the following error when listing images:
Traceback (most recent call last):
File "./glance-
images = list(gc.
File "/usr/lib/
yield self.model(**image)
File "/usr/lib/
base_
File "/usr/lib/
raise ValueError(
ValueError: u'ari-100001d5' does not match u'^([0-
Failed validating u'pattern' in schema[
{u'
u'pattern': u'^([0-
u'type': u'string'}
On instance[
u'ari-100001d5'
Changed in python-glanceclient: | |
status: | Incomplete → Invalid |
Bug occurs for me trying to list images or see a specific snapshot after creating a snapshot via the Packer openstack builder:
# glance --os-image- api-version 2 image-show c1320d55- 5912-40d3- acc4-aaf5c15033 fc
None is not of type u'string'
Failed validating u'type' in schema[ u'properties' ][u'ramdisk_ id']: description' : u'ID of image stored in Glance that should be used as the ramdisk when booting an AMI-style image.', 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'
u'is_base': False,
u'pattern': u'^([0-
u'type': u'string'}
On instance[ u'ramdisk_ id']:
None