cancel
Showing results for 
Search instead for 
Did you mean: 
HowardM
Cadet
Cadet
  • 691 Views

Can't access API server after abrupt server power failure

I have a SNO cluster and everytime there is a power failure or the server powers down abruptly, I am not able to login to the api server after restartng and gets the following error when I try:

$ oc login -udeveloper -pdeveloper https://api.sno.example.com:6443
error: dial tcp 192.168.22.100:6443: connect: connection refused - verify you have provided the correct host and port and that the server is currently running.

$ oc status
The connection to the server api.sno.example.com:6443 was refused - did you specify the right host or port?

If I access the node via the console using the core user and run (netstat -nltp | grep kubeapi-server), it shows that kube-apiserver is not running.

How dow I restart this process and get it running again?

 

 

Labels (2)
0 Replies
Join the discussion
You must log in to join this conversation.