Bug 1824340 - [DDF] This commands isn't labeling nodes, but listing nodes that are already labeled with
Summary: [DDF] This commands isn't labeling nodes, but listing nodes that are already ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat OpenShift Container Storage
Classification: Red Hat Storage
Component: documentation
Version: 4.3
Hardware: All
OS: All
unspecified
low
Target Milestone: ---
: OCS 4.4.0
Assignee: Erin Donnelly
QA Contact: Oded
URL:
Whiteboard:
: 1824342 (view as bug list)
Depends On:
Blocks: 1826040
TreeView+ depends on / blocked
 
Reported: 2020-04-15 22:17 UTC by Direct Docs Feedback
Modified: 2020-06-08 06:06 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-06-08 06:06:41 UTC
Embargoed:


Attachments (Terms of Use)

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.


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