summaryrefslogtreecommitdiff
path: root/releasenotes
diff options
context:
space:
mode:
authorMichael Johnson <johnsomor@gmail.com>2018-10-12 09:05:10 -0700
committerMichael Johnson <johnsomor@gmail.com>2018-10-29 11:08:34 -0700
commit782729b6e98c1d2857c7e4f24bb69219e43c108f (patch)
tree0f3dc29ec7b971c5e0e20c47b298e6f5c225580c /releasenotes
parent536a8701ed21fa5ac77ea649ee911646d94a9046 (diff)
downloadkeystonemiddleware-782729b6e98c1d2857c7e4f24bb69219e43c108f.tar.gz
Fix audit target service selection
The keystonemiddleware audit code would select the wrong OpenStack service endpoint for a request if the cloud is not using unique TCP ports for each service endpoint. As most services are no longer using a port per service, but instead using unique paths, this caused the audit to select the wrong target service. This leads to incorrect audit logging due to the wrong audit map being used. This patch checks the request to see if a TCP port was present in the request, and if not, fall back to using the target_endpoint_type configured in the audit map file. Change-Id: Ie2e0bf74ecca485d599a4041bb770bd6e296bc99 Closes-bug: 1797584
Diffstat (limited to 'releasenotes')
-rw-r--r--releasenotes/notes/fix-audit-no-service-endpoint-ports-72b2009d631dcf19.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/releasenotes/notes/fix-audit-no-service-endpoint-ports-72b2009d631dcf19.yaml b/releasenotes/notes/fix-audit-no-service-endpoint-ports-72b2009d631dcf19.yaml
new file mode 100644
index 0000000..31d2a84
--- /dev/null
+++ b/releasenotes/notes/fix-audit-no-service-endpoint-ports-72b2009d631dcf19.yaml
@@ -0,0 +1,6 @@
+---
+fixes:
+ - |
+ [`bug 1797584 <https://bugs.launchpad.net/keystonemiddleware/+bug/1797584>`_]
+ Fixed a bug where the audit code would select the wrong target service
+ if the OpenStack service endpoints were not using unique TCP ports.