Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1769455

Summary: OCP 4.3: oc explain nodefeaturediscoveries.nfd.openshift.io cmd returns empty Description field
Product: OpenShift Container Platform Reporter: Walid A. <wabouham>
Component: Node Feature Discovery OperatorAssignee: Zvonko Kosic <zkosic>
Status: CLOSED ERRATA QA Contact: Walid A. <wabouham>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.3.0CC: sejug
Target Milestone: ---   
Target Release: 4.3.0   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1780678 (view as bug list) Environment:
Last Closed: 2020-01-23 11:11:16 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1780678    
Bug Blocks:    

Description Walid A. 2019-11-06 16:38:15 UTC
Description of problem:
Running `oc explain` command on the NFD crd returns an empty description field:

# oc explain nodefeaturediscoveries.nfd.openshift.io
KIND:     NodeFeatureDiscovery
VERSION:  nfd.openshift.io/v1alpha1

DESCRIPTION:
     <empty>


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

# oc version
Client Version: openshift-clients-4.3.0-201910250623-13-g4f3895c5
Server Version: 4.3.0-0.nightly-2019-11-02-092336
Kubernetes Version: v1.16.2

How reproducible:
Always

Steps to Reproduce:
1.  IPI install of OCP 4.3.0-0.nightly-2019-11-02-092336, 3 masters and 3 worker nodes
2. Deploy NFD operator:
  cd  $GOPATH/src/github.com/openshift
  git clone https://github.com/openshift/cluster-nfd-operator.git
  cd cluster-nfd-operator
  git checkout release-4.3
  make deploy
3.  oc explain nodefeaturediscoveries.nfd.openshift.io

Actual results:
DESCRIPTION:
     <empty>

Expected results:
DESCRIPTION field should not be empty

Additional info:

Comment 2 Walid A. 2019-12-02 22:03:23 UTC
Failed verification.  Returning back to Assigned.  Still showing empty description on OCP 4.3: 4.3.0-0.nightly-2019-12-02-055401Ttested on IPI install on Azure

# oc explain nodefeaturediscoveries.nfd.openshift.io
KIND:     NodeFeatureDiscovery
VERSION:  nfd.openshift.io/v1alpha1

DESCRIPTION:
     <empty>

# oc get clusterversion
NAME      VERSION                             AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.3.0-0.nightly-2019-12-02-055401   True        False         57m     Cluster version is 4.3.0-0.nightly-2019-12-02-055401

# oc get crd | grep nfd
nodefeaturediscoveries.nfd.openshift.io                     2019-12-02T21:23:11Z

# oc version
Client Version: openshift-clients-4.3.0-201910250623-70-g0ed83003
Server Version: 4.3.0-0.nightly-2019-12-02-055401
Kubernetes Version: v1.16.2

# oc explain nodefeaturediscoveries.nfd.openshift.io
KIND:     NodeFeatureDiscovery
VERSION:  nfd.openshift.io/v1alpha1

DESCRIPTION:
     <empty>

Comment 3 Zvonko Kosic 2019-12-06 16:05:39 UTC
PR: https://github.com/openshift/cluster-nfd-operator/pull/44 fixes release-4.3

$ oc explain nodefeaturediscoveries  
KIND:     NodeFeatureDiscovery
VERSION:  nfd.openshift.io/v1alpha1

DESCRIPTION:
     The Cluster Node Feature Discovery operator manages detection of hardware
     features and configuration in a Openshift cluster. The operator
     orchestrates all resources needed to run the NFD DaemonSet (Upstream:
     https://github.com/kubernetes-sigs/node-feature-discovery)

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

Comment 5 Walid A. 2019-12-09 04:49:55 UTC
Verified on OCP 4.3:
# oc get clusterversion
NAME      VERSION                             AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.3.0-0.nightly-2019-12-06-131542   True        False         2d8h    Cluster version is 4.3.0-0.nightly-2019-12-06-131542

# oc explain nodefeaturediscoveries
KIND:     NodeFeatureDiscovery
VERSION:  nfd.openshift.io/v1alpha1

DESCRIPTION:
     The Cluster Node Feature Discovery operator manages detection of hardware
     features and configuration in a Openshift cluster. The operator
     orchestrates all resources needed to run the NFD DaemonSet (Upstream:
     https://github.com/kubernetes-sigs/node-feature-discovery)

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	<map[string]>

   status	<map[string]>

Comment 7 errata-xmlrpc 2020-01-23 11:11:16 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, 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-2020:0062