Bug 1780678 - OCP 4.4: oc explain nodefeaturediscoveries.nfd.openshift.io cmd returns empty Description field
Summary: OCP 4.4: oc explain nodefeaturediscoveries.nfd.openshift.io cmd returns empt...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Node Feature Discovery Operator
Version: 4.4
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
: 4.4.0
Assignee: Zvonko Kosic
QA Contact: Walid A.
URL:
Whiteboard:
Depends On:
Blocks: 1769455
TreeView+ depends on / blocked
 
Reported: 2019-12-06 15:50 UTC by Zvonko Kosic
Modified: 2020-05-04 11:19 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1769455
Environment:
Last Closed: 2020-05-04 11:19:04 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift cluster-nfd-operator pull 43 0 'None' closed Bug 1780678: Added `type: object` to description, worked in 4.2 now needed 2020-10-29 12:13:18 UTC
Red Hat Product Errata RHBA-2020:0581 0 None None None 2020-05-04 11:19:37 UTC

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


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