commit 8d09169a8aa4d8425e9ab7f37bbb636c4410a39f
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/ +/921408 /opendev. org/openstack/ magnum/ commit/ 8d09169a8aa4d84 25e9ab7f37bbb63 6c4410a39f
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 8d09169a8aa4d84 25e9ab7f37bbb63 6c4410a39f
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
Change-Id: Iff94f7dea491b0