Bug 2278681 - Must-gather needs changes in the API names for the deprecated Storageclassclaim, Storageclassrequest etc
Summary: Must-gather needs changes in the API names for the deprecated Storageclasscla...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenShift Data Foundation
Classification: Red Hat Storage
Component: must-gather
Version: 4.16
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ODF 4.16.0
Assignee: yati padia
QA Contact: Neha Berry
URL:
Whiteboard: isf-provider
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-05-02 17:53 UTC by Neha Berry
Modified: 2024-07-17 13:21 UTC (History)
2 users (show)

Fixed In Version: 4.16.0-96
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-07-17 13:21:52 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github red-hat-storage odf-must-gather pull 153 0 None open include api changes for storageclassclaim and request 2024-05-06 05:50:23 UTC
Github red-hat-storage odf-must-gather pull 154 0 None open Bug 2278681: [release-4.16] include api changes for storageclassclaim and request 2024-05-07 04:51:28 UTC
Red Hat Product Errata RHSA-2024:4591 0 None None None 2024-07-17 13:21:55 UTC

Description Neha Berry 2024-05-02 17:53:58 UTC
Created attachment 2030900 [details]
must-gather.log

Created attachment 2030900 [details]
must-gather.log

Description of problem (please be detailed as possible and provide log
snippests):
======================================================================
With 4.16.0-89 build, we do not have storageclassclaim API any longer. We now have storageclaim API

See bug https://bugzilla.redhat.com/show_bug.cgi?id=2273305

>> Command used: oc adm must-gather --image=quay.io/rhceph-dev/ocs-must-gather:latest-4.16  -- /usr/bin/gather -o -pc

Please make the change in the must-gather too to collect the correct details from oc get storageclaim instead of oc get storageclassclaim

>> [must-gather-nrhll] POD 2024-05-02T17:36:01.343781206Z collecting oc command storageclassclaims
[must-gather-nrhll] POD 2024-05-02T17:36:01.498241424Z error: the server doesn't have a resource type "storageclassclaims"


[must-gather-nrhll] POD 2024-05-02T17:36:01.677857364Z collecting oc describe command storageclassclaims

[must-gather-nrhll] POD 2024-05-02T17:36:01.837629563Z error: the server doesn't have a resource type "storageclassclaims"


Same is seen for storageclassrequest. I am trying to collect the list of all APIs which changed in recent builds here [1]

[1] https://ibm-systems-storage.slack.com/archives/C06EPQRBM36/p1714671731551189


Version of all relevant components (if applicable):
=====================================================
ODF 4.16.0-89
ODF provider - v4.16.0-89
Client - v4.16.0-89

OCP 4.16.0-ec.5


Does this issue impact your ability to continue to work with the product
(please explain in detail what is the user impact)?
===========================================================
The relevant logs and details are not collected in MG

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


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


Can this issue reproducible?
===========================================================
yes


Can this issue reproduce from the UI?
===========================================================
NA


If this is a regression, please provide more details to justify this:
===========================================================
No. Change in the names of the APIs


Steps to Reproduce:
===========================================================
1. Create a provider/client cluster with latest ODF build , say 4.16.0-89
2. Collect must-gather using
a) oc adm must-gather --image=quay.io/rhceph-dev/ocs-must-gather:latest-4.16  -- /usr/bin/gather -o -pc
OR
b) oc adm must-gather --image=quay.io/rhceph-dev/ocs-must-gather:latest-4.16  -- /usr/bin/gather 
3. Check the logs


Actual results:
==================
Storageclassclaim, storageclassrequest API details are not collected as the command fails


Expected results:
===================
The must-gather needs to make changes to the API names


Additional info:

Logs http://rhsqe-repo.lab.eng.blr.redhat.com/OCS/ocs-qe-bugs/bm2.zip

Comment 9 errata-xmlrpc 2024-07-17 13:21:52 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 (Important: Red Hat OpenShift Data Foundation 4.16.0 security, enhancement & bug fix 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-2024:4591


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