ironic-inspector/ironic_inspector
Markos Chandras fbeb0783e4 ironic_inspector: ironic: Fix 'auth_type' when 'auth_strategy' is used
We should override the 'auth_type' to 'none' when using the old way of
setting up authentication with 'auth_strategy' so we can override the
default 'auth_type' value before getting the session information.
This fixes the following issue

Unhandled error: MissingRequiredOptions: Auth plugin requires parameters which were not given: auth_url

This also adds a new testcase to test the strategy='noauth' scenario.

Closes-Bug: #1748263
Change-Id: I875e2b17f5c6829ad81f86c32959cb106bf57e53
2018-02-09 16:38:18 +02:00
..
cmd Preparing for service splitting 2017-05-26 11:59:35 +03:00
common ironic_inspector: ironic: Fix 'auth_type' when 'auth_strategy' is used 2018-02-09 16:38:18 +02:00
conf Add keystoneauth adapters 2018-01-16 18:06:10 +00:00
locale/en_GB/LC_MESSAGES Imported Translations from Zanata 2018-02-05 06:23:20 +00:00
migrations Merge "Update version of flake8-import-order package" 2018-01-05 17:30:12 +00:00
plugins Centralize config options 2018-01-04 20:43:58 -08:00
pxe_filter Replace use of functools.wraps() with six.wraps() 2018-02-01 16:32:48 -08:00
test ironic_inspector: ironic: Fix 'auth_type' when 'auth_strategy' is used 2018-02-09 16:38:18 +02:00
__init__.py Switch to pbr 2015-06-18 16:09:07 +02:00
alembic.ini Add alembic migrations for the inspector database 2015-09-23 14:44:46 +01:00
api_tools.py Add API for listing all introspection statuses 2016-11-21 15:58:24 +01:00
db.py Use new oslo db EngineFacade 2017-06-15 14:25:55 +03:00
dbsync.py Update version of flake8-import-order package 2017-12-14 11:38:27 -08:00
introspect.py Terminal state transitions in transactions 2017-12-19 18:15:31 +01:00
introspection_state.py Terminal state transitions in transactions 2017-12-19 18:15:31 +01:00
main.py Replace use of functools.wraps() with six.wraps() 2018-02-01 16:32:48 -08:00
node_cache.py Terminal state transitions in transactions 2017-12-19 18:15:31 +01:00
policy.py Add request context and policy enforcement 2017-10-13 11:55:52 +00:00
process.py Terminal state transitions in transactions 2017-12-19 18:15:31 +01:00
rules.py Remove rollback support from introspection rules 2017-05-17 18:33:34 +02:00
utils.py Add request context and policy enforcement 2017-10-13 11:55:52 +00:00
version.py Use Reno for release notes management 2015-11-26 10:12:14 +01:00
wsgi_service.py Refactoring the firewall 2017-10-19 16:38:15 +02:00