diff options
author | Derek Higgins <derekh@redhat.com> | 2015-05-05 13:59:14 +0100 |
---|---|---|
committer | Derek Higgins <derekh@redhat.com> | 2015-05-05 13:59:14 +0100 |
commit | f5c903c89636512a9bd14cf62b00850cab760104 (patch) | |
tree | 909c35164bc7fd67e39f0436ca44a4a6b8224988 /undercloud-vm-ironic-config.yaml | |
parent | 1db5013abd4b9ab14b254690f2a27d7299957b75 (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-vm-ironic-config.yaml')
-rw-r--r-- | undercloud-vm-ironic-config.yaml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/undercloud-vm-ironic-config.yaml b/undercloud-vm-ironic-config.yaml index f5aa4981..cc0dafb6 100644 --- a/undercloud-vm-ironic-config.yaml +++ b/undercloud-vm-ironic-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']]} debug: {get_param: Debug} default_ephemeral_format: ext4 host: 127.0.0.1 @@ -22,6 +22,6 @@ resources: properties: config: ironic: - db: mysql://ironic:unset@localhost/ironic + db: {list_join: ['', ['mysql://ironic:', {get_param: IronicPassword}, '@localhost/ironic']]} service-password: {get_input: ironic_service_password} virtual_power_ssh_key: {get_input: virtual_power_ssh_key} |