Merge "Follow up to inspect wait implementation"
This commit is contained in:
commit
75dfafcf57
@ -216,6 +216,8 @@ UNRESCUEFAIL = 'unrescue failed'
|
||||
UNRESCUING = 'unrescuing'
|
||||
""" Node is being restored from rescue mode (to active state). """
|
||||
|
||||
# NOTE(kaifeng): INSPECTING is allowed to keep backwards compatibility,
|
||||
# starting from API 1.39 node update is disallowed in this state.
|
||||
UPDATE_ALLOWED_STATES = (DEPLOYFAIL, INSPECTING, INSPECTFAIL, INSPECTWAIT,
|
||||
CLEANFAIL, ERROR, VERIFYING, ADOPTFAIL, RESCUEFAIL,
|
||||
UNRESCUEFAIL)
|
||||
|
@ -170,6 +170,9 @@ class ConductorManager(base_manager.BaseConductorManager):
|
||||
|
||||
# TODO(dtantsur): reconsider allowing changing some (but not all)
|
||||
# interfaces for active nodes in the future.
|
||||
# NOTE(kaifeng): INSPECTING is allowed to keep backwards
|
||||
# compatibility, starting from API 1.39 node update is disallowed
|
||||
# in this state.
|
||||
allowed_update_states = [states.ENROLL, states.INSPECTING,
|
||||
states.INSPECTWAIT, states.MANAGEABLE,
|
||||
states.AVAILABLE]
|
||||
|
Loading…
x
Reference in New Issue
Block a user