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

Confusing prompt "groups.user.openshift.io are not enabled on this cluster"

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • 4.22
    • oc
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • Moderate
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      Confusing prompt "groups.user.openshift.io are not enabled on this cluster"
      

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

      $ oc version
      Client Version: 4.22.0-0.nightly-2026-02-06-032407
      Kustomize Version: v5.7.1
      Server Version: 4.22.0-0.nightly-2026-02-03-002928
      Kubernetes Version: ...
      

      How reproducible:

      Always
      

      Steps to Reproduce:

      1. Launch a 4.22 fresh env
      
      2. $ oc adm groups new testgroup
      group.user.openshift.io/testgroup created
      
      3. $ oc adm groups add-users testgruop testuser-1
      error: Error: groups.user.openshift.io are not enabled on this cluster.
      Is the embeedded OAuth server disabled?.
      
      Original error:
      %!w(<nil>)
      
      

      Actual results:

      Confusing prompt. The Groups are indeed enabled.
      

      Expected results:

      Message should not be incorrect and confusing
      

      Additional info:

       

              rh-ee-okupka Ondřej Kupka
              xxia-1 Xingxing Xia
              None
              None
              Ying Zhou Ying Zhou
              None
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: