Bug 1887750 - `oc explain localvolumediscovery` returns empty description
Summary: `oc explain localvolumediscovery` returns empty description
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Storage
Version: 4.6
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: 4.7.0
Assignee: Jan Safranek
QA Contact: Chao Yang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-10-13 09:28 UTC by Qin Ping
Modified: 2021-02-24 15:26 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-02-24 15:25:34 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift local-storage-operator pull 176 0 None closed Bug 1887750: Bug 1887751: Don't preserve unknown fields in CRs 2021-01-27 09:47:39 UTC
Github openshift local-storage-operator pull 179 0 None closed Bug 1887750: Sync CRD manifests to 4.7 dir 2021-01-27 09:47:39 UTC
Red Hat Product Errata RHSA-2020:5633 0 None None None 2021-02-24 15:26:00 UTC

Description Qin Ping 2020-10-13 09:28:28 UTC
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.

Comment 1 Jan Safranek 2020-10-13 14:53:54 UTC
Did you try the latest `oc` version for 4.6? It needs to be up to date to get descriptions from newer cluster.

Comment 2 Qin Ping 2020-10-14 00:58:50 UTC
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.

Comment 4 Chao Yang 2020-10-28 07:30:09 UTC
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

Comment 5 Jan Safranek 2020-11-02 10:50:17 UTC
I updated manifests in a wrong (4.6) directory.

Comment 7 Chao Yang 2020-11-24 01:25:01 UTC
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

Comment 10 errata-xmlrpc 2021-02-24 15:25:34 UTC
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


Note You need to log in before you can comment on or make changes to this bug.