From 8b33b521153000e10223204fef269068b79ec088 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Thu, 7 Sep 2023 17:15:44 +0900 Subject: [PATCH] Fix remaining usage of [neutron] endpoint_type This option was deprecated in favor of the valid_interfaces option. Change-Id: Icf607cc9b00926b437c51c426ab5c994d79b6e45 --- octavia/common/clients.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/octavia/common/clients.py b/octavia/common/clients.py index fa6ee54f83..b13642bb04 100644 --- a/octavia/common/clients.py +++ b/octavia/common/clients.py @@ -103,7 +103,8 @@ class NeutronAuth(object): neutron_endpoint = CONF.neutron.endpoint_override if neutron_endpoint is None: endpoint_data = sess.get_endpoint_data( - service_type='network', interface=CONF.neutron.endpoint_type, + service_type='network', + interface=CONF.neutron.valid_interfaces, region_name=CONF.neutron.region_name) neutron_endpoint = endpoint_data.catalog_url