RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1969847 - [ansible-freeipa] Backup-restore is failing due to ansible_python_interpreter and python is not set by default.
Summary: [ansible-freeipa] Backup-restore is failing due to ansible_python_interpreter...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: ansible-freeipa
Version: 8.5
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: beta
: ---
Assignee: Thomas Woerner
QA Contact: ipa-qe
URL:
Whiteboard:
Depends On:
Blocks: 1973173
TreeView+ depends on / blocked
 
Reported: 2021-06-09 10:27 UTC by Varun Mylaraiah
Modified: 2021-11-10 01:09 UTC (History)
0 users

Fixed In Version: ansible-freeipa-0.3.6-2.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1973173 (view as bug list)
Environment:
Last Closed: 2021-11-09 18:45:36 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker FREEIPA-7296 0 None None None 2021-11-09 18:51:41 UTC
Red Hat Product Errata RHBA-2021:4268 0 None None None 2021-11-09 18:45:49 UTC

Description Varun Mylaraiah 2021-06-09 10:27:20 UTC
Description of problem:
Backup and restore are failing due to ansible_python_interpreter and python is not set by default in asible-freeipa

Version-Release number of selected component (if applicable):


Actual results:

Console output:
============

TASK [Gathering Facts] *********************************************************
task path: /root/backuprestore_module.yml:2
ok: [master.ipadomain.test]
META: ran handlers

TASK [ipabackup : Check for empty vars] ****************************************
task path: /root/ansible-freeipa/roles/ipabackup/tasks/main.yml:4
skipping: [master.ipadomain.test] => (item=ipabackup_backend)  => {"ansible_loop_var": "item", "changed": false, "item": "ipabackup_backend", "skip_reason": "Conditional result was False"}
skipping: [master.ipadomain.test] => (item=ipabackup_gpg_keyring)  => {"ansible_loop_var": "item", "changed": false, "item": "ipabackup_gpg_keyring", "skip_reason": "Conditional result was False"}
skipping: [master.ipadomain.test] => (item=ipabackup_instance)  => {"ansible_loop_var": "item", "changed": false, "item": "ipabackup_instance", "skip_reason": "Conditional result was False"}
skipping: [master.ipadomain.test] => (item=ipabackup_log_file)  => {"ansible_loop_var": "item", "changed": false, "item": "ipabackup_log_file", "skip_reason": "Conditional result was False"}
skipping: [master.ipadomain.test] => (item=ipabackup_password)  => {"ansible_loop_var": "item", "changed": false, "item": "ipabackup_password", "skip_reason": "Conditional result was False"}
skipping: [master.ipadomain.test] => (item=ipabackup_name)  => {"ansible_loop_var": "item", "changed": false, "item": "ipabackup_name", "skip_reason": "Conditional result was False"}
skipping: [master.ipadomain.test] => (item=ipabackup_controller_path)  => {"ansible_loop_var": "item", "changed": false, "item": "ipabackup_controller_path", "skip_reason": "Conditional result was False"}
skipping: [master.ipadomain.test] => (item=ipabackup_name_prefix)  => {"ansible_loop_var": "item", "changed": false, "item": "ipabackup_name_prefix", "skip_reason": "Conditional result was False"}
 skipping: [master.ipadomain.test] => (item=ipabackup_firewalld_zone)  => {"ansible_loop_var": "item", "changed": false, "item": "ipabackup_firewalld_zone", "skip_reason": "Conditional result was False"}
 
 TASK [Set ipabackup_data if ipabackup_data is not set but ipabackup_online is] ***
 task path: /root/ansible-freeipa/roles/ipabackup/tasks/main.yml:20
 skipping: [master.ipadomain.test] => {"changed": false, "skip_reason": "Conditional result was False"}
 
 TASK [Fail if ipabackup_from_controller and ipabackup_to_controller are set] ***
 task path: /root/ansible-freeipa/roles/ipabackup/tasks/main.yml:25
 skipping: [master.ipadomain.test] => {"changed": false, "skip_reason": "Conditional result was False"}
 
 TASK [Get ipabackup_dir from IPA installation] *********************************
 task path: /root/ansible-freeipa/roles/ipabackup/tasks/main.yml:29
 included: /root/ansible-freeipa/roles/ipabackup/tasks/get_ipabackup_dir.yml for master.ipadomain.test
 
 TASK [ipabackup : Get IPA_BACKUP_DIR dir from ipaplatform] *********************
 task path: /root/ansible-freeipa/roles/ipabackup/tasks/get_ipabackup_dir.yml:2
 fatal: [master.ipadomain.test]: FAILED! => {"changed": false, "cmd": "/usr/bin/python", "msg": "[Errno 2] No such file or directory: b'/usr/bin/python': b'/usr/bin/python'", "rc": 2}
 
 PLAY RECAP *********************************************************************
 master.ipadomain.test      : ok=2    changed=0    unreachable=0    failed=1    skipped=3    rescued=0    ignored=0

