summaryrefslogtreecommitdiff
path: root/ironic/common/states.py
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2018-05-10 15:35:56 +0000
committerGerrit Code Review <review@openstack.org>2018-05-10 15:35:56 +0000
commit75dfafcf57ded06ff2231fd00036e364d052c37c (patch)
tree76d7b0c3be9cff5086fa6717b75c7b477e294f5e /ironic/common/states.py
parent9e63f0e97f7621fca498989dae68d735a4f071f4 (diff)
parent1a59ef96fc2470b22caa42b3ab45a8f2def79521 (diff)
downloadironic-75dfafcf57ded06ff2231fd00036e364d052c37c.tar.gz
Merge "Follow up to inspect wait implementation"
Diffstat (limited to 'ironic/common/states.py')
-rw-r--r--ironic/common/states.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/ironic/common/states.py b/ironic/common/states.py
index bb24822f3..a45e1f7b3 100644
--- a/ironic/common/states.py
+++ b/ironic/common/states.py
@@ -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)