karbor/karbor
Gaëtan Trellu 089f9886b0 Not able to upload volume to image
upload_to_image() function should be updated when
client version is bigger than 3.1.

Without this we are not able to run this function:

   image = cinder_client.volumes.upload_to_image(
       volume=temporary_volume,
       force=True,
       image_name='temporary_image_of_{0}'.format(temporary_volume.id),
       container_format="bare",
       disk_format="raw"
   )

Change-Id: I825ad0d6f6c25e2d85c756e6148e73e7e298ef75
Closes-Bug: #1787399
Co-Authored-By: Jiao Pengju <jiaopengju@cmss.chinamobile.com>
2018-10-14 17:36:04 +08:00
..
api Fix fullstack test error 2018-02-27 09:57:13 +08:00
cmd Replace DbMigrationError with DBMigrationError 2017-11-23 12:58:30 +08:00
common Revert "Add time format check in API" 2018-01-08 09:27:37 +08:00
db Add API controller for the quotas of Karbor 2017-11-03 11:51:31 +08:00
objects Add service management API to Karbor 2017-10-24 18:04:04 +08:00
policies Add the checkpoint copy API for Karbor 2017-11-13 15:28:09 +08:00
services Not able to upload volume to image 2018-10-14 17:36:04 +08:00
tests Not able to upload volume to image 2018-10-14 17:36:04 +08:00
wsgi Remove redundant ctor super calls, add missing 2017-05-14 12:10:31 +03:00
__init__.py Change Smaug to Karbor 2016-08-18 22:55:34 +08:00
context.py Add default policy in code for the plan resource 2017-09-26 19:18:31 +08:00
exception.py jsonschema validation: base schema framework and plans API 2017-12-05 17:45:40 +08:00
i18n.py Update URLs in documentation 2017-07-20 16:08:19 +08:00
loadables.py Remove redundant ctor super calls, add missing 2017-05-14 12:10:31 +03:00
manager.py Remove logging import unused 2017-01-16 08:58:41 +07:00
policy.py Add default policy in code for the scheduled operation resource 2017-09-28 19:32:56 +08:00
quota.py Add API controller for the quotas of Karbor 2017-11-03 11:51:31 +08:00
resource.py Refactor resource.py/Resource 2017-05-31 10:04:55 +08:00
rpc.py Short-circuit notifications when not enabled 2017-09-29 14:17:45 +08:00
service.py Remove redundant ctor super calls, add missing 2017-05-14 12:10:31 +03:00
utils.py Revert "Add time format check in API" 2018-01-08 09:27:37 +08:00
version.py Change Smaug to Karbor 2016-08-18 22:55:34 +08:00