Bug 1778713 - [DOCS] Errata in the command "oc label node $node logging-infra-fluentd-"
Summary: [DOCS] Errata in the command "oc label node $node logging-infra-fluentd-"
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Documentation
Version: 3.11.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Latha S
QA Contact: Xiaoli Tian
Latha S
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-12-02 11:29 UTC by Oscar Casal Sanchez
Modified: 2022-08-08 13:09 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-08-08 13:09:51 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHDEVDOCS-3089 0 Unprioritized Open Bug 1778713 - [DOCS] Errata in the command "oc label node $node logging-infra-fluentd-" 2021-06-17 17:16:20 UTC

Description Oscar Casal Sanchez 2019-12-02 11:29:09 UTC
Document URL:
=============

https://access.redhat.com/documentation/en-us/openshift_container_platform/3.10/html/configuring_clusters/install-config-aggregate-logging


Section Number and Name:
========================

33.12. Changing the Aggregated Logging Driver


Describe the issue: 
===================

I can read the next text:

~~~
For each node, remove the label and turn off Fluentd:

$ oc label node $node logging-infra-fluentd-
~~~

The command doesn't work giving the next error:

~~~
$  oc label node  master-0.ocasalsa311.lab.pnq2.cee.redhat.com logging-infra-fluentd-
label "logging-infra-fluentd" not found.
node/master-0.ocasalsa311.lab.pnq2.cee.redhat.com not labeled
~~~

And the logging-infra-fluentd label is not deleted.


Suggestions for improvement: 
============================

The command should be like this:

~~~
$ oc label node  master-0.ocasalsa311.lab.pnq2.cee.redhat.com logging-infra-fluentd=false
node/master-0.ocasalsa311.lab.pnq2.cee.redhat.com labeled
$ oc get node master-0.ocasalsa311.lab.pnq2.cee.redhat.com --show-labels
NAME                                           STATUS    ROLES     AGE       VERSION           LABELS
master-0.ocasalsa311.lab.pnq2.cee.redhat.com   Ready     master    11d       v1.11.0+d4cacc0   beta.kubernetes.io/arch=amd64,beta.kubernetes.io/os=linux,kubernetes.io/hostname=master-0.ocasalsa311.lab.pnq2.cee.redhat.com,logging-infra-fluentd=false,node-role.kubernetes.io/master=true
~~~


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