Skip to content

[enterprise-4.2] Issue in file machine_management/adding-rhel-compute.adoc #23529

@chuckersjp

Description

@chuckersjp

Which section(s) is the issue in?

https://docs.openshift.com/container-platform/4.2/machine_management/adding-rhel-compute.html#rhel-adding-node_adding-rhel-compute

What needs fixing?

In the inset, it has the following:

[all:vars]
ansible_user=root 
#ansible_become=True 

openshift_kubeconfig_path="~/.kube/config" 

[new_workers] 
mycluster-worker-0.example.com
mycluster-worker-1.example.com

And footnote 3 states:

  | Specify the path to the kubeconfig file for your cluster.

Which refers to the line openshift_kubeconfig_path="~/.kube/config"

While the variable name is correct, it does NOT refer to the PATH but the full path to the CONFIG file.
If only the PATH is specified, the scaleup.yml playbook will fail but only after retrying 36 times.

Suggested fix

Change footnote 3 to state:

Specify the config file with full pathname

Changing variable name to something more descriptive could be problematic.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions