From f0935c182e3ef98e21b00a3da5f7af3aa22c2034 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Fri, 8 Jul 2022 00:46:23 +0900 Subject: [PATCH] Add audit middleware options to ironic.conf Ironic supports enabling the audit middleware. This change adds the option for the middleware to the ironic.conf file generated by oslo-config-generator. Depends-on: https://review.opendev.org/804316 Change-Id: Ic7adb755f47ea65fe975dfbc7cca905a376d728e --- requirements.txt | 2 +- tools/config/ironic-config-generator.conf | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 2ac3e83485..24c09f50c5 100644 --- a/requirements.txt +++ b/requirements.txt @@ -38,7 +38,7 @@ requests>=2.18.0 # Apache-2.0 rfc3986>=1.2.0 # Apache-2.0 jsonpatch!=1.20,>=1.16 # BSD Jinja2>=3.0.0 # BSD License (3 clause) -keystonemiddleware>=4.17.0 # Apache-2.0 +keystonemiddleware>=9.5.0 # Apache-2.0 oslo.messaging>=5.29.0 # Apache-2.0 tenacity>=6.2.0 # Apache-2.0 oslo.versionedobjects>=1.31.2 # Apache-2.0 diff --git a/tools/config/ironic-config-generator.conf b/tools/config/ironic-config-generator.conf index 5c01f82dda..eb7e064101 100644 --- a/tools/config/ironic-config-generator.conf +++ b/tools/config/ironic-config-generator.conf @@ -23,4 +23,5 @@ namespace = oslo.service.service namespace = oslo.service.periodic_task namespace = oslo.service.sslutils namespace = osprofiler +namespace = keystonemiddleware.audit namespace = keystonemiddleware.auth_token