From 1d9c5f914c77f4b8e6804ad7a1a40f9c8c40d34e Mon Sep 17 00:00:00 2001 From: Michal Stachowski Date: Fri, 26 Jun 2015 18:20:32 +0200 Subject: Add missing openstack.env vars and export to heat Heat failed on heat-keystone-setup-domain because it requires openrc style of env vars. Also, genenv missed Keystone port env vars. There are several openrc instances that are using the keystone public port, bug filed: https://bugs.launchpad.net/kolla/+bug/1469209 Change-Id: I03b57c43c38fb3ebded4d6f206161cf02fb4883d Closes-Bug: #1469003 Co-Authored-by: Jeff Peeler --- tools/genenv | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'tools') diff --git a/tools/genenv b/tools/genenv index 535d7356c..e4cf50195 100755 --- a/tools/genenv +++ b/tools/genenv @@ -102,7 +102,9 @@ KEYSTONE_ADMIN_TOKEN=$PASSWORD KEYSTONE_DB_PASSWORD=kolla KEYSTONE_ADMIN_PASSWORD=$PASSWORD KEYSTONE_PUBLIC_SERVICE_HOST=$HOST_IP +KEYSTONE_PUBLIC_SERVICE_PORT=5000 KEYSTONE_ADMIN_SERVICE_HOST=$HOST_IP +KEYSTONE_ADMIN_SERVICE_PORT=35357 KEYSTONE_AUTH_PROTOCOL=http # Glance @@ -229,8 +231,10 @@ CINDER_ENABLED_BACKEND=lvm57 # Here we define pairs hostname:priority. Priorities have to be unique KEEPALIVED_HOST_PRIORITIES=host1:100,host2:99 +# this should use the keystone admin port +# https://bugs.launchpad.net/kolla/+bug/1469209 cat > ./openrc <