Just upgraded a cloud from juno to kilo. (It started out life on
icehouse).

On a centos6 box (only supports icehouse glance client 
python-glanceclient-0.12.0-1.el6.noarch) I see this:
  File "/etc/ansible/hosts/openstack_inventory.py", line 69, in do_tenant
    for i in gt.images.list():
  File "/usr/lib/python2.6/site-packages/glanceclient/v2/images.py", line 75, 
in list
    yield self.model(**image)
  File "/usr/lib/python2.6/site-packages/warlock/core.py", line 32, in __init__
    base_class.__init__(self, *args, **kwargs)
  File "/usr/lib/python2.6/site-packages/warlock/model.py", line 34, in __init__
    raise ValueError(str(exc))
ValueError: 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


I'd call this a regression with the v2 api somehow...

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to