Merge "Fix valid provision states for introspection"
This commit is contained in:
commit
fec8c78600
|
@ -26,7 +26,7 @@ CONF = cfg.CONF
|
|||
LOG = utils.getProcessingLogger(__name__)
|
||||
|
||||
# See http://specs.openstack.org/openstack/ironic-specs/specs/kilo/new-ironic-state-machine.html # noqa
|
||||
VALID_STATES = {'enroll', 'manageable', 'inspecting', 'inspectfail'}
|
||||
VALID_STATES = {'enroll', 'manageable', 'inspecting', 'inspect failed'}
|
||||
SET_CREDENTIALS_VALID_STATES = {'enroll'}
|
||||
|
||||
# 1.11 is API version, which support 'enroll' state
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
---
|
||||
fixes:
|
||||
- |
|
||||
Wrong provision state name 'inspectfail' in *ironic-inspector* valid
|
||||
states for node inspection.
|
||||
This issue leads to state inconsistency between *ironic* and
|
||||
*ironic-inspector*. For example, if *ironic* inspection timeout is
|
||||
lower than *ironic-inspector*'s, and inspection timeout occurs, *ironic*
|
||||
will transition node into 'inspect failed' provision state. In such case
|
||||
when node inspection finishes without errors the node will be in
|
||||
'inspect failed' provision state with inspection in 'finished' state.
|
Loading…
Reference in New Issue