ironic/ironic/tests/unit
Dmitry Tantsur cea8d74914 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.

Change-Id: I510c3bfbd11b01fef05341be2bb04c6bd01bf8ac
Story: #2004741
Task: #28812
2019-01-09 12:45:10 +01:00
..
api Allocation API: database and RPC 2019-01-07 12:51:10 +01:00
cmd Ignore newly introduced tables in pre-upgrade versions check 2018-12-13 16:44:33 +01:00
common Merge "Fix IPv6 iPXE support" 2019-01-08 17:41:48 +00:00
conductor Fix updating nodes with removed or broken drivers 2019-01-09 12:45:10 +01:00
conf Remove deprecated [keystone] config section 2018-06-11 13:30:50 +00:00
db Allocation API: database and RPC 2019-01-07 12:51:10 +01:00
dhcp Completely stop using the "fake" classic driver in unit tests 2018-06-06 16:10:43 +02:00
drivers Allow missing `local_gb` property 2019-01-04 06:15:31 +00:00
objects Allocation API: database and RPC 2019-01-07 12:51:10 +01:00
__init__.py Setup logging in unit tests 2017-04-13 20:47:10 +03:00
policy_fixture.py Add keystone policy support to Ironic 2016-08-04 12:43:20 +00:00
raid_constants.py Fix for Unable to create RAID1 on Dell BOSS card 2018-06-19 14:41:57 -04:00
stubs.py Enhanced checksum support 2018-10-22 16:12:31 +08:00
test_base.py Fix issue with double mocking of utils.execute functions 2018-02-23 05:44:59 -08:00