ironic/ironic/tests/unit/db
Mark Goddard 42d83a2bff Don't migrate away from iscsi if it is the default
We hit an issue in Kayobe CI where we have the following config:

enabled_deploy_interfaces: iscsi,direct
default_deploy_interface: iscsi

In practice, direct does not work out of the box in Kayobe currently.
The online migration added recently to move nodes from iscsi to direct
caused issues in our upgrade jobs, since it migrated nodes to direct,
without the config in place to make this work.

This change avoids migrating nodes when iscsi is the default deploy
interface.

Story: 2008114
Task: 40996

Change-Id: I5cf0684dc53a2d89fac12e578b28e73e7697a97e
2020-09-30 15:03:59 +01:00
..
sqlalchemy Merge "Add `network_data` field to ironic node object" 2020-05-19 19:10:30 +00:00
__init__.py Remove unused import 2016-07-21 09:03:40 +00:00
base.py Remove usage of some of the deprecated methods 2017-07-31 10:14:08 +00:00
test_allocations.py Allocation API: taking over allocations of offline conductors 2019-02-19 17:36:16 +01:00
test_api.py Don't migrate away from iscsi if it is the default 2020-09-30 15:03:59 +01:00
test_bios_settings.py Use assertCountEqual instead of assertItemsEqual 2020-06-11 14:37:56 +02:00
test_chassis.py Stop using six library 2019-12-23 09:38:25 +01:00
test_conductor.py Switch to unittest mock 2020-04-30 19:04:17 +02:00
test_deploy_templates.py Stop using six library 2019-12-23 09:38:25 +01:00
test_node_tags.py Use assertCountEqual instead of assertItemsEqual 2020-06-11 14:37:56 +02:00
test_node_traits.py Use assertCountEqual instead of assertItemsEqual 2020-06-11 14:37:56 +02:00
test_nodes.py Fix internal server error on deleting nodes with allocations 2020-06-17 09:44:13 +02:00
test_portgroups.py Stop using six library 2019-12-23 09:38:25 +01:00
test_ports.py Allow node lessee to see node's ports 2020-07-23 17:01:10 +00:00
test_volume_connectors.py Stop using six library 2019-12-23 09:38:25 +01:00
test_volume_targets.py Stop using six library 2019-12-23 09:38:25 +01:00
utils.py Add `network_data` field to ironic node object 2020-05-05 15:57:36 +02:00