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.
Reviewed: https:/ /review. opendev. org/c/openstack /magnum/ +/921509 /opendev. org/openstack/ magnum/ commit/ 77293ee6c6543a7 d058b6d17d7880f c36d665859
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/2023.1
commit 77293ee6c6543a7 d058b6d17d7880f c36d665859
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.
``oslopolic y-policy- generator --namespace magnum`` end up with
ModuleNotFound Error: No module named 'magnum.policy'
below error:
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/ 5ZRWWL3YKWX3XCF GTC4G2KP6PCJMBL 64/
Closes-Bug: #2068519 ea465b17cd60c37 423224f9ffa 25e9ab7f37bbb63 6c4410a39f) 73228eba9a6cecc 1f65f4ab3f) 50642e7103ab598 53f5ee63da)
Change-Id: Iff94f7dea491b0
(cherry picked from commit 8d09169a8aa4d84
(cherry picked from commit 2045ffb5ccbfb78
(cherry picked from commit f3cfcfd8f1d4729