cinder/cinder/volume
lihaijing c755e29126 Fix cinder quota-usage error
When backing up a snapshot or 'in-use' volume,
cinder creates a temp volume from the snapshot
or 'in-use' volume, then backup the temp volume.
The temp volume doesn't use the volume-quota,
but deleting the temp volume when finishing
backup will minus quota. This process leads to
a wrong quota-usage. So add admin volume metadata
when creating the temporary volume and then use
that data to detect temporary volume. Then skip
handling quota when deleting the temp volume.

Change-Id: If100a678cf9062c4078f850d8edc001b6b0705f4
Closes-Bug: #1670636
2018-01-27 16:41:33 +08:00
..
drivers Merge "Netapp Ontap: Adds support for auto-max-over-subscription" 2018-01-27 00:15:59 +00:00
flows Move disk space check to run when needed 2018-01-19 14:13:11 -08:00
targets Update tgt iSCSI target on volume extend 2017-12-21 08:49:08 -06:00
__init__.py Fix dynamic import of CONF.volume_api_class 2016-02-12 10:50:31 -06:00
api.py Add debug logging around multiattach status changes 2018-01-24 13:51:00 -07:00
configuration.py Add support for shared "backend_defaults" config 2017-07-11 18:58:58 +00:00
driver.py Fix cinder quota-usage error 2018-01-27 16:41:33 +08:00
driver_utils.py Remove log translations 2017-03-19 14:59:57 +00:00
group_types.py handle no default_cgsnapshot_type 2017-11-28 21:55:29 +00:00
manager.py Fix cinder quota-usage error 2018-01-27 16:41:33 +08:00
qos_specs.py [Doc] Handle Sphinx warnings as errors 2017-08-29 16:00:09 -05:00
rpcapi.py Use constants for cinder-volume 2017-12-29 09:05:08 +08:00
throttling.py Remove log translations 2017-03-19 14:59:57 +00:00
utils.py Overprovisioning Improvements 2018-01-25 07:37:17 -02:00
volume_types.py Volume type with encryption comparison 2017-07-25 05:08:12 +00:00