From 50edb94ded22f5c520b6d79d9829f987e2acdd75 Mon Sep 17 00:00:00 2001
From: Pierre Riteau <pierre@stackhpc.com>
Date: Thu, 10 Feb 2022 13:14:32 +0100
Subject: [PATCH] neutron: fix placement endpoint type configuration

Change-Id: I3362bd283eb7fb80f5da70f2a388f89f220617ea
Closes-Bug: #1960503
---
 ansible/roles/neutron/templates/neutron.conf.j2             | 2 +-
 .../neutron-placement-endpoint-type-90073ba5ecc9e663.yaml   | 6 ++++++
 2 files changed, 7 insertions(+), 1 deletion(-)
 create mode 100644 releasenotes/notes/neutron-placement-endpoint-type-90073ba5ecc9e663.yaml

diff --git a/ansible/roles/neutron/templates/neutron.conf.j2 b/ansible/roles/neutron/templates/neutron.conf.j2
index 920d81334..04e74854a 100644
--- a/ansible/roles/neutron/templates/neutron.conf.j2
+++ b/ansible/roles/neutron/templates/neutron.conf.j2
@@ -185,7 +185,7 @@ user_domain_name = {{ default_user_domain_name }}
 project_name = service
 project_domain_name = {{ default_project_domain_name }}
 os_region_name = {{ openstack_region_name }}
-os_interface = internal
+endpoint_type = internal
 cafile = {{ openstack_cacert }}
 region_name = {{ openstack_region_name }}
 
diff --git a/releasenotes/notes/neutron-placement-endpoint-type-90073ba5ecc9e663.yaml b/releasenotes/notes/neutron-placement-endpoint-type-90073ba5ecc9e663.yaml
new file mode 100644
index 000000000..1284cc3cb
--- /dev/null
+++ b/releasenotes/notes/neutron-placement-endpoint-type-90073ba5ecc9e663.yaml
@@ -0,0 +1,6 @@
+---
+fixes:
+  - |
+    Fixes the configuration option setting the type of endpoint used by Neutron
+    to send requests to Placement.
+    `LP#1960503 <https://bugs.launchpad.net/kolla-ansible/+bug/1960503>`__
-- 
GitLab