Uploaded image for project: 'OCMUI - OpenShift Cluster Manager UI'
  1. OCMUI - OpenShift Cluster Manager UI
  2. OCMUI-4117

ROSA HCP Wizard: Missing --hosted-cp flag in operator-roles CLI command

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • None
    • None
    • Core UI
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • 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

      1. Navigate to OpenShift Cluster Manager
      2. Click "Create cluster" → Select "ROSA" → Select "Hosted control plane"
      3. Proceed through the wizard to the "Cluster roles and policies" step
      4. Select/configure an OIDC configuration
      5. 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

       
       
       

        1. image-2026-01-21-18-53-29-518.png
          42 kB
          Jayakrishnan Mekkattillam
        2. Screenshot From 2026-01-23 11-09-34.png
          21 kB
          Lior Keren

              rh-ee-nmeiri Netta Meiri
              jmekkatt@redhat.com Jayakrishnan Mekkattillam
              Jayakrishnan Mekkattillam Jayakrishnan Mekkattillam
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: