Bug 1678769 - Unable to dump policy using oslopolicy-policy-generator for heat,
Summary: Unable to dump policy using oslopolicy-policy-generator for heat,
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-heat
Version: 13.0 (Queens)
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: z7
: 13.0 (Queens)
Assignee: Rabi Mishra
QA Contact: Sasha Smolyak
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-02-19 14:51 UTC by Jeremy
Modified: 2019-08-08 03:00 UTC (History)
12 users (show)

Fixed In Version: openstack-heat-10.0.3-4.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1678326
Environment:
Last Closed: 2019-07-10 13:01:35 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 638111 0 None MERGED Add entry_point for oslo policy scripts 2020-12-04 12:27:17 UTC
Red Hat Product Errata RHBA-2019:1737 0 None None None 2019-07-10 13:01:38 UTC

Description Jeremy 2019-02-19 14:51:44 UTC

Comment 1 Jeremy 2019-02-19 14:52:34 UTC
Description of problem: Seems to be like Bug 1572317 , however this is effecting heat,neutron,glance. Looks like nova, cinder etc were fixed by that bug ; however still a few services don't work.



Version-Release number of selected component (if applicable):

docker exec keystone rpm -qa | grep keystone
openstack-keystone-13.0.1-1.el7ost.noarch

How reproducible:
100%

Actual results:

[root@ops2-rpc-cntl1 tmp]# oslopolicy-policy-generator --namespace heat
WARNING:stevedore.named:Could not load heat
Traceback (most recent call last):
  File "/usr/bin/oslopolicy-policy-generator", line 10, in <module>
    sys.exit(generate_policy())
  File "/usr/lib/python2.7/site-packages/oslo_policy/generator.py", line 295, in generate_policy
    _generate_policy(conf.namespace, conf.output_file)
  File "/usr/lib/python2.7/site-packages/oslo_policy/generator.py", line 240, in _generate_policy
    enforcer = _get_enforcer(namespace)
  File "/usr/lib/python2.7/site-packages/oslo_policy/generator.py", line 78, in _get_enforcer
    enforcer = mgr[namespace].obj
  File "/usr/lib/python2.7/site-packages/stevedore/extension.py", line 326, in __getitem__
    return self._extensions_by_name[name]
KeyError: 'heat'

Comment 18 errata-xmlrpc 2019-07-10 13:01:35 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2019:1737


Note You need to log in before you can comment on or make changes to this bug.