Bug 2273305 - Both Storageclassclaim and Storageclaim are listed under Provided API for the ocs-storage-client Installed operator page
Summary: Both Storageclassclaim and Storageclaim are listed under Provided API for the...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenShift Data Foundation
Classification: Red Hat Storage
Component: ocs-client-operator
Version: 4.16
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: ---
: ODF 4.16.0
Assignee: Leela Venkaiah Gangavarapu
QA Contact: Neha Berry
URL:
Whiteboard: isf-provider
: 2275959 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-04-04 06:52 UTC by Neha Berry
Modified: 2024-09-13 02:51 UTC (History)
6 users (show)

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


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github red-hat-storage ocs-client-operator pull 146 0 None Merged api: remove storageclassclaim api & migration controller 2024-04-23 03:04:59 UTC
Red Hat Product Errata RHSA-2024:4591 0 None None None 2024-07-17 13:17:59 UTC

Description Neha Berry 2024-04-04 06:52:34 UTC
Description of problem (please be detailed as possible and provide log
snippests):
======================================================================

With ODF 4.16, Storageclassclaim is deprecated and instead referred to  as Storageclaim API.

We need to hide the deprecated API from the Installed Operators page of the ocs-client-operator

Also, CLI lists the command without outputs

>>oc get storageclassclaim -A
Warning: StorageClassClaim API is deprecated and will be removed in future version, please use StorageClaim API instead.
No resources found


 >> % oc get storageclaim -A     
NAME                          STORAGETYPE   STORAGEPROFILE   STORAGECLIENTNAME           STORAGECLIENTNAMESPACE   PHASE
ocs-storagecluster-ceph-rbd   block                          ocs-storagecluster-client   openshift-storage        Ready
ocs-storagecluster-cephfs     sharedfile                     ocs-storagecluster-client   openshift-storage        Ready



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

ODF 4.16 e.g 4.16.0-57


Does this issue impact your ability to continue to work with the product
(please explain in detail what is the user impact)?
==========================================================================
No. But we are able to see it in the UI and also in the

Is there any workaround available to the best of your knowledge?
==================================================================
Hide as internal CRDs (see slack [1]

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


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

Can this issue reproducible?
=============================
Yes


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


If this is a regression, please provide more details to justify this:
=====================================================================
No, change in 4.16


Steps to Reproduce:
======================
1. Create a provider cluster in 4.16 which also installs the native ODF client
2. Check the Installed Operators page for the client operator
3. 


Actual results:
==================
Deprecated API is also listed



Expected results:
=====================
Hide deprecated apis


Additional info:

Comment 9 errata-xmlrpc 2024-07-17 13:17:55 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.