Skip to content
This repository has been archived by the owner on Oct 24, 2023. It is now read-only.

fix: delete vm if node is not ready after upgrade. #1173

Merged
merged 1 commit into from Apr 30, 2019

Conversation

JunSun17
Copy link
Contributor

Reason for Change:

When upgrade, if the newly added node is not ready, it will fail the upgrade attempt but that node will be kept. However, in the next upgrade attempt, another working node will be deleted, which ends up with a cluster with less than specified number of working nodes.

Here the fix is to remove the newly added node if it reports not ready.

Issue Fixed:

Requirements:

Notes:

@codecov
Copy link

codecov bot commented Apr 29, 2019

Codecov Report

Merging #1173 into master will decrease coverage by 0.01%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master    #1173      +/-   ##
==========================================
- Coverage   74.71%   74.69%   -0.02%     
==========================================
  Files         129      129              
  Lines       18387    18391       +4     
==========================================
  Hits        13738    13738              
- Misses       3856     3860       +4     
  Partials      793      793

@jackfrancis
Copy link
Member

lgtm

Copy link
Contributor

@CecileRobertMichon CecileRobertMichon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@acs-bot
Copy link

acs-bot commented Apr 30, 2019

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: CecileRobertMichon, JunSun17

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@CecileRobertMichon CecileRobertMichon merged commit f18dcfa into Azure:master Apr 30, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants