list_opts() should return plugin specific options

Bug #1810278 reported by Yang Youseok
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
keystonemiddleware
Confirmed
Low
Unassigned

Bug Description

It's more of question than a bug though, there is no clear mention about the issue, so I report it as bug.

Most install documentation [1][2] has [keystone_authtoken] having password plugin. As an operator, what I was confused is that config file generated by generator does not have password plugin specific configuration. (e.g. auth_url / username / password ....)

After digging the related codes, I finally understand why it happens and can add the options manually though. I understand those plugin specific config is dynamically initialized so list_opts() does not care about them.

But imho, It's better to add the related options to list_opts() or at least add some documentation for the use case which means operators use generated config.

Thanks

[1]: https://docs.openstack.org/nova/latest/install/controller-install-ubuntu.html
[2]: https://docs.openstack.org/glance/latest/install/install-ubuntu.html

Yang Youseok (ileixe)
description: updated
Revision history for this message
Lance Bragstad (lbragstad) wrote :

This might need more investigation, but it could be an issue with rendering options recursively since the plugin option you're referencing here is actually a keystoneauth configuration option, which is just consumed by keystonemiddleware.

Changed in keystonemiddleware:
status: New → Confirmed
importance: Undecided → Low
Revision history for this message
Yang Youseok (ileixe) wrote :

@Lance

Yes. The problem is keystonemiddleware does not render the keystoneauth plugin options at all since those options are used dynamically.

Octavia even renders the options by themselves (https://github.com/openstack/octavia/blob/master/octavia/opts.py#L56), and imho keystonemiddleware could take a role for that.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.