platform9 / ssh-provider

SSH Machine Controller for the Cluster API
11 stars 4 forks source link

Create fails, as ssh command exits with failure #16

Closed puneetguptanitj closed 6 years ago

puneetguptanitj commented 6 years ago

Sometimes ssh command fails, however retrying the same command immediately after works. Not able to reproduce predictably, creating a place holder if someone else also sees this issue


 ✘ puneet@puneet  ~/data/goworkspace/src/github.com/platform9/pf9-clusteradm   master ●✚  ./pf9-clusteradm create node --ip 10.105.16.23 --role master                                                   
2018/07/10 12:38:10 Using the existing state file                                                                                                                                                            
2018/07/10 12:38:11 writing ca cert and key                                                                                                                                                                  

2018/07/10 12:38:12 error creating machine "10.105.16.23": error invoking ssh command Process exited with status 1                                                                                           

 puneet@puneet  ~/data/goworkspace/src/github.com/platform9/pf9-clusteradm   master ●✚  ./pf9-clusteradm create node --ip 10.105.16.23 --role master                                                     
2018/07/10 12:38:49 Using the existing state file                                                                                                                                                            
2018/07/10 12:38:50 writing ca cert and key                                                                                                                                                                  

2018/07/10 12:38:54 2018/07/10 19:37:46 [install] verifying etcd 3.1.12 is installed in /opt/bin/etcd-v3.1.12                                                                                                
2018/07/10 19:37:46 [certificates] creating PKI assets                                                                                                                                                       
2018/07/10 19:37:46 creating a self signed etcd CA certificate and key files                                                                                                                                 
2018/07/10 19:37:46 creating a new server certificate and key files for etcd                                  
dlipovetsky commented 6 years ago

Not enough information.