oslo policy generator tool fail for magnum
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Magnum |
Fix Released
|
Undecided
|
Ghanshyam Mann |
Bug Description
oslo tool to generate the policy or sample policy file does not work for magnum service.
oslopolicy-
os@os-VirtualBo
Traceback (most recent call last):
File "/usr/local/
sys.
File "/usr/local/
_generate_
File "/usr/local/
enforcer = _get_enforcer(
File "/usr/local/
mgr = stevedore.
File "/usr/local/
extensions = self._load_
File "/usr/local/
self.
File "/usr/local/
ext = self._load_
File "/usr/local/
return super(NamedExte
File "/usr/local/
plugin = ep.load()
File "/usr/lib/
module = import_
File "/usr/lib/
return _bootstrap.
File "<frozen importlib.
File "<frozen importlib.
File "<frozen importlib.
ModuleNotFoundE
same error with oslopolicy-
Reason:
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.
Changed in magnum: | |
assignee: | nobody → Ghanshyam Mann (ghanshyammann) |
Fix proposed to branch: master /review. opendev. org/c/openstack /magnum/ +/921408
Review: https:/