cinder/cinder
Tomoki Sekiyama 16f1dc862e Fix image volume creation error
When "image_upload_use_cinder_backend = True" is specified to
the volume backend and the Glance cinder store is enabled,
upload-to-image command fails with the following error:

  Create clone_image_volume: xxx for image xxx failed
  (Exception: An object of type VolumeAttachmentList is required
   in field volume_attachment, not a )

This is due to unnecessary attributes specified in the volume
params, such as 'volume_attachment' or 'consistencygroup'.
This patch removes the unnecessary attributes from the params.

Change-Id: Ia416cb6686312e1591de7fe40a7ce7d6aa2fce7d
Closes-Bug: #1529762
Related-Bug: #1528087
2016-01-06 14:13:34 +09:00
..
api Merge "Quota API is now compatible with keystone API v2" 2015-12-28 23:26:14 +00:00
backup Add BackupStatus enum field 2016-01-04 14:32:52 +00: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 "Updated "deleted" column of volume_type_access" 2016-01-05 08:18:47 +00:00
hacking Fix issue with flake8 check and full paths 2016-01-01 20:03:45 +01:00
image Wrong usage of "a" 2015-12-27 01:18:21 +08:00
keymgr Check context before returning cached value 2015-12-08 20:51:48 -05:00
locale Imported Translations from Zanata 2015-12-23 06:27:12 +00:00
objects Add BackupStatus enum field 2016-01-04 14:32:52 +00: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 Re-enabled hacking checks for H105 2016-01-05 11:22:40 +02:00
testing
tests Fix image volume creation error 2016-01-06 14:13:34 +09:00
transfer Fix quotas issue during volume transfer 2015-11-25 23:52:01 -05:00
volume Fix image volume creation error 2016-01-06 14:13:34 +09:00
wsgi Remove eventlet WSGI functionality 2015-12-11 21:23:48 +00:00
zonemanager Merge "Port zonemanager to Python 3" 2015-12-21 20:17:20 +00:00
__init__.py Re-enabled hacking checks for H105 2016-01-05 11:22:40 +02:00
context.py Preserve request id in Cinder logs 2015-12-16 12:04:57 -06:00
coordination.py Tooz locks 2015-12-17 10:27:43 +00:00
exception.py Add volume driver for Tegile IntelliFlash array 2015-12-28 11:36:37 -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 Add Fujitsu ETERNUS DX Volume Driver (again) 2015-12-30 08:59:16 +09: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 Retyping volume got error under max vol limit 2015-12-22 11:18:33 +08:00
rpc.py Cleanup orphaned code from cinder root directory 2015-10-01 15:19:15 -05:00
service.py Merge "Do not use api-paste.ini osprofiler options" 2015-12-28 23:24:06 +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 Wrong usage of "a" 2015-12-27 01:18:21 +08:00
version.py