[DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ansible-playbook [core 2.16.9] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/tmp.owLvybhSIM executable location = /usr/local/bin/ansible-playbook python version = 3.12.1 (main, Feb 21 2024, 14:18:26) [GCC 8.5.0 20210514 (Red Hat 8.5.0-21)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_qdevice_minimal.yml ******************************************** 2 plays in /tmp/tmp.owLvybhSIM/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_qdevice_minimal.yml PLAY [all] ********************************************************************* TASK [Include vault variables] ************************************************* task path: /tmp/tmp.owLvybhSIM/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_qdevice_minimal.yml:5 Monday 29 July 2024 06:55:51 -0400 (0:00:00.008) 0:00:00.008 *********** ok: [managed_node1] => { "ansible_facts": { "ha_cluster_hacluster_password": { "__ansible_vault": "$ANSIBLE_VAULT;1.1;AES256\n31303833633366333561656439323930303361333161363239346166656537323933313436\n3432386236656563343237306335323637396239616230353561330a313731623238393238\n62343064666336643930663239383936616465643134646536656532323461356237646133\n3761616633323839633232353637366266350a313163633236376666653238633435306565\n3264623032333736393535663833\n" } }, "ansible_included_var_files": [ "/var/ARTIFACTS/work-generalpmgbwu86/plans/general/tree/ha_cluster/tests/vars/vault-variables.yml" ], "changed": false } PLAY [Test qdevice - minimal configuration] ************************************ TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp.owLvybhSIM/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_qdevice_minimal.yml:9 Monday 29 July 2024 06:55:51 -0400 (0:00:00.018) 0:00:00.026 *********** ok: [managed_node1] TASK [Set qnetd address] ******************************************************* task path: /tmp/tmp.owLvybhSIM/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_qdevice_minimal.yml:14 Monday 29 July 2024 06:55:52 -0400 (0:00:01.068) 0:00:01.095 *********** ok: [managed_node1] => { "ansible_facts": { "__test_qnetd_address": "localhost" }, "changed": false } TASK [Run test] **************************************************************** task path: /tmp/tmp.owLvybhSIM/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_qdevice_minimal.yml:18 Monday 29 July 2024 06:55:52 -0400 (0:00:00.028) 0:00:01.123 *********** included: /tmp/tmp.owLvybhSIM/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/template_qdevice.yml for managed_node1 TASK [Set up test environment] ************************************************* task path: /tmp/tmp.owLvybhSIM/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/template_qdevice.yml:7 Monday 29 July 2024 06:55:52 -0400 (0:00:00.020) 0:00:01.144 *********** TASK [fedora.linux_system_roles.ha_cluster : Set node name to 'localhost' for single-node clusters] *** task path: /tmp/tmp.owLvybhSIM/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:9 Monday 29 July 2024 06:55:52 -0400 (0:00:00.031) 0:00:01.175 *********** ok: [managed_node1] => { "ansible_facts": { "inventory_hostname": "localhost" }, "changed": false } TASK [fedora.linux_system_roles.ha_cluster : Ensure facts used by tests] ******* task path: /tmp/tmp.owLvybhSIM/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:14 Monday 29 July 2024 06:55:52 -0400 (0:00:00.026) 0:00:01.201 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "'distribution' not in ansible_facts", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ha_cluster : Check if system is ostree] ******** task path: /tmp/tmp.owLvybhSIM/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:22 Monday 29 July 2024 06:55:52 -0400 (0:00:00.012) 0:00:01.214 *********** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.ha_cluster : Set flag to indicate system is ostree] *** task path: /tmp/tmp.owLvybhSIM/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:27 Monday 29 July 2024 06:55:53 -0400 (0:00:00.437) 0:00:01.651 *********** ok: [managed_node1] => { "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/tmp.owLvybhSIM/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:32 Monday 29 July 2024 06:55:53 -0400 (0:00:00.023) 0:00:01.674 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution == 'RedHat'", "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/tmp.owLvybhSIM/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:41 Monday 29 July 2024 06:55:53 -0400 (0:00:00.012) 0:00:01.687 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "__ha_cluster_is_ostree | d(false)", "skip_reason": "Conditional result was False" } TASK [Clean up test environment for qnetd] ************************************* task path: /tmp/tmp.owLvybhSIM/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/template_qdevice.yml:12 Monday 29 July 2024 06:55:53 -0400 (0:00:00.027) 0:00:01.714 *********** TASK [fedora.linux_system_roles.ha_cluster : Make sure qnetd is not installed] *** task path: /tmp/tmp.owLvybhSIM/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_cleanup_qnetd.yml:9 Monday 29 July 2024 06:55:53 -0400 (0:00:00.030) 0:00:01.744 *********** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.ha_cluster : Make sure qnetd config files are not present] *** task path: /tmp/tmp.owLvybhSIM/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_cleanup_qnetd.yml:16 Monday 29 July 2024 06:55:56 -0400 (0:00:02.829) 0:00:04.574 *********** ok: [managed_node1] => { "changed": false, "path": "/etc/corosync/qnetd", "state": "absent" } TASK [Set up test environment for qnetd] *************************************** task path: /tmp/tmp.owLvybhSIM/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/template_qdevice.yml:17 Monday 29 July 2024 06:55:56 -0400 (0:00:00.456) 0:00:05.031 *********** TASK [fedora.linux_system_roles.ha_cluster : Install qnetd packages] *********** task path: /tmp/tmp.owLvybhSIM/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup_qnetd.yml:9 Monday 29 July 2024 06:55:56 -0400 (0:00:00.034) 0:00:05.065 *********** fatal: [managed_node1]: FAILED! => { "changed": false, "failures": [ "No package corosync-qnetd available.", "No package pcs available." ], "rc": 1, "results": [] } MSG: Failed to install some of the specified packages TASK [Clean up test environment for qnetd] ************************************* task path: /tmp/tmp.owLvybhSIM/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/template_qdevice.yml:63 Monday 29 July 2024 06:55:59 -0400 (0:00:02.588) 0:00:07.654 *********** TASK [fedora.linux_system_roles.ha_cluster : Make sure qnetd is not installed] *** task path: /tmp/tmp.owLvybhSIM/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_cleanup_qnetd.yml:9 Monday 29 July 2024 06:55:59 -0400 (0:00:00.039) 0:00:07.693 *********** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.ha_cluster : Make sure qnetd config files are not present] *** task path: /tmp/tmp.owLvybhSIM/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_cleanup_qnetd.yml:16 Monday 29 July 2024 06:56:01 -0400 (0:00:02.693) 0:00:10.386 *********** ok: [managed_node1] => { "changed": false, "path": "/etc/corosync/qnetd", "state": "absent" } PLAY RECAP ********************************************************************* managed_node1 : ok=11 changed=0 unreachable=0 failed=1 skipped=3 rescued=0 ignored=0 Monday 29 July 2024 06:56:02 -0400 (0:00:00.365) 0:00:10.752 *********** =============================================================================== fedora.linux_system_roles.ha_cluster : Make sure qnetd is not installed --- 2.83s /tmp/tmp.owLvybhSIM/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_cleanup_qnetd.yml:9 fedora.linux_system_roles.ha_cluster : Make sure qnetd is not installed --- 2.69s /tmp/tmp.owLvybhSIM/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_cleanup_qnetd.yml:9 fedora.linux_system_roles.ha_cluster : Install qnetd packages ----------- 2.59s /tmp/tmp.owLvybhSIM/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup_qnetd.yml:9 Gathering Facts --------------------------------------------------------- 1.07s /tmp/tmp.owLvybhSIM/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_qdevice_minimal.yml:9 fedora.linux_system_roles.ha_cluster : Make sure qnetd config files are not present --- 0.46s /tmp/tmp.owLvybhSIM/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_cleanup_qnetd.yml:16 fedora.linux_system_roles.ha_cluster : Check if system is ostree -------- 0.44s /tmp/tmp.owLvybhSIM/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:22 fedora.linux_system_roles.ha_cluster : Make sure qnetd config files are not present --- 0.37s /tmp/tmp.owLvybhSIM/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_cleanup_qnetd.yml:16 Clean up test environment for qnetd ------------------------------------- 0.04s /tmp/tmp.owLvybhSIM/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/template_qdevice.yml:63 Set up test environment for qnetd --------------------------------------- 0.03s /tmp/tmp.owLvybhSIM/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/template_qdevice.yml:17 Set up test environment ------------------------------------------------- 0.03s /tmp/tmp.owLvybhSIM/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/template_qdevice.yml:7 Clean up test environment for qnetd ------------------------------------- 0.03s /tmp/tmp.owLvybhSIM/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/template_qdevice.yml:12 Set qnetd address ------------------------------------------------------- 0.03s /tmp/tmp.owLvybhSIM/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_qdevice_minimal.yml:14 fedora.linux_system_roles.ha_cluster : Copy nss-altfiles ha_cluster users to /etc/passwd --- 0.03s /tmp/tmp.owLvybhSIM/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:41 fedora.linux_system_roles.ha_cluster : Set node name to 'localhost' for single-node clusters --- 0.03s /tmp/tmp.owLvybhSIM/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:9 fedora.linux_system_roles.ha_cluster : Set flag to indicate system is ostree --- 0.02s /tmp/tmp.owLvybhSIM/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:27 Run test ---------------------------------------------------------------- 0.02s /tmp/tmp.owLvybhSIM/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_qdevice_minimal.yml:18 Include vault variables ------------------------------------------------- 0.02s /tmp/tmp.owLvybhSIM/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_qdevice_minimal.yml:5 fedora.linux_system_roles.ha_cluster : Do not try to enable RHEL repositories --- 0.01s /tmp/tmp.owLvybhSIM/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:32 fedora.linux_system_roles.ha_cluster : Ensure facts used by tests ------- 0.01s /tmp/tmp.owLvybhSIM/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:14