From f5c903c89636512a9bd14cf62b00850cab760104 Mon Sep 17 00:00:00 2001 From: Derek Higgins Date: Tue, 5 May 2015 13:59:14 +0100 Subject: Reuse the undercloud service passwords as db passwords. We need to stop using "unset" as the password for all databases. Ideally we would add a "XxxxDSN" parameter (e.g. KeystoneDSN) but to remain consistent with the overcloud for now we reuse the service passwords Change-Id: I35c4fa3478eea92f81aa381fd2ab5fac5aae849f --- undercloud-bm-nova-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'undercloud-bm-nova-config.yaml') diff --git a/undercloud-bm-nova-config.yaml b/undercloud-bm-nova-config.yaml index e70c9099..306dc0a1 100644 --- a/undercloud-bm-nova-config.yaml +++ b/undercloud-bm-nova-config.yaml @@ -8,7 +8,7 @@ resources: compute_driver: {get_param: NovaComputeDriver} compute_manager: {get_param: NovaComputeManager} scheduler_host_manager: {get_param: NovaSchedulerHostManager} - db: mysql://nova:unset@localhost/nova + db: {list_join: ['', ['mysql://nova:', {get_param: NovaPassword}, '@localhost/nova']]} default_ephemeral_format: ext4 host: 127.0.0.1 metadata-proxy: false @@ -17,7 +17,7 @@ resources: reserved_host_memory_mb: 0 baremetal: arch: {get_input: nova_arch} - db: mysql://nova:unset@localhost/nova_bm + db: {list_join: ['', ['mysql://nova:', {get_param: NovaPassword}, '@localhost/nova_bm']]} power_manager: {get_input: power_manager} pxe_deploy_timeout: {get_input: pxe_deploy_timeout} service-password: {get_input: nova_service_password} -- cgit 1.2.3-korg