Bug 2280378 - Must-gather -pc option to collect client side logs needs changes as storageclient is now cluster-scoped
Summary: Must-gather -pc option to collect client side logs needs changes as storagecl...
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:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-05-14 17:21 UTC by Neha Berry
Modified: 2024-07-17 13:22 UTC (History)
5 users (show)

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


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github red-hat-storage odf-must-gather pull 161 0 None Merged collect client logs with proper namespace 2024-05-22 07:20:04 UTC
Github red-hat-storage odf-must-gather pull 162 0 None open BUG 2280378:[release-4.16] collect client logs with proper namespace 2024-05-22 08:43:09 UTC
Red Hat Product Errata RHSA-2024:4591 0 None None None 2024-07-17 13:22:39 UTC

Description Neha Berry 2024-05-14 17:21:36 UTC
Description of problem (please be detailed as possible and provide log
snippests):
======================================================================

Command used:

>> On provider + native client cluster
1. oc adm must-gather --image=quay.io/rhceph-dev/ocs-must-gather:latest-4.16  -- /usr/bin/gather -o -pc

Folder names under namespaces 
tamp
nberry@Nehas-MacBook-Pro quay-io-rhceph-dev-ocs-must-gather-sha256-4d932e1c422c3cd3f36c31af95bf7e3831ad54b26d3428fbcfcff933157f65cf % ls -ltrh namespaces 
total 0
drwxr-xr-x   3 nberry  staff    96B May 14 22:21 ocs-storagecluster
drwxr-xr-x   3 nberry  staff    96B May 14 22:21 storage-client-provider-bm3
drwxr-xr-x  22 nberry  staff   704B May 14 22:33 all
drwxr-xr-x  25 nberry  staff   800B May 14 22:33 openshift-operators
drwxr-xr-x  28 nberry  staff   896B May 14 22:33 openshift-storage

 oc get project storage-client-provider-bm3
Error from server (NotFound): namespaces "storage-client-provider-bm3" not found


oc get storageclient -A
NAME                          PHASE       CONSUMER
ocs-storagecluster            Connected   10c6cd39-eeab-4a8e-afb3-cf7de76ffb44
storage-client-provider-bm3   Connected   6f133d76-2cbb-431f-9df5-2fc95bb30171


nberry@Nehas-MacBook-Pro bm2-may14 % oc get storageconsumer -A
NAMESPACE           NAME                                                   AGE
openshift-storage   storageconsumer-276f92ad-8b8f-4aeb-beb5-5a9f6e0b8304   7d7h
openshift-storage   storageconsumer-4f974f42-2301-460a-90a5-2607cabea062   14d
openshift-storage   storageconsumer-907d63de-0f0c-4fd7-b785-b6af39b2ad5b   6d20h

>> Within a client HCP cluster
2. oc adm must-gather --image=quay.io/rhceph-dev/ocs-must-gather:latest-4.16  -- /usr/bin/gather -pc


Folder names under namespaces 
-----------------------------
cd quay-io-rhceph-dev-ocs-must-gather-sha256-4d932e1c422c3cd3f36c31af95bf7e3831ad54b26d3428fbcfcff933157f65cf/namespaces 
nberry@Nehas-MacBook-Pro namespaces % ls -ltrh
total 0
drwxr-xr-x   3 nberry  staff    96B May 14 22:19 ocs-storagecluster
drwxr-xr-x  10 nberry  staff   320B May 14 22:19 all
drwxr-xr-x  16 nberry  staff   512B May 14 22:19 openshift-operators

oc get project ocs-storagecluster
Error from server (NotFound): namespaces "ocs-storagecluster" not found


oc get storageclient -A
NAME                 PHASE       CONSUMER
ocs-storagecluster   Connected   ac2ed050-d5ce-49cd-be39-343a6836eff0



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


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

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

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?
===============================================================
NA

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

Steps to Reproduce:
===============================================================
1. Install a provider client setup in 4.16
2. Collect must-gather. Commands shared above
3.


Actual results:
================


Expected results:


Additional info:

Comment 14 errata-xmlrpc 2024-07-17 13:22:35 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.