cinder/cinder
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
..
api Add policy check for complete attachment API action 2018-01-24 15:48:22 +00:00
backup Remove logging on Swift backup obj writer 2018-01-24 17:23:59 +01:00
brick Merge "Fixes creation of mirrored volumes due to wrong type" 2017-12-16 02:30:28 +00:00
cmd backup: set default swiftclient log level to WARN 2018-01-25 15:50:34 -05:00
common Remove deprecated 'pybasedir' config option 2017-12-16 16:30:06 +00:00
compute Add service_token for cinder-nova interaction 2017-12-15 12:04:23 +05:30
consistencygroup Merge "Add quota limit check and enhance roll back for cg create" 2017-03-20 13:13:08 +00:00
db Merge "Add enough notification for QoS" 2018-01-18 18:40:22 +00:00
group Merge "Create group from snapshot-group failure leaves behind the volume" 2017-12-25 16:27:41 +00:00
hacking Add contributor doc on assertEqual vs assertFalse 2017-08-30 17:50:02 +00:00
image Merge "RBD: Support encrypted volumes" 2018-01-25 05:12:20 +00:00
interface Handle deprecation of inspect.getargspec 2017-11-21 12:57:05 -06:00
keymgr Migrate fixed_key encryption keys to Barbican 2017-12-01 15:30:32 -05:00
locale Imported Translations from Zanata 2017-12-01 06:33:02 +00:00
message Disallow unmanaging encrypted volumes 2017-11-29 10:43:32 -05:00
objects Validate volume status again when snapshot created 2017-12-29 02:56:44 +00:00
policies Add policy check for complete attachment API action 2018-01-24 15:48:22 +00:00
scheduler Overprovisioning Improvements 2018-01-25 07:37:17 -02:00
tests Fix cinder quota-usage error 2018-01-27 16:41:33 +08:00
transfer Block attempts to transfer encrypted volumes 2018-01-04 16:40:05 +00:00
volume Fix cinder quota-usage error 2018-01-27 16:41:33 +08:00
wsgi Initialize osprofiler in WSGI application 2018-01-09 14:06:34 +01:00
zonemanager Merge "Mark Cisco FC ZM driver as unsupported" 2017-10-27 21:28:02 +00:00
__init__.py Set EVENTLET_NO_GREENDNS for IPv6 and dnspython compat 2016-11-11 13:19:07 -06:00
context.py Fix: Propagate OS global request ID 2018-01-15 22:00:27 +01:00
coordination.py Remove deprecated heartbeat options 2017-10-03 14:41:18 -05:00
exception.py Merge "Update tgt iSCSI target on volume extend" 2018-01-04 05:59:45 +00:00
flow_utils.py Fix logging traceback in service logs 2016-12-20 12:39:07 +05:30
i18n.py Replace http with https for doc links in cinder 2017-10-17 11:14:01 +08:00
manager.py Remove periodic_tasks method from base manager 2017-07-06 12:26:40 +03:00
opts.py Rename 'WindowsDriver' to 'WindowsISCSIDriver' 2018-01-19 14:10:03 +02:00
policy.py Add cg policies and clean up old policy handling 2017-12-04 10:07:54 +08:00
quota.py Periodic task to clean expired reservation 2017-05-30 22:21:38 +08:00
quota_utils.py Add Generic Volume Group Into Quota Management 2017-05-26 01:43:23 +00:00
rpc.py Remove deprecated oslo_messaging.get_transport 2017-06-13 14:25:38 +07:00
service.py Windows: allow multiple c-vol backends per service 2018-01-11 13:11:39 +02:00
service_auth.py Add service_token for cinder-nova interaction 2017-12-15 12:04:23 +05:30
ssh_utils.py Change ssh_utils parameter to correctly sends keepalive packets 2017-12-12 14:46:29 +09:00
test.py Add cg policies and clean up old policy handling 2017-12-04 10:07:54 +08:00
utils.py Overprovisioning Improvements 2018-01-25 07:37:17 -02:00
version.py