Bug 2117852

Summary: Unable to delete cinder volumes and snapshots
Product: Red Hat OpenStack Reporter: vivek koul <vkoul>
Component: openstack-cinderAssignee: Cinder Bugs List <cinder-bugs>
Status: CLOSED DUPLICATE QA Contact: Tzach Shefi <tshefi>
Severity: medium Docs Contact: Andy Stillman <astillma>
Priority: medium    
Version: 16.2 (Train)CC: abhijadh, eharney, migawa, rdhasman, rdiwakar, tkajinam
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: x86_64   
OS: Other   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-09-23 03:44:36 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description vivek koul 2022-08-12 07:19:09 UTC
Description of problem:

Customer is trying to delete the volumes/snapshot. But it is failing because the customer has already deleted it from ceph side manually.

Now we have stale entries left in openstack DB.

Need help with clearing up the stale entries left in DB.

Version-Release number of selected component (if applicable):
cat /etc/rhosp-release 
Red Hat OpenStack Platform release 16.2 (Train)

cat /etc/redhat-release 
Red Hat Enterprise Linux release 8.4 (Ootpa)

How reproducible:
Delete the volume manually from ceph side and then try to delete it from openstack side.

Steps to Reproduce:
1. Delete the volume manually from ceph side and then try to delete it from openstack side.
2.
3.

Actual results:
Not able to delete snapshots and volumes

Expected results:
Clear the stale entries.

Additional info:
This is upstream ceph.

Comment 5 Eric Harney 2022-08-23 14:10:11 UTC
This is likely another manifestation of bug 1989680.