This repository provides an Ansible collection and related modules for Cohesity DataPlatform.
GNU General Public License v3.0
3
stars
6
forks
source link
cohesity_uda_protection_group module throwing Exception errors #12
Closed
amhaats1 closed 1 year ago
🐛 Bug Report
When using the cohesity_uda_protection_group module its throwing exception errors
File "/tmp/ansible_cohesity_uda_protection_group_payload_3ci7jls2/ansible_cohesity_uda_protection_group_payload.zip/ansible_collections/cohesity/dataprotect/plugins/modules/cohesity_uda_protection_group.py", line 429, in create_group fatal: [localhost]: FAILED! => { "changed": false, "error_class": "Exception", "error_details": "Failed to create/update the protection group, err 'b'{\"id\":\"147525775253105:1655914687332:189774\",\"name\":\"NP_UDB_lx14602_insttest_udbtest\",\"policyId\":\"147525775253105:1655914687332:114250\",\"storageDomainId\":5,\"description\":\"\",\"startTime\":{\"hour\":16,\"minute\":0,\"timeZone\":\"America/Los_Angeles\"},\"sla\":[{\"backupRunType\":\"kIncremental\",\"slaMinutes\":60},{\"backupRunType\":\"kFull\",\"slaMinutes\":120}],\"isActive\":true,\"isPaused\":false,\"environment\":\"kUDA\",\"permissions\":null,\"missingEntities\":null,\"udaParams\":{\"sourceId\":6710,\"objects\":[{\"name\":\"udbtest\"}],\"fullBackupArgs\":\"\",\"incrBackupArgs\":\"\",\"logBackupArgs\":\"--prune-logs-hours=1\",\"concurrency\":1,\"mounts\":1}}\\n''",
To Reproduce
Ansible Script Used
objects:
Expected behavior
To create the protection group without errors
Actual Behavior