summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Provaznik <jprovazn@redhat.com>2014-07-31 08:40:38 -0400
committerJan Provaznik <jprovazn@redhat.com>2014-08-06 16:17:14 +0200
commit85b83846b4131663dd37ba89f7991394f9de6086 (patch)
tree2d0901bdb308ff22956c478ba045d63202f44c58
parent02772ba2877b9f6d427c6fd760bf19d6334c68a8 (diff)
Use VIP for keystone host in swift template
As a side effect this fixes invalid keystone host generation when multiple controller nodes are used. Change-Id: I081976f0da94fc0232dfa2c34de03bbb4abf1a85
-rw-r--r--swift-storage-source.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/swift-storage-source.yaml b/swift-storage-source.yaml
index d6539663..97f7fa76 100644
--- a/swift-storage-source.yaml
+++ b/swift-storage-source.yaml
@@ -35,7 +35,7 @@ resources:
config: {get_resource: SwiftKeystoneConfig}
signal_transport: NO_SIGNAL
input_values:
- keystone_host: {get_attr: [controller0, networks, ctlplane, 0]}
+ keystone_host: {get_attr: [ControlVirtualIP, fixed_ips, 0, ip_address]}
SwiftStorage0Deploy:
type: OS::Heat::StructuredDeployment
properties: