Uploaded image for project: 'Red Hat Advanced Cluster Management'
  1. Red Hat Advanced Cluster Management
  2. ACM-24773

RBAC UI - Global role selection not creating role assignment

XMLWordPrintable

    • VMMgmt - Train-32 - Sprint 2
    • Critical
    • None

      Description of problem:

      During role assignment creation, global role selection is not creating the role assignment correctly. Based on the error, it is not adding all available clusters to theĀ 
      clusterSelection.clusterNames section in the MulticlusterRoleAssignment:

      The role assignment creation for kubevirt.io:admin role failed. Error: ResourceError: MulticlusterRoleAssignment.rbac.open-cluster-management.io "role-assignment-1759182301286-gimy5td1t" is invalid: spec.roleAssignments[0].clusterSelection.clusterNames: Invalid value: 0: spec.roleAssignments[0].clusterSelection.clusterNames in body should have at least 1 items

      Version-Release number of selected component (if applicable):

      How reproducible:

      Steps to Reproduce:

      1. Create a role assignment and select Global role
      2. Error message will populate on the screen

      Actual results:

      Role assignment fails to get created.

      Expected results:

      Role assignment creation should be successful. Global role selection should add all existing managed clusters to the clusterSelection.clusterNames field.

      Additional info:

              rh-ee-mshort Matthew Short
              rh-ee-mshort Matthew Short
              Atif Shafi Atif Shafi
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: