From: Jan Provaznik Date: Mon, 9 Jun 2014 10:27:29 +0000 (-0400) Subject: Use virtual ip for OS services X-Git-Tag: opnfv-6.0.0~2817^2 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=c82cc1d485a148b6ab5a402643f3cf5ce4ef343b;p=apex-tripleo-heat-templates.git 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 --- 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: