Got it

Failed to Add a Management Node Due to Connection Failures or Incorrect Password

155 0 0 0 0

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:

  1. The user name or password is incorrect.

  2. The management node cannot be connected.

  3. The command descriptor of user root is not #.

Solution

  1. If the user name or password is incorrect, enter the correct user name and password.

  2. If the node connection is unavailable, rectify the network fault to ensure that the node network is normal.

  3. 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:

    2_en-us_image_0281728382.png

    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.

    1_en-us_image_0281729432.png

    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 #.

Comment

You need to log in to comment to the post Login | Register

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.