Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-58437

kueue-batch-admin-role is missing permissions to label namespaces and creating namespace

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Major Major
    • None
    • 4.18.0, 4.19
    • Node / Kueue
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Important
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

          I have created a user and assigned kueue-batch-admin-role to it. With that permission user is able to create resourceflavor, clustequeue, localqueue and jobs. But it is getting permission issue while creating namespace and labeling namespace .

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

          

      How reproducible:

          

      Steps to Reproduce:

          1.
          2.
          3.
          

      Actual results:

          $ oc label namespace default kueue.openshift.io/managed=true
      Error from server (Forbidden): namespaces "default" is forbidden: User "myuser" cannot get resource "namespaces" in API group "" in the namespace "default"
      $ oc create namespace testing
      Error from server (Forbidden): namespaces is forbidden: User "myuser" cannot create resource "namespaces" in API group "" at the cluster scope

      Expected results:

          It should be able to create 

      Additional info:

          

              aos-node@redhat.com Node Team Bot Account
              asahay@redhat.com Aditi Sahay
              None
              None
              Cameron Meadors Cameron Meadors
              None
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: