diff options
author | Zuul <zuul@review.openstack.org> | 2018-05-10 15:35:56 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2018-05-10 15:35:56 +0000 |
commit | 75dfafcf57ded06ff2231fd00036e364d052c37c (patch) | |
tree | 76d7b0c3be9cff5086fa6717b75c7b477e294f5e /ironic/common/states.py | |
parent | 9e63f0e97f7621fca498989dae68d735a4f071f4 (diff) | |
parent | 1a59ef96fc2470b22caa42b3ab45a8f2def79521 (diff) | |
download | ironic-75dfafcf57ded06ff2231fd00036e364d052c37c.tar.gz |
Merge "Follow up to inspect wait implementation"
Diffstat (limited to 'ironic/common/states.py')
-rw-r--r-- | ironic/common/states.py | 2 |
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) |