You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a computer has no inheritance information that the user clicks the recalculate policies button the following error appears:
[2020-08-31 07:42:09,129: ERROR/MainProcess] [5f48f975c19e1638e29e606d] tasks.py ::: report_generic_error - message = No save in chef server. 'inheritance'
[2020-08-31 07:42:09,130: ERROR/MainProcess] [5f48f975c19e1638e29e606d] Traceback (most recent call last):
File "/opt/gecosccui-2.6.0/lib/python2.7/site-packages/gecoscc/tasks.py", line 2281, in object_refresh_policies
return func(user, obj, computers=computers)
File "/opt/gecosccui-2.6.0/lib/python2.7/site-packages/gecoscc/tasks.py", line 2008, in computer_refresh_policies
self.object_refresh_policies(user, ou, computers=computers)
File "/opt/gecosccui-2.6.0/lib/python2.7/site-packages/gecoscc/tasks.py", line 1703, in object_refresh_policies
self.object_action(user, objnew, action='recalculate policies', computers=computers)
File "/opt/gecosccui-2.6.0/lib/python2.7/site-packages/gecoscc/tasks.py", line 1599, in object_action
recalculate_policies_for_computers(self.logger, self.db, obj, computers)
File "/opt/gecosccui-2.6.0/lib/python2.7/site-packages/gecoscc/utils.py", line 1630, in recalculate_policies_for_computers
recalculate_inherited_field(logger, db, str(obj['_id']))
File "/opt/gecosccui-2.6.0/lib/python2.7/site-packages/gecoscc/utils.py", line 2285, in recalculate_inherited_field
for policy in get_inheritance_tree_policies_list(obj['inheritance'], []):
KeyError: 'inheritance'
The text was updated successfully, but these errors were encountered:
When a computer has no inheritance information that the user clicks the recalculate policies button the following error appears:
The text was updated successfully, but these errors were encountered: