Commit 8d09169
committed
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://lists.openstack.org/archives/list/[email protected]/thread/5ZRWWL3YKWX3XCFGTC4G2KP6PCJMBL64/
Closes-Bug: #2068519
Change-Id: Iff94f7dea491b0ea465b17cd60c37423224f9ffa1 parent b758df6 commit 8d09169
2 files changed
+11
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
135 | 143 | | |
136 | 144 | | |
137 | 145 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
50 | 53 | | |
51 | 54 | | |
52 | 55 | | |
| |||
0 commit comments