N2WS-18908 - backups are aborting due to an internal agent error.

N2WS-18908 - backups are aborting due to an internal agent error.

Issue:

backups are aborting due to an internal agent error and the logs show the following:
cpm_agent.log
2021-07-08 18:53:23,963:[140084355565376][----------] ERROR: <module>(cpmagent_upstart.py:27) Caught exception from run_main. Will crash now
Traceback (most recent call last):
File "./cpmagent/cpmagent_upstart.py", line 24, in <module>
File "./cpmagent/agent.py", line 5020, in run_main
File "./cpmagent/resource_control/rc_agent.py", line 1204, in handle_turn_on_off_resource_refresh_request
File "./cpmagent/resource_control/rc_agent.py", line 1160, in update_groups_and_schedule
File "./cpmagent/resource_control/rc_agent.py", line 1078, in schedule_group
File "./common/time_zones.py", line 172, in calculate_resource_control_schedule_time_for_agent
AttributeError: 'NoneType' object has no attribute 'year'


Solution:
Patch for v4.0.0 Available and attached to this KB


Click here to go back to the Release notes: Release notes for the latest v4.0.x CPM release