aboutsummaryrefslogtreecommitdiffstats
path: root/cinder-storage.yaml
diff options
context:
space:
mode:
authorDerek Higgins <derekh@redhat.com>2015-04-30 14:50:15 +0100
committerDerek Higgins <derekh@redhat.com>2015-05-01 17:06:49 +0100
commit1db5013abd4b9ab14b254690f2a27d7299957b75 (patch)
treea45ec3cc82b50623d09161c4afe136c4dec422b9 /cinder-storage.yaml
parentd3ad26e0ecf6634d0437235abd89f9f0d282d020 (diff)
Reuse the various 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 this wont work because we don't know the VirtualIP to pass in. Until we can come up with a better solution we should at least get rid of the "unset" passwords. Change-Id: I31f45912fa9c116ccdee010a2c5d91ea43a25671 Depends-On: I8ffe1eb481f615b0fbe127cd8107f1e70794c839
Diffstat (limited to 'cinder-storage.yaml')
-rw-r--r--cinder-storage.yaml7
1 files changed, 6 insertions, 1 deletions
diff --git a/cinder-storage.yaml b/cinder-storage.yaml
index f26ef3e2..98123b83 100644
--- a/cinder-storage.yaml
+++ b/cinder-storage.yaml
@@ -16,6 +16,11 @@ parameters:
default: 5000
description: The size of the loopback file used by the cinder LVM driver.
type: number
+ CinderPassword:
+ default: unset
+ description: The password for the cinder service and db account, used by cinder-api.
+ type: string
+ hidden: true
VirtualIP:
default: ''
type: string
@@ -127,7 +132,7 @@ resources:
config: {get_resource: BlockStorageConfig}
input_values:
controller_virtual_ip: {get_param: VirtualIP}
- cinder_dsn: {list_join: ['', ['mysql://cinder:unset@', {get_param: VirtualIP} , '/cinder']]}
+ cinder_dsn: {list_join: ['', ['mysql://cinder:', {get_param: CinderPassword}, '@', {get_param: VirtualIP} , '/cinder']]}
snmpd_readonly_user_name: {get_param: SnmpdReadonlyUserName}
snmpd_readonly_user_password: {get_param: SnmpdReadonlyUserPassword}
signal_transport: NO_SIGNAL