Bug 1913149

Summary: make must-gather backward compatibility for version <4.6
Product: [Red Hat Storage] Red Hat OpenShift Container Storage Reporter: Pulkit Kundra <pkundra>
Component: must-gatherAssignee: Pulkit Kundra <pkundra>
Status: CLOSED ERRATA QA Contact: Aviad Polak <apolak>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.6CC: bkunal, ebenahar, muagarwa, nberry, ocs-bugs, sabose
Target Milestone: ---   
Target Release: OCS 4.7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 4.7.0-701.ci Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of:
: 1914819 (view as bug list) Environment:
Last Closed: 2021-05-19 09:17:18 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1914819    

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