Description of Problem: `oc explain localvolumediscovery` returns empty description Version-Release number of selected component (if applicable): LSO version: 4.6.0-202010061132.p0 How Reproducible: Always Steps to Reproduce: oc --kubeconfig=/home/piqin/kubeconfig.stage explain localvolumediscovery Actual Results: $ oc --kubeconfig=/home/piqin/kubeconfig.stage explain localvolumediscovery KIND: LocalVolumeDiscovery VERSION: local.storage.openshift.io/v1alpha1 DESCRIPTION: <empty> Expected Results: Should return detailed description and related fields explanation.
Did you try the latest `oc` version for 4.6? It needs to be up to date to get descriptions from newer cluster.
Yes, client version is 4.6.0-0.nightly-2020-09-24-015627, update client to 4.6.0-rc.4, still get the same issue.
oc get crd localvolumediscoveries.local.storage.openshift.io -o yaml | grep preserveUnknownFields f:preserveUnknownFields: {} preserveUnknownFields: true message: 'spec.preserveUnknownFields: Invalid value: true: must be false' oc version Client Version: 4.7.0-0.nightly-2020-10-26-152308 Server Version: 4.7.0-0.nightly-2020-10-26-152308 Kubernetes Version: v1.19.0+e67f5dc
I updated manifests in a wrong (4.6) directory.
oc explain localvolumediscovery KIND: LocalVolumeDiscovery VERSION: local.storage.openshift.io/v1alpha1 DESCRIPTION: LocalVolumeDiscovery is the Schema for the localvolumediscoveries API FIELDS: apiVersion <string> APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind <string> Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds metadata <Object> Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec <Object> -required- LocalVolumeDiscoverySpec defines the desired state of LocalVolumeDiscovery local-storage-operator.4.7.0-202011181859.p0 Local Storage 4.7.0-202011181859.p0 Succeeded status <Object> LocalVolumeDiscoveryStatus defines the observed state of LocalVolumeDiscovery
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 (Moderate: OpenShift Container Platform 4.7.0 security, bug fix, and enhancement update), 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/RHSA-2020:5633