Skip to content

[DPE-10454] Use better status instead of blocked for transient update failures#1861

Merged
taurus-forever merged 1 commit into
mainfrom
alutay/dpe-10454-pg14
Jul 15, 2026
Merged

[DPE-10454] Use better status instead of blocked for transient update failures#1861
taurus-forever merged 1 commit into
mainfrom
alutay/dpe-10454-pg14

Conversation

@taurus-forever

Copy link
Copy Markdown
Contributor

Use maintenance status instead of blocked one.

The 'failed to update cluster members on member' BlockedStatus was misleading: these are transient, self-recovering conditions (a RetryError from update_config(), or a peer IP not yet published) rather than states needing operator intervention. Replace them with MaintenanceStatus and a 'updating cluster members' message.

Update test_on_peer_relation_changed accordingly, and set an explicit BlockedStatus before exercising the early-exit guard so that path stays covered.

(cherry picked from commit eddf95e)

Assisted-by: Claude:claude-5-fable

… failures

Use maintenance status instead of blocked one.

The 'failed to update cluster members on member' BlockedStatus was
misleading: these are transient, self-recovering conditions (a RetryError
from update_config(), or a peer IP not yet published) rather than states
needing operator intervention. Replace them with MaintenanceStatus
and a 'updating cluster members' message.

Update test_on_peer_relation_changed accordingly, and set an explicit
BlockedStatus before exercising the early-exit guard so that path stays
covered.

(cherry picked from commit eddf95e)

Assisted-by: Claude:claude-5-fable
@taurus-forever
taurus-forever requested a review from a team as a code owner July 14, 2026 22:36
@taurus-forever
taurus-forever requested review from carlcsaposs-canonical, dragomirp, juju-charm-bot and marceloneppel and removed request for a team July 14, 2026 22:36
@github-actions github-actions Bot added the Libraries: Out of sync The charm libs used are out-of-sync label Jul 14, 2026
@taurus-forever taurus-forever added the bug Something isn't working as expected label Jul 14, 2026
@taurus-forever
taurus-forever merged commit 5e54c4a into main Jul 15, 2026
401 of 412 checks passed
@taurus-forever
taurus-forever deleted the alutay/dpe-10454-pg14 branch July 15, 2026 21:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working as expected Libraries: Out of sync The charm libs used are out-of-sync

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants