Added OS_AUTH_TYPE parameter to auth file
Some services like Gnocchi can not get proper endpoint from Keystone service. Exporting variable: OS_AUTH_TYPE with value 'password' will fix the problem. Change-Id: I96aa50f152297dd406c505de1305fe6c796e7f96
This commit is contained in:
parent
ed047432d4
commit
c8a4e3cb2b
@ -81,6 +81,10 @@
|
||||
# (optional) User domain in v3 api.
|
||||
# Defaults to 'default'.
|
||||
#
|
||||
# [*auth_type*]
|
||||
# (optional) Authentication type to load.
|
||||
# Default to undef.
|
||||
#
|
||||
# [*identity_api_version*]
|
||||
# (optional) Identity API version to use.
|
||||
# Defaults to '3'.
|
||||
@ -98,6 +102,7 @@ class openstack_extras::auth_file(
|
||||
$use_no_cache = true,
|
||||
$project_domain = 'default',
|
||||
$user_domain = 'default',
|
||||
$auth_type = undef,
|
||||
$cinder_endpoint_type = 'publicURL',
|
||||
$glance_endpoint_type = 'publicURL',
|
||||
$keystone_endpoint_type = 'publicURL',
|
||||
|
@ -21,6 +21,9 @@ export OS_PROJECT_DOMAIN_NAME='<%= @project_domain %>'
|
||||
<% if @user_domain -%>
|
||||
export OS_USER_DOMAIN_NAME='<%= @user_domain %>'
|
||||
<% end -%>
|
||||
<% if @auth_type -%>
|
||||
export OS_AUTH_TYPE='<%= @auth_type %>'
|
||||
<% end -%>
|
||||
export CINDER_ENDPOINT_TYPE='<%= @cinder_endpoint_type %>'
|
||||
export GLANCE_ENDPOINT_TYPE='<%= @glance_endpoint_type %>'
|
||||
export KEYSTONE_ENDPOINT_TYPE='<%= @keystone_endpoint_type %>'
|
||||
|
Loading…
x
Reference in New Issue
Block a user