Merge "Add support for Ironic Rpc Transport override"

This commit is contained in:
Zuul 2019-06-04 15:44:56 +00:00 committed by Gerrit Code Review
commit 91c3c53ad9
2 changed files with 24 additions and 0 deletions

View File

@ -48,6 +48,13 @@ parameters:
description: The password for the Ironic service and db account, used by the Ironic services
type: string
hidden: true
IronicRpcTransport:
description: The remote procedure call transport between conductor and
API processes, such as a messaging broker or JSON RPC.
default: ''
type: string
constraints:
- allowed_values: [ '', 'oslo', 'json-rpc']
RpcPort:
default: 5672
description: The network port for messaging backend
@ -83,6 +90,7 @@ parameter_groups:
conditions:
service_debug_unset: {equals : [{get_param: IronicDebug}, '']}
default_rsc_unset: {equals : [{get_param: IronicDefaultResourceClass}, '']}
rpc_transport_unset: {equals : [{get_param: IronicRpcTransport}, '']}
outputs:
role_data:
@ -112,5 +120,10 @@ outputs:
- default_rsc_unset
- {}
- ironic::default_resource_class: {get_param: IronicDefaultResourceClass}
-
if:
- rpc_transport_unset
- {}
- ironic::rpc_transport: {get_param: IronicRpcTransport}
step_config: |
include ::tripleo::profile::base::ironic

View File

@ -0,0 +1,11 @@
---
features:
- |
`IronicRpcTransport` controlls the remote procedure call transport between
Ironic Conductor and API processes. For some case, like Edge DCN, this
parameter may be set to 'json-rpc', when the used messaging broker should
not be stretched over WAN. For such cases, this option also plays nicely
alongside the
`Ironic Conductor Groups <https://docs.openstack.org/ironic/latest/admin/conductor-groups.html>`_
feature. Defaults to an empty value, which leaves the corresponding
service's default value intact.