Skip to content

Commit

Permalink
Merge pull request kubernetes#7524 from willie-yao/cse-fast-delete-1.29
Browse files Browse the repository at this point in the history
[release-1.29] Set node state to InstanceCreating to delete on CSE error
  • Loading branch information
k8s-ci-robot authored Nov 23, 2024
2 parents 204a4a7 + d4f6e95 commit 9026d94
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 9026d94

Please sign in to comment.