Masakari service cannot function well when set auth_strategy=noauth2

Bug #1836354 reported by Arthur Dayne
10
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]auth_strategy=noauth2 in `/etc/masakari/ masakari.conf`

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'

Arthur Dayne (palagend)
Changed in masakari:
status: New → Confirmed
assignee: nobody → Arthur Dayne (palagend)
Arthur Dayne (palagend)
Changed in masakari:
status: Confirmed → In Progress
Changed in masakari:
assignee: Arthur Dayne (palagend) → Tushar Patil (tpatil)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to masakari (master)

Reviewed: https://review.opendev.org/670680
Committed: https://git.openstack.org/cgit/openstack/masakari/commit/?id=3bc725eb7a1d4d723b0c31cec6a7ca679135c170
Submitter: Zuul
Branch: master

commit 3bc725eb7a1d4d723b0c31cec6a7ca679135c170
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
    [DEFAULT]auth_strategy=noauth2 in `/etc/masakari/ masakari.conf`
    and start the masakari api service, it gives ImportError.

    Added NoAuthMiddleware to support noauth2 auth_strategy.

    Closes-Bug: #1836354
    Change-Id: I288cd5838b09d3e6c31b6408fff85e6bb5f529a6

Changed in masakari:
status: In Progress → Fix Released
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.