Bug 1824340

Summary: [DDF] This commands isn't labeling nodes, but listing nodes that are already labeled with
Product: [Red Hat Storage] Red Hat OpenShift Container Storage Reporter: Direct Docs Feedback <ddf-bot>
Component: documentationAssignee: Erin Donnelly <edonnell>
Status: CLOSED CURRENTRELEASE QA Contact: Oded <oviner>
Severity: low Docs Contact:
Priority: unspecified    
Version: 4.3CC: asriram, ebenahar, edonnell, ocs-bugs, prsurve, ratamir, vfarias
Target Milestone: ---   
Target Release: OCS 4.4.0   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-06-08 06:06:41 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: 1826040    

Description Direct Docs Feedback 2020-04-15 22:17:52 UTC
This commands isn't labeling nodes, but listing nodes that are already labeled with cluster.ocs.openshift.io/openshift-storage

Reported by: vagnerfarias

https://access.redhat.com/documentation/en-us/red_hat_openshift_container_storage/4.3/html/deploying_openshift_container_storage/deploying-openshift-container-storage#annotations:d605df52-44df-465e-b1a3-7d63427e94a5

Comment 2 Anjana Suparna Sriram 2020-04-21 15:08:26 UTC
*** Bug 1824342 has been marked as a duplicate of this bug. ***

Comment 5 Raz Tamir 2020-04-26 06:22:02 UTC
Hi Vanger and Erin,

I'm confused:
1) The title says "This command ..." - which?
2) comment #4 seems to work for the reporter so should we close this bug?  As a reply to comment #4, this is OCP way of labeling nodes, not OCS related syntax

Comment 6 Vagner Farias 2020-04-27 14:44:30 UTC
Hi Raz,

(In reply to Raz Tamir from comment #5)
> Hi Vanger and Erin,
> 
> I'm confused:
> 1) The title says "This command ..." - which?

The incorrect command specified in documentation is: 

~~~
oc get nodes -l cluster.ocs.openshift.io/openshift-storage -o jsonpath='{range .items[*]}{.metadata.name}{"\n"}'
~~~

I used "Direct Docs Feedback (DDF)" to open this bz and I thought it'd include the selected text in the initial description, but it doesn't and you need to follow the link to see everything.

> 2) comment #4 seems to work for the reporter so should we close this bug? 
> As a reply to comment #4, this is OCP way of labeling nodes, not OCS related
> syntax

My request is to have the command changed to either the option I provided or something else that works. The goal is to allow the reader to follow the instructions and achieve expected result, as opposed to having to open OCP documentation to check how to label a node.