-
Bug
-
Resolution: Done
-
Critical
-
None
-
None
-
Quality / Stability / Reliability
-
False
-
-
False
-
-
-
OCMUI Team Sprint 282
Environment: Staging
Url: https://console.redhat.com/openshift/create/rosa/wizard (ROSA HCP cluster creation wizard)
Browser: All browsers (Chromium, Chrome, Firefox etc)
OS: All (issue is server-side rendered)
Priority: Critical - HCP cluster creation wizard displays incorrect CLI command, causing customers to create operator roles without the required --hosted-cp flag, which will fail during command execution(as below) during cluster provisioning step
% rosa create operator-roles --prefix "jayarosahcp-21web-e2b6" --oidc-config-id "22rif2kh7jagoe7u2ak1caoi74hjrjvj" --installer-role-arn arn:aws:iam::676673797948:role/cypress-account-roles-HCP-ROSA-Installer-Role --mode auto E: The managed policies are not supported for classic operator-roles.
Reproduction Steps
- Navigate to OpenShift Cluster Manager
- Click "Create cluster" → Select "ROSA" → Select "Hosted control plane"
- Proceed through the wizard to the "Cluster roles and policies" step
- Select/configure an OIDC configuration
- Observe the rosa create operator-roles command displayed in the clipboard copy field
Current Result
Missing --hosted-cp flag for operator role command for HCP clusters
See the below screenshot

Expected Result
Should include --hosted-cp flag for operator role command for HCP clusters
Example like below
rosa create operator-roles --prefix "cluster-prefix" --oidc-config-id "oidc-id" --hosted-cp --installer-role-arn arn:aws:iam::ACCOUNT:role/Installer-Role
- is related to
-
OCMUI-4124 [OCM UI QE]Added Playwright test for operator roles command in ROSA hosted smoke tests
-
- Closed
-