[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.17.2] 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.HT3TpLk6Gx executable location = /usr/local/bin/ansible-playbook python version = 3.12.4 (main, Jul 17 2024, 00:00:00) [GCC 14.1.1 20240607 (Red Hat 14.1.1-5)] (/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_sbd_all_options_play.yml *************************************** 1 plays in /tmp/tmp.HT3TpLk6Gx/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_sbd_all_options_play.yml PLAY [Maximal SBD configuration (play)] **************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp.HT3TpLk6Gx/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_sbd_all_options_play.yml:3 Friday 26 July 2024 13:36:55 -0400 (0:00:00.009) 0:00:00.009 *********** [WARNING]: Platform linux on host managed_node1 is using the discovered Python interpreter at /usr/bin/python3.12, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed_node1] TASK [Set up test environment] ************************************************* task path: /tmp/tmp.HT3TpLk6Gx/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_sbd_all_options_play.yml:11 Friday 26 July 2024 13:36:57 -0400 (0:00:01.194) 0:00:01.203 *********** included: fedora.linux_system_roles.ha_cluster for managed_node1 TASK [fedora.linux_system_roles.ha_cluster : Set node name to 'localhost' for single-node clusters] *** task path: /tmp/tmp.HT3TpLk6Gx/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:9 Friday 26 July 2024 13:36:57 -0400 (0:00:00.031) 0:00:01.235 *********** 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.HT3TpLk6Gx/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:14 Friday 26 July 2024 13:36:57 -0400 (0:00:00.025) 0:00:01.260 *********** 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.HT3TpLk6Gx/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:22 Friday 26 July 2024 13:36:57 -0400 (0:00:00.015) 0:00:01.275 *********** 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.HT3TpLk6Gx/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:27 Friday 26 July 2024 13:36:57 -0400 (0:00:00.451) 0:00:01.727 *********** 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.HT3TpLk6Gx/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:32 Friday 26 July 2024 13:36:57 -0400 (0:00:00.023) 0:00:01.750 *********** 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.HT3TpLk6Gx/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:41 Friday 26 July 2024 13:36:57 -0400 (0:00:00.014) 0:00:01.765 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "__ha_cluster_is_ostree | d(false)", "skip_reason": "Conditional result was False" } TASK [Set up test environment for SBD] ***************************************** task path: /tmp/tmp.HT3TpLk6Gx/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_sbd_all_options_play.yml:16 Friday 26 July 2024 13:36:57 -0400 (0:00:00.025) 0:00:01.791 *********** included: fedora.linux_system_roles.ha_cluster for managed_node1 TASK [fedora.linux_system_roles.ha_cluster : Load softdog module for SBD to have at least one watchdog] *** task path: /tmp/tmp.HT3TpLk6Gx/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup_sbd.yml:9 Friday 26 July 2024 13:36:57 -0400 (0:00:00.029) 0:00:01.821 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "not (__test_disable_modprobe | d(false))", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ha_cluster : Create backing files for SBD devices] *** task path: /tmp/tmp.HT3TpLk6Gx/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup_sbd.yml:15 Friday 26 July 2024 13:36:57 -0400 (0:00:00.021) 0:00:01.842 *********** changed: [managed_node1] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ansible.1yysofxh_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/tmp.HT3TpLk6Gx/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup_sbd.yml:21 Friday 26 July 2024 13:36:58 -0400 (0:00:00.434) 0:00:02.277 *********** changed: [managed_node1] => { "changed": true, "cmd": [ "dd", "if=/dev/zero", "of=/tmp/ansible.1yysofxh_ha_cluster_tests", "bs=1M", "count=10" ], "delta": "0:00:00.007661", "end": "2024-07-26 13:36:58.579118", "rc": 0, "start": "2024-07-26 13:36:58.571457" } STDERR: 10+0 records in 10+0 records out 10485760 bytes (10 MB, 10 MiB) copied, 0.00442871 s, 2.4 GB/s TASK [fedora.linux_system_roles.ha_cluster : Mount SBD devices] **************** task path: /tmp/tmp.HT3TpLk6Gx/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup_sbd.yml:26 Friday 26 July 2024 13:36:58 -0400 (0:00:00.457) 0:00:02.734 *********** changed: [managed_node1] => { "changed": true, "cmd": [ "losetup", "--show", "--find", "/tmp/ansible.1yysofxh_ha_cluster_tests" ], "delta": "0:00:00.006499", "end": "2024-07-26 13:36:58.944101", "rc": 0, "start": "2024-07-26 13:36:58.937602" } STDOUT: /dev/loop0 TASK [Generate SBD devices and watchdogs variables] **************************** task path: /tmp/tmp.HT3TpLk6Gx/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_sbd_all_options_play.yml:25 Friday 26 July 2024 13:36:59 -0400 (0:00:00.378) 0:00:03.112 *********** ok: [managed_node1] => (item=managed_node1) => { "ansible_facts": { "__test_node_options": [ { "node_name": "localhost", "sbd_devices": [ "/dev/loop0" ], "sbd_watchdog": "/dev/null", "sbd_watchdog_modules": [ "softdog" ], "sbd_watchdog_modules_blocklist": [ "iTCO_wdt" ] } ] }, "ansible_loop_var": "item", "changed": false, "item": "managed_node1" } TASK [Run the role and assert results] ***************************************** task path: /tmp/tmp.HT3TpLk6Gx/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_sbd_all_options_play.yml:40 Friday 26 July 2024 13:36:59 -0400 (0:00:00.030) 0:00:03.143 *********** included: /tmp/tmp.HT3TpLk6Gx/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/template_sbd_all_options.yml for managed_node1 TASK [Ensure modprobe files are not present] *********************************** task path: /tmp/tmp.HT3TpLk6Gx/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/template_sbd_all_options.yml:17 Friday 26 July 2024 13:36:59 -0400 (0:00:00.038) 0:00:03.181 *********** ok: [managed_node1] => (item=/etc/modprobe.d/iTCO_wdt.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/etc/modprobe.d/iTCO_wdt.conf", "path": "/etc/modprobe.d/iTCO_wdt.conf", "state": "absent" } ok: [managed_node1] => (item=/etc/modules-load.d/softdog.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/etc/modules-load.d/softdog.conf", "path": "/etc/modules-load.d/softdog.conf", "state": "absent" } TASK [Run HA Cluster role] ***************************************************** task path: /tmp/tmp.HT3TpLk6Gx/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/template_sbd_all_options.yml:25 Friday 26 July 2024 13:36:59 -0400 (0:00:00.822) 0:00:04.004 *********** included: fedora.linux_system_roles.ha_cluster for managed_node1 TASK [fedora.linux_system_roles.ha_cluster : Set platform/version specific variables] *** task path: /tmp/tmp.HT3TpLk6Gx/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/main.yml:3 Friday 26 July 2024 13:36:59 -0400 (0:00:00.053) 0:00:04.057 *********** included: /tmp/tmp.HT3TpLk6Gx/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.ha_cluster : Ensure ansible_facts used by role] *** task path: /tmp/tmp.HT3TpLk6Gx/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/set_vars.yml:2 Friday 26 July 2024 13:36:59 -0400 (0:00:00.025) 0:00:04.083 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "__ha_cluster_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ha_cluster : Check if system is ostree] ******** task path: /tmp/tmp.HT3TpLk6Gx/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/set_vars.yml:10 Friday 26 July 2024 13:37:00 -0400 (0:00:00.024) 0:00:04.107 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "not __ha_cluster_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ha_cluster : Set flag to indicate system is ostree] *** task path: /tmp/tmp.HT3TpLk6Gx/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/set_vars.yml:15 Friday 26 July 2024 13:37:00 -0400 (0:00:00.020) 0:00:04.128 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "not __ha_cluster_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ha_cluster : Set platform/version specific variables] *** task path: /tmp/tmp.HT3TpLk6Gx/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/set_vars.yml:19 Friday 26 July 2024 13:37:00 -0400 (0:00:00.024) 0:00:04.152 *********** ok: [managed_node1] => (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", "openssl" ], "__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" ], "__ha_cluster_sbd_packages": [ "sbd" ], "__ha_cluster_services": [ "corosync", "corosync-qdevice", "pacemaker" ] }, "ansible_included_var_files": [ "/tmp/tmp.HT3TpLk6Gx/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [managed_node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed_node1] => (item=CentOS_10.yml) => { "ansible_facts": { "__ha_cluster_cloud_agents_packages": [ "resource-agents-cloud", "fence-agents-aliyun", "fence-agents-aws", "fence-agents-azure-arm", "fence-agents-compute", "fence-agents-gce", "fence-agents-ibm-powervs", "fence-agents-ibm-vpc", "fence-agents-kubevirt", "fence-agents-openstack" ], "__ha_cluster_repos": [ { "id": "highavailability", "name": "HighAvailability" }, { "id": "resilientstorage", "name": "ResilientStorage" } ] }, "ansible_included_var_files": [ "/tmp/tmp.HT3TpLk6Gx/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/vars/CentOS_10.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_10.yml" } ok: [managed_node1] => (item=CentOS_10.yml) => { "ansible_facts": { "__ha_cluster_cloud_agents_packages": [ "resource-agents-cloud", "fence-agents-aliyun", "fence-agents-aws", "fence-agents-azure-arm", "fence-agents-compute", "fence-agents-gce", "fence-agents-ibm-powervs", "fence-agents-ibm-vpc", "fence-agents-kubevirt", "fence-agents-openstack" ], "__ha_cluster_repos": [ { "id": "highavailability", "name": "HighAvailability" }, { "id": "resilientstorage", "name": "ResilientStorage" } ] }, "ansible_included_var_files": [ "/tmp/tmp.HT3TpLk6Gx/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/vars/CentOS_10.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_10.yml" } TASK [fedora.linux_system_roles.ha_cluster : Set Linux Pacemaker shell specific variables] *** task path: /tmp/tmp.HT3TpLk6Gx/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/set_vars.yml:34 Friday 26 July 2024 13:37:00 -0400 (0:00:00.050) 0:00:04.202 *********** ok: [managed_node1] => { "ansible_facts": {}, "ansible_included_var_files": [ "/tmp/tmp.HT3TpLk6Gx/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/tmp.HT3TpLk6Gx/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/main.yml:6 Friday 26 July 2024 13:37:00 -0400 (0:00:00.020) 0:00:04.222 *********** included: /tmp/tmp.HT3TpLk6Gx/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/enable-package-repositories.yml for managed_node1 TASK [fedora.linux_system_roles.ha_cluster : Find platform/version specific tasks to enable repositories] *** task path: /tmp/tmp.HT3TpLk6Gx/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/enable-package-repositories.yml:3 Friday 26 July 2024 13:37:00 -0400 (0:00:00.028) 0:00:04.251 *********** ok: [managed_node1] => (item=RedHat.yml) => { "ansible_facts": { "__ha_cluster_enable_repo_tasks_file": "/tmp/tmp.HT3TpLk6Gx/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_node1] => (item=CentOS.yml) => { "ansible_facts": { "__ha_cluster_enable_repo_tasks_file": "/tmp/tmp.HT3TpLk6Gx/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_node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__ha_cluster_enable_repo_tasks_file_candidate is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__ha_cluster_enable_repo_tasks_file_candidate is file", "item": "CentOS_10.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/tmp.HT3TpLk6Gx/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/enable-package-repositories.yml:21 Friday 26 July 2024 13:37:00 -0400 (0:00:00.046) 0:00:04.297 *********** included: /tmp/tmp.HT3TpLk6Gx/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/enable-repositories/CentOS.yml for managed_node1 TASK [fedora.linux_system_roles.ha_cluster : List active CentOS repositories] *** task path: /tmp/tmp.HT3TpLk6Gx/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/enable-repositories/CentOS.yml:3 Friday 26 July 2024 13:37:00 -0400 (0:00:00.035) 0:00:04.333 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "dnf", "repolist" ], "delta": "0:00:00.213134", "end": "2024-07-26 13:37:00.747191", "rc": 0, "start": "2024-07-26 13:37:00.534057" } STDOUT: repo id repo name appstream CentOS Stream 10 - AppStream baseos CentOS Stream 10 - BaseOS beaker-client Beaker Client - RedHatEnterpriseLinux9 beaker-harness Beaker harness beakerlib-libraries Copr repo for beakerlib-libraries owned by bgoncalv highavailability CentOS Stream 10 - HighAvailability TASK [fedora.linux_system_roles.ha_cluster : Enable CentOS repositories] ******* task path: /tmp/tmp.HT3TpLk6Gx/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/enable-repositories/CentOS.yml:10 Friday 26 July 2024 13:37:00 -0400 (0:00:00.569) 0:00:04.903 *********** skipping: [managed_node1] => (item={'id': 'highavailability', 'name': 'HighAvailability'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item.id not in __ha_cluster_repolist.stdout", "item": { "id": "highavailability", "name": "HighAvailability" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={'id': 'resilientstorage', 'name': 'ResilientStorage'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item.name != \"ResilientStorage\" or ha_cluster_enable_repos_resilient_storage", "item": { "id": "resilientstorage", "name": "ResilientStorage" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.ha_cluster : Install role essential packages] *** task path: /tmp/tmp.HT3TpLk6Gx/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/main.yml:11 Friday 26 July 2024 13:37:00 -0400 (0:00:00.022) 0:00:04.925 *********** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.ha_cluster : Check and prepare role variables] *** task path: /tmp/tmp.HT3TpLk6Gx/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/main.yml:17 Friday 26 July 2024 13:37:01 -0400 (0:00:00.852) 0:00:05.778 *********** included: /tmp/tmp.HT3TpLk6Gx/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/shell_pcs/check-and-prepare-role-variables.yml for managed_node1 TASK [fedora.linux_system_roles.ha_cluster : Discover cluster node names] ****** task path: /tmp/tmp.HT3TpLk6Gx/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/shell_pcs/check-and-prepare-role-variables.yml:3 Friday 26 July 2024 13:37:01 -0400 (0:00:00.047) 0:00:05.826 *********** ok: [managed_node1] => { "ansible_facts": { "__ha_cluster_node_name": "localhost" }, "changed": false } TASK [fedora.linux_system_roles.ha_cluster : Collect cluster node names] ******* task path: /tmp/tmp.HT3TpLk6Gx/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/shell_pcs/check-and-prepare-role-variables.yml:7 Friday 26 July 2024 13:37:01 -0400 (0:00:00.026) 0:00:05.852 *********** ok: [managed_node1] => { "ansible_facts": { "__ha_cluster_all_node_names": [ "localhost" ] }, "changed": false } TASK [fedora.linux_system_roles.ha_cluster : Fail if ha_cluster_node_options contains unknown or duplicate nodes] *** task path: /tmp/tmp.HT3TpLk6Gx/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/shell_pcs/check-and-prepare-role-variables.yml:16 Friday 26 July 2024 13:37:01 -0400 (0:00:00.030) 0:00:05.883 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "(\n __nodes_from_options != (__nodes_from_options | unique)\n) or (\n __nodes_from_options | difference(__ha_cluster_all_node_names)\n)\n", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ha_cluster : Extract node options] ************* task path: /tmp/tmp.HT3TpLk6Gx/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/shell_pcs/check-and-prepare-role-variables.yml:30 Friday 26 July 2024 13:37:01 -0400 (0:00:00.026) 0:00:05.910 *********** ok: [managed_node1] => { "ansible_facts": { "__ha_cluster_local_node": { "node_name": "localhost", "sbd_devices": [ "/dev/loop0" ], "sbd_watchdog": "/dev/null", "sbd_watchdog_modules": [ "softdog" ], "sbd_watchdog_modules_blocklist": [ "iTCO_wdt" ] } }, "changed": false } TASK [fedora.linux_system_roles.ha_cluster : Fail if passwords are not specified] *** task path: /tmp/tmp.HT3TpLk6Gx/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/shell_pcs/check-and-prepare-role-variables.yml:43 Friday 26 July 2024 13:37:01 -0400 (0:00:00.034) 0:00:05.944 *********** failed: [managed_node1] (item=ha_cluster_hacluster_password) => { "ansible_loop_var": "item", "changed": false, "item": "ha_cluster_hacluster_password" } MSG: ha_cluster_hacluster_password must be specified TASK [Unset SBD devices and watchdog variables] ******************************** task path: /tmp/tmp.HT3TpLk6Gx/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_sbd_all_options_play.yml:46 Friday 26 July 2024 13:37:01 -0400 (0:00:00.032) 0:00:05.977 *********** ok: [managed_node1] => { "ansible_facts": { "__test_node_options": null }, "changed": false } TASK [Clean up test environment for SBD] *************************************** task path: /tmp/tmp.HT3TpLk6Gx/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_sbd_all_options_play.yml:50 Friday 26 July 2024 13:37:01 -0400 (0:00:00.016) 0:00:05.994 *********** included: fedora.linux_system_roles.ha_cluster for managed_node1 TASK [fedora.linux_system_roles.ha_cluster : Unmount SBD devices] ************** task path: /tmp/tmp.HT3TpLk6Gx/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_cleanup_sbd.yml:9 Friday 26 July 2024 13:37:01 -0400 (0:00:00.042) 0:00:06.036 *********** changed: [managed_node1] => { "changed": true, "cmd": [ "losetup", "-d", "/dev/loop0" ], "delta": "0:00:00.008846", "end": "2024-07-26 13:37:02.256373", "rc": 0, "start": "2024-07-26 13:37:02.247527" } TASK [fedora.linux_system_roles.ha_cluster : Delete backing files for SBD devices] *** task path: /tmp/tmp.HT3TpLk6Gx/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_cleanup_sbd.yml:14 Friday 26 July 2024 13:37:02 -0400 (0:00:00.385) 0:00:06.421 *********** ok: [managed_node1] => { "changed": false, "path": "{'changed': True, 'path': '/tmp/ansible.1yysofxh_ha_cluster_tests', 'uid': 0, 'gid': 0, 'owner': 'root', 'group': 'root', 'mode': '0600', 'state': 'file', 'secontext': 'unconfined_u:object_r:user_tmp_t:s0', 'size': 0, 'failed': False}", "state": "absent" } PLAY RECAP ********************************************************************* managed_node1 : ok=29 changed=4 unreachable=0 failed=1 skipped=9 rescued=0 ignored=0 Friday 26 July 2024 13:37:02 -0400 (0:00:00.373) 0:00:06.795 *********** =============================================================================== Gathering Facts --------------------------------------------------------- 1.19s /tmp/tmp.HT3TpLk6Gx/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_sbd_all_options_play.yml:3 fedora.linux_system_roles.ha_cluster : Install role essential packages --- 0.85s /tmp/tmp.HT3TpLk6Gx/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/main.yml:11 Ensure modprobe files are not present ----------------------------------- 0.82s /tmp/tmp.HT3TpLk6Gx/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/template_sbd_all_options.yml:17 fedora.linux_system_roles.ha_cluster : List active CentOS repositories --- 0.57s /tmp/tmp.HT3TpLk6Gx/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.46s /tmp/tmp.HT3TpLk6Gx/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup_sbd.yml:21 fedora.linux_system_roles.ha_cluster : Check if system is ostree -------- 0.45s /tmp/tmp.HT3TpLk6Gx/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:22 fedora.linux_system_roles.ha_cluster : Create backing files for SBD devices --- 0.43s /tmp/tmp.HT3TpLk6Gx/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup_sbd.yml:15 fedora.linux_system_roles.ha_cluster : Unmount SBD devices -------------- 0.39s /tmp/tmp.HT3TpLk6Gx/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_cleanup_sbd.yml:9 fedora.linux_system_roles.ha_cluster : Mount SBD devices ---------------- 0.38s /tmp/tmp.HT3TpLk6Gx/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup_sbd.yml:26 fedora.linux_system_roles.ha_cluster : Delete backing files for SBD devices --- 0.37s /tmp/tmp.HT3TpLk6Gx/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_cleanup_sbd.yml:14 Run HA Cluster role ----------------------------------------------------- 0.05s /tmp/tmp.HT3TpLk6Gx/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/template_sbd_all_options.yml:25 fedora.linux_system_roles.ha_cluster : Set platform/version specific variables --- 0.05s /tmp/tmp.HT3TpLk6Gx/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/set_vars.yml:19 fedora.linux_system_roles.ha_cluster : Check and prepare role variables --- 0.05s /tmp/tmp.HT3TpLk6Gx/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/main.yml:17 fedora.linux_system_roles.ha_cluster : Find platform/version specific tasks to enable repositories --- 0.05s /tmp/tmp.HT3TpLk6Gx/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/enable-package-repositories.yml:3 Clean up test environment for SBD --------------------------------------- 0.04s /tmp/tmp.HT3TpLk6Gx/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_sbd_all_options_play.yml:50 Run the role and assert results ----------------------------------------- 0.04s /tmp/tmp.HT3TpLk6Gx/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_sbd_all_options_play.yml:40 fedora.linux_system_roles.ha_cluster : Run platform/version specific tasks to enable repositories --- 0.04s /tmp/tmp.HT3TpLk6Gx/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/enable-package-repositories.yml:21 fedora.linux_system_roles.ha_cluster : Extract node options ------------- 0.03s /tmp/tmp.HT3TpLk6Gx/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/shell_pcs/check-and-prepare-role-variables.yml:30 fedora.linux_system_roles.ha_cluster : Fail if passwords are not specified --- 0.03s /tmp/tmp.HT3TpLk6Gx/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/shell_pcs/check-and-prepare-role-variables.yml:43 Set up test environment ------------------------------------------------- 0.03s /tmp/tmp.HT3TpLk6Gx/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_sbd_all_options_play.yml:11