Ensure Octavia communicates with Neutron through internal URL

Since 2023.2 release `endpoint_type` option was deprecated in favor of
`valid_interfaces` [1]. For rest services there's no such deprecation
notes, so leaving them "as is".

[1] https://docs.openstack.org/octavia/latest/configuration/configref.html#neutron.endpoint_type

Change-Id: I541b52fdf87703fcf434742b6d259c57cc9e281a
(cherry picked from commit 9efc5efcaa46d838c94b57842caa56c5c35d9f37)
This commit is contained in:
Dmitriy Rabotyagov 2024-08-06 15:49:32 +02:00
parent 33401e63f3
commit 8843a8e814
2 changed files with 3 additions and 3 deletions

View File

@ -57,7 +57,7 @@ octavia_pip_install_args: "{{ pip_install_options | default('') }}"
octavia_venv_tag: "{{ venv_tag | default('untagged') }}"
octavia_bin: "{{ _octavia_bin }}"
octavia_clients_endpoint: internalURL
octavia_clients_endpoint: internal
octavia_auth_strategy: keystone

View File

@ -152,7 +152,7 @@ password = {{ octavia_service_password }}
region_name = {{ keystone_service_region }}
auth_type = password
memcached_servers = {{ octavia_memcached_servers }}
endpoint_type = {{ octavia_clients_endpoint }}
valid_interfaces = {{ octavia_clients_endpoint }}
token_cache_time = 300
# if your memcached server is shared, use these settings to avoid cache poisoning
@ -190,4 +190,4 @@ endpoint_type = {{ octavia_clients_endpoint }}
[neutron]
region_name = {{ keystone_service_region }}
endpoint_type = {{ octavia_clients_endpoint }}
valid_interfaces = {{ octavia_clients_endpoint }}