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

[OCM UI] [ROSA wizard] The OCM role related error message in "Account and roles" step seems misleading.

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • Core UI
    • False
    • Hide

      None

      Show
      None
    • False

      Description of problem:

      The Account and roles step in wizard indicated the failure related to OCM role as below. The error indication in UI claims that can't detect the OCM role and link suggest to create the new ocm role. But that's actually wrong. The OCM role is available and linked to the org already. Some reason the backend calls were failing to fetch the roles and not because of missing roles.

      How reproducible:
      always

      Steps to Reproduce:

      1. Open OCM UI staging.
      2. Launch ROSA wizard.
      3. Go to "Account and roles" sections.(Sorry, I don't have exact step to reproduce the behavior but it looks to me if multiple sts_account_roles requests are sent)
      4. Click cancel while loading the ARNs
      5. Repeat the step 2 to 4.
      6. See the behavior.

      Actual results:

      At step 6, the error mentioned above reported in ROSA wizard page that indicated undetected ocm role definition with a link ask user to create a new role. It looks wrong as there is a ocm role linked to org already.

      Expected results:

      Improve the error message and avoid misleading definition when there is different reason in UI failed to load the ocm role. In this case, the indication to user to do a refresh on the ARN role and try again will help to solve it.

              Unassigned Unassigned
              jmekkatt@redhat.com Jayakrishnan Mekkattillam
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: