标签:glance
jessie安装glance,为instance创建快照,glance --os-image-api-version 2 image-list,报错
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
这是一个bug,
https://bugs.launchpad.net/python-glanceclient/+bug/1447193
解决办法:
mv /etc/glance/schema-image.json /etc/glance/schema-image.json.orig curl http://git.openstack.org/cgit/openstack/glance/plain/etc/schema-image.json?h=stable/kilo -o /glance/schema-image.json
本文出自 “武陵荒草” 博客,请务必保留此出处http://penguintux.blog.51cto.com/3021117/1684751
标签:glance
原文地址:http://penguintux.blog.51cto.com/3021117/1684751