gardener / machine-controller-manager-provider-azure

This repository is the out of tree implementation of the machine driver for Azure cloud provider
Apache License 2.0
8 stars 27 forks source link

Use Appropriate Error Code for timeout during VM Deletion #147

Closed elankath closed 4 months ago

elankath commented 6 months ago

What would you like to be added:

Currently, timeout during VM Deletion in Azure results in the generic error code Internal being returned to the MCM. See driver.DeleteVirtualMachine . This is then set in the Machine.LastOperation.Description.

We want the error code to be changed to the appropriate code codes.DeadlineExceeded

Why is this needed: See gardener landscape issue 125 This will allow us the opportunity to use a more suitable higher level error code in gardener ERR_INFRA_DEPENDENCIES to avoid repetitive multiple VO alerts.

rishabh-11 commented 4 months ago

/close

based on the comment on landscape issue 125