Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DPE-4306] resume-upgrade does not work on leader as highest unit #304

Closed

Conversation

phvalguima
Copy link
Contributor

If the leader happens to be the unit with highest id, then the resume-upgrade will fail.

This PR broadens the health check to also consider UnitState.UPGRADING status as valid healthy status.

Closes #303

If the leader happens to be the unit with highest id, then the `resume-upgrade` will fail.

This PR broadens the health check to also consider `UnitState.UPGRADING` status as valid healthy status.

Closes #303
Copy link
Contributor

@carlcsaposs-canonical carlcsaposs-canonical left a comment

Choose a reason for hiding this comment

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

consider UnitState.UPGRADING status as valid healthy status

this is not a healthy status—this means that the unit has refreshed the snap but has not come back online as healthy

the upgrade should not automatically resume or manually resume with resume-upgrade if the unit does not come back online as healthy (except for force upgrades)

@phvalguima phvalguima closed this May 8, 2024
@phvalguima phvalguima deleted the DPE-4306-resume-upgrade-on-highest-leader-unit branch May 27, 2024 08:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

resume-upgrade fails if highest unit is also the leader unit
2 participants