platform9 / cctl

Apache License 2.0
47 stars 8 forks source link

Should not allow to deleting last master till workers are still present #37

Closed puneetguptanitj closed 6 years ago

puneetguptanitj commented 6 years ago
puneetgupta@Puneets-MacBook-Pro  ~/go/src/github.com/platform9/pf9-clusteradm   master  ./pf9-clusteradm delete machine --ip 10.105.16.47
2018/07/14 11:21:09 Not able to verify machine SSH identity: No public keys given. Continuing...
2018/07/14 11:21:25 Could not identify the cluster node for machine 10.105.16.47: command failed: Process exited with status 1 () (Unable to connect to the server: dial tcp 10.105.16.48:6443: getsockopt: no route to host
)
 ✘ puneetgupta@Puneets-MacBook-Pro  ~/go/src/github.com/platform9/pf9-clusteradm   master  ./pf9-clusteradm get machine
Machine Information
------- -----------
Machine IP             Creation Timestamp                      Role
10.105.16.47           2018-07-13 22:37:45 -0700 PDT           [Node]