summaryrefslogtreecommitdiff
path: root/nova/conf
diff options
context:
space:
mode:
authorTakashi Kajinami <tkajinam@redhat.com>2022-01-13 01:30:43 +0900
committerTakashi Kajinami <tkajinam@redhat.com>2022-01-13 01:30:43 +0900
commit8d021194753b03ee5cf58cdc88c8029419701928 (patch)
treeb0569521eeace14c755a964ed0634be7fc325b8e /nova/conf
parent8c714c76ae07ff6dc7acb6f44ecbd4c086354d2f (diff)
downloadnova-8d021194753b03ee5cf58cdc88c8029419701928.tar.gz
List auth plugin parameters for [keystone] section
This change ensures parameters of auth plugins are included in the config file generated by oslo-config-generator, so that users can more easily understand the parameter they need to set. Following the existing implementation for the other services like neutron, the only password plugins are covered. Change-Id: Ifbc45baf7a52fcf0ce564b55c556ca56ca9e0ee7
Diffstat (limited to 'nova/conf')
-rw-r--r--nova/conf/keystone.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/nova/conf/keystone.py b/nova/conf/keystone.py
index d3acdbc58c..73769a8a68 100644
--- a/nova/conf/keystone.py
+++ b/nova/conf/keystone.py
@@ -35,6 +35,10 @@ def list_opts():
return {
keystone_group: (
ks_loading.get_session_conf_options() +
+ ks_loading.get_auth_common_conf_options() +
+ ks_loading.get_auth_plugin_conf_options('password') +
+ ks_loading.get_auth_plugin_conf_options('v2password') +
+ ks_loading.get_auth_plugin_conf_options('v3password') +
confutils.get_ksa_adapter_opts(DEFAULT_SERVICE_TYPE)
)
}