Enable automatic migration for classic drivers to hardware types
The new online data migration in ironic will migrate nodes from classic drivers to hardware types. However, it will skip nodes with one or more target hardware interfaces not enabled. In the undercloud we don't enable certain implementations that we do not support (e.g. "agent" RAID and "ipmitool-shellinabox" console for the "ipmi" hardware type). To allow the migration to work, set a special option to reset these interfaces to their no-op equivalents ("no-raid", "no-console", etc). Change-Id: Iba1e82d47c0e22613b06b99f0a9d0f4b3082bbe7 Related-Bug: #1690185
This commit is contained in:
parent
8872920c7f
commit
3756d3d60f
|
@ -477,6 +477,8 @@ nova::db::sync_api::db_sync_timeout: 900
|
|||
ironic::debug: "%{hiera('debug')}"
|
||||
ironic::my_ip: {{LOCAL_IP}}
|
||||
ironic::db_online_data_migrations: true
|
||||
# TODO(dtantsur): remove when support for classic drivers is removed
|
||||
ironic::db::online_data_migrations::migration_params: "--option migrate_to_hardware_types.reset_unsupported_interfaces=true"
|
||||
ironic::rpc_response_timeout: 600
|
||||
ironic::api::authtoken::password: {{UNDERCLOUD_IRONIC_PASSWORD}}
|
||||
ironic::api::authtoken::auth_uri: "%{hiera('keystone_auth_uri')}"
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
upgrade:
|
||||
- |
|
||||
During an upgrade to this release, a migration of all nodes from classic
|
||||
drivers to hardware types will be attempted. For some nodes it may result
|
||||
in non-supported optional interfaces (like "agent" RAID or shellinabox
|
||||
console) to be reset to their no-op implementations (like "no-raid" RAID or
|
||||
"no-console" console). Nodes that cannot be upgraded will be skipped.
|
||||
Manual upgrade will be required, since the classic drivers may be removed
|
||||
in the Rocky release.
|
Loading…
Reference in New Issue