Bug 1762692

Summary: Remove "Namespace" when `oc describe csinode`
Product: OpenShift Container Platform Reporter: Chao Yang <chaoyang>
Component: StorageAssignee: Christian Huffman <chuffman>
Status: CLOSED ERRATA QA Contact: Chao Yang <chaoyang>
Severity: low Docs Contact:
Priority: low    
Version: 4.3.0CC: aos-bugs, aos-storage-staff, jsafrane
Target Milestone: ---   
Target Release: 4.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-05-04 11:14:34 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:

Description Chao Yang 2019-10-17 09:14:58 UTC
Description of problem:
CSINode does not belong to any namespace, no need to add this parameter when `oc describe csinode`

Version-Release number of selected component (if applicable):
4.3.0-0.nightly-2019-10-16-222152

How reproducible:
Always

Steps to Reproduce:
1.oc describe csinode ip-10-0-159-141.us-east-2.compute.internal
Name:         ip-10-0-159-141.us-east-2.compute.internal
Namespace:    
Labels:       <none>
Annotations:  <none>
API Version:  storage.k8s.io/v1beta1
Kind:         CSINode

Actual results:
"Namespace" is displayed when using `oc describe csinode`

Expected results:
Remove "Namespace" when `oc describe csinode`

Master Log:

Node Log (of failed PODs):

PV Dump:

PVC Dump:

StorageClass Dump (if StorageClass used by PV/PVC):

Additional info:

Comment 1 Christian Huffman 2019-11-14 13:49:23 UTC
Submitted a PR upstream [1] to address this issue. This PR introduces a CSINode Describer, so that it will no longer use the generic Describer and display the namespace.

[1] https://github.com/kubernetes/kubernetes/pull/85283

Comment 2 Christian Huffman 2020-02-04 19:15:45 UTC
The upstream PR has been merged. Submitting a cherrypick [1] to the openshift repo for inclusion in our oc binaries.

[1] https://github.com/openshift/kubernetes-kubectl/pull/15

Comment 6 Chao Yang 2020-02-14 07:59:46 UTC
Passed with
Client Version: v4.4.0
Server Version: 4.4.0-0.nightly-2020-02-13-212616
Kubernetes Version: v1.17.1


oc describe csinode
Name:               ip-10-0-140-210.us-east-2.compute.internal
Labels:             <none>
Annotations:        <none>
CreationTimestamp:  Fri, 14 Feb 2020 12:23:10 +0800
Spec:
Events:  <none>

Comment 8 errata-xmlrpc 2020-05-04 11:14: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, 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