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

[Hypershfit ROSA][Wizard] Ignore managed policies created under an older CLI version -impacts staging only

    • HAC Console Sprint 244, OCM UI Sprint 244b

      Description

      When using an older version of the ROSA CLI (for example 1.2.22), to create the account roles, when that data is returned in the API it is in a format that isn't expected. This causes empty lines in the Installer role drop down and the corresponding support and worker roles are not found.

      When a newer version of the ROSA CLI is used (for example 1.2.26) to create the account roles, the data returned from the API is in the expected format and the page behaves as expected.

      The goal of this story is to ignore any hosted HCP managed policies that aren't in the expected format so no empty options are shown in the Installer drop down and the corresponding support and worker roles are found.

      Sample responses: managedAccountNotes.mdmanagedAccountNotes.md

      NOTE: This is only an issue in staging. The ability to create managed policies has been blocked in production since version 1.2.26. That version returns the correct format. This issue displayed here is only an issue that use the staging API and CLI.

      Acceptance criteria:

      • When a user creates managed policies with a CLI version less than 1.2.26:
        • The managed policy installer role is not shown in the installer role drop down
        • There are not empty lines or options in the installer role drop down
      • When a user creates managed policies with a CLI version of 1.2.26 or greater:
        • The managed policy installer role is shown in the installer role drop down
        • There are not empty lines or options in the installer role drop down
        • When a user selects a managed policy installer role, the corresponding support and worker roles are shown

      Mockups:

      None

        1. image-2023-10-17-16-35-05-449.png
          80 kB
          Jayakrishnan Mekkattillam
        2. managedAccountNotes.md
          6 kB
          Kim Doberstein
        3. Screenshot 2023-10-03 at 3.32.19 PM.png
          201 kB
          Kim Doberstein
        4. Screenshot 2023-10-03 at 3.34.47 PM.png
          172 kB
          Kim Doberstein

              kdoberst Kim Doberstein
              kdoberst Kim Doberstein
              Jayakrishnan Mekkattillam Jayakrishnan Mekkattillam
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: