Description of problem: Snapshot deletion should fail with an error. Please check the below commands: ~~~ openstack volume list +--------------------------------------+------------------+-----------+------+-------------+ | ID | Name | Status | Size | Attached to | +--------------------------------------+------------------+-----------+------+-------------+ | 403e117d-0d57-4062-aba9-17d19a16668b | test | available | 1 | | +--------------------------------------+------------------+-----------+------+-------------+ openstack volume snapshot create --volume test test-snap +-------------+--------------------------------------+ | Field | Value | +-------------+--------------------------------------+ | created_at | 2021-06-08T12:56:56.911444 | | description | None | | id | e236b062-5cac-40f1-a5b7-45c40b3467d9 | | name | test-snap | | properties | | | size | 1 | | status | creating | | updated_at | None | | volume_id | 403e117d-0d57-4062-aba9-17d19a16668b | +-------------+--------------------------------------+ openstack volume snapshot list +--------------------------------------+-----------+-------------+-----------+------+ | ID | Name | Description | Status | Size | +--------------------------------------+-----------+-------------+-----------+------+ | e236b062-5cac-40f1-a5b7-45c40b3467d9 | test-snap | None | available | 1 | +--------------------------------------+-----------+-------------+-----------+------+ openstack volume create --snapshot test-snap test-snap-vol +---------------------+--------------------------------------+ | Field | Value | +---------------------+--------------------------------------+ | attachments | [] | | availability_zone | nova | | bootable | false | | consistencygroup_id | None | | created_at | 2021-06-08T12:57:40.000000 | | description | None | | encrypted | False | | id | 28c03a36-b281-46ce-b29e-497519e799b5 | | migration_status | None | | multiattach | False | | name | test-snap-vol | | properties | | | replication_status | None | | size | 1 | | snapshot_id | e236b062-5cac-40f1-a5b7-45c40b3467d9 | | source_volid | None | | status | creating | | type | tripleo | | updated_at | None | | user_id | 92452da4acce4c49b3011ec1ad71d544 | +---------------------+--------------------------------------+ openstack volume list +--------------------------------------+------------------+-----------+------+-------------+ | ID | Name | Status | Size | Attached to | +--------------------------------------+------------------+-----------+------+-------------+ | 28c03a36-b281-46ce-b29e-497519e799b5 | test-snap-vol | available | 1 | | | 403e117d-0d57-4062-aba9-17d19a16668b | test | available | 1 | | +--------------------------------------+------------------+-----------+------+-------------+ openstack volume snapshot delete test-snap openstack volume snapshot list +--------------------------------------+-----------+-------------+-----------+------+ | ID | Name | Description | Status | Size | +--------------------------------------+-----------+-------------+-----------+------+ | e236b062-5cac-40f1-a5b7-45c40b3467d9 | test-snap | None | available | 1 | | 957073a7-bfdb-4ba6-ae27-379dfd3ff6a0 | test | None | available | 1 | +--------------------------------------+-----------+-------------+-----------+------+ ~~~ Version-Release number of selected component (if applicable): rpm -qa | grep cinder python3-cinderclient-5.0.1-1.20201113202643.8fa0882.el8ost.noarch puppet-cinder-15.4.1-1.20201114011233.ff571a9.el8ost.noarch cat /etc/redhat-release Red Hat Enterprise Linux release 8.2 (Ootpa) cat /etc/rhosp-release Red Hat OpenStack Platform release 16.1.4 GA (Train)
I looked at the support case and see the cinder backend is ceph. Decoupling a snapshot from a volume created from that snapshot requires RBD cloning v2, which will be supported in OSP-16.2 (but not 16.1). See bug #1870282 and bug #1764324. *** This bug has been marked as a duplicate of bug 1870282 ***
*** This bug has been marked as a duplicate of bug 1968526 ***