[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_all_options.yml **************************************** 2 plays in /tmp/tmp.owLvybhSIM/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_qdevice_all_options.yml PLAY [all] ********************************************************************* TASK [Include vault variables] ************************************************* task path: /tmp/tmp.owLvybhSIM/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_qdevice_all_options.yml:5 Monday 29 July 2024 06:55:39 -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 - all options] ********************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp.owLvybhSIM/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_qdevice_all_options.yml:9 Monday 29 July 2024 06:55:39 -0400 (0:00:00.020) 0:00:00.029 *********** ok: [managed_node1] TASK [Set qnetd address] ******************************************************* task path: /tmp/tmp.owLvybhSIM/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_qdevice_all_options.yml:14 Monday 29 July 2024 06:55:40 -0400 (0:00:01.072) 0:00:01.101 *********** 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_all_options.yml:18 Monday 29 July 2024 06:55:40 -0400 (0:00:00.028) 0:00:01.129 *********** 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:40 -0400 (0:00:00.021) 0:00:01.151 *********** 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:41 -0400 (0:00:00.029) 0:00:01.180 *********** 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:41 -0400 (0:00:00.029) 0:00:01.209 *********** 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:41 -0400 (0:00:00.012) 0:00:01.222 *********** 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:41 -0400 (0:00:00.437) 0:00:01.659 *********** 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:41 -0400 (0:00:00.020) 0:00:01.680 *********** 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:41 -0400 (0:00:00.012) 0:00:01.693 *********** 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:41 -0400 (0:00:00.026) 0:00:01.719 *********** 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:41 -0400 (0:00:00.031) 0:00:01.751 *********** 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:44 -0400 (0:00:02.816) 0:00:04.567 *********** 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:44 -0400 (0:00:00.455) 0:00:05.023 *********** 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:44 -0400 (0:00:00.034) 0:00:05.058 *********** 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:47 -0400 (0:00:02.570) 0:00:07.628 *********** 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:47 -0400 (0:00:00.037) 0:00:07.666 *********** 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:50 -0400 (0:00:02.574) 0:00:10.240 *********** 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:55:50 -0400 (0:00:00.359) 0:00:10.599 *********** =============================================================================== fedora.linux_system_roles.ha_cluster : Make sure qnetd is not installed --- 2.82s /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.57s /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.57s /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_all_options.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.36s /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 Clean up test environment for qnetd ------------------------------------- 0.03s /tmp/tmp.owLvybhSIM/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/template_qdevice.yml:12 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 Set up test environment ------------------------------------------------- 0.03s /tmp/tmp.owLvybhSIM/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/template_qdevice.yml:7 Set qnetd address ------------------------------------------------------- 0.03s /tmp/tmp.owLvybhSIM/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_qdevice_all_options.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 Run test ---------------------------------------------------------------- 0.02s /tmp/tmp.owLvybhSIM/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_qdevice_all_options.yml:18 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 Include vault variables ------------------------------------------------- 0.02s /tmp/tmp.owLvybhSIM/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_qdevice_all_options.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