Merge "undercloud: switch to the "direct" deploy interface by default"
This commit is contained in:
commit
4f5dceca90
environments
puppet/services
releasenotes/notes
@ -41,6 +41,7 @@ parameter_defaults:
|
|||||||
HeatReauthenticationAuthMethod: 'trusts'
|
HeatReauthenticationAuthMethod: 'trusts'
|
||||||
IronicCleaningDiskErase: 'metadata'
|
IronicCleaningDiskErase: 'metadata'
|
||||||
IronicCorsAllowedOrigin: '*'
|
IronicCorsAllowedOrigin: '*'
|
||||||
|
IronicDefaultDeployInterface: 'direct'
|
||||||
IronicDefaultInspectInterface: 'inspector'
|
IronicDefaultInspectInterface: 'inspector'
|
||||||
IronicDefaultResourceClass: 'baremetal'
|
IronicDefaultResourceClass: 'baremetal'
|
||||||
IronicEnabledHardwareTypes: ['ipmi', 'redfish', 'idrac', 'ilo']
|
IronicEnabledHardwareTypes: ['ipmi', 'redfish', 'idrac', 'ilo']
|
||||||
|
@ -67,6 +67,11 @@ parameters:
|
|||||||
images). Set to 'netboot' to make the instances boot from
|
images). Set to 'netboot' to make the instances boot from
|
||||||
controllers using PXE/iPXE.
|
controllers using PXE/iPXE.
|
||||||
type: string
|
type: string
|
||||||
|
IronicDefaultDeployInterface:
|
||||||
|
default: ''
|
||||||
|
description: Deploy interface implementation to use by default. Leave empty to
|
||||||
|
use the hardware type default.
|
||||||
|
type: string
|
||||||
IronicDefaultInspectInterface:
|
IronicDefaultInspectInterface:
|
||||||
default: ''
|
default: ''
|
||||||
description: Inspect interface implementation to use by default. Leave empty to
|
description: Inspect interface implementation to use by default. Leave empty to
|
||||||
@ -214,6 +219,7 @@ resources:
|
|||||||
IronicDebug: {get_param: IronicDebug}
|
IronicDebug: {get_param: IronicDebug}
|
||||||
|
|
||||||
conditions:
|
conditions:
|
||||||
|
default_deploy_interface_unset: {equals : [{get_param: IronicDefaultDeployInterface}, '']}
|
||||||
default_inspect_interface_unset: {equals : [{get_param: IronicDefaultInspectInterface}, '']}
|
default_inspect_interface_unset: {equals : [{get_param: IronicDefaultInspectInterface}, '']}
|
||||||
service_debug:
|
service_debug:
|
||||||
or:
|
or:
|
||||||
@ -231,6 +237,11 @@ outputs:
|
|||||||
config_settings:
|
config_settings:
|
||||||
map_merge:
|
map_merge:
|
||||||
- get_attr: [IronicBase, role_data, config_settings]
|
- get_attr: [IronicBase, role_data, config_settings]
|
||||||
|
-
|
||||||
|
if:
|
||||||
|
- default_deploy_interface_unset
|
||||||
|
- {}
|
||||||
|
- ironic::drivers::interfaces::default_deploy_interface: {get_param: IronicDefaultDeployInterface}
|
||||||
-
|
-
|
||||||
if:
|
if:
|
||||||
- default_inspect_interface_unset
|
- default_inspect_interface_unset
|
||||||
|
@ -0,0 +1,12 @@
|
|||||||
|
---
|
||||||
|
upgrade:
|
||||||
|
- |
|
||||||
|
Ironic in the containerized undercloud now uses the ``direct`` deploy
|
||||||
|
interface by default for better performance and scalability. See
|
||||||
|
`the direct deploy documentation
|
||||||
|
<https://docs.openstack.org/ironic/latest/admin/interfaces/deploy.html#direct-deploy>`_
|
||||||
|
for details.
|
||||||
|
|
||||||
|
If undesired, this change can be reverted per node by setting the node's
|
||||||
|
``deploy_interface`` field to ``iscsi`` or globally by changing the new
|
||||||
|
``IronicDefaultDeployInterface`` to empty string.
|
Loading…
Reference in New Issue
Block a user