Bug 1844449
| Summary: | Wrong hostname value "fluentd-4nzfz" in examples when "Forwarding logs using the syslog protocol" | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Oscar Casal Sanchez <ocasalsa> |
| Component: | Documentation | Assignee: | Lindsey Barbee-Vargas <lbarbeev> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Anping Li <anli> |
| Severity: | medium | Docs Contact: | Vikram Goyal <vigoyal> |
| Priority: | low | ||
| Version: | 4.4 | CC: | aos-bugs, jokerman, rdlugyhe |
| Target Milestone: | --- | ||
| Target Release: | 4.4.z | ||
| 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-11-09 18:31:46 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
Oscar Casal Sanchez
2020-06-05 12:51:02 UTC
Made changes as described: Changed instances of "hostname fluentd-4nzfz" to "hostname ${hostname}" in examples to forward the logs outside using the syslog protocol. Moving this bug to MODIFIED. This can be reviewed in the following PRs:
4.4 - https://github.com/openshift/openshift-docs/pull/26835
4.5 - https://github.com/openshift/openshift-docs/pull/26836
4.6 & 4.7 - https://github.com/openshift/openshift-docs/pull/26828
The documentation has changed from 4.4 to 4.6, so there are multiple PRs for this BZ.
Oscar, to confirm, does the user include `${hostname}` exactly or is this a variable that is modified by the user? For example, instead of using `hostname ${hostname}` in the documentation examples, should we have `hostname <hostname>`, whereas `<hostname>` needs to be modified by the user in their files?
Hello Lindsey,
It must be literally `${hostname}` since it's a variable that it's later replace by the system to put the hostname where it's running, then, the user mustn't modify this variable.
Regards,
Oscar
Thank you for the clarification, Oscar. I'll keep it as `${hostname}`.
Verified fix is published and live on docs.openshift.com: [4.4] https://docs.openshift.com/container-platform/4.4/logging/config/cluster-logging-external.html#cluster-logging-collector-syslog_cluster-logging-external [4.5] https://docs.openshift.com/container-platform/4.5/logging/cluster-logging-external.html#cluster-logging-collector-syslog_cluster-logging-external [4.6] https://docs.openshift.com/container-platform/4.6/logging/cluster-logging-external.html#cluster-logging-collector-legacy-syslog_cluster-logging-external Verified fix is published and live on the Customer Portal: [4.4] https://access.redhat.com/documentation/en-us/openshift_container_platform/4.4/html-single/logging/index#cluster-logging-collector-syslog_cluster-logging-external [4.5] https://access.redhat.com/documentation/en-us/openshift_container_platform/4.5/html-single/logging/index#cluster-logging-collector-syslog_cluster-logging-external [4.6] https://access.redhat.com/documentation/en-us/openshift_container_platform/4.6/html/logging/cluster-logging-external#cluster-logging-collector-legacy-syslog_cluster-logging-external Made further corrections to modules/cluster-logging-collector-legacy-syslog.adoc for https://issues.redhat.com/browse/RHDEVDOCS-2604. Also see https://github.com/openshift/openshift-docs/pull/29385/files. |