Bug 1974443

Summary: Do not require a rgw admin user if no external obejct store is consumed
Product: [Red Hat Storage] Red Hat OpenShift Container Storage Reporter: Sébastien Han <shan>
Component: rookAssignee: Sébastien Han <shan>
Status: VERIFIED --- QA Contact: Neha Berry <nberry>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 4.8CC: muagarwa, nberry, tdesala
Target Milestone: ---Keywords: AutomationBackLog
Target Release: OCS 4.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 4.8.0-432.ci Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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:

Description Sébastien Han 2021-06-21 17:14:38 UTC
If the OCS cluster does not consume an external object gateway, let's not require the creation of the rgw admin user. It will fail anyway and hang the script if no gateways are available.

Comment 3 Neha Berry 2021-06-22 05:10:04 UTC
Will this also need running all regressions in external mode without rgw too?

Comment 6 Neha Berry 2021-06-22 05:10:40 UTC
Will this also need running all regressions in external mode without rgw too?

Comment 9 Sébastien Han 2021-06-22 06:59:27 UTC
(In reply to Neha Berry from comment #6)
> Will this also need running all regressions in external mode without rgw too?

No, this won't be needed, just external mode. It plays along with the procedure here: https://bugzilla.redhat.com/show_bug.cgi?id=1974441

Comment 11 Sébastien Han 2021-07-05 09:15:20 UTC
Shylesh,

You need to execute the script without specifying any --rgw-endpoint and observe that the output does not contain any "rgw-admin-ops-user" key in the JSON.
Thanks