[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.yBP9EPEu1M executable location = /usr/local/bin/ansible-playbook python version = 3.12.4 (main, Jun 7 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_cib_stonith_levels_validation.yml ****************************** 2 plays in /tmp/tmp.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_cib_stonith_levels_validation.yml PLAY [all] ********************************************************************* TASK [Include vault variables] ************************************************* task path: /tmp/tmp.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_cib_stonith_levels_validation.yml:5 Saturday 03 August 2024 02:34:35 -0400 (0:00:00.010) 0:00:00.010 ******* 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-generaler7lnes3/plans/general/tree/ha_cluster/tests/vars/vault-variables.yml" ], "changed": false } PLAY [Ensure stonith levels are properly defined] ****************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_cib_stonith_levels_validation.yml:9 Saturday 03 August 2024 02:34:35 -0400 (0:00:00.059) 0:00:00.070 ******* [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.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_cib_stonith_levels_validation.yml:17 Saturday 03 August 2024 02:34:36 -0400 (0:00:01.734) 0:00:01.805 ******* 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.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:9 Saturday 03 August 2024 02:34:36 -0400 (0:00:00.036) 0:00:01.841 ******* 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.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:14 Saturday 03 August 2024 02:34:36 -0400 (0:00:00.043) 0:00:01.885 ******* 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.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:22 Saturday 03 August 2024 02:34:36 -0400 (0:00:00.017) 0:00:01.902 ******* 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.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:27 Saturday 03 August 2024 02:34:37 -0400 (0:00:00.493) 0:00:02.395 ******* 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.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:32 Saturday 03 August 2024 02:34:37 -0400 (0:00:00.026) 0:00:02.422 ******* 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.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:41 Saturday 03 August 2024 02:34:37 -0400 (0:00:00.017) 0:00:02.439 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__ha_cluster_is_ostree | d(false)", "skip_reason": "Conditional result was False" } TASK [Run HA Cluster role 1] *************************************************** task path: /tmp/tmp.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_cib_stonith_levels_validation.yml:24 Saturday 03 August 2024 02:34:37 -0400 (0:00:00.042) 0:00:02.482 ******* 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.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/main.yml:3 Saturday 03 August 2024 02:34:37 -0400 (0:00:00.049) 0:00:02.532 ******* included: /tmp/tmp.yBP9EPEu1M/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.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/set_vars.yml:2 Saturday 03 August 2024 02:34:37 -0400 (0:00:00.028) 0:00:02.560 ******* 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.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/set_vars.yml:10 Saturday 03 August 2024 02:34:37 -0400 (0:00:00.042) 0:00:02.603 ******* 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.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/set_vars.yml:15 Saturday 03 August 2024 02:34:37 -0400 (0:00:00.024) 0:00:02.627 ******* 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.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/set_vars.yml:19 Saturday 03 August 2024 02:34:37 -0400 (0:00:00.023) 0:00:02.651 ******* 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.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [managed_node1] => (item=Fedora.yml) => { "ansible_facts": { "__ha_cluster_cloud_agents_packages": [] }, "ansible_included_var_files": [ "/tmp/tmp.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ha_cluster : Set Linux Pacemaker shell specific variables] *** task path: /tmp/tmp.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/set_vars.yml:34 Saturday 03 August 2024 02:34:37 -0400 (0:00:00.050) 0:00:02.702 ******* ok: [managed_node1] => { "ansible_facts": {}, "ansible_included_var_files": [ "/tmp/tmp.yBP9EPEu1M/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.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/main.yml:6 Saturday 03 August 2024 02:34:37 -0400 (0:00:00.021) 0:00:02.723 ******* included: /tmp/tmp.yBP9EPEu1M/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.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/enable-package-repositories.yml:3 Saturday 03 August 2024 02:34:37 -0400 (0:00:00.029) 0:00:02.753 ******* ok: [managed_node1] => (item=RedHat.yml) => { "ansible_facts": { "__ha_cluster_enable_repo_tasks_file": "/tmp/tmp.yBP9EPEu1M/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=Fedora.yml) => { "ansible_facts": { "__ha_cluster_enable_repo_tasks_file": "/tmp/tmp.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/enable-repositories/Fedora.yml" }, "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__ha_cluster_enable_repo_tasks_file_candidate is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__ha_cluster_enable_repo_tasks_file_candidate is file", "item": "Fedora_40.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.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/enable-package-repositories.yml:21 Saturday 03 August 2024 02:34:37 -0400 (0:00:00.051) 0:00:02.804 ******* included: /tmp/tmp.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/enable-repositories/Fedora.yml for managed_node1 TASK [fedora.linux_system_roles.ha_cluster : Install role essential packages] *** task path: /tmp/tmp.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/main.yml:11 Saturday 03 August 2024 02:34:37 -0400 (0:00:00.049) 0:00:02.854 ******* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: corosync-qnetd pcs TASK [fedora.linux_system_roles.ha_cluster : Check and prepare role variables] *** task path: /tmp/tmp.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/main.yml:17 Saturday 03 August 2024 02:34:39 -0400 (0:00:01.546) 0:00:04.400 ******* included: /tmp/tmp.yBP9EPEu1M/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.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/shell_pcs/check-and-prepare-role-variables.yml:3 Saturday 03 August 2024 02:34:39 -0400 (0:00:00.050) 0:00:04.450 ******* 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.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/shell_pcs/check-and-prepare-role-variables.yml:7 Saturday 03 August 2024 02:34:39 -0400 (0:00:00.043) 0:00:04.494 ******* 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.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/shell_pcs/check-and-prepare-role-variables.yml:16 Saturday 03 August 2024 02:34:39 -0400 (0:00:00.048) 0:00:04.542 ******* 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.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/shell_pcs/check-and-prepare-role-variables.yml:30 Saturday 03 August 2024 02:34:39 -0400 (0:00:00.043) 0:00:04.586 ******* ok: [managed_node1] => { "ansible_facts": { "__ha_cluster_local_node": {} }, "changed": false } TASK [fedora.linux_system_roles.ha_cluster : Fail if passwords are not specified] *** task path: /tmp/tmp.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/shell_pcs/check-and-prepare-role-variables.yml:43 Saturday 03 August 2024 02:34:39 -0400 (0:00:00.048) 0:00:04.634 ******* skipping: [managed_node1] => (item=ha_cluster_hacluster_password) => { "ansible_loop_var": "item", "changed": false, "false_condition": "lookup(\"vars\", item, default=\"\") | string | length < 1", "item": "ha_cluster_hacluster_password", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.ha_cluster : Fail if nodes do not have the same number of SBD devices specified] *** task path: /tmp/tmp.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/shell_pcs/check-and-prepare-role-variables.yml:53 Saturday 03 August 2024 02:34:39 -0400 (0:00:00.071) 0:00:04.706 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ha_cluster_sbd_enabled", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ha_cluster : Fail if configuring qnetd on a cluster node] *** task path: /tmp/tmp.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/shell_pcs/check-and-prepare-role-variables.yml:69 Saturday 03 August 2024 02:34:39 -0400 (0:00:00.018) 0:00:04.725 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ha_cluster_qnetd.present | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ha_cluster : Fail if no valid level is specified for a fencing level] *** task path: /tmp/tmp.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/shell_pcs/check-and-prepare-role-variables.yml:79 Saturday 03 August 2024 02:34:39 -0400 (0:00:00.040) 0:00:04.765 ******* skipping: [managed_node1] => (item={'level': 1, 'resource_ids': ['fence1']}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "not((item.level | d() | int) > 0 and (item.level | d() | int) < 10)", "item": { "level": 1, "resource_ids": [ "fence1" ] }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.ha_cluster : Fail if no target is specified for a fencing level] *** task path: /tmp/tmp.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/shell_pcs/check-and-prepare-role-variables.yml:87 Saturday 03 August 2024 02:34:39 -0400 (0:00:00.046) 0:00:04.812 ******* failed: [managed_node1] (item={'level': 1, 'resource_ids': ['fence1']}) => { "ansible_loop_var": "item", "changed": false, "item": { "level": 1, "resource_ids": [ "fence1" ] } } MSG: Specify exactly one of 'target', 'target_pattern', 'target_attribute' for each fencing level TASK [Check errors 1] ********************************************************** task path: /tmp/tmp.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_cib_stonith_levels_validation.yml:34 Saturday 03 August 2024 02:34:39 -0400 (0:00:00.056) 0:00:04.868 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Run HA Cluster role 2] *************************************************** task path: /tmp/tmp.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_cib_stonith_levels_validation.yml:42 Saturday 03 August 2024 02:34:39 -0400 (0:00:00.022) 0:00:04.890 ******* 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.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/main.yml:3 Saturday 03 August 2024 02:34:39 -0400 (0:00:00.049) 0:00:04.940 ******* included: /tmp/tmp.yBP9EPEu1M/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.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/set_vars.yml:2 Saturday 03 August 2024 02:34:39 -0400 (0:00:00.028) 0:00:04.968 ******* 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.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/set_vars.yml:10 Saturday 03 August 2024 02:34:40 -0400 (0:00:00.043) 0:00:05.011 ******* 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.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/set_vars.yml:15 Saturday 03 August 2024 02:34:40 -0400 (0:00:00.024) 0:00:05.035 ******* 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.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/set_vars.yml:19 Saturday 03 August 2024 02:34:40 -0400 (0:00:00.023) 0:00:05.059 ******* 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.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [managed_node1] => (item=Fedora.yml) => { "ansible_facts": { "__ha_cluster_cloud_agents_packages": [] }, "ansible_included_var_files": [ "/tmp/tmp.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ha_cluster : Set Linux Pacemaker shell specific variables] *** task path: /tmp/tmp.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/set_vars.yml:34 Saturday 03 August 2024 02:34:40 -0400 (0:00:00.050) 0:00:05.110 ******* ok: [managed_node1] => { "ansible_facts": {}, "ansible_included_var_files": [ "/tmp/tmp.yBP9EPEu1M/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.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/main.yml:6 Saturday 03 August 2024 02:34:40 -0400 (0:00:00.022) 0:00:05.133 ******* included: /tmp/tmp.yBP9EPEu1M/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.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/enable-package-repositories.yml:3 Saturday 03 August 2024 02:34:40 -0400 (0:00:00.030) 0:00:05.164 ******* ok: [managed_node1] => (item=RedHat.yml) => { "ansible_facts": { "__ha_cluster_enable_repo_tasks_file": "/tmp/tmp.yBP9EPEu1M/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=Fedora.yml) => { "ansible_facts": { "__ha_cluster_enable_repo_tasks_file": "/tmp/tmp.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/enable-repositories/Fedora.yml" }, "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__ha_cluster_enable_repo_tasks_file_candidate is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__ha_cluster_enable_repo_tasks_file_candidate is file", "item": "Fedora_40.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.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/enable-package-repositories.yml:21 Saturday 03 August 2024 02:34:40 -0400 (0:00:00.052) 0:00:05.216 ******* included: /tmp/tmp.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/enable-repositories/Fedora.yml for managed_node1 TASK [fedora.linux_system_roles.ha_cluster : Install role essential packages] *** task path: /tmp/tmp.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/main.yml:11 Saturday 03 August 2024 02:34:40 -0400 (0:00:00.053) 0:00:05.269 ******* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: corosync-qnetd pcs TASK [fedora.linux_system_roles.ha_cluster : Check and prepare role variables] *** task path: /tmp/tmp.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/main.yml:17 Saturday 03 August 2024 02:34:41 -0400 (0:00:01.432) 0:00:06.702 ******* included: /tmp/tmp.yBP9EPEu1M/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.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/shell_pcs/check-and-prepare-role-variables.yml:3 Saturday 03 August 2024 02:34:41 -0400 (0:00:00.050) 0:00:06.753 ******* 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.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/shell_pcs/check-and-prepare-role-variables.yml:7 Saturday 03 August 2024 02:34:41 -0400 (0:00:00.044) 0:00:06.797 ******* 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.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/shell_pcs/check-and-prepare-role-variables.yml:16 Saturday 03 August 2024 02:34:41 -0400 (0:00:00.048) 0:00:06.845 ******* 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.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/shell_pcs/check-and-prepare-role-variables.yml:30 Saturday 03 August 2024 02:34:41 -0400 (0:00:00.043) 0:00:06.889 ******* ok: [managed_node1] => { "ansible_facts": { "__ha_cluster_local_node": {} }, "changed": false } TASK [fedora.linux_system_roles.ha_cluster : Fail if passwords are not specified] *** task path: /tmp/tmp.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/shell_pcs/check-and-prepare-role-variables.yml:43 Saturday 03 August 2024 02:34:41 -0400 (0:00:00.048) 0:00:06.938 ******* skipping: [managed_node1] => (item=ha_cluster_hacluster_password) => { "ansible_loop_var": "item", "changed": false, "false_condition": "lookup(\"vars\", item, default=\"\") | string | length < 1", "item": "ha_cluster_hacluster_password", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.ha_cluster : Fail if nodes do not have the same number of SBD devices specified] *** task path: /tmp/tmp.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/shell_pcs/check-and-prepare-role-variables.yml:53 Saturday 03 August 2024 02:34:42 -0400 (0:00:00.072) 0:00:07.010 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ha_cluster_sbd_enabled", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ha_cluster : Fail if configuring qnetd on a cluster node] *** task path: /tmp/tmp.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/shell_pcs/check-and-prepare-role-variables.yml:69 Saturday 03 August 2024 02:34:42 -0400 (0:00:00.019) 0:00:07.029 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ha_cluster_qnetd.present | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ha_cluster : Fail if no valid level is specified for a fencing level] *** task path: /tmp/tmp.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/shell_pcs/check-and-prepare-role-variables.yml:79 Saturday 03 August 2024 02:34:42 -0400 (0:00:00.040) 0:00:07.070 ******* skipping: [managed_node1] => (item={'level': 1, 'target': 'node', 'target_pattern': 'node', 'resource_ids': ['fence1']}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "not((item.level | d() | int) > 0 and (item.level | d() | int) < 10)", "item": { "level": 1, "resource_ids": [ "fence1" ], "target": "node", "target_pattern": "node" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.ha_cluster : Fail if no target is specified for a fencing level] *** task path: /tmp/tmp.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/shell_pcs/check-and-prepare-role-variables.yml:87 Saturday 03 August 2024 02:34:42 -0400 (0:00:00.047) 0:00:07.117 ******* failed: [managed_node1] (item={'level': 1, 'target': 'node', 'target_pattern': 'node', 'resource_ids': ['fence1']}) => { "ansible_loop_var": "item", "changed": false, "item": { "level": 1, "resource_ids": [ "fence1" ], "target": "node", "target_pattern": "node" } } MSG: Specify exactly one of 'target', 'target_pattern', 'target_attribute' for each fencing level TASK [Check errors 2] ********************************************************** task path: /tmp/tmp.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_cib_stonith_levels_validation.yml:54 Saturday 03 August 2024 02:34:42 -0400 (0:00:00.059) 0:00:07.176 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Run HA Cluster role 3] *************************************************** task path: /tmp/tmp.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_cib_stonith_levels_validation.yml:62 Saturday 03 August 2024 02:34:42 -0400 (0:00:00.022) 0:00:07.199 ******* 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.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/main.yml:3 Saturday 03 August 2024 02:34:42 -0400 (0:00:00.049) 0:00:07.249 ******* included: /tmp/tmp.yBP9EPEu1M/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.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/set_vars.yml:2 Saturday 03 August 2024 02:34:42 -0400 (0:00:00.028) 0:00:07.277 ******* 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.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/set_vars.yml:10 Saturday 03 August 2024 02:34:42 -0400 (0:00:00.044) 0:00:07.321 ******* 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.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/set_vars.yml:15 Saturday 03 August 2024 02:34:42 -0400 (0:00:00.024) 0:00:07.346 ******* 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.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/set_vars.yml:19 Saturday 03 August 2024 02:34:42 -0400 (0:00:00.024) 0:00:07.370 ******* 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.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [managed_node1] => (item=Fedora.yml) => { "ansible_facts": { "__ha_cluster_cloud_agents_packages": [] }, "ansible_included_var_files": [ "/tmp/tmp.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ha_cluster : Set Linux Pacemaker shell specific variables] *** task path: /tmp/tmp.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/set_vars.yml:34 Saturday 03 August 2024 02:34:42 -0400 (0:00:00.051) 0:00:07.422 ******* ok: [managed_node1] => { "ansible_facts": {}, "ansible_included_var_files": [ "/tmp/tmp.yBP9EPEu1M/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.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/main.yml:6 Saturday 03 August 2024 02:34:42 -0400 (0:00:00.023) 0:00:07.445 ******* included: /tmp/tmp.yBP9EPEu1M/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.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/enable-package-repositories.yml:3 Saturday 03 August 2024 02:34:42 -0400 (0:00:00.030) 0:00:07.475 ******* ok: [managed_node1] => (item=RedHat.yml) => { "ansible_facts": { "__ha_cluster_enable_repo_tasks_file": "/tmp/tmp.yBP9EPEu1M/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=Fedora.yml) => { "ansible_facts": { "__ha_cluster_enable_repo_tasks_file": "/tmp/tmp.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/enable-repositories/Fedora.yml" }, "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__ha_cluster_enable_repo_tasks_file_candidate is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__ha_cluster_enable_repo_tasks_file_candidate is file", "item": "Fedora_40.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.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/enable-package-repositories.yml:21 Saturday 03 August 2024 02:34:42 -0400 (0:00:00.062) 0:00:07.537 ******* included: /tmp/tmp.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/enable-repositories/Fedora.yml for managed_node1 TASK [fedora.linux_system_roles.ha_cluster : Install role essential packages] *** task path: /tmp/tmp.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/main.yml:11 Saturday 03 August 2024 02:34:42 -0400 (0:00:00.051) 0:00:07.589 ******* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: corosync-qnetd pcs TASK [fedora.linux_system_roles.ha_cluster : Check and prepare role variables] *** task path: /tmp/tmp.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/main.yml:17 Saturday 03 August 2024 02:34:44 -0400 (0:00:01.437) 0:00:09.026 ******* included: /tmp/tmp.yBP9EPEu1M/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.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/shell_pcs/check-and-prepare-role-variables.yml:3 Saturday 03 August 2024 02:34:44 -0400 (0:00:00.048) 0:00:09.074 ******* 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.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/shell_pcs/check-and-prepare-role-variables.yml:7 Saturday 03 August 2024 02:34:44 -0400 (0:00:00.043) 0:00:09.118 ******* 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.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/shell_pcs/check-and-prepare-role-variables.yml:16 Saturday 03 August 2024 02:34:44 -0400 (0:00:00.049) 0:00:09.167 ******* 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.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/shell_pcs/check-and-prepare-role-variables.yml:30 Saturday 03 August 2024 02:34:44 -0400 (0:00:00.044) 0:00:09.211 ******* ok: [managed_node1] => { "ansible_facts": { "__ha_cluster_local_node": {} }, "changed": false } TASK [fedora.linux_system_roles.ha_cluster : Fail if passwords are not specified] *** task path: /tmp/tmp.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/shell_pcs/check-and-prepare-role-variables.yml:43 Saturday 03 August 2024 02:34:44 -0400 (0:00:00.048) 0:00:09.260 ******* skipping: [managed_node1] => (item=ha_cluster_hacluster_password) => { "ansible_loop_var": "item", "changed": false, "false_condition": "lookup(\"vars\", item, default=\"\") | string | length < 1", "item": "ha_cluster_hacluster_password", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.ha_cluster : Fail if nodes do not have the same number of SBD devices specified] *** task path: /tmp/tmp.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/shell_pcs/check-and-prepare-role-variables.yml:53 Saturday 03 August 2024 02:34:44 -0400 (0:00:00.070) 0:00:09.331 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ha_cluster_sbd_enabled", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ha_cluster : Fail if configuring qnetd on a cluster node] *** task path: /tmp/tmp.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/shell_pcs/check-and-prepare-role-variables.yml:69 Saturday 03 August 2024 02:34:44 -0400 (0:00:00.018) 0:00:09.350 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ha_cluster_qnetd.present | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ha_cluster : Fail if no valid level is specified for a fencing level] *** task path: /tmp/tmp.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/shell_pcs/check-and-prepare-role-variables.yml:79 Saturday 03 August 2024 02:34:44 -0400 (0:00:00.042) 0:00:09.392 ******* failed: [managed_node1] (item={'target': 'node', 'resource_ids': ['fence1']}) => { "ansible_loop_var": "item", "changed": false, "item": { "resource_ids": [ "fence1" ], "target": "node" } } MSG: Specify 'level' 1..9 for each fencing level TASK [Check errors 3] ********************************************************** task path: /tmp/tmp.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_cib_stonith_levels_validation.yml:72 Saturday 03 August 2024 02:34:44 -0400 (0:00:00.052) 0:00:09.445 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Run HA Cluster role 4] *************************************************** task path: /tmp/tmp.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_cib_stonith_levels_validation.yml:80 Saturday 03 August 2024 02:34:44 -0400 (0:00:00.022) 0:00:09.468 ******* 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.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/main.yml:3 Saturday 03 August 2024 02:34:44 -0400 (0:00:00.048) 0:00:09.517 ******* included: /tmp/tmp.yBP9EPEu1M/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.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/set_vars.yml:2 Saturday 03 August 2024 02:34:44 -0400 (0:00:00.028) 0:00:09.545 ******* 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.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/set_vars.yml:10 Saturday 03 August 2024 02:34:44 -0400 (0:00:00.043) 0:00:09.589 ******* 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.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/set_vars.yml:15 Saturday 03 August 2024 02:34:44 -0400 (0:00:00.023) 0:00:09.612 ******* 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.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/set_vars.yml:19 Saturday 03 August 2024 02:34:44 -0400 (0:00:00.024) 0:00:09.637 ******* 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.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [managed_node1] => (item=Fedora.yml) => { "ansible_facts": { "__ha_cluster_cloud_agents_packages": [] }, "ansible_included_var_files": [ "/tmp/tmp.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ha_cluster : Set Linux Pacemaker shell specific variables] *** task path: /tmp/tmp.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/set_vars.yml:34 Saturday 03 August 2024 02:34:44 -0400 (0:00:00.050) 0:00:09.688 ******* ok: [managed_node1] => { "ansible_facts": {}, "ansible_included_var_files": [ "/tmp/tmp.yBP9EPEu1M/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.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/main.yml:6 Saturday 03 August 2024 02:34:44 -0400 (0:00:00.022) 0:00:09.710 ******* included: /tmp/tmp.yBP9EPEu1M/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.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/enable-package-repositories.yml:3 Saturday 03 August 2024 02:34:44 -0400 (0:00:00.030) 0:00:09.741 ******* ok: [managed_node1] => (item=RedHat.yml) => { "ansible_facts": { "__ha_cluster_enable_repo_tasks_file": "/tmp/tmp.yBP9EPEu1M/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=Fedora.yml) => { "ansible_facts": { "__ha_cluster_enable_repo_tasks_file": "/tmp/tmp.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/enable-repositories/Fedora.yml" }, "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__ha_cluster_enable_repo_tasks_file_candidate is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__ha_cluster_enable_repo_tasks_file_candidate is file", "item": "Fedora_40.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.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/enable-package-repositories.yml:21 Saturday 03 August 2024 02:34:44 -0400 (0:00:00.052) 0:00:09.793 ******* included: /tmp/tmp.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/enable-repositories/Fedora.yml for managed_node1 TASK [fedora.linux_system_roles.ha_cluster : Install role essential packages] *** task path: /tmp/tmp.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/main.yml:11 Saturday 03 August 2024 02:34:44 -0400 (0:00:00.050) 0:00:09.844 ******* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: corosync-qnetd pcs TASK [fedora.linux_system_roles.ha_cluster : Check and prepare role variables] *** task path: /tmp/tmp.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/main.yml:17 Saturday 03 August 2024 02:34:46 -0400 (0:00:01.431) 0:00:11.276 ******* included: /tmp/tmp.yBP9EPEu1M/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.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/shell_pcs/check-and-prepare-role-variables.yml:3 Saturday 03 August 2024 02:34:46 -0400 (0:00:00.048) 0:00:11.324 ******* 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.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/shell_pcs/check-and-prepare-role-variables.yml:7 Saturday 03 August 2024 02:34:46 -0400 (0:00:00.044) 0:00:11.369 ******* 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.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/shell_pcs/check-and-prepare-role-variables.yml:16 Saturday 03 August 2024 02:34:46 -0400 (0:00:00.048) 0:00:11.418 ******* 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.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/shell_pcs/check-and-prepare-role-variables.yml:30 Saturday 03 August 2024 02:34:46 -0400 (0:00:00.043) 0:00:11.461 ******* ok: [managed_node1] => { "ansible_facts": { "__ha_cluster_local_node": {} }, "changed": false } TASK [fedora.linux_system_roles.ha_cluster : Fail if passwords are not specified] *** task path: /tmp/tmp.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/shell_pcs/check-and-prepare-role-variables.yml:43 Saturday 03 August 2024 02:34:46 -0400 (0:00:00.051) 0:00:11.512 ******* skipping: [managed_node1] => (item=ha_cluster_hacluster_password) => { "ansible_loop_var": "item", "changed": false, "false_condition": "lookup(\"vars\", item, default=\"\") | string | length < 1", "item": "ha_cluster_hacluster_password", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.ha_cluster : Fail if nodes do not have the same number of SBD devices specified] *** task path: /tmp/tmp.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/shell_pcs/check-and-prepare-role-variables.yml:53 Saturday 03 August 2024 02:34:46 -0400 (0:00:00.073) 0:00:11.585 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ha_cluster_sbd_enabled", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ha_cluster : Fail if configuring qnetd on a cluster node] *** task path: /tmp/tmp.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/shell_pcs/check-and-prepare-role-variables.yml:69 Saturday 03 August 2024 02:34:46 -0400 (0:00:00.019) 0:00:11.604 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ha_cluster_qnetd.present | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ha_cluster : Fail if no valid level is specified for a fencing level] *** task path: /tmp/tmp.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/shell_pcs/check-and-prepare-role-variables.yml:79 Saturday 03 August 2024 02:34:46 -0400 (0:00:00.044) 0:00:11.648 ******* failed: [managed_node1] (item={'level': 10, 'target': 'node', 'resource_ids': ['fence1']}) => { "ansible_loop_var": "item", "changed": false, "item": { "level": 10, "resource_ids": [ "fence1" ], "target": "node" } } MSG: Specify 'level' 1..9 for each fencing level TASK [Check errors 4] ********************************************************** task path: /tmp/tmp.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_cib_stonith_levels_validation.yml:91 Saturday 03 August 2024 02:34:46 -0400 (0:00:00.054) 0:00:11.703 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* managed_node1 : ok=58 changed=0 unreachable=0 failed=0 skipped=33 rescued=4 ignored=0 Saturday 03 August 2024 02:34:46 -0400 (0:00:00.032) 0:00:11.735 ******* =============================================================================== Gathering Facts --------------------------------------------------------- 1.73s /tmp/tmp.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_cib_stonith_levels_validation.yml:9 fedora.linux_system_roles.ha_cluster : Install role essential packages --- 1.55s /tmp/tmp.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/main.yml:11 fedora.linux_system_roles.ha_cluster : Install role essential packages --- 1.44s /tmp/tmp.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/main.yml:11 fedora.linux_system_roles.ha_cluster : Install role essential packages --- 1.43s /tmp/tmp.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/main.yml:11 fedora.linux_system_roles.ha_cluster : Install role essential packages --- 1.43s /tmp/tmp.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/main.yml:11 fedora.linux_system_roles.ha_cluster : Check if system is ostree -------- 0.49s /tmp/tmp.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:22 fedora.linux_system_roles.ha_cluster : Fail if passwords are not specified --- 0.07s /tmp/tmp.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/shell_pcs/check-and-prepare-role-variables.yml:43 fedora.linux_system_roles.ha_cluster : Fail if passwords are not specified --- 0.07s /tmp/tmp.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/shell_pcs/check-and-prepare-role-variables.yml:43 fedora.linux_system_roles.ha_cluster : Fail if passwords are not specified --- 0.07s /tmp/tmp.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/shell_pcs/check-and-prepare-role-variables.yml:43 fedora.linux_system_roles.ha_cluster : Fail if passwords are not specified --- 0.07s /tmp/tmp.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/shell_pcs/check-and-prepare-role-variables.yml:43 fedora.linux_system_roles.ha_cluster : Find platform/version specific tasks to enable repositories --- 0.06s /tmp/tmp.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/enable-package-repositories.yml:3 Include vault variables ------------------------------------------------- 0.06s /tmp/tmp.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_cib_stonith_levels_validation.yml:5 fedora.linux_system_roles.ha_cluster : Fail if no target is specified for a fencing level --- 0.06s /tmp/tmp.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/shell_pcs/check-and-prepare-role-variables.yml:87 fedora.linux_system_roles.ha_cluster : Fail if no target is specified for a fencing level --- 0.06s /tmp/tmp.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/shell_pcs/check-and-prepare-role-variables.yml:87 fedora.linux_system_roles.ha_cluster : Fail if no valid level is specified for a fencing level --- 0.05s /tmp/tmp.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/shell_pcs/check-and-prepare-role-variables.yml:79 fedora.linux_system_roles.ha_cluster : Run platform/version specific tasks to enable repositories --- 0.05s /tmp/tmp.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/enable-package-repositories.yml:21 fedora.linux_system_roles.ha_cluster : Fail if no valid level is specified for a fencing level --- 0.05s /tmp/tmp.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/shell_pcs/check-and-prepare-role-variables.yml:79 fedora.linux_system_roles.ha_cluster : Find platform/version specific tasks to enable repositories --- 0.05s /tmp/tmp.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/enable-package-repositories.yml:3 fedora.linux_system_roles.ha_cluster : Find platform/version specific tasks to enable repositories --- 0.05s /tmp/tmp.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/enable-package-repositories.yml:3 fedora.linux_system_roles.ha_cluster : Run platform/version specific tasks to enable repositories --- 0.05s /tmp/tmp.yBP9EPEu1M/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/enable-package-repositories.yml:21