ironic/ironic/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 Don't migrate away from iscsi if it is the default 2020-09-30 15:03:59 +01:00
__init__.py Remove copyright from empty files 2014-01-07 21:05:01 +08:00
api.py Deprecate the iscsi deploy interface 2020-09-22 15:39:36 +02:00
migration.py Remove downgrade support from migrations 2016-02-08 15:31:15 +00:00