Node in not ready state and machine showing failed
search cancel

Node in not ready state and machine showing failed

book

Article ID: 378405

calendar_today

Updated On:

Products

VMware Telco Cloud Automation

Issue/Introduction

Some times after an unexpected reboot of nodes or the cluster you will see nodes in node ready state. Also the machine resource in TKG might show as failed

Environment

2.X

Resolution

In order to resolve the issue remove the machine, vspheremachine and vspherevm resources and let the capi/capv recreate these resources

  1. Delete machine resource

    kubectl delete machine MACHINENAME -n NAMESPACE
  2. Delete vspheremachine resource

    kubectl delete vspheremachine VSPHEREMACHINENAME -n NAMESPACE
  3. Delete vspherevm resource

    kubectl delete vspherevm VSPHEREVMNAME -n NAMESPACE