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:
Takashi Kajinami
2025-09-11 01:56:30 +09:00
parent 5f745d39e3
commit da755d2f47
4 changed files with 7 additions and 7 deletions

View File

@@ -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',

View File

@@ -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',

View File

@@ -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>',

View File

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