Bug 1913149 - make must-gather backward compatibility for version <4.6
Summary: make must-gather backward compatibility for version <4.6
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenShift Container Storage
Classification: Red Hat Storage
Component: must-gather
Version: 4.6
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: OCS 4.7.0
Assignee: Pulkit Kundra
QA Contact: Aviad Polak
URL:
Whiteboard:
Depends On:
Blocks: 1914819
TreeView+ depends on / blocked
 
Reported: 2021-01-06 06:48 UTC by Pulkit Kundra
Modified: 2021-05-19 09:17 UTC (History)
6 users (show)

Fixed In Version: 4.7.0-701.ci
Doc Type: No Doc Update
Doc Text:
Clone Of:
: 1914819 (view as bug list)
Environment:
Last Closed: 2021-05-19 09:17:18 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift ocs-operator pull 977 0 None closed must-gather: add helper pod yaml with compatible secret for <4.6 2021-02-01 05:26:31 UTC
Github openshift ocs-operator pull 996 0 None closed Bug 1913149: [release-4.7] must-gather: add helper pod yaml with compatible secret for <4.6 2021-02-01 05:25:47 UTC
Red Hat Product Errata RHSA-2021:2041 0 None None None 2021-05-19 09:17:45 UTC

Description Pulkit Kundra 2021-01-06 06:48:09 UTC
Description of problem (please be detailed as possible and provide log
snippests):
toolbox has secrets updated for 4.6.  ROOK_CEPH_USERNAME and ROOK_CEPH_SECRET replacing ROOK_ADMIN_SECRET. So when must-gather creates helper pod with updated secrets it cannot used for version before 4.6. To make must-gather compatible with all existing and upcoming version two yamls has to maintained one with ROOK_ADMIN_SECRET secret and one which is latest. based on the version must-gather will deploy helper pod.

Version of all relevant components (if applicable):
4.6

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?
use the version tag.

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

Can this issue reproducible?
yes

Can this issue reproduce from the UI?


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


Steps to Reproduce:
1.deploy 4.5 ocs setup
2.run must-gather 
3.helper pod will not be deployed


Actual results:
no ceph command collected

Expected results:


Additional info:

Comment 9 errata-xmlrpc 2021-05-19 09:17:18 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 (Moderate: Red Hat OpenShift Container Storage 4.7.0 security, 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/RHSA-2021:2041


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