ironic/ironic/db/sqlalchemy
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
..
alembic Add `network_data` field to ironic node object 2020-05-05 15:57:36 +02:00
__init__.py Implement skeleton for a new DB backend. 2013-05-13 00:58:31 -07:00
alembic.ini alembic with initial migration and tests 2014-01-27 16:06:57 +02:00
api.py Don't migrate away from iscsi if it is the default 2020-09-30 15:03:59 +01:00
migration.py Replace DbMigrationError with DBMigrationError 2017-09-05 23:10:07 +08:00
models.py Add `network_data` field to ironic node object 2020-05-05 15:57:36 +02:00