Bug 2182168

Summary: unable to remove cephfs clones
Product: [Red Hat Storage] Red Hat OpenShift Data Foundation Reporter: kelwhite
Component: cephAssignee: Kotresh HR <khiremat>
ceph sub component: CephFS QA Contact: Elad <ebenahar>
Status: CLOSED NOTABUG Docs Contact:
Severity: low    
Priority: unspecified CC: bmcmurra, bniver, hnallurv, khiremat, khover, lsantann, muagarwa, odf-bz-bot, rar, sostapov
Version: 4.10   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-08-14 15:06:55 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 kelwhite 2023-03-27 18:28:19 UTC

Comment 3 Venky Shankar 2023-03-28 02:33:18 UTC
Kotresh, PTAL.

Comment 10 Kotresh HR 2023-04-12 07:05:02 UTC
*** Bug 2180621 has been marked as a duplicate of this bug. ***

Comment 29 Levy Sant'Anna 2023-05-31 16:54:39 UTC
Any status on this?

Comment 33 khover 2023-06-07 11:23:21 UTC
Hi Kotresh,

Customer updated with this query.

===============

I had a feeling this was due to older volume as we started on OCP4.4 and whatever version OCS was at that time. Should I go ahead and remove what's under [clone snaps] in the below file? Thanks again!


sh-4.4# ls -ahl /mnt/cephfs/volumes/_legacy/
total 3.0K
drwx------. 2 root root   5 May 15 14:54 .
drwxr-xr-x. 6 root root 183 Jun  1 22:16 ..
-rw-r-----. 1 root root 121 Apr  5 15:56 499f2380dd56b9f1562dc6bd27c13794.meta
-rw-r-----. 1 root root 121 Apr  5 15:56 791ee3a929a04c564ec456c2e0d112a7.meta
-rw-r-----. 1 root root 121 Apr  5 15:56 817a647e2b796f6347374d90c37e507d.meta
-rw-r-----. 1 root root 646 May 15 14:54 9aca21c1594d1e762ca898879b40e829.meta
-rw-r-----. 1 root root 121 Apr  5 15:56 d3b5393d1deb9f4d203033c231a98edc.meta
sh-4.4# find /mnt/cephfs/volumes/_legacy/ | xargs grep csi-vol-613a3c90-b22c-11ea-8f58-0a580ae0101a
/mnt/cephfs/volumes/_legacy/9aca21c1594d1e762ca898879b40e829.meta:path = /volumes/csi/csi-vol-613a3c90-b22c-11ea-8f58-0a580ae0101a
sh-4.4# cat /mnt/cephfs/volumes/_legacy/9aca21c1594d1e762ca898879b40e829.meta
[GLOBAL]
version = 1
type = subvolume
path = /volumes/csi/csi-vol-613a3c90-b22c-11ea-8f58-0a580ae0101a
state = complete

[clone snaps]
5a7c9ee3-ed48-46af-bcac-e16077108e69 = csi-snap-09f2c07f-aeca-11ed-b704-0a580ae0160c
11f098b0-24eb-4673-b656-304ecab3e05e = csi-snap-2991ff43-af30-11ed-b704-0a580ae0160c
6121b4c2-4970-438c-b86a-d05c57381b33 = csi-snap-b7bfb473-af94-11ed-b704-0a580ae0160c
9da443af-b3cf-4a2c-b553-9742abcddf8e = csi-snap-56795e5e-aff9-11ed-b704-0a580ae0160c
b46ffd11-ee84-4323-b9fd-fa5626eadbd0 = csi-snap-7e7e1d13-b0c2-11ed-b704-0a580ae0160c
649c9276-4bae-4768-b4e1-c0789587dc1d = csi-snap-a34f2252-b18b-11ed-b704-0a580ae0160c