ironic/ironic/tests/unit/drivers/modules/oneview
Vladyslav Drok 53521b6fd8 Avoid name errors in oneview periodics
Solves a bug that can brake the periodic task execution in
oneview drivers. The problem occurs when the method to check
if a node is in use by oneview raise an exception.

When that happens, the periodic task will break its execution,
leaving the node with a wrong provision state and wrong
maintenance mode too. The expected behavior when this occurs
is skip processing the current node, iterate over the next
node and process it.

This patch changes the periodic task execution flow, ignoring
the exception and processing the next node. In the next
periodic task execution, the not processed node can be
processed and updated accordingly.

Co-Authored-By: Xavier <marcusrafael@lsd.ufcg.edu.br>

Change-Id: I4b4b350d82d9e6863e8a4f334d2f9e7f7c192c6e
Closes-Bug: 1629051
2016-10-12 11:52:21 -03:00
..
__init__.py OneView Driver for Ironic 2015-10-09 15:14:32 -03:00
test_common.py Add inspection feature for the OneView drivers 2016-09-28 20:50:38 -03:00
test_deploy.py Avoid name errors in oneview periodics 2016-10-12 11:52:21 -03:00
test_deploy_utils.py Add inspection feature for the OneView drivers 2016-09-28 20:50:38 -03:00
test_inspect.py Add inspection feature for the OneView drivers 2016-09-28 20:50:38 -03:00
test_management.py Add inspection feature for the OneView drivers 2016-09-28 20:50:38 -03:00
test_power.py Merge "Use server_profile_template_uri at scheduling" 2015-11-20 15:04:57 +00:00
test_vendor.py Add inspection feature for the OneView drivers 2016-09-28 20:50:38 -03:00