Skip to content

Commit

Permalink
Merge pull request #7526 from willie-yao/cse-fast-delete
Browse files Browse the repository at this point in the history
Set node state to InstanceCreating to delete on CSE error
  • Loading branch information
k8s-ci-robot authored Nov 26, 2024
2 parents 60a35bb + 49a1ad4 commit 86a80c6
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,7 @@ func (scaleSet *ScaleSet) instanceStatusFromVM(vm *compute.VirtualMachineScaleSe
// Add vmssCSE Provisioning Failed Message in error info body for vmssCSE Extensions if enableDetailedCSEMessage is true
if scaleSet.enableDetailedCSEMessage && vm.InstanceView != nil {
if err, failed := scaleSet.cseErrors(vm.InstanceView.Extensions); failed {
status.State = cloudprovider.InstanceCreating
errorInfo := &cloudprovider.InstanceErrorInfo{
ErrorClass: cloudprovider.OtherErrorClass,
ErrorCode: vmssExtensionProvisioningFailed,
Expand Down

0 comments on commit 86a80c6

Please sign in to comment.