Add servicing to stuck states on recovery

servicing is an intermediate state that should be cleaned up
on conductor startup.

Change-Id: I9b08579d0b2620e8bf63db1f189b01cf1fdc537b
This commit is contained in:
Kaifeng Wang
2025-02-08 15:17:34 +08:00
committed by Jay Faulkner
parent ef70b9674d
commit e91685f33e
2 changed files with 7 additions and 1 deletions

View File

@@ -276,7 +276,8 @@ UNSTABLE_STATES = (DEPLOYING, DEPLOYWAIT, CLEANING, CLEANWAIT, VERIFYING,
"""States that can be changed without external request."""
STUCK_STATES_TREATED_AS_FAIL = (DEPLOYING, CLEANING, VERIFYING, INSPECTING,
ADOPTING, RESCUING, UNRESCUING, DELETING)
ADOPTING, RESCUING, UNRESCUING, DELETING,
SERVICING)
"""States that cannot be resumed once a conductor dies.
If a node gets stuck with one of these states for some reason

View File

@@ -0,0 +1,5 @@
---
fixes:
- |
Fix the issue that restart of conductor service can not recover
a node stuck at the ``servicing`` state.