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

Bug 1780678

Summary: OCP 4.4: oc explain nodefeaturediscoveries.nfd.openshift.io cmd returns empty Description field
Product: OpenShift Container Platform Reporter: Zvonko Kosic <zkosic>
Component: Node Feature Discovery OperatorAssignee: Zvonko Kosic <zkosic>
Status: CLOSED ERRATA QA Contact: Walid A. <wabouham>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.4CC: sejug, wabouham
Target Milestone: ---   
Target Release: 4.4.0   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1769455 Environment:
Last Closed: 2020-05-04 11:19:04 UTC Type: ---
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:    
Bug Blocks: 1769455    

Comment 1 Zvonko Kosic 2019-12-06 16:03:58 UTC
PR: https://github.com/openshift/cluster-nfd-operator/pull/43 fixes master, 


$ 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:

Comment 2 Walid A. 2020-02-12 21:04:45 UTC
Verified on IPI AWS install of OCP 4.4.0-0.nightly-2020-02-06-072311, 3 masters and 3 worker nodes

# oc version
Client Version: 4.4.0-0.nightly-2020-02-06-170203
Server Version: 4.4.0-0.nightly-2020-02-06-072311
Kubernetes Version: v1.17.1

Steps:
1. 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 master
  make deploy
2. Find the api name for nfd.  Note previously the apis-resource name for nfd was "nodefeaturediscoveries.nfd.openshift.io".  
   On OCP 4.4, it is "nodefeaturediscoveries"

   # oc api-resources | grep nfd
   nodefeaturediscoveries                                 nfd.openshift.io                      true         NodeFeatureDiscovery

3. oc explain <api-resource name>:

# 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 4 errata-xmlrpc 2020-05-04 11:19:04 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:0581