Comment 1 Thomas Woerner 2021-06-09 10:30:38 UTC
Here is the upstream PR: https://github.com/freeipa/ansible-freeipa/pull/570

Comment 6 Varun Mylaraiah 2021-06-21 10:54:52 UTC
Verified:

ansible-freeipa-0.3.6-3.el8.noarch
ipa-server-4.9.3-1.module+el8.5.0+10565+ae980a94.x86_64

# cat /etc/redhat-release
Red Hat Enterprise Linux release 8.5 Beta (Ootpa)


ansible_freeipa_tests/backuprestore/test_backuprestore.py::TestBackup::test_backup_present_locally PASSED [100%]

2021-06-21T10:48:11+0000 [pytest_multihost.host.Host.ansible.ParamikoTransport] INFO RUN ['ansible-playbook', '--ssh-extra-args="-o StrictHostKeyChecking=no"', '-vv', '-i', 'inventory/backuprestore.hosts', 'backuprestore_module.yml']
2021-06-21T10:48:11+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG RUN ['ansible-playbook', '--ssh-extra-args="-o StrictHostKeyChecking=no"', '-vv', '-i', 'inventory/backuprestore.hosts', 'backuprestore_module.yml']
2021-06-21T10:48:11+0000 [paramiko.transport] DEBUG [chan 2] Sesch channel 2 request ok
2021-06-21T10:48:12+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG -bash: line 1: cd: /root/multihost_tests: No such file or directory
2021-06-21T10:48:12+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG -bash: line 2: /root/multihost_tests/env.sh: No such file or directory
2021-06-21T10:48:13+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG ansible-playbook 2.9.22
2021-06-21T10:48:13+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG   config file = /etc/ansible/ansible.cfg
2021-06-21T10:48:13+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG   configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
2021-06-21T10:48:13+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG   ansible python module location = /usr/lib/python3.6/site-packages/ansible
2021-06-21T10:48:13+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG   executable location = /usr/bin/ansible-playbook
2021-06-21T10:48:13+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG   python version = 3.6.8 (default, May  4 2021, 11:14:36) [GCC 8.4.1 20210423 (Red Hat 8.4.1-2)]
2021-06-21T10:48:13+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG Using /etc/ansible/ansible.cfg as config file
2021-06-21T10:48:13+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG Skipping callback 'actionable', as we already have a stdout callback.
2021-06-21T10:48:13+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG Skipping callback 'counter_enabled', as we already have a stdout callback.

