oracle / cluster-api-provider-oci

Kubernetes Cluster API Provider for Oracle Cloud Infrastructure
https://oracle.github.io/cluster-api-provider-oci/
Apache License 2.0
40 stars 22 forks source link

machine status still showing 'failed' after restart a 'stopped' instance #337

Closed QiangZhangO closed 1 year ago

QiangZhangO commented 1 year ago

What happened: Without MHC for MachineDeployment, when I stopped the compute instance, machine object in 'failed' status as expected and worker node in "NotReady" status as expected. While after restarting the compute instance, the worker node back "Ready" status, while machine object still in "failed" status, capoci log showing the ocimachine already 'Active' What you expected to happen: machine object should be in "Running" status How to reproduce it (as minimally and precisely as possible): deploy a MD without MHC, and stop the worker node, after the machine object turned to "failed", then start the worker node. Anything else we need to know?:

Environment: