ironic/ironic/tests/unit/conductor
Dmitry Tantsur 1c10bc5c30 Fix updating nodes with removed or broken drivers
Currently when updating a node we try to acquire the lock on it using
its old database record, including its old driver. This is not correct
when updating a driver, since the current conductor may not have access
to the old driver (and the old driver may no longer be enabled at all).

Since we do not need task.driver at all when updating nodes, this change
stops populating it in update_node.

Conflicts:
	ironic/conductor/task_manager.py

Change-Id: I510c3bfbd11b01fef05341be2bb04c6bd01bf8ac
Story: #2004741
Task: #28812
(cherry picked from commit cea8d74914)
2019-01-10 11:38:24 +01:00
..
__init__.py Prepare for functional testing 2015-09-28 21:27:01 +00:00
mgr_utils.py Adds RPC calls for rescue interface 2018-01-15 23:50:39 -05:00
test__mgr_utils.py Rename utils.py to mgr_utils.py to avoid namespace collision 2015-10-23 06:09:41 -07:00
test_base_manager.py Collect periodic tasks from all enabled hardware interfaces 2018-04-25 13:01:37 +00:00
test_manager.py Fix updating nodes with removed or broken drivers 2019-01-10 11:38:24 +01:00
test_notification_utils.py Unit test consistency: DB base and utils prefix 2017-06-20 09:36:21 +01:00
test_rpcapi.py Raise TemporaryFailure if no conductors are online 2018-06-25 08:41:17 +00:00
test_task_manager.py Fix updating nodes with removed or broken drivers 2019-01-10 11:38:24 +01:00
test_utils.py Don't fail when node is in CLEANFAIL state 2018-11-26 16:21:26 +00:00