cinder/cinder/volume
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
..
drivers SF: Remove compat clone image code 2022-06-30 12:08:03 +02:00
flows Fix: nfs format info limitation 2022-05-27 15:47:33 +05:30
targets Remove six of dir cinder/volume/* 2020-10-14 09:08:54 +08:00
__init__.py Fix dynamic import of CONF.volume_api_class 2016-02-12 10:50:31 -06:00
api.py Prohibit volume manage to an encrypted volume type 2022-06-03 11:14:49 -04:00
configuration.py Add support for shared "backend_defaults" config 2017-07-11 18:58:58 +00:00
driver.py Prevent temporary volume from being deleted accidentally 2022-05-12 06:35:47 -07:00
driver_utils.py Remove log translations 2017-03-19 14:59:57 +00:00
group_types.py Remove six of dir cinder/volume/* 2020-10-14 09:08:54 +08:00
manager.py Prevent temporary volume from being deleted accidentally 2022-05-12 06:35:47 -07:00
qos_specs.py [Doc] Handle Sphinx warnings as errors 2017-08-29 16:00:09 -05:00
rpcapi.py Backup manager: Synchronously call remove_export 2021-03-22 11:04:16 -04:00
throttling.py Remove exception.Error class 2020-07-21 18:21:21 +03:00
volume_migration.py Initiating Cinder Volume Manager with large number of volumes 2019-01-11 08:19:07 -05:00
volume_types.py mypy: annotate volume manager 2021-02-10 12:27:47 -05:00
volume_utils.py Abort volume creation when encryption spec is invalid 2021-07-09 10:36:31 -04:00