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 --- install-files/openstack/usr/share/openstack/neutron-db.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'install-files/openstack/usr/share/openstack/neutron-db.yml') diff --git a/install-files/openstack/usr/share/openstack/neutron-db.yml b/install-files/openstack/usr/share/openstack/neutron-db.yml index 9cc77b5a..fee53315 100644 --- a/install-files/openstack/usr/share/openstack/neutron-db.yml +++ b/install-files/openstack/usr/share/openstack/neutron-db.yml @@ -21,7 +21,7 @@ name: neutron type: network description: Openstack Compute Networking - publicurl: http://{{ CONTROLLER_HOST_ADDRESS }}:9696 + publicurl: http://{{ ansible_hostname }}:9696 internalurl: http://{{ CONTROLLER_HOST_ADDRESS }}:9696 adminurl: http://{{ CONTROLLER_HOST_ADDRESS }}:9696 region: regionOne -- cgit v1.2.1