diff options
author | Giulio Fidente <gfidente@redhat.com> | 2014-08-14 18:18:20 +0200 |
---|---|---|
committer | Giulio Fidente <gfidente@redhat.com> | 2014-08-14 18:19:49 +0200 |
commit | c755d5548f23b25660517896de5264f1adb9ef28 (patch) | |
tree | 5fd914524bed1a7d375838a646404cd3fd635001 /block-storage.yaml | |
parent | 3af648f9df28eeb5ff83827860d90ae0735c00e9 (diff) |
Use VIP for rabbit/keystone and mysql in block-storage.yaml
Previously BlockStorage nodes were using the controller ip instead of the virtual ip to reach rabbit, keystone and mysql.
Change-Id: I23f87511e59d4d3527403b1a81c1b3df65c6a904
Diffstat (limited to 'block-storage.yaml')
-rw-r--r-- | block-storage.yaml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/block-storage.yaml b/block-storage.yaml index 50577f48..7e2be4ae 100644 --- a/block-storage.yaml +++ b/block-storage.yaml @@ -23,7 +23,7 @@ resources: server: {get_resource: BlockStorage0} config: {get_resource: BlockStorageConfig} input_values: - controller_host: {get_attr: [controller0, networks, ctlplane, 0]} + controller_virtual_ip: {get_attr: [ControlVirtualIP, fixed_ips, 0, ip_address]} cinder_dsn: {"Fn::Join": ['', ['mysql://cinder:unset@', {get_attr: [ControlVirtualIP, fixed_ips, 0, ip_address]} , '/cinder']]} signal_transport: NO_SIGNAL BlockStorageConfig: @@ -33,7 +33,7 @@ resources: config: admin-password: {get_param: AdminPassword} keystone: - host: {get_input: controller_host} + host: {get_input: controller_virtual_ip} cinder: db: {get_input: cinder_dsn} volume_size_mb: @@ -43,6 +43,6 @@ resources: iscsi-helper: get_param: CinderISCSIHelper rabbit: - host: {get_input: controller_host} + host: {get_input: controller_virtual_ip} username: {get_param: RabbitUserName} password: {get_param: RabbitPassword} |