2021-06-21T10:48:13+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG Skipping callback 'yaml', as we already have a stdout callback.
2021-06-21T10:48:13+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG 
2021-06-21T10:48:13+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG PLAYBOOK: backuprestore_module.yml *********************************************
2021-06-21T10:48:13+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG 1 plays in backuprestore_module.yml
2021-06-21T10:48:13+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG 
2021-06-21T10:48:13+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG PLAY [Playbook to remove all backups from IPA server] **************************
2021-06-21T10:48:13+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG 
2021-06-21T10:48:13+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG TASK [Gathering Facts] *********************************************************
2021-06-21T10:48:13+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG task path: /root/backuprestore_module.yml:2
2021-06-21T10:48:14+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG ok: [master.ipadomain.test]
2021-06-21T10:48:14+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG META: ran handlers
2021-06-21T10:48:14+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG 
2021-06-21T10:48:14+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG TASK [ipabackup : Check for empty vars] ****************************************
2021-06-21T10:48:14+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG task path: /usr/share/ansible/roles/ipabackup/tasks/main.yml:4
2021-06-21T10:48:14+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG skipping: [master.ipadomain.test] => (item=ipabackup_backend)  => {"ansible_loop_var": "item", "changed": false, "item": "ipabackup_backend", "skip_reason": "Conditional result was False"}
2021-06-21T10:48:14+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG skipping: [master.ipadomain.test] => (item=ipabackup_gpg_keyring)  => {"ansible_loop_var": "item", "changed": false, "item": "ipabackup_gpg_keyring", "skip_reason": "Conditional result was False"}
2021-06-21T10:48:14+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG skipping: [master.ipadomain.test] => (item=ipabackup_instance)  => {"ansible_loop_var": "item", "changed": false, "item": "ipabackup_instance", "skip_reason": "Conditional result was False"}
2021-06-21T10:48:14+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG skipping: [master.ipadomain.test] => (item=ipabackup_log_file)  => {"ansible_loop_var": "item", "changed": false, "item": "ipabackup_log_file", "skip_reason": "Conditional result was False"}
2021-06-21T10:48:14+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG skipping: [master.ipadomain.test] => (item=ipabackup_password)  => {"ansible_loop_var": "item", "changed": false, "item": "ipabackup_password", "skip_reason": "Conditional result was False"}
2021-06-21T10:48:14+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG skipping: [master.ipadomain.test] => (item=ipabackup_name)  => {"ansible_loop_var": "item", "changed": false, "item": "ipabackup_name", "skip_reason": "Conditional result was False"}
2021-06-21T10:48:14+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG skipping: [master.ipadomain.test] => (item=ipabackup_controller_path)  => {"ansible_loop_var": "item", "changed": false, "item": "ipabackup_controller_path", "skip_reason": "Conditional result was False"}
2021-06-21T10:48:14+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG skipping: [master.ipadomain.test] => (item=ipabackup_name_prefix)  => {"ansible_loop_var": "item", "changed": false, "item": "ipabackup_name_prefix", "skip_reason": "Conditional result was False"}
2021-06-21T10:48:14+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG skipping: [master.ipadomain.test] => (item=ipabackup_firewalld_zone)  => {"ansible_loop_var": "item", "changed": false, "item": "ipabackup_firewalld_zone", "skip_reason": "Conditional result was False"}
2021-06-21T10:48:14+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG 
2021-06-21T10:48:14+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG TASK [Set ipabackup_data if ipabackup_data is not set but ipabackup_online is] ***
2021-06-21T10:48:14+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG task path: /usr/share/ansible/roles/ipabackup/tasks/main.yml:20
2021-06-21T10:48:14+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG skipping: [master.ipadomain.test] => {"changed": false, "skip_reason": "Conditional result was False"}
2021-06-21T10:48:14+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG 
2021-06-21T10:48:14+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG TASK [Fail if ipabackup_from_controller and ipabackup_to_controller are set] ***
2021-06-21T10:48:14+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG task path: /usr/share/ansible/roles/ipabackup/tasks/main.yml:25
2021-06-21T10:48:14+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG skipping: [master.ipadomain.test] => {"changed": false, "skip_reason": "Conditional result was False"}
2021-06-21T10:48:14+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG 
2021-06-21T10:48:14+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG TASK [Get ipabackup_dir from IPA installation] *********************************
2021-06-21T10:48:14+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG task path: /usr/share/ansible/roles/ipabackup/tasks/main.yml:29
2021-06-21T10:48:14+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG included: /usr/share/ansible/roles/ipabackup/tasks/get_ipabackup_dir.yml for master.ipadomain.test
2021-06-21T10:48:14+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG 
2021-06-21T10:48:14+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG TASK [ipabackup : Get IPA_BACKUP_DIR from ipaplatform] *************************
2021-06-21T10:48:14+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG task path: /usr/share/ansible/roles/ipabackup/tasks/get_ipabackup_dir.yml:2
2021-06-21T10:48:15+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG ok: [master.ipadomain.test] => {"backup_dir": "/var/lib/ipa/backup", "changed": false}
2021-06-21T10:48:15+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG 
2021-06-21T10:48:15+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG TASK [ipabackup : Set IPA backup dir] ******************************************
2021-06-21T10:48:15+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG task path: /usr/share/ansible/roles/ipabackup/tasks/get_ipabackup_dir.yml:6
2021-06-21T10:48:15+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG ok: [master.ipadomain.test] => {"ansible_facts": {"ipabackup_dir": "/var/lib/ipa/backup"}, "changed": false}
2021-06-21T10:48:15+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG 
2021-06-21T10:48:15+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG TASK [ipabackup : Backup IPA server] *******************************************
2021-06-21T10:48:15+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG task path: /usr/share/ansible/roles/ipabackup/tasks/main.yml:32
2021-06-21T10:48:15+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG skipping: [master.ipadomain.test] => {"changed": false, "skip_reason": "Conditional result was False"}
2021-06-21T10:48:15+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG 
2021-06-21T10:48:15+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG TASK [Fail for given ipabackup_name if state is not copied, restored or absent] ***
2021-06-21T10:48:15+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG task path: /usr/share/ansible/roles/ipabackup/tasks/main.yml:36
2021-06-21T10:48:15+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG skipping: [master.ipadomain.test] => {"changed": false, "skip_reason": "Conditional result was False"}
2021-06-21T10:48:15+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG 
2021-06-21T10:48:15+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG TASK [Fail on missing ipabackup_name] ******************************************
2021-06-21T10:48:15+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG task path: /usr/share/ansible/roles/ipabackup/tasks/main.yml:42
2021-06-21T10:48:15+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG skipping: [master.ipadomain.test] => {"changed": false, "skip_reason": "Conditional result was False"}
2021-06-21T10:48:15+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG 
2021-06-21T10:48:15+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG TASK [ipabackup : Get list of all backups on IPA server] ***********************
2021-06-21T10:48:15+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG task path: /usr/share/ansible/roles/ipabackup/tasks/main.yml:49
2021-06-21T10:48:15+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG changed: [master.ipadomain.test] => {"changed": true, "cmd": "find . -name \"ipa-full-*\" -o -name \"ipa-data-*\" | cut -d\"/\" -f 2", "delta": "0:00:00.005040", "end": "2021-06-21 06:48:14.005121", "rc": 0, "start": "2021-06-21 06:48:14.000081", "stderr": "", "stderr_lines": [], "stdout": "ipa-full-2021-06-21-06-48-03", "stdout_lines": ["ipa-full-2021-06-21-06-48-03"]}
2021-06-21T10:48:15+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG 
2021-06-21T10:48:15+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG TASK [Set ipabackup_names using backup list] ***********************************
2021-06-21T10:48:15+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG task path: /usr/share/ansible/roles/ipabackup/tasks/main.yml:56
2021-06-21T10:48:15+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG ok: [master.ipadomain.test] => {"ansible_facts": {"ipabackup_names": ["ipa-full-2021-06-21-06-48-03"]}, "changed": false}
2021-06-21T10:48:15+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG 
2021-06-21T10:48:15+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG TASK [Fail on ipabackup_name all] **********************************************
2021-06-21T10:48:15+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG task path: /usr/share/ansible/roles/ipabackup/tasks/main.yml:66
2021-06-21T10:48:15+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG skipping: [master.ipadomain.test] => {"changed": false, "skip_reason": "Conditional result was False"}
2021-06-21T10:48:15+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG 
2021-06-21T10:48:15+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG TASK [Set ipabackup_names from ipabackup_name string] **************************
2021-06-21T10:48:15+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG task path: /usr/share/ansible/roles/ipabackup/tasks/main.yml:70
2021-06-21T10:48:15+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG skipping: [master.ipadomain.test] => {"changed": false, "skip_reason": "Conditional result was False"}
2021-06-21T10:48:15+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG 
2021-06-21T10:48:15+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG TASK [Set ipabackup_names from ipabackup_name list] ****************************
2021-06-21T10:48:15+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG task path: /usr/share/ansible/roles/ipabackup/tasks/main.yml:75
2021-06-21T10:48:15+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG skipping: [master.ipadomain.test] => {"changed": false, "skip_reason": "Conditional result was False"}
2021-06-21T10:48:16+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG 
2021-06-21T10:48:16+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG TASK [Set empty ipabackup_names if ipabackup_name is not defined] **************
2021-06-21T10:48:16+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG task path: /usr/share/ansible/roles/ipabackup/tasks/main.yml:81
2021-06-21T10:48:16+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG skipping: [master.ipadomain.test] => {"changed": false, "skip_reason": "Conditional result was False"}
2021-06-21T10:48:16+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG 
2021-06-21T10:48:16+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG TASK [ipabackup : Copy backup from IPA server] *********************************
2021-06-21T10:48:16+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG task path: /usr/share/ansible/roles/ipabackup/tasks/main.yml:87
2021-06-21T10:48:16+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG skipping: [master.ipadomain.test] => (item=ipa-full-2021-06-21-06-48-03)  => {"ansible_loop_var": "main_item", "changed": false, "main_item": "ipa-full-2021-06-21-06-48-03", "skip_reason": "Conditional result was False"}
2021-06-21T10:48:16+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG 
2021-06-21T10:48:16+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG TASK [ipabackup : Remove backup from IPA server] *******************************
2021-06-21T10:48:16+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG task path: /usr/share/ansible/roles/ipabackup/tasks/main.yml:97
2021-06-21T10:48:16+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG included: /usr/share/ansible/roles/ipabackup/tasks/remove_backup_from_server.yml for master.ipadomain.test
2021-06-21T10:48:16+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG 
2021-06-21T10:48:16+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG TASK [ipabackup : Remove backup "ipa-full-2021-06-21-06-48-03"] ****************
2021-06-21T10:48:16+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG task path: /usr/share/ansible/roles/ipabackup/tasks/remove_backup_from_server.yml:2
2021-06-21T10:48:16+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG changed: [master.ipadomain.test] => {"changed": true, "path": "/var/lib/ipa/backup/ipa-full-2021-06-21-06-48-03", "state": "absent"}
2021-06-21T10:48:16+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG 
2021-06-21T10:48:16+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG TASK [ipabackup : Fail to copy or restore more than one backup on the server] ***
2021-06-21T10:48:16+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG task path: /usr/share/ansible/roles/ipabackup/tasks/main.yml:113
2021-06-21T10:48:16+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG skipping: [master.ipadomain.test] => {"changed": false, "skip_reason": "Conditional result was False"}
2021-06-21T10:48:16+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG 
2021-06-21T10:48:16+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG TASK [ipabackup : Copy backup to server] ***************************************
2021-06-21T10:48:16+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG task path: /usr/share/ansible/roles/ipabackup/tasks/main.yml:121
2021-06-21T10:48:16+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG skipping: [master.ipadomain.test] => {"changed": false, "skip_reason": "Conditional result was False"}
2021-06-21T10:48:16+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG 
2021-06-21T10:48:16+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG TASK [ipabackup : Restore IPA server after copy] *******************************
2021-06-21T10:48:16+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG task path: /usr/share/ansible/roles/ipabackup/tasks/main.yml:124
2021-06-21T10:48:16+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG skipping: [master.ipadomain.test] => {"changed": false, "skip_reason": "Conditional result was False"}
2021-06-21T10:48:16+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG 
2021-06-21T10:48:16+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG TASK [ipabackup : Restore IPA server] ******************************************
2021-06-21T10:48:16+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG task path: /usr/share/ansible/roles/ipabackup/tasks/main.yml:133
2021-06-21T10:48:16+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG skipping: [master.ipadomain.test] => {"changed": false, "skip_reason": "Conditional result was False"}
2021-06-21T10:48:16+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG META: ran handlers
2021-06-21T10:48:16+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG META: ran handlers
2021-06-21T10:48:16+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG 
2021-06-21T10:48:16+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG PLAY RECAP *********************************************************************
2021-06-21T10:48:16+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG master.ipadomain.test      : ok=8    changed=2    unreachable=0    failed=0    skipped=15   rescued=0    ignored=0   
2021-06-21T10:48:16+0000 [pytest_multihost.host.Host.ansible.cmd2] DEBUG

Comment 8 errata-xmlrpc 2021-11-09 18:45:36 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (ansible-freeipa bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2021:4268


Note You need to log in before you can comment on or make changes to this bug.