cinder/cinder
Gorka Eguileor e726c07948 RBD: Don't flatten temporary resources
There are instances where cinder needs to create a temporary volume and
this can trigger a flatten of the new temporary volume, which will make
the operation take a lot longer.

In some cases this means slower operations, but in others it leads to
rpc timeout failures.

A case where we see timeout failures is when doing a backup of a
snapshot and we have rbd_flatten_volume_from_snapshot=true.

This patch ensures that we don't flatten temporary volumes.

Closes-Bug: #1916843
Change-Id: I8f55c3beb2f8df5b2227506f82ddf6ee57c951ae
2021-08-30 19:12:01 +02:00
..
api Expose volume & snapshot use_quota field 2021-08-26 19:04:12 +02:00
backup Add backup_swift_create_storage_policy config opt 2021-06-28 07:37:06 +00:00
brick LVM: Retry lvextend commands on code 139 2021-08-18 12:29:01 -04:00
cmd Merge "Improve quota usage for temporary resources" 2021-08-28 15:56:37 +00:00
common Remove Block Storage API v2 2021-06-04 17:21:28 -04:00
compute Fix instance locality scheduler filter 2021-04-13 12:27:55 +03:00
db Improve quota usage for temporary resources 2021-08-26 18:47:27 +02:00
group Use resource_backend for volumes and groups 2020-08-14 08:13:42 +00:00
image mypy: image cache 2021-08-10 10:26:39 -04:00
interface Replace getargspec with getfullargspec 2021-05-13 09:22:14 +08:00
keymgr Introduce flake8-import-order extension 2020-01-06 09:59:35 -06:00
locale Imported Translations from Zanata 2021-03-24 06:25:01 +00:00
message Add user messages for some volume snapshot actions 2019-04-26 17:02:05 -04:00
objects Improve quota usage for temporary resources 2021-08-26 18:47:27 +02:00
policies Simplify composite check strings for project personas 2021-02-17 17:44:40 +00:00
privsep Enable flake8-logging-format extension 2020-01-09 14:35:20 -06:00
scheduler mypy: continued manager, scheduler, rpcapi 2021-08-11 08:36:09 -04:00
tests RBD: Don't flatten temporary resources 2021-08-30 19:12:01 +02:00
transfer Fix: show volume transfer by name for non-admins 2020-08-03 12:46:31 +00:00
volume RBD: Don't flatten temporary resources 2021-08-30 19:12:01 +02:00
wsgi Introduce flake8-import-order extension 2020-01-06 09:59:35 -06:00
zonemanager Brocade: Fix lookup UnboundLocalError 2020-08-07 15:24:44 +02:00
__init__.py
context.py mypy: continued manager, scheduler, rpcapi 2021-08-11 08:36:09 -04:00
coordination.py Remove file locks once we delete a resource 2021-08-04 10:41:33 -04:00
exception.py mypy: annotate volume_utils / utils / exc 2021-04-30 10:41:30 -04:00
flow_utils.py mypy: create_volume flows 2021-08-10 10:26:39 -04:00
i18n.py Replace http with https for doc links in cinder 2017-10-17 11:14:01 +08:00
manager.py mypy: continued manager, scheduler, rpcapi 2021-08-11 08:36:09 -04:00
opts.py Merge "Update code layout and missing Zadara features" 2021-03-19 19:00:48 +00:00
policy.py Merge "Make sure we pass context objects directly to policy enforcement" 2021-03-07 00:07:42 +00:00
quota.py Merge "Remove six from quota.py" 2021-04-20 07:49:02 +00:00
quota_utils.py Modify/Move project validation methods to api_utils 2021-04-05 08:00:40 -04:00
rpc.py mypy: continued manager, scheduler, rpcapi 2021-08-11 08:36:09 -04:00
service.py Fix typo on service cluster change method 2020-05-06 19:36:07 -05:00
service_auth.py Add service_token for cinder-nova interaction 2017-12-15 12:04:23 +05:30
ssh_utils.py Remove six in files under cinder/* 2020-10-08 14:00:14 +08:00
utils.py Merge "Replace deprecated tenacity.Retrying.call" 2021-08-20 17:18:17 +00:00
version.py