From 10054706d7a58234682f9de5b74ed2a650fadece Mon Sep 17 00:00:00 2001 From: Dmitry Tantsur Date: Mon, 27 Jul 2015 15:15:29 +0200 Subject: [PATCH] Allow updates in VERIFYING state The worst thing that can happen if a user updates node while VERIFYING is that node credentials will become wrong. As we don't prevent updates after verification, it's not a big deal. Change-Id: I4534a3607cb276b4e238c4846ccc9e8f2e113590 --- ironic/common/states.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ironic/common/states.py b/ironic/common/states.py index 7fef39cf8b..e24f516431 100644 --- a/ironic/common/states.py +++ b/ironic/common/states.py @@ -160,7 +160,8 @@ INSPECTFAIL = 'inspect failed' """ Node inspection failed. """ -UPDATE_ALLOWED_STATES = (DEPLOYFAIL, INSPECTING, INSPECTFAIL, CLEANFAIL, ERROR) +UPDATE_ALLOWED_STATES = (DEPLOYFAIL, INSPECTING, INSPECTFAIL, CLEANFAIL, ERROR, + VERIFYING) """Transitional states in which we allow updating a node.""" DELETE_ALLOWED_STATES = (AVAILABLE, NOSTATE, MANAGEABLE, ENROLL)