aboutsummaryrefslogtreecommitdiffstats
path: root/undercloud-bm-nova-config.yaml
diff options
context:
space:
mode:
authorDerek Higgins <derekh@redhat.com>2015-05-05 13:59:14 +0100
committerDerek Higgins <derekh@redhat.com>2015-05-05 13:59:14 +0100
commitf5c903c89636512a9bd14cf62b00850cab760104 (patch)
tree909c35164bc7fd67e39f0436ca44a4a6b8224988 /undercloud-bm-nova-config.yaml
parent1db5013abd4b9ab14b254690f2a27d7299957b75 (diff)
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
Diffstat (limited to 'undercloud-bm-nova-config.yaml')
-rw-r--r--undercloud-bm-nova-config.yaml4
1 files changed, 2 insertions, 2 deletions
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}