Description of problem: when executing "oc get groups" with the -L option, the label values are not shown. Version-Release number of selected component (if applicable): $ oc version oc v3.9.0+191fece kubernetes v1.9.1+a0ce1bc657 features: Basic-Auth Server https://ocp-api.wccl-lab1.intapp.eu:8443 openshift v3.9.27 kubernetes v1.9.1+a0ce1bc657 How reproducible: reproducable Steps to Reproduce: 1. Create a testgroup with the following yaml: apiVersion: user.openshift.io/v1 kind: Group metadata: name: TESTGROUP labels: testlabel: testvalue users: - JA32225 2. execute the command: $ oc get group TESTGROUP -L testlabel Actual results: NAME USERS TESTLABEL TESTGROUP JA32225 Expected results: NAME USERS TESTLABEL TESTGROUP JA32225 testvalue Additional info: the label is correctly applier, with the -l option we are able to filter: $ oc get group -l testlabel=testvalue NAME USERS TESTGROUP JA32225
This has been fixed as of oc v3.11.
This was fixed in 3.11 and setting target release to such and moving to qa.
Confirmed with latest ocp 3.11 , the issue has fixed: [root@ip-172-18-5-241 ~]# oc get group TESTGROUP -L testlabel NAME USERS TESTLABEL TESTGROUP zhouy testvalue [root@ip-172-18-5-241 ~]# oc version oc v3.11.82 kubernetes v1.11.0+d4cacc0 features: Basic-Auth GSSAPI Kerberos SPNEGO
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2019:0636
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days