Closed marcoppenheimer closed 1 year ago
feat: support managed rollback after failed upgrade
pre-upgrade-check
state=recovering
upgrade-charm
upgrade-granted
feat: add unit statuses during upgrade
BlockedStatus
cause
set_unit_failed()
MaintenanceStatus
ActiveStatus
state=idle
Changes Made
feat: support managed rollback after failed upgrade
pre-upgrade-check
action after a cluster has failed setsstate=recovering
to the leaderupgrade-charm
modifies upgrade-stack to insert any units that were already popped + completed (i.e not the failed ones)upgrade-granted
now only emitted when all units are readyfeat: add unit statuses during upgrade
BlockedStatus
with optionalcause
passed byset_unit_failed()
if unit fails duringBlockedStatus
with generic message if any other unit failed duringMaintenanceStatus
throughoutActiveStatus
when setting back tostate=idle