Skip to content

Commit

Permalink
Merge pull request #7523 from willie-yao/cse-fast-delete-1.30
Browse files Browse the repository at this point in the history
[release-1.30] Set node state to InstanceCreating to delete on CSE error
  • Loading branch information
k8s-ci-robot authored Nov 23, 2024
2 parents ed66e95 + 8cc0850 commit c5199d8
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,7 @@ func (scaleSet *ScaleSet) instanceStatusFromVM(vm *compute.VirtualMachineScaleSe
if scaleSet.enableDetailedCSEMessage && vm.InstanceView != nil {
if err, failed := scaleSet.cseErrors(vm.InstanceView.Extensions); failed {
klog.V(3).Infof("VM %s reports CSE failure: %v, with provisioning state %s, power state %s", to.String(vm.ID), err, to.String(vm.ProvisioningState), powerState)
status.State = cloudprovider.InstanceCreating
errorInfo := &cloudprovider.InstanceErrorInfo{
ErrorClass: cloudprovider.OtherErrorClass,
ErrorCode: vmssExtensionProvisioningFailed,
Expand Down

0 comments on commit c5199d8

Please sign in to comment.