Ironic Inspector - use make_url for db connection
The current list_join implementation does not handle IPv6 addresses properly. Switch to use the make_url function. Closes-Bug: #1829582 Change-Id: I9bd87fe94909107e7bfece0e7643cb48b6cf2355
This commit is contained in:
parent
c33f8cb117
commit
cf6fc40c67
|
@ -240,15 +240,15 @@ outputs:
|
|||
ironic::inspector::ramdisk_collectors: {get_param: IronicInspectorCollectors}
|
||||
ironic::inspector::ramdisk_kernel_args: {get_param: IronicInspectorKernelArgs}
|
||||
ironic::inspector::db::database_connection:
|
||||
list_join:
|
||||
- ''
|
||||
- - {get_param: [EndpointMap, MysqlInternal, protocol]}
|
||||
- '://ironic-inspector:'
|
||||
- {get_param: IronicPassword}
|
||||
- '@'
|
||||
- {get_param: [EndpointMap, MysqlInternal, host]}
|
||||
- '/ironic-inspector'
|
||||
- '?read_default_file=/etc/my.cnf.d/tripleo.cnf&read_default_group=tripleo'
|
||||
make_url:
|
||||
scheme: {get_param: [EndpointMap, MysqlInternal, protocol]}
|
||||
username: ironic-inspector
|
||||
password: {get_param: IronicPassword}
|
||||
host: {get_param: [EndpointMap, MysqlInternal, host]}
|
||||
path: /ironic-inspector
|
||||
query:
|
||||
read_default_file: /etc/my.cnf.d/tripleo.cnf
|
||||
read_default_group: tripleo
|
||||
-
|
||||
if:
|
||||
- enable_architecture_ppc64le
|
||||
|
|
Loading…
Reference in New Issue