cinder/cinder
whoami-rajat 70164132dc SF: Remove compat clone image code
SolidFire driver introduced a clone image feature in Kilo release[1]
where we would create a cache volume with volume ID same as of image
ID to create volume from image efficiently by cloning from that cached
volume.
This feature worked same as the image cache feature we have in cinder
so it was deprecated in queens[2] and removed in train[3] in favor of
image cache feature provided by cinder.
However, we still kept compatibility code if users had solidfire cached
volumes to still take advantage of those to create efficient volume
from images.
In the current master (Yoga), we can safely assume that people have
moved to using the image cache feature of cinder since the solidfire
options to enable efficient cloning doesn't exist since train release.
This patch removes the remaining code around this feature as it
doesn't provide any additional benefit and we also log an ERROR
message unnecessarily confusing the operators for every create volume
from image request (details are in the linked launchpad bug).

Closes-Bug: #1959178

[1] https://review.opendev.org/c/openstack/cinder/+/142859
[2] https://review.opendev.org/c/openstack/cinder/+/511623
[3] https://review.opendev.org/c/openstack/cinder/+/664739

Change-Id: I8fe00b06ebb439f83f8cad0f592064c540c54b77
(cherry picked from commit 6b97abc4e4)
(cherry picked from commit 9b583401ad)
(cherry picked from commit c58f74029a)
2022-06-30 12:08:03 +02:00
..
api Prohibit volume manage to an encrypted volume type 2022-06-03 11:14:49 -04:00
backup Don't destroy existing backup by mistake on import 2022-06-02 19:03:17 +00:00
brick LVM: Retry lvextend commands on code 139 2021-08-19 12:24:15 +00:00
cmd Update cinder manage quota commands 2021-04-05 06:22:33 +00:00
common Change 'host' option from HostAddressOpt to StrOpt 2021-09-08 11:22:33 -04:00
compute Fix instance locality scheduler filter 2021-06-27 11:43:38 +00:00
db Fix: Race between attachment and volume deletion 2022-01-17 17:17:19 +01:00
group Use resource_backend for volumes and groups 2020-08-14 08:13:42 +00:00
image Abort volume creation when encryption spec is invalid 2021-07-09 10:36:31 -04:00
interface Add explanations on safe delete 2021-03-17 14:04:20 +01: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 Fix: nfs format info limitation 2022-05-27 15:47:33 +05:30
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 Fix instance locality scheduler filter 2021-06-27 11:43:38 +00:00
tests SF: Remove compat clone image code 2022-06-30 12:08:03 +02:00
transfer Fix: show volume transfer by name for non-admins 2020-08-03 12:46:31 +00:00
volume SF: Remove compat clone image code 2022-06-30 12:08:03 +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: annotate volume manager 2021-02-10 12:27:47 -05:00
coordination.py Remove deprecated heartbeat options 2017-10-03 14:41:18 -05:00
exception.py Merge "Remove NestedQuotaDriver" 2021-02-16 16:26:03 +00:00
flow_utils.py
i18n.py Replace http with https for doc links in cinder 2017-10-17 11:14:01 +08:00
manager.py mypy: annotate volume manager 2021-02-10 12:27:47 -05: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 Remove nested quota leftovers 2021-04-05 06:19:07 +00:00
quota_utils.py Change snapshots type with volume retype 2021-04-01 12:08:03 +02:00
rpc.py Remove six in files under cinder/* 2020-10-08 14:00:14 +08: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 LVM: Fix delete volume error due to lvs failure 2021-04-01 19:40:47 +00:00
version.py