Cannot generate policy file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ironic |
Fix Released
|
Low
|
Vasyl Saienko |
Bug Description
The new form of policy enforcement iu
sudo oslopolicy-
WARNING:
Traceback (most recent call last):
File "/bin/oslopolic
sys.
File "/usr/lib/
_generate_
File "/usr/lib/
enforcer = _get_enforcer(
File "/usr/lib/
enforcer = mgr[namespace].obj
File "/usr/lib/
return self._extension
KeyError: 'ironic'
There is no entry point registered. Using epi ...
(sudo pip install entry-point-
$ epi group show oslo.policy.
+------
| Name | Module | Member | Distribution | Error |
+------
| nova | nova.policy | get_enforcer | nova 14.0.0.0b4.dev168 | |
+------
There needs to be an entry point in that group for ironic.
Changed in ironic: | |
status: | New → Triaged |
importance: | Undecided → Low |
tags: | added: low-hanging-fruit |
Changed in ironic: | |
assignee: | nobody → Vasyl Saienko (vsaienko) |
Fix proposed to branch: master /review. openstack. org/380962
Review: https:/