Bug 2069812
| Summary: | must-gather: rbd_vol_and_snap_info collection is broken | |||
|---|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat OpenShift Data Foundation | Reporter: | Ilya Dryomov <idryomov> | |
| Component: | must-gather | Assignee: | yati padia <ypadia> | |
| Status: | CLOSED ERRATA | QA Contact: | Oded <oviner> | |
| Severity: | unspecified | Docs Contact: | ||
| Priority: | urgent | |||
| Version: | 4.10 | CC: | kseeger, mmuench, muagarwa, ocs-bugs, odf-bz-bot, srangana, ypadia | |
| Target Milestone: | --- | |||
| Target Release: | ODF 4.11.0 | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | 4.11.0-66 | Doc Type: | No Doc Update | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 2101743 (view as bug list) | Environment: | ||
| Last Closed: | 2022-08-24 13:49:54 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: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 2101743 | |||
|
Comment 13
Oded
2022-06-15 14:48:40 UTC
Hi Yati,
I created 2 snapshots on my cluster [fs+rbd] and I dont find any diffrence on rbd_vol_and_snap_info file
SetUp:
OCP version: 4.11.0-0.nightly-2022-06-06-025509
ODF Version: full_version=4.11.0-91
Ceph Versions:
sh-4.4$ ceph versions
{
"mon": {
"ceph version 16.2.8-35.el8cp (0f048f1c4899e094dd66d2afe470c53441cc67ff) pacific (stable)": 3
},
"mgr": {
"ceph version 16.2.8-35.el8cp (0f048f1c4899e094dd66d2afe470c53441cc67ff) pacific (stable)": 1
},
"osd": {
"ceph version 16.2.8-35.el8cp (0f048f1c4899e094dd66d2afe470c53441cc67ff) pacific (stable)": 5
},
"mds": {
"ceph version 16.2.8-35.el8cp (0f048f1c4899e094dd66d2afe470c53441cc67ff) pacific (stable)": 2
},
"rgw": {
"ceph version 16.2.8-35.el8cp (0f048f1c4899e094dd66d2afe470c53441cc67ff) pacific (stable)": 1
},
"overall": {
"ceph version 16.2.8-35.el8cp (0f048f1c4899e094dd66d2afe470c53441cc67ff) pacific (stable)": 12
}
}
$ oc get VolumeSnapshot -n oded-test
NAME READYTOUSE SOURCEPVC SOURCESNAPSHOTCONTENT RESTORESIZE SNAPSHOTCLASS SNAPSHOTCONTENT CREATIONTIME AGE
oded-fs-snapshot true oded-fs 1Gi ocs-storagecluster-cephfsplugin-snapclass snapcontent-56868852-b183-48ef-aada-b3b7312c43e1 49m 49m
oded-rbd-snapshot true oded-rbd 2Gi ocs-storagecluster-rbdplugin-snapclass snapcontent-d74cfe66-d959-4f7e-b9fd-19c544b6eea3 48m 48m
$ oc get pvc -n oded-test
NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE
oded-fs Bound pvc-2936ef9f-b3ea-411f-ba9d-d3a78b4a4c27 1Gi RWO ocs-storagecluster-cephfs 50m
oded-rbd Bound pvc-71cff0e3-a369-4f5a-8a94-66f1113a3466 2Gi RWO ocs-storagecluster-ceph-rbd 49m
$ cat rbd_vol_and_snap_info
Collecting image and snap info for images in: ocs-storagecluster-cephblockpool
Collecting image info for: ocs-storagecluster-cephblockpool/csi-snap-c5345145-f60c-11ec-99a5-0a580a830015
rbd image 'csi-snap-c5345145-f60c-11ec-99a5-0a580a830015':
size 2 GiB in 512 objects
order 22 (4 MiB objects)
snapshot_count: 1
id: f1b9cd00d5cef
block_name_prefix: rbd_data.f1b9cd00d5cef
format: 2
features: layering, deep-flatten, operations
op_features: clone-child
flags:
create_timestamp: Mon Jun 27 11:32:05 2022
access_timestamp: Mon Jun 27 11:32:05 2022
modify_timestamp: Mon Jun 27 11:32:05 2022
parent: ocs-storagecluster-cephblockpool/csi-vol-be6e8187-f60c-11ec-99a5-0a580a830015@b8521214-f946-45ae-aa08-8155331f203c
overlap: 2 GiB
Collecting snap info for: ocs-storagecluster-cephblockpool/csi-snap-c5345145-f60c-11ec-99a5-0a580a830015
SNAPID NAME SIZE PROTECTED TIMESTAMP NAMESPACE
29 csi-snap-c5345145-f60c-11ec-99a5-0a580a830015 2 GiB Mon Jun 27 11:32:06 2022 user
Collecting image info for: ocs-storagecluster-cephblockpool/csi-vol-78612d94-e7ec-11ec-a6cf-0a580a810290
rbd image 'csi-vol-78612d94-e7ec-11ec-a6cf-0a580a810290':
size 50 GiB in 12800 objects
order 22 (4 MiB objects)
snapshot_count: 0
id: 1455ede39d2d
block_name_prefix: rbd_data.1455ede39d2d
format: 2
features: layering, exclusive-lock, object-map, fast-diff, deep-flatten
op_features:
flags:
create_timestamp: Thu Jun 9 12:05:35 2022
access_timestamp: Thu Jun 9 12:05:35 2022
modify_timestamp: Thu Jun 9 12:05:35 2022
Collecting snap info for: ocs-storagecluster-cephblockpool/csi-vol-78612d94-e7ec-11ec-a6cf-0a580a810290
Collecting image info for: ocs-storagecluster-cephblockpool/csi-vol-be6e8187-f60c-11ec-99a5-0a580a830015
rbd image 'csi-vol-be6e8187-f60c-11ec-99a5-0a580a830015':
size 2 GiB in 512 objects
order 22 (4 MiB objects)
snapshot_count: 1
id: f1b9c2d270f58
block_name_prefix: rbd_data.f1b9c2d270f58
format: 2
features: layering, exclusive-lock, object-map, fast-diff, deep-flatten, operations
op_features: clone-parent, snap-trash
flags:
create_timestamp: Mon Jun 27 11:31:53 2022
access_timestamp: Mon Jun 27 11:31:53 2022
modify_timestamp: Mon Jun 27 11:31:53 2022
Collecting snap info for: ocs-storagecluster-cephblockpool/csi-vol-be6e8187-f60c-11ec-99a5-0a580a830015
SNAPID NAME SIZE PROTECTED TIMESTAMP NAMESPACE
28 b8521214-f946-45ae-aa08-8155331f203c 2 GiB Mon Jun 27 11:32:05 2022 trash (csi-snap-c5345145-f60c-11ec-99a5-0a580a830015)
Collecting image info for: ocs-storagecluster-cephblockpool/csi-vol-eee3efd1-e891-11ec-a6cf-0a580a810290
rbd image 'csi-vol-eee3efd1-e891-11ec-a6cf-0a580a810290':
size 10 GiB in 2560 objects
order 22 (4 MiB objects)
snapshot_count: 0
id: c702567a133f
block_name_prefix: rbd_data.c702567a133f
format: 2
features: layering, exclusive-lock, object-map, fast-diff, deep-flatten
op_features:
flags:
create_timestamp: Fri Jun 10 07:50:01 2022
access_timestamp: Fri Jun 10 07:50:01 2022
modify_timestamp: Fri Jun 10 07:50:01 2022
Collecting snap info for: ocs-storagecluster-cephblockpool/csi-vol-eee3efd1-e891-11ec-a6cf-0a580a810290
Collecting image info for: ocs-storagecluster-cephblockpool/csi-vol-f0c7f425-e891-11ec-a6cf-0a580a810290
rbd image 'csi-vol-f0c7f425-e891-11ec-a6cf-0a580a810290':
size 10 GiB in 2560 objects
order 22 (4 MiB objects)
snapshot_count: 0
id: c70244be5e6
block_name_prefix: rbd_data.c70244be5e6
format: 2
features: layering, exclusive-lock, object-map, fast-diff, deep-flatten
op_features:
flags:
create_timestamp: Fri Jun 10 07:50:04 2022
access_timestamp: Fri Jun 10 07:50:04 2022
modify_timestamp: Fri Jun 10 07:50:04 2022
Collecting snap info for: ocs-storagecluster-cephblockpool/csi-vol-f0c7f425-e891-11ec-a6cf-0a580a810290
These details we can see in namespaces/all/ directory. The rbd_vol_and_snap_info is for images and snap details for a particular blockpool. Based on the comment https://bugzilla.redhat.com/show_bug.cgi?id=2069812#c16 move to verified state Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Important: Red Hat OpenShift Data Foundation 4.11.0 security, enhancement, & bugfix update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2022:6156 |