Hide Forgot
Description of problem: "oc get cluster" doesn't work Version-Release number of selected component (if applicable): clusterversion: 4.0.0-0.nightly-2019-02-25-234632 How reproducible: Always Steps to Reproduce: 1. $ oc get cluster -n openshift-machine-api 2. $ oc get clusters.machine.openshift.io -n openshift-machine-api 3. $ oc get crd Actual results: "oc get cluster" doesn't work. $ oc get cluster --all-namespaces No resources found. $ oc get crd clusters.cluster.k8s.io clusters.machine.openshift.io $ oc get clusters.machine.openshift.io --all-namespaces NAMESPACE NAME AGE openshift-machine-api zhsun3-hpdfk 70m Expected results: By default using "oc get cluster" to check cluster instead of using "oc get clusters.machine.openshift.io". Additional info:
"oc get cluster" will show when https://github.com/openshift/machine-api-operator/pull/225 it's merged However cluster object is for internal tooling only, we plan to remove the cluster CRD eventually and it's not advised for the user to get/manipulate it at all
Verified. $ oc get cluster NAME AGE zhsun3-vkk68 14m $ oc get clusterversion NAME VERSION AVAILABLE PROGRESSING SINCE STATUS version 4.0.0-0.nightly-2019-02-27-213933 True False 7m32s Cluster version is 4.0.0-0.nightly-2019-02-27-213933
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:0758