Jessie Install glance, create a snapshot for instance, Glance--os-image-api-version 2 image-list, error
Glance--os-image-api-version 2 Image-listnone is not a 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 is 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
This is a bug,
https://bugs.launchpad.net/python-glanceclient/+bug/1447193
Workaround:
Mv/etc/glance/schema-image.json/etc/glance/schema-image.json.origcurl http://git.openstack.org/cgit/openstack/ Glance/plain/etc/schema-image.json?h=stable/kilo-o/glance/schema-image.json
This article is from the "Wuling Grassland" blog, please make sure to keep this source http://penguintux.blog.51cto.com/3021117/1684751
Jessie Installing glance using API V2 Bug