Merge "undercloud: switch to the "direct" deploy interface by default"

This commit is contained in:
Zuul 2018-05-08 04:20:57 +00:00 committed by Gerrit Code Review
commit 4f5dceca90
3 changed files with 24 additions and 0 deletions

View File

@ -41,6 +41,7 @@ parameter_defaults:
HeatReauthenticationAuthMethod: 'trusts'
IronicCleaningDiskErase: 'metadata'
IronicCorsAllowedOrigin: '*'
IronicDefaultDeployInterface: 'direct'
IronicDefaultInspectInterface: 'inspector'
IronicDefaultResourceClass: 'baremetal'
IronicEnabledHardwareTypes: ['ipmi', 'redfish', 'idrac', 'ilo']

View File

@ -67,6 +67,11 @@ parameters:
images). Set to 'netboot' to make the instances boot from
controllers using PXE/iPXE.
type: string
IronicDefaultDeployInterface:
default: ''
description: Deploy interface implementation to use by default. Leave empty to
use the hardware type default.
type: string
IronicDefaultInspectInterface:
default: ''
description: Inspect interface implementation to use by default. Leave empty to
@ -214,6 +219,7 @@ resources:
IronicDebug: {get_param: IronicDebug}
conditions:
default_deploy_interface_unset: {equals : [{get_param: IronicDefaultDeployInterface}, '']}
default_inspect_interface_unset: {equals : [{get_param: IronicDefaultInspectInterface}, '']}
service_debug:
or:
@ -231,6 +237,11 @@ outputs:
config_settings:
map_merge:
- get_attr: [IronicBase, role_data, config_settings]
-
if:
- default_deploy_interface_unset
- {}
- ironic::drivers::interfaces::default_deploy_interface: {get_param: IronicDefaultDeployInterface}
-
if:
- default_inspect_interface_unset

View File

@ -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.