cinder/cinder
Tomoki Sekiyama edf00659aa Fix volume upload failure with glance_api_version=2
When the volume has additional image properties, upload-to-image
using glance API version 2 will fail with the following error.

  Failed validation u'type' in schema[u'additionalProperties']:
      {u'type': u'string'}

This is due to non core properties passed as a dict to the key
'properties'. It is valid in Image API v1, but the additional
properties must be passed just like core properties in v2.

Change-Id: Ib32c92a8be170b5f43a34e69155398dfc1a8cbcd
Closes-Bug: #1527324
2015-12-21 15:06:06 +09:00
..
api Merge "Remove eventlet WSGI functionality" 2015-12-14 02:11:31 +00:00
backup Cleanup orphaned code from ceph backup driver 2015-11-26 23:25:31 -06:00
brick Add LC_ALL=C to lvcreate, lvextend and pvresize 2015-11-05 18:43:31 +01:00
cmd LIO: Handle initiator IQNs as case insensitive 2015-12-02 12:18:32 -05:00
common Remove eventlet WSGI functionality 2015-12-11 21:23:48 +00:00
compute Fix InstanceLocalityFilter scheduler filter 2015-11-18 15:42:13 +02:00
config Dynamically Pull Out Option Sections 2015-12-05 05:23:13 -06:00
consistencygroup CGSnapshot Object 2015-10-19 14:37:39 +02:00
db Merge "Cleanup orphaned code in sqlalchemy API" 2015-12-02 00:14:27 +00:00
hacking Hacking Checks for assertTrue/IsNone() 2015-11-25 11:22:35 -06:00
image Fix volume upload failure with glance_api_version=2 2015-12-21 15:06:06 +09:00
keymgr Check context before returning cached value 2015-12-08 20:51:48 -05:00
locale Imported Translations from Zanata 2015-12-13 06:22:42 +00:00
objects Add validation for volume_type of volume object 2015-12-09 17:39:23 -05:00
openstack Merge "Fix the bug of can't get the desired image info" 2015-12-02 04:39:28 +00:00
replication Use oslo.log instead of oslo-incubator 2015-03-11 21:45:04 -05:00
scheduler Update migrate_volume API to use versionedobjects 2015-12-03 16:27:16 +00:00
testing
tests Fix volume upload failure with glance_api_version=2 2015-12-21 15:06:06 +09:00
transfer Fix quotas issue during volume transfer 2015-11-25 23:52:01 -05:00
volume Merge "NetApp: E-Series fix JSONDecodeError on first add" 2015-12-14 02:11:16 +00:00
wsgi Remove eventlet WSGI functionality 2015-12-11 21:23:48 +00:00
zonemanager Use oslo_config new type PortOpt for port options 2015-11-11 09:52:30 +08:00
__init__.py
context.py Don't use default=None for config options 2015-11-07 23:20:39 +00:00
exception.py Volume driver for Coho Data storage solutions 2015-12-06 21:31:33 -08:00
flow_utils.py Refactoring of manager's create_volume flow 2015-07-24 11:19:09 +02:00
i18n.py Remove unused gettextutils from oslo-incubator 2015-10-16 15:22:49 -05:00
manager.py Merge "Enhance deletion efficiency when backup init host" 2015-08-30 12:57:46 +00:00
opts.py Remove eventlet WSGI functionality 2015-12-11 21:23:48 +00:00
policy.py adds user_id to check_is_admin 2015-08-25 04:46:18 -07:00
quota.py Cinder Nested Quota Driver 2015-08-26 12:00:15 -07:00
quota_utils.py Use project id from volume when retyping volumes 2015-10-15 15:20:28 +00:00
rpc.py Cleanup orphaned code from cinder root directory 2015-10-01 15:19:15 -05:00
service.py Remove eventlet WSGI functionality 2015-12-11 21:23:48 +00:00
ssh_utils.py Fix Python 3 issues in utils 2015-06-15 10:29:22 +02:00
test.py Move get_by_id to CinderObject 2015-11-20 14:34:21 +01:00
utils.py Robustify writing iscsi target persistence file 2015-12-02 19:13:58 -05:00
version.py