When destroying a cluster through a single node, the system prompts an error that sshkey maybe broken

2020-10-12 22:54:50 Published
  • 0 Followed
  • 0Collected ,1363Browsed

Network Topology

ONEStor standard networking

Problem Description

During cluster deploymentit maybe fail due to problems such as operations, network and etc. At this time, all nodes need to be destroyed and then redeployed. However, because the cluster deployment has not been completed, it is necessary to destroy the cluster through a single node.

 

When destroying a cluster through a single node, the system prompts an error that sshkey maybe broken.

For example:

 

When using the command onestor-cli destroy --hosts 172.16.3.17 to destroy a single node, it prompts that the sshkey maybe broken. As shown below:

ERRORsshkey maybe broken, after solved this problem, you can destroy cluster again


Process Analysis

Because the abnormal destruction of then sshkey, the sshkey needs to be repaired   

Solution

1.     Enter the command ssh-keygen -t rsa in the background, and then press Enter;

   If prompted to enter yes/no, enter yes;

2.     Then execute ssh-copy-id ip (the ip of your own node or 127.0.01);

3.     Enter the password, and wait for a while, the cluster information in this node will be destroyed.


Please rate this case:   
0 Comments

No Comments

Add Comments: