[Bug 1447193] [NEW] Glance client fails with v2 API / Failed validating 'Type' in schema[u'properties'][u'ramdisk_id']
Jorge Niedbalski
1447193 at bugs.launchpad.net
Wed Apr 22 14:07:05 UTC 2015
Public bug reported:
[Environment]
- OpenStack Kilo
- Ubuntu Trusty 14.04
ii python-glanceclient 1:0.15.0-0ubuntu1~cloud0 all Client library for Openstack glance server.
[Reproduction]
- The image was correctly created with No ramdisk_id, kernel_id using glance v1 API.
- After enabling glance v2 api ( enable_v2_api ) and create endpoints i tried to list images
$ glance --os-image-api-version 2 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
** Affects: python-glanceclient
Importance: Undecided
Assignee: Jorge Niedbalski (niedbalski)
Status: New
** Affects: python-glanceclient (Ubuntu)
Importance: Undecided
Status: New
** Summary changed:
- Glance client fails with v2 API / Failed validating 'Type'
+ Glance client fails with v2 API / Failed validating 'Type' in schema[u'properties'][u'ramdisk_id']
** Description changed:
[Environment]
+
+ - OpenStack Kilo
+ - Ubuntu Trusty 14.04
+ ii python-glanceclient 1:0.15.0-0ubuntu1~cloud0 all Client library for Openstack glance server.
[Reproduction]
- The image was correctly created with No ramdisk_id, kernel_id using glance v1 API.
- After enabling glance v2 api ( enable_v2_api ) and create endpoints i tried to list images
$ glance --os-image-api-version 2 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'}
+ {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
+ None
** Changed in: python-glanceclient
Assignee: (unassigned) => Jorge Niedbalski (niedbalski)
** Also affects: python-glanceclient (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to python-glanceclient in Ubuntu.
https://bugs.launchpad.net/bugs/1447193
Title:
Glance client fails with v2 API / Failed validating 'Type' in
schema[u'properties'][u'ramdisk_id']
To manage notifications about this bug go to:
https://bugs.launchpad.net/python-glanceclient/+bug/1447193/+subscriptions
More information about the Ubuntu-server-bugs
mailing list