Add INSPECTFAIL as a valid state to start introspection

Might be useful for debugging.

Change-Id: Iaca4bc75a9cfa5bac5275170093b273c268337c3
This commit is contained in:
Dmitry Tantsur 2015-03-25 16:14:52 +01:00
parent 1863ab96b8
commit 340d1bd4a9
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ CONF = cfg.CONF
LOG = logging.getLogger("ironic_discoverd.introspect")
# See http://specs.openstack.org/openstack/ironic-specs/specs/kilo/new-ironic-state-machine.html # noqa
VALID_STATES = {'enroll', 'manageable', 'inspecting'}
VALID_STATES = {'enroll', 'manageable', 'inspecting', 'inspectfail'}
PASSWORD_ACCEPTED_CHARS = set(string.ascii_letters + string.digits)
PASSWORD_MAX_LENGTH = 20 # IPMI v2.0