Remove /v3 suffix from auth url
This is no longer required in recent OpenStack where only identity v3 API is provided. The default value may not work in real production environment so this may affect only small PoC use case with a single node. Change-Id: If79d5f530126bdc60000f924706b009befa96dbb Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
This commit is contained in:
@@ -40,7 +40,7 @@
|
||||
# (optional) Points to the OpenStack Identity server IP and port.
|
||||
# This is the Identity (keystone) admin API server IP and port value,
|
||||
# and not the Identity service API IP and port.
|
||||
# Defaults to 'http://127.0.0.1:5000/v3'
|
||||
# Defaults to 'http://127.0.0.1:5000'
|
||||
#
|
||||
# [*valid_interfaces*]
|
||||
# (optional) The endpoint type to lookup when talking to Neutron.
|
||||
@@ -100,7 +100,7 @@ class nova::network::neutron (
|
||||
$system_scope = $facts['os_service_default'],
|
||||
$username = 'neutron',
|
||||
$user_domain_name = 'Default',
|
||||
$auth_url = 'http://127.0.0.1:5000/v3',
|
||||
$auth_url = 'http://127.0.0.1:5000',
|
||||
$valid_interfaces = $facts['os_service_default'],
|
||||
$endpoint_override = $facts['os_service_default'],
|
||||
$timeout = '30',
|
||||
|
@@ -50,12 +50,12 @@
|
||||
# (optional) Points to the OpenStack Identity server IP and port.
|
||||
# This is the Identity (keystone) admin API server IP and port value,
|
||||
# and not the Identity service API IP and port.
|
||||
# Defaults to 'http://127.0.0.1:5000/v3'
|
||||
# Defaults to 'http://127.0.0.1:5000'
|
||||
#
|
||||
class nova::placement (
|
||||
$password,
|
||||
$auth_type = 'password',
|
||||
$auth_url = 'http://127.0.0.1:5000/v3',
|
||||
$auth_url = 'http://127.0.0.1:5000',
|
||||
$region_name = 'RegionOne',
|
||||
$valid_interfaces = $facts['os_service_default'],
|
||||
$project_domain_name = 'Default',
|
||||
|
@@ -11,7 +11,7 @@ describe 'nova::network::neutron' do
|
||||
:region_name => 'RegionOne',
|
||||
:username => 'neutron',
|
||||
:user_domain_name => 'Default',
|
||||
:auth_url => 'http://127.0.0.1:5000/v3',
|
||||
:auth_url => 'http://127.0.0.1:5000',
|
||||
:valid_interfaces => '<SERVICE DEFAULT>',
|
||||
:endpoint_override => '<SERVICE DEFAULT>',
|
||||
:http_retries => '<SERVICE DEFAULT>',
|
||||
|
@@ -9,7 +9,7 @@ describe 'nova::placement' do
|
||||
:region_name => 'RegionOne',
|
||||
:username => 'placement',
|
||||
:user_domain_name => 'Default',
|
||||
:auth_url => 'http://127.0.0.1:5000/v3',
|
||||
:auth_url => 'http://127.0.0.1:5000',
|
||||
}
|
||||
end
|
||||
|
||||
@@ -44,7 +44,7 @@ describe 'nova::placement' do
|
||||
:valid_interfaces => 'internal,public',
|
||||
:username => 'placement2',
|
||||
:user_domain_name => 'default',
|
||||
:auth_url => 'https://127.0.0.1:5000/v3',
|
||||
:auth_url => 'http://127.0.0.1:5000/v3',
|
||||
)
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user