From 93878e0fc4c1c20d99ac866ff4140030bf7214ce Mon Sep 17 00:00:00 2001 From: Tiago Gomes Date: Mon, 10 Aug 2015 12:05:35 +0000 Subject: openstack: fix the public endpoints The public keystone endpoints ought to be accessible outside of the three-node cluster. However, the CONTROLLER_HOST_ADDRESS parameter corresponds to an hostname that maps to an IP addess in the private management network. Resolve this by creating the public endpoints with the controller hostname, which should be public accessible. In addition, the admin endpoint for keystone needs to be public accessible as well. Also, remove unneeded entries in the hosts files. E.g threenode-controller could resolve to a private or public IP address, depending on the configuration on nsswitch.conf. Change-Id: Ibb305d0541ee4094fcc0aa1f8233a5d98fed58e5 --- clusters/openstack-two-node-installer.morph | 2 -- 1 file changed, 2 deletions(-) (limited to 'clusters/openstack-two-node-installer.morph') diff --git a/clusters/openstack-two-node-installer.morph b/clusters/openstack-two-node-installer.morph index e9c90cd1..0c08bd4f 100644 --- a/clusters/openstack-two-node-installer.morph +++ b/clusters/openstack-two-node-installer.morph @@ -145,7 +145,6 @@ systems: CONTROLLER_HOST_ADDRESS: twonode-controller.os-mgmt MANAGEMENT_INTERFACE_IP_ADDRESS: 10.0.0.1 - HOSTS_SELF: 10.0.0.1 twonode-controller HOSTS_CONTROL: 10.0.0.1 twonode-controller.os-mgmt HOSTS_COMPUTE: 10.0.0.3 twonode-compute.os-mgmt EXTERNAL_INTERFACE: enp3s0 @@ -191,7 +190,6 @@ systems: CEILOMETER_ENABLE_COMPUTE: true MANAGEMENT_INTERFACE_IP_ADDRESS: 10.0.0.3 - HOSTS_SELF: 10.0.0.3 twonode-compute EXTERNAL_INTERFACE: eno1 NETWORK_CONFIG: eno1:dhcp;enp0s29u1u3:static,address=10.0.0.3,netmask=255.255.255.0 SYNC_TIME_WITH_CONTROLLER: true -- cgit v1.2.1