Bug 1806953 - [RFE]Collect rbd and ceph fs outputs as part of must-gather
Summary: [RFE]Collect rbd and ceph fs outputs as part of must-gather
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenShift Container Storage
Classification: Red Hat Storage
Component: must-gather
Version: 4.2
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: OCS 4.5.0
Assignee: Pulkit Kundra
QA Contact: Yosi Ben Shimon
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-02-25 10:46 UTC by Neha Berry
Modified: 2020-09-15 10:16 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-09-15 10:16:04 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2020:3754 0 None None None 2020-09-15 10:16:45 UTC

Description Neha Berry 2020-02-25 10:46:05 UTC
Description of problem (please be detailed as possible and provide log
snippests):
-------------------------------------

As part of ocs must-gather , certain ceph command outputs are collected and saved in must_gather_commands/ folder.

Requesting to collect following outputs as well since they help in comparing the PV/PVC with backend images.


1. ceph osd lspools

2. rbd ls -p <pool names>

3. ceph fs subvolumegroup ls ocs-storagecluster-cephfilesystem

4. ceph fs subvolume ls ocs-storagecluster-cephfilesystem csi

These are the basic commands, but there are some info commands for rbd as well. Not sure if they are needed. Maybe a suggestion from engg would be helpful.



Version of all relevant components (if applicable):
-----------------------------------------------------

OCS 4.2 and OCS 4.3

Does this issue impact your ability to continue to work with the product
(please explain in detail what is the user impact)?
---------------------------------------------------

No

Is there any workaround available to the best of your knowledge?
----------------------------------------------------------------


Rate from 1 - 5 the complexity of the scenario you performed that caused this
bug (1 - very simple, 5 - very complex)?


Can this issue reproducible?


Can this issue reproduce from the UI?


If this is a regression, please provide more details to justify this:


Steps to Reproduce:
1.
2.
3.


Actual results:


Expected results:


Additional info:

Comment 3 Ashish Ranjan 2020-02-25 13:28:11 UTC
seems like it is easy to accommodate these commands in the current must-gather.

Comment 4 Michael Adam 2020-03-05 16:37:41 UTC
patch is not ready. rfe. moving out of 4.3.

Comment 6 Yaniv Kaul 2020-06-25 10:23:32 UTC
devel-ack is missing.

Comment 11 Yosi Ben Shimon 2020-08-06 07:58:28 UTC
Tested on:
4.5.0-0.nightly-2020-08-06-014216

Collected the must-gather logs using:
oc adm must-gather --image=quay.io/rhceph-dev/ocs-must-gather:latest-4.5

Got the next logs under the path:
<must_gather_logs_dir>/must-gather.local.1347373263558629025/quay-io-rhceph-dev-ocs-must-gather-sha256-2768a5eb6162307681d8dc35fc431c5a59a71cac1b7de98e7bdef851431a9ba3/ceph/namespaces/openshift-storage/must_gather_commands


1. ceph osd lspools
ceph_osd_lspools

2. rbd ls -p <pool names>
pools_rbd_ocs-storagecluster-cephblockpool

3. ceph fs subvolumegroup ls ocs-storagecluster-cephfilesystem
ceph_fs_subvolumegroup_ls_ocs-storagecluster-cephfilesystem

4. ceph fs subvolume ls ocs-storagecluster-cephfilesystem csi
ceph_fs_subvolume_ls_ocs-storagecluster-cephfilesystem_csi


Moving to VERIFIED

Comment 13 errata-xmlrpc 2020-09-15 10:16:04 UTC
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 (Red Hat OpenShift Container Storage 4.5.0 bug fix and enhancement 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/RHBA-2020:3754


Note You need to log in before you can comment on or make changes to this bug.