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
This commit is contained in:
Dmitry Tantsur 2015-07-27 15:15:29 +02:00
parent 7f88443bce
commit 10054706d7

View File

@ -160,7 +160,8 @@ INSPECTFAIL = 'inspect failed'
""" Node inspection 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.""" """Transitional states in which we allow updating a node."""
DELETE_ALLOWED_STATES = (AVAILABLE, NOSTATE, MANAGEABLE, ENROLL) DELETE_ALLOWED_STATES = (AVAILABLE, NOSTATE, MANAGEABLE, ENROLL)