aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Provaznik <jprovazn@redhat.com>2014-06-09 06:27:29 -0400
committerJan Provaznik <jprovazn@redhat.com>2014-06-09 14:52:23 +0200
commitc82cc1d485a148b6ab5a402643f3cf5ce4ef343b (patch)
treef5ce2fc3c380816426ccacc5f32347812e42c2fc
parent35306f4095e23e71ae8c1edddb01a37ad3af19fa (diff)
Use virtual ip for OS services
VIP should be used when pointing an OS service to another OS service in config files (most typical is setting Keystone's host IP, but also Glance and Netron host needs to be set in Nova config file). Change-Id: Id91e6ef2747981f17a43afd279d4eebaad01fe4d
-rw-r--r--overcloud-source.yaml10
1 files changed, 6 insertions, 4 deletions
diff --git a/overcloud-source.yaml b/overcloud-source.yaml
index e3a440f9..df4c2ea3 100644
--- a/overcloud-source.yaml
+++ b/overcloud-source.yaml
@@ -389,6 +389,8 @@ Resources:
get_input: controller_host
db-password: unset
glance:
+ registry:
+ host: {get_input: controller_virtual_ip}
backend: swift
db: mysql://glance:unset@localhost/glance
host:
@@ -422,8 +424,7 @@ Resources:
innodb_buffer_pool_size: {Ref: MysqlInnodbBufferPoolSize}
neutron:
flat-networks: {Ref: NeutronFlatNetworks}
- host:
- get_input: controller_host
+ host: {get_input: controller_virtual_ip}
metadata_proxy_shared_secret: unset
ovs:
enable_tunneling: 'True'
@@ -459,8 +460,7 @@ Resources:
db: mysql://nova:unset@localhost/nova
default_floating_pool:
ext-net
- host:
- get_input: controller_host
+ host: {get_input: controller_virtual_ip}
metadata-proxy: true
service-password:
Ref: NovaPassword
@@ -598,6 +598,8 @@ Resources:
- show
- 'novalocal'
- {Ref: CloudName}
+ controller_virtual_ip:
+ {'Fn::Select': [ip_address, 'Fn::Select': [0, 'Fn::GetAtt': [ControlVirtualIP, fixed_ips]]]}
controller0SSLDeployment:
Type: OS::Heat::StructuredDeployment
Properties: