Hi team, here's a new case.
Problem Symptom
When adding a management node, an error message is displayed, indicating that the node fails to be connected due to a node connection failure or incorrect password.
Problem Diagnosis
Possible Causes:
The user name or password is incorrect.
The management node cannot be connected.
The command descriptor of user root is not #.
Solution
If the user name or password is incorrect, enter the correct user name and password.
If the node connection is unavailable, rectify the network fault to ensure that the node network is normal.
If the command descriptor of user root is not #, modify system environment variable PS1. Take CentOS 7 as an example. The configuration items of environment variable PS1 are as follows:

You can run the echo $PS1 command to view the configuration items of the environment variable PS1.
Modify the PS1 variable in /etc/profile, as shown in the following figure.

Run the source /etc/profile command for the modification to take effect. If the command prompt contains #, the modification is successful.
Check After Recovery
Log in to the management node that fails to be added as user root and check whether the command descriptor is #.

