Comment 8 for bug 2068519

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to magnum (stable/2023.1)

Reviewed: https://review.opendev.org/c/openstack/magnum/+/921509
Committed: https://opendev.org/openstack/magnum/commit/77293ee6c6543a7d058b6d17d7880fc36d665859
Submitter: "Zuul (22348)"
Branch: stable/2023.1

commit 77293ee6c6543a7d058b6d17d7880fc36d665859
Author: Ghanshyam Mann <email address hidden>
Date: Wed Jun 5 11:32:54 2024 -0700

    Fix oslo policy file genrator tool for Magnum

    oslo tool to generate the policy or sample policy file does not work for magnum service.

    ``oslopolicy-policy-generator --namespace magnum`` end up with
    below error:
        ModuleNotFoundError: No module named 'magnum.policy'

    same error with oslopolicy-sample-generator --namespace magnum

    oslo.policy policy generator tool look for the service oslo policy enforcer
    entry and does not find it. setup.cfg file is missing the entry point for
    magnum oslo policy enforcer.

    - https://<email address hidden>/thread/5ZRWWL3YKWX3XCFGTC4G2KP6PCJMBL64/

    Closes-Bug: #2068519
    Change-Id: Iff94f7dea491b0ea465b17cd60c37423224f9ffa
    (cherry picked from commit 8d09169a8aa4d8425e9ab7f37bbb636c4410a39f)
    (cherry picked from commit 2045ffb5ccbfb7873228eba9a6cecc1f65f4ab3f)
    (cherry picked from commit f3cfcfd8f1d472950642e7103ab59853f5ee63da)