Comment 2 for bug 1983504

Revision history for this message
Al Bailey (albailey1974) wrote :

This issue affects more than just zuul.

2022-08-03T19:26:03: sw-patch-controller-daemon[99922]: patch_controller.py(2470): ERROR: Authorized API failure: Error occurred during request processing
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/cgcs_patch/patch_controller.py", line 2453, in run
    auth_app.VersionSelectorApplication(),
  File "/usr/lib64/python2.7/site-packages/cgcs_patch/authapi/app.py", line 74, in __init__
    self.v1 = setup_app(pecan_config=pc)
  File "/usr/lib64/python2.7/site-packages/cgcs_patch/authapi/app.py", line 38, in setup_app
    policy.init()
  File "/usr/lib64/python2.7/site-packages/cgcs_patch/authapi/policy.py", line 49, in init
    reload_func=_set_rules)
  File "/usr/lib64/python2.7/site-packages/sysinv/common/utils.py", line 674, in read_cached_file
    reload_func(cache_info['data'])
  File "/usr/lib64/python2.7/site-packages/cgcs_patch/authapi/policy.py", line 54, in _set_rules
    policy.set_rules(policy.Rules.load_json(data, default_rule))
AttributeError: type object 'Rules' has no attribute 'load_json'