Tag scan may fail after upgrade to v2.6.0 with the "KeyError: 'config_args'" error, when a resource is tagged with the "no-backup" tag value
Tag scan may fail after upgrade to v2.6.0 with the "KeyError: 'config_args'" error, when a resource is tagged with the "no-backup" tag value
The following errors may be printed in CPM Agent logs:
ERROR: scan_tags_request(agentapi_requests.py:415) failed calling url https://127.0.0.1/agentapi/scan_tags/. Exception: ('The read operation timed out',)
ERROR: scan_tags_function(agent.py:4261) call to scan_tags_request failed
The following errors may be printed in CPM Server logs:
WARNING: tag_parser(backup_tag.py:2011) volume vol-1234567890abcdef1 will be removed from all policies (has 'no-backup' tag)
ERROR: manage_tagged_resources(backup_tag.py:131) Encountered exception while scanning tags for account AccountName
Traceback (most recent call last):
File "./cpmserver/cpm/backup_tag.py", line 127, in manage_tagged_resources
File "./cpmserver/cpm/backup_tag.py", line 806, in manage_account_tagged_resources
File "./cpmserver/cpm/backup_tag.py", line 1548, in scan_resources
File "./cpmserver/cpm/backup_tag.py", line 1831, in prepare_excluded_volumes_backup_data
KeyError: 'config_args'