Troubleshooting
Problem
When running QRadar SOAR Ansible Disaster Recovery playbooks, such as enabling DR, the playbook might stop with "async task did not complete within the requested time."
Symptom
The playbook stops running and in this case, DR is not enabled.
2024-05-15 20:19:43,952 p=18081 u=resadmin | TASK [pg_receiver : create a basebackup of the primary] *************************************************************************************************************************************************
2024-05-15 20:19:43,952 p=18081 u=resadmin | task path: /usr/share/resilient-dr/ansible/roles/pg_receiver/tasks/main.yml:276
2024-05-15 20:19:44,027 p=18081 u=resadmin | Using module file /usr/lib/python2.7/site-packages/ansible/modules/commands/command.py
2024-05-15 20:19:45,249 p=18081 u=resadmin | Escalation succeeded
2024-05-15 20:20:01,457 p=18081 u=resadmin | Using module file /usr/lib/python2.7/site-packages/ansible/modules/utilities/logic/async_status.py
2024-05-15 20:20:02,376 p=18081 u=resadmin | Escalation succeeded
....... LINES REMOVED .......
2024-05-15 23:32:49,949 p=18081 u=resadmin | Using module file /usr/lib/python2.7/site-packages/ansible/modules/utilities/logic/async_status.py
2024-05-15 23:32:50,853 p=18081 u=resadmin | Escalation succeeded
2024-05-15 23:33:06,051 p=18081 u=resadmin | Using module file /usr/lib/python2.7/site-packages/ansible/modules/utilities/logic/async_status.py
2024-05-15 23:33:07,082 p=18081 u=resadmin | Escalation succeeded
2024-05-15 23:33:07,267 p=18081 u=resadmin | fatal: [<RECEIVER SERVER>]: FAILED! => {
"changed": false,
"msg": "async task did not complete within the requested time"
}
2024-05-15 23:33:07,267 p=18081 u=resadmin | ...ignoring
2024-05-15 23:33:07,287 p=18081 u=resadmin | TASK [pg_receiver : Restore database archive on pg_basebackup failure (this task is skipped if no failure occurred or skip_receiver_db_backup is specified)] ********************************************
2024-05-15 23:33:07,287 p=18081 u=resadmin | task path: /usr/share/resilient-dr/ansible/roles/pg_receiver/tasks/main.yml:287
2024-05-15 23:33:07,315 p=18081 u=resadmin | fatal: [<RECEIVER SERVER>]: FAILED! => {
"msg": "The conditional check 'pg_basebackup_result.rc != 0' failed. The error was: error while evaluating conditional (pg_basebackup_result.rc != 0): 'dict object' has no attribute 'rc'\n\nThe error appears to have been in '/usr/share/resilient-dr/ansible/roles/pg_receiver/tasks/main.yml': line 287, column 5, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n- block:\n - name: Restore database archive on pg_basebackup failure (this task is skipped if no failure occurred or skip_receiver_db_backup is specified)\n ^ here\n"
}
2024-05-15 23:33:07,317 p=18081 u=resadmin | PLAY RECAP **********************************************************************************************************************************************************************************************
2024-05-15 23:33:07,317 p=18081 u=resadmin | <MASTER SERVER> : ok=76 changed=45 unreachable=0 failed=0
2024-05-15 23:33:07,317 p=18081 u=resadmin | <RECEIVER SERVER> : ok=80 changed=27 unreachable=0 failed=1
2024-05-15 23:33:07,317 p=18081 u=resadmin | localhost : ok=6 changed=0 unreachable=0 failed=0
Document Location
Worldwide
[{"Type":"MASTER","Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSA230","label":"IBM Security QRadar SOAR"},"ARM Category":[{"code":"a8m0z000000cvfMAAQ","label":"Resilient Core-\u003EDisaster Recovery"}],"ARM Case Number":"TS016234810","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]
Log InLog in to view more of this document
This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.
Was this topic helpful?
Document Information
Modified date:
17 May 2024
UID
ibm17153648