ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Nov 14 2023, 16:14:06) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] Using /etc/ansible/ansible.cfg as config file [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_sbd_delay_start.yml ******************************************** 2 plays in /tmp/collections-vRJ/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_sbd_delay_start.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Include vault variables] ************************************************* task path: /tmp/collections-vRJ/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_sbd_delay_start.yml:5 Friday 20 September 2024 20:42:10 -0400 (0:00:00.036) 0:00:00.036 ****** ok: [managed_node2] => { "ansible_facts": { "ha_cluster_hacluster_password": { "__ansible_vault": "$ANSIBLE_VAULT;1.1;AES256\n31303833633366333561656439323930303361333161363239346166656537323933313436\n3432386236656563343237306335323637396239616230353561330a313731623238393238\n62343064666336643930663239383936616465643134646536656532323461356237646133\n3761616633323839633232353637366266350a313163633236376666653238633435306565\n3264623032333736393535663833\n" } }, "ansible_included_var_files": [ "/tmp/ha_cluster-kaH/tests/vars/vault-variables.yml" ], "changed": false } META: ran handlers META: ran handlers PLAY [SBD with long delay-start] *********************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-vRJ/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_sbd_delay_start.yml:9 Friday 20 September 2024 20:42:10 -0400 (0:00:00.047) 0:00:00.084 ****** ok: [managed_node2] META: ran handlers TASK [Set up test environment] ************************************************* task path: /tmp/collections-vRJ/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_sbd_delay_start.yml:23 Friday 20 September 2024 20:42:11 -0400 (0:00:01.299) 0:00:01.383 ****** TASK [fedora.linux_system_roles.ha_cluster : Set node name to 'localhost' for single-node clusters] *** task path: /tmp/collections-vRJ/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:9 Friday 20 September 2024 20:42:12 -0400 (0:00:00.068) 0:00:01.452 ****** ok: [managed_node2] => { "ansible_facts": { "inventory_hostname": "localhost" }, "changed": false } TASK [fedora.linux_system_roles.ha_cluster : Ensure facts used by tests] ******* task path: /tmp/collections-vRJ/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:14 Friday 20 September 2024 20:42:12 -0400 (0:00:00.084) 0:00:01.536 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ha_cluster : Check if system is ostree] ******** task path: /tmp/collections-vRJ/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:22 Friday 20 September 2024 20:42:12 -0400 (0:00:00.069) 0:00:01.605 ****** ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.ha_cluster : Set flag to indicate system is ostree] *** task path: /tmp/collections-vRJ/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:27 Friday 20 September 2024 20:42:12 -0400 (0:00:00.583) 0:00:02.189 ****** ok: [managed_node2] => { "ansible_facts": { "__ha_cluster_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.ha_cluster : Do not try to enable RHEL repositories] *** task path: /tmp/collections-vRJ/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:32 Friday 20 September 2024 20:42:12 -0400 (0:00:00.124) 0:00:02.313 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ha_cluster : Copy nss-altfiles ha_cluster users to /etc/passwd] *** task path: /tmp/collections-vRJ/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:41 Friday 20 September 2024 20:42:13 -0400 (0:00:00.124) 0:00:02.438 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set up test environment for SBD] ***************************************** task path: /tmp/collections-vRJ/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_sbd_delay_start.yml:28 Friday 20 September 2024 20:42:13 -0400 (0:00:00.132) 0:00:02.571 ****** TASK [fedora.linux_system_roles.ha_cluster : Load softdog module for SBD to have at least one watchdog] *** task path: /tmp/collections-vRJ/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup_sbd.yml:9 Friday 20 September 2024 20:42:13 -0400 (0:00:00.125) 0:00:02.696 ****** changed: [managed_node2] => { "changed": true, "cmd": [ "modprobe", "softdog" ], "delta": "0:00:00.008043", "end": "2024-09-20 20:42:13.759202", "rc": 0, "start": "2024-09-20 20:42:13.751159" } TASK [fedora.linux_system_roles.ha_cluster : Create backing files for SBD devices] *** task path: /tmp/collections-vRJ/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup_sbd.yml:15 Friday 20 September 2024 20:42:13 -0400 (0:00:00.556) 0:00:03.252 ****** changed: [managed_node2] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ansible.g8w93d_ha_cluster_tests", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.ha_cluster : Initialize backing files for SBD devices] *** task path: /tmp/collections-vRJ/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup_sbd.yml:21 Friday 20 September 2024 20:42:14 -0400 (0:00:00.592) 0:00:03.845 ****** changed: [managed_node2] => { "changed": true, "cmd": [ "dd", "if=/dev/zero", "of=/tmp/ansible.g8w93d_ha_cluster_tests", "bs=1M", "count=10" ], "delta": "0:00:00.010551", "end": "2024-09-20 20:42:14.736285", "rc": 0, "start": "2024-09-20 20:42:14.725734" } STDERR: 10+0 records in 10+0 records out 10485760 bytes (10 MB) copied, 0.00744711 s, 1.4 GB/s TASK [fedora.linux_system_roles.ha_cluster : Mount SBD devices] **************** task path: /tmp/collections-vRJ/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup_sbd.yml:26 Friday 20 September 2024 20:42:14 -0400 (0:00:00.417) 0:00:04.262 ****** changed: [managed_node2] => { "changed": true, "cmd": [ "losetup", "--show", "--find", "/tmp/ansible.g8w93d_ha_cluster_tests" ], "delta": "0:00:00.012750", "end": "2024-09-20 20:42:15.423602", "rc": 0, "start": "2024-09-20 20:42:15.410852" } STDOUT: /dev/loop0 TASK [Ensure SBD config file is not present] *********************************** task path: /tmp/collections-vRJ/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_sbd_delay_start.yml:33 Friday 20 September 2024 20:42:15 -0400 (0:00:00.606) 0:00:04.869 ****** ok: [managed_node2] => { "changed": false, "path": "/etc/sysconfig/sbd", "state": "absent" } TASK [Ensure systemd overrides for SBD are not present] ************************ task path: /tmp/collections-vRJ/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_sbd_delay_start.yml:38 Friday 20 September 2024 20:42:15 -0400 (0:00:00.461) 0:00:05.331 ****** ok: [managed_node2] => { "changed": false, "path": "/etc/systemd/system/sbd.service.d/override-timeout.conf", "state": "absent" } TASK [Run HA Cluster role] ***************************************************** task path: /tmp/collections-vRJ/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_sbd_delay_start.yml:43 Friday 20 September 2024 20:42:16 -0400 (0:00:00.305) 0:00:05.637 ****** TASK [fedora.linux_system_roles.ha_cluster : Set platform/version specific variables] *** task path: /tmp/collections-vRJ/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/main.yml:3 Friday 20 September 2024 20:42:16 -0400 (0:00:00.067) 0:00:05.705 ****** included: /tmp/collections-vRJ/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/set_vars.yml for managed_node2 TASK [fedora.linux_system_roles.ha_cluster : Ensure ansible_facts used by role] *** task path: /tmp/collections-vRJ/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/set_vars.yml:2 Friday 20 September 2024 20:42:16 -0400 (0:00:00.031) 0:00:05.736 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ha_cluster : Check if system is ostree] ******** task path: /tmp/collections-vRJ/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/set_vars.yml:10 Friday 20 September 2024 20:42:16 -0400 (0:00:00.046) 0:00:05.783 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ha_cluster : Set flag to indicate system is ostree] *** task path: /tmp/collections-vRJ/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/set_vars.yml:15 Friday 20 September 2024 20:42:16 -0400 (0:00:00.058) 0:00:05.841 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ha_cluster : Set platform/version specific variables] *** task path: /tmp/collections-vRJ/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/set_vars.yml:19 Friday 20 September 2024 20:42:16 -0400 (0:00:00.058) 0:00:05.900 ****** ok: [managed_node2] => (item=RedHat.yml) => { "ansible_facts": { "__ha_cluster_cloud_agents_packages": [], "__ha_cluster_fence_agent_packages_default": "{{ ['fence-agents-all'] + (['fence-virt'] if ansible_architecture == 'x86_64' else []) }}", "__ha_cluster_fullstack_node_packages": [ "corosync", "libknet1-plugins-all", "resource-agents", "pacemaker" ], "__ha_cluster_pcs_provider": "pcs-0.10", "__ha_cluster_qdevice_node_packages": [ "corosync-qdevice", "bash", "coreutils", "curl", "grep", "nss-tools", "openssl", "sed" ], "__ha_cluster_repos": [], "__ha_cluster_role_essential_packages": [ "pcs", "corosync-qnetd", "openssl" ], "__ha_cluster_sbd_packages": [ "sbd" ], "__ha_cluster_services": [ "corosync", "corosync-qdevice", "pacemaker" ] }, "ansible_included_var_files": [ "/tmp/collections-vRJ/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [managed_node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node2] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node2] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ha_cluster : Set Linux Pacemaker shell specific variables] *** task path: /tmp/collections-vRJ/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/set_vars.yml:34 Friday 20 September 2024 20:42:16 -0400 (0:00:00.107) 0:00:06.008 ****** ok: [managed_node2] => { "ansible_facts": {}, "ansible_included_var_files": [ "/tmp/collections-vRJ/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/vars/shell_pcs.yml" ], "changed": false } TASK [fedora.linux_system_roles.ha_cluster : Enable package repositories] ****** task path: /tmp/collections-vRJ/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/main.yml:6 Friday 20 September 2024 20:42:16 -0400 (0:00:00.065) 0:00:06.073 ****** included: /tmp/collections-vRJ/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/enable-package-repositories.yml for managed_node2 TASK [fedora.linux_system_roles.ha_cluster : Find platform/version specific tasks to enable repositories] *** task path: /tmp/collections-vRJ/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/enable-package-repositories.yml:3 Friday 20 September 2024 20:42:16 -0400 (0:00:00.052) 0:00:06.126 ****** ok: [managed_node2] => (item=RedHat.yml) => { "ansible_facts": { "__ha_cluster_enable_repo_tasks_file": "/tmp/collections-vRJ/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/enable-repositories/RedHat.yml" }, "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [managed_node2] => (item=CentOS.yml) => { "ansible_facts": { "__ha_cluster_enable_repo_tasks_file": "/tmp/collections-vRJ/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/enable-repositories/CentOS.yml" }, "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml" } skipping: [managed_node2] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node2] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ha_cluster : Run platform/version specific tasks to enable repositories] *** task path: /tmp/collections-vRJ/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/enable-package-repositories.yml:21 Friday 20 September 2024 20:42:16 -0400 (0:00:00.120) 0:00:06.247 ****** included: /tmp/collections-vRJ/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/enable-repositories/CentOS.yml for managed_node2 TASK [fedora.linux_system_roles.ha_cluster : List active CentOS repositories] *** task path: /tmp/collections-vRJ/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/enable-repositories/CentOS.yml:3 Friday 20 September 2024 20:42:16 -0400 (0:00:00.084) 0:00:06.331 ****** [WARNING]: Consider using the dnf module rather than running 'dnf'. If you need to use command because dnf is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "dnf repolist", "rc": 2 } MSG: [Errno 2] No such file or directory TASK [Clean up test environment for SBD] *************************************** task path: /tmp/collections-vRJ/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_sbd_delay_start.yml:99 Friday 20 September 2024 20:42:17 -0400 (0:00:00.422) 0:00:06.754 ****** TASK [fedora.linux_system_roles.ha_cluster : Unmount SBD devices] ************** task path: /tmp/collections-vRJ/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_cleanup_sbd.yml:9 Friday 20 September 2024 20:42:17 -0400 (0:00:00.110) 0:00:06.865 ****** changed: [managed_node2] => { "changed": true, "cmd": [ "losetup", "-d", "/dev/loop0" ], "delta": "0:00:00.003400", "end": "2024-09-20 20:42:17.943400", "rc": 0, "start": "2024-09-20 20:42:17.940000" } TASK [fedora.linux_system_roles.ha_cluster : Delete backing files for SBD devices] *** task path: /tmp/collections-vRJ/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_cleanup_sbd.yml:14 Friday 20 September 2024 20:42:18 -0400 (0:00:00.572) 0:00:07.437 ****** ok: [managed_node2] => { "changed": false, "path": "{'group': 'root', 'uid': 0, 'changed': True, 'failed': False, 'state': 'file', 'gid': 0, 'secontext': 'unconfined_u:object_r:user_tmp_t:s0', 'mode': '0600', 'owner': 'root', 'path': '/tmp/ansible.g8w93d_ha_cluster_tests', 'size': 0}", "state": "absent" } PLAY RECAP ********************************************************************* managed_node2 : ok=19 changed=5 unreachable=0 failed=1 skipped=6 rescued=0 ignored=0 Friday 20 September 2024 20:42:18 -0400 (0:00:00.440) 0:00:07.878 ****** =============================================================================== Gathering Facts --------------------------------------------------------- 1.30s /tmp/collections-vRJ/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_sbd_delay_start.yml:9 fedora.linux_system_roles.ha_cluster : Mount SBD devices ---------------- 0.61s /tmp/collections-vRJ/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup_sbd.yml:26 fedora.linux_system_roles.ha_cluster : Create backing files for SBD devices --- 0.59s /tmp/collections-vRJ/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup_sbd.yml:15 fedora.linux_system_roles.ha_cluster : Check if system is ostree -------- 0.58s /tmp/collections-vRJ/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:22 fedora.linux_system_roles.ha_cluster : Unmount SBD devices -------------- 0.57s /tmp/collections-vRJ/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_cleanup_sbd.yml:9 fedora.linux_system_roles.ha_cluster : Load softdog module for SBD to have at least one watchdog --- 0.56s /tmp/collections-vRJ/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup_sbd.yml:9 Ensure SBD config file is not present ----------------------------------- 0.46s /tmp/collections-vRJ/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_sbd_delay_start.yml:33 fedora.linux_system_roles.ha_cluster : Delete backing files for SBD devices --- 0.44s /tmp/collections-vRJ/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_cleanup_sbd.yml:14 fedora.linux_system_roles.ha_cluster : List active CentOS repositories --- 0.42s /tmp/collections-vRJ/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/enable-repositories/CentOS.yml:3 fedora.linux_system_roles.ha_cluster : Initialize backing files for SBD devices --- 0.42s /tmp/collections-vRJ/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup_sbd.yml:21 Ensure systemd overrides for SBD are not present ------------------------ 0.31s /tmp/collections-vRJ/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_sbd_delay_start.yml:38 fedora.linux_system_roles.ha_cluster : Copy nss-altfiles ha_cluster users to /etc/passwd --- 0.13s /tmp/collections-vRJ/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:41 Set up test environment for SBD ----------------------------------------- 0.13s /tmp/collections-vRJ/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_sbd_delay_start.yml:28 fedora.linux_system_roles.ha_cluster : Do not try to enable RHEL repositories --- 0.12s /tmp/collections-vRJ/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:32 fedora.linux_system_roles.ha_cluster : Set flag to indicate system is ostree --- 0.12s /tmp/collections-vRJ/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:27 fedora.linux_system_roles.ha_cluster : Find platform/version specific tasks to enable repositories --- 0.12s /tmp/collections-vRJ/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/enable-package-repositories.yml:3 Clean up test environment for SBD --------------------------------------- 0.11s /tmp/collections-vRJ/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_sbd_delay_start.yml:99 fedora.linux_system_roles.ha_cluster : Set platform/version specific variables --- 0.11s /tmp/collections-vRJ/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/set_vars.yml:19 fedora.linux_system_roles.ha_cluster : Run platform/version specific tasks to enable repositories --- 0.08s /tmp/collections-vRJ/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/enable-package-repositories.yml:21 fedora.linux_system_roles.ha_cluster : Set node name to 'localhost' for single-node clusters --- 0.08s /tmp/collections-vRJ/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:9