Currently, state of a node introspection isn't kept in the database.
This change introduces:
* a new database column to keep the node introspection state
* an automaton to manage the node introspection state
* a decorator to declare a function performing an introspection state
transition
* a version_id column is added, to enhance database consistency, that
is consulted whenever node_info is committed
Reviewed: https:/ /review. openstack. org/348943 /git.openstack. org/cgit/ openstack/ ironic- inspector/ commit/ ?id=3ddc0615e5f 99c7839c8b9e3ce 3b78dcc522af39
Committed: https:/
Submitter: Jenkins
Branch: master
commit 3ddc0615e5f99c7 839c8b9e3ce3b78 dcc522af39
Author: dparalen <email address hidden>
Date: Fri Aug 19 16:10:17 2016 +0200
Introducing node introspection state management
Currently, state of a node introspection isn't kept in the database.
This change introduces:
* a new database column to keep the node introspection state
* an automaton to manage the node introspection state
* a decorator to declare a function performing an introspection state
transition
* a version_id column is added, to enhance database consistency, that
is consulted whenever node_info is committed
This change is part of the HA_Inspector effort[1]
[1] https:/ /specs. openstack. org/openstack/ ironic- inspector- specs/specs/ HA_inspector. html
Closes-Bug: #1618835 14715ccbe826d8a 95610ec718d
Partial-Bug: #1525218
Change-Id: I18cb45f0d11944