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:

committed by
Jay Faulkner

parent
ef70b9674d
commit
e91685f33e
@@ -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
|
||||
|
@@ -0,0 +1,5 @@
|
||||
---
|
||||
fixes:
|
||||
- |
|
||||
Fix the issue that restart of conductor service can not recover
|
||||
a node stuck at the ``servicing`` state.
|
Reference in New Issue
Block a user