Masakari service cannot function well when set auth_strategy=noauth2
Bug #1836354 reported by
Arthur Dayne
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
masakari |
Fix Released
|
Undecided
|
Tushar Patil |
Bug Description
I want to test masakari api without keystone authentication, then I set [DEFAULT]
But when executing the command masakari-api to start masakari api service, there comes an error compliaint:
2019-07-12 19:08:03.267 25331 ERROR masakari ImportError: module 'masakari.api.auth' has no attribute 'NoAuthMiddleware'
Changed in masakari: | |
status: | New → Confirmed |
assignee: | nobody → Arthur Dayne (palagend) |
Changed in masakari: | |
status: | Confirmed → In Progress |
Changed in masakari: | |
assignee: | Arthur Dayne (palagend) → Tushar Patil (tpatil) |
To post a comment you must log in.
Reviewed: https:/ /review. opendev. org/670680 /git.openstack. org/cgit/ openstack/ masakari/ commit/ ?id=3bc725eb7a1 d4d723b0c31cec6 a7ca679135c170
Committed: https:/
Submitter: Zuul
Branch: master
commit 3bc725eb7a1d4d7 23b0c31cec6a7ca 679135c170
Author: Arthur Dayne <email address hidden>
Date: Sat Jul 13 10:37:30 2019 +0800
Support noauth2 auth_strategy
Currently, noauth2 auth_strategy is not supported. If you specify auth_strategy= noauth2 in `/etc/masakari/ masakari.conf`
[DEFAULT]
and start the masakari api service, it gives ImportError.
Added NoAuthMiddleware to support noauth2 auth_strategy.
Closes-Bug: #1836354 e6c31b6408fff85 e6bb5f529a6
Change-Id: I288cd5838b09d3