bhouse-nexthop opened a new issue, #119:
URL: https://github.com/apache/cloudstack-kubernetes-provider/issues/119

   `InstanceShutdown` and `InstanceShutdownByProviderID` return 
`cloudprovider.NotImplemented`.
   
   When a node's VM is stopped in CloudStack (by a user, or force-stopped by 
CloudStack itself, for example when a migration away from a host in maintenance 
fails), the node goes NotReady. The node lifecycle controller then cannot tell 
it from a node that is only unreachable:
   
   - It never applies `node.cloudprovider.kubernetes.io/shutdown:NoSchedule`, 
which other providers (AWS, GCE, OpenStack) apply when an instance is stopped.
   - The provider implements InstancesV2, and on that path the controller does 
not treat NotImplemented as "not shut down". It logs this for every NotReady 
node on each monitor period (5 s by default):
   
   ```
   error checking if node <name> is shutdown: unimplemented
   ```
   
   Expected: a node whose VM is `Stopped` is reported as shut down, and gets 
the taint until it is Ready again.
   
   v1.3.0 and `main` both have this code.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to