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
This commit is contained in:
Steve Lewis 2016-08-05 14:08:52 -07:00
parent a29f45fa5a
commit e14f1f3920
1 changed files with 1 additions and 0 deletions

View File

@ -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 }}