From e14f1f39200d734d01361fafa667c8dc19096ce3 Mon Sep 17 00:00:00 2001 From: Steve Lewis Date: Fri, 5 Aug 2016 14:08:52 -0700 Subject: [PATCH] Add alias for OS_ENDPOINT_TYPE Some service clients do not respect the old OS_ENDPOINT_TYPE parameter, instead only supporting the newer fashion of OS_INTERFACE which is viewed as less confusing. This adds support for that option. Failure to include this causes SSL certificate errors when the service clients attempt to use the public endpoint with a self- signed certificate on defaulted installs, particularly AIOs. This error can be demonstrated by trying to use the Gnocchi or new Aodh clients from a utility container, though only the Gnocchi client is currently installed in the integrated build. Change-Id: I60af4f0cf56964eaec8980264ec1ebadc550c0b8 --- templates/openrc.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/openrc.j2 b/templates/openrc.j2 index b0c0b7d..8120599 100644 --- a/templates/openrc.j2 +++ b/templates/openrc.j2 @@ -9,6 +9,7 @@ export NOVA_ENDPOINT_TYPE={{ openrc_nova_endpoint_type }} # COMMON OPENSTACK ENVS export OS_ENDPOINT_TYPE={{ openrc_os_endpoint_type }} +export OS_INTERFACE={{ openrc_os_endpoint_type }} export OS_USERNAME={{ openrc_os_username }} export OS_PASSWORD={{ openrc_os_password }} export OS_PROJECT_NAME={{ openrc_os_tenant_name }}