[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.Ye81d6IJiA 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_cib_stonith_levels_validation.yml ****************************** 2 plays in /tmp/tmp.Ye81d6IJiA/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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_cib_stonith_levels_validation.yml:5 Tuesday 30 July 2024 09:50:14 -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-generalhwd_uo59/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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_cib_stonith_levels_validation.yml:9 Tuesday 30 July 2024 09:50:14 -0400 (0:00:00.053) 0:00:00.064 ********** [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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_cib_stonith_levels_validation.yml:17 Tuesday 30 July 2024 09:50:15 -0400 (0:00:01.314) 0:00:01.379 ********** 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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:9 Tuesday 30 July 2024 09:50:15 -0400 (0:00:00.033) 0:00:01.413 ********** 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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:14 Tuesday 30 July 2024 09:50:15 -0400 (0:00:00.025) 0:00:01.438 ********** 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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:22 Tuesday 30 July 2024 09:50:15 -0400 (0:00:00.017) 0:00:01.456 ********** 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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:27 Tuesday 30 July 2024 09:50:16 -0400 (0:00:00.518) 0:00:01.975 ********** 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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:32 Tuesday 30 July 2024 09:50:16 -0400 (0:00:00.023) 0:00:01.998 ********** 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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:41 Tuesday 30 July 2024 09:50:16 -0400 (0:00:00.014) 0:00:02.013 ********** 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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_cib_stonith_levels_validation.yml:24 Tuesday 30 July 2024 09:50:16 -0400 (0:00:00.023) 0:00:02.036 ********** 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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/main.yml:3 Tuesday 30 July 2024 09:50:16 -0400 (0:00:00.043) 0:00:02.080 ********** included: /tmp/tmp.Ye81d6IJiA/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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/set_vars.yml:2 Tuesday 30 July 2024 09:50:16 -0400 (0:00:00.025) 0:00:02.106 ********** 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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/set_vars.yml:10 Tuesday 30 July 2024 09:50:16 -0400 (0:00:00.023) 0:00:02.129 ********** 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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/set_vars.yml:15 Tuesday 30 July 2024 09:50:16 -0400 (0:00:00.020) 0:00:02.150 ********** 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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/set_vars.yml:19 Tuesday 30 July 2024 09:50:16 -0400 (0:00:00.019) 0:00:02.170 ********** 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.Ye81d6IJiA/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.Ye81d6IJiA/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.Ye81d6IJiA/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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/set_vars.yml:34 Tuesday 30 July 2024 09:50:16 -0400 (0:00:00.049) 0:00:02.219 ********** ok: [managed_node1] => { "ansible_facts": {}, "ansible_included_var_files": [ "/tmp/tmp.Ye81d6IJiA/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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/main.yml:6 Tuesday 30 July 2024 09:50:16 -0400 (0:00:00.018) 0:00:02.238 ********** included: /tmp/tmp.Ye81d6IJiA/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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/enable-package-repositories.yml:3 Tuesday 30 July 2024 09:50:16 -0400 (0:00:00.026) 0:00:02.264 ********** ok: [managed_node1] => (item=RedHat.yml) => { "ansible_facts": { "__ha_cluster_enable_repo_tasks_file": "/tmp/tmp.Ye81d6IJiA/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.Ye81d6IJiA/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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/enable-package-repositories.yml:21 Tuesday 30 July 2024 09:50:16 -0400 (0:00:00.044) 0:00:02.309 ********** included: /tmp/tmp.Ye81d6IJiA/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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/enable-repositories/CentOS.yml:3 Tuesday 30 July 2024 09:50:16 -0400 (0:00:00.033) 0:00:02.343 ********** ok: [managed_node1] => { "changed": false, "cmd": [ "dnf", "repolist" ], "delta": "0:00:00.282112", "end": "2024-07-30 09:50:17.433885", "rc": 0, "start": "2024-07-30 09:50:17.151773" } 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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/enable-repositories/CentOS.yml:10 Tuesday 30 July 2024 09:50:17 -0400 (0:00:00.790) 0:00:03.133 ********** 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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/main.yml:11 Tuesday 30 July 2024 09:50:17 -0400 (0:00:00.023) 0:00:03.157 ********** 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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/main.yml:17 Tuesday 30 July 2024 09:50:18 -0400 (0:00:01.029) 0:00:04.186 ********** included: /tmp/tmp.Ye81d6IJiA/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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/shell_pcs/check-and-prepare-role-variables.yml:3 Tuesday 30 July 2024 09:50:18 -0400 (0:00:00.045) 0:00:04.232 ********** 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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/shell_pcs/check-and-prepare-role-variables.yml:7 Tuesday 30 July 2024 09:50:18 -0400 (0:00:00.025) 0:00:04.257 ********** 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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/shell_pcs/check-and-prepare-role-variables.yml:16 Tuesday 30 July 2024 09:50:18 -0400 (0:00:00.029) 0:00:04.287 ********** 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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/shell_pcs/check-and-prepare-role-variables.yml:30 Tuesday 30 July 2024 09:50:18 -0400 (0:00:00.025) 0:00:04.312 ********** 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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/shell_pcs/check-and-prepare-role-variables.yml:43 Tuesday 30 July 2024 09:50:18 -0400 (0:00:00.029) 0:00:04.342 ********** 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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/shell_pcs/check-and-prepare-role-variables.yml:53 Tuesday 30 July 2024 09:50:18 -0400 (0:00:00.050) 0:00:04.393 ********** 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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/shell_pcs/check-and-prepare-role-variables.yml:69 Tuesday 30 July 2024 09:50:18 -0400 (0:00:00.015) 0:00:04.409 ********** 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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/shell_pcs/check-and-prepare-role-variables.yml:79 Tuesday 30 July 2024 09:50:18 -0400 (0:00:00.023) 0:00:04.432 ********** 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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/shell_pcs/check-and-prepare-role-variables.yml:87 Tuesday 30 July 2024 09:50:18 -0400 (0:00:00.027) 0:00:04.459 ********** 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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_cib_stonith_levels_validation.yml:34 Tuesday 30 July 2024 09:50:18 -0400 (0:00:00.035) 0:00:04.495 ********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Run HA Cluster role 2] *************************************************** task path: /tmp/tmp.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_cib_stonith_levels_validation.yml:42 Tuesday 30 July 2024 09:50:18 -0400 (0:00:00.019) 0:00:04.514 ********** 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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/main.yml:3 Tuesday 30 July 2024 09:50:18 -0400 (0:00:00.043) 0:00:04.558 ********** included: /tmp/tmp.Ye81d6IJiA/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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/set_vars.yml:2 Tuesday 30 July 2024 09:50:18 -0400 (0:00:00.024) 0:00:04.583 ********** 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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/set_vars.yml:10 Tuesday 30 July 2024 09:50:18 -0400 (0:00:00.024) 0:00:04.607 ********** 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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/set_vars.yml:15 Tuesday 30 July 2024 09:50:18 -0400 (0:00:00.020) 0:00:04.628 ********** 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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/set_vars.yml:19 Tuesday 30 July 2024 09:50:19 -0400 (0:00:00.020) 0:00:04.648 ********** 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.Ye81d6IJiA/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.Ye81d6IJiA/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.Ye81d6IJiA/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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/set_vars.yml:34 Tuesday 30 July 2024 09:50:19 -0400 (0:00:00.049) 0:00:04.698 ********** ok: [managed_node1] => { "ansible_facts": {}, "ansible_included_var_files": [ "/tmp/tmp.Ye81d6IJiA/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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/main.yml:6 Tuesday 30 July 2024 09:50:19 -0400 (0:00:00.019) 0:00:04.718 ********** included: /tmp/tmp.Ye81d6IJiA/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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/enable-package-repositories.yml:3 Tuesday 30 July 2024 09:50:19 -0400 (0:00:00.026) 0:00:04.744 ********** ok: [managed_node1] => (item=RedHat.yml) => { "ansible_facts": { "__ha_cluster_enable_repo_tasks_file": "/tmp/tmp.Ye81d6IJiA/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.Ye81d6IJiA/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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/enable-package-repositories.yml:21 Tuesday 30 July 2024 09:50:19 -0400 (0:00:00.047) 0:00:04.792 ********** included: /tmp/tmp.Ye81d6IJiA/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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/enable-repositories/CentOS.yml:3 Tuesday 30 July 2024 09:50:19 -0400 (0:00:00.035) 0:00:04.827 ********** ok: [managed_node1] => { "changed": false, "cmd": [ "dnf", "repolist" ], "delta": "0:00:00.285954", "end": "2024-07-30 09:50:19.838722", "rc": 0, "start": "2024-07-30 09:50:19.552768" } 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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/enable-repositories/CentOS.yml:10 Tuesday 30 July 2024 09:50:19 -0400 (0:00:00.709) 0:00:05.537 ********** 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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/main.yml:11 Tuesday 30 July 2024 09:50:19 -0400 (0:00:00.023) 0:00:05.560 ********** 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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/main.yml:17 Tuesday 30 July 2024 09:50:20 -0400 (0:00:00.913) 0:00:06.474 ********** included: /tmp/tmp.Ye81d6IJiA/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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/shell_pcs/check-and-prepare-role-variables.yml:3 Tuesday 30 July 2024 09:50:20 -0400 (0:00:00.044) 0:00:06.518 ********** 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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/shell_pcs/check-and-prepare-role-variables.yml:7 Tuesday 30 July 2024 09:50:20 -0400 (0:00:00.025) 0:00:06.544 ********** 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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/shell_pcs/check-and-prepare-role-variables.yml:16 Tuesday 30 July 2024 09:50:20 -0400 (0:00:00.029) 0:00:06.574 ********** 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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/shell_pcs/check-and-prepare-role-variables.yml:30 Tuesday 30 July 2024 09:50:20 -0400 (0:00:00.025) 0:00:06.599 ********** 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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/shell_pcs/check-and-prepare-role-variables.yml:43 Tuesday 30 July 2024 09:50:20 -0400 (0:00:00.029) 0:00:06.629 ********** 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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/shell_pcs/check-and-prepare-role-variables.yml:53 Tuesday 30 July 2024 09:50:21 -0400 (0:00:00.051) 0:00:06.680 ********** 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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/shell_pcs/check-and-prepare-role-variables.yml:69 Tuesday 30 July 2024 09:50:21 -0400 (0:00:00.016) 0:00:06.696 ********** 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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/shell_pcs/check-and-prepare-role-variables.yml:79 Tuesday 30 July 2024 09:50:21 -0400 (0:00:00.023) 0:00:06.720 ********** 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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/shell_pcs/check-and-prepare-role-variables.yml:87 Tuesday 30 July 2024 09:50:21 -0400 (0:00:00.027) 0:00:06.747 ********** 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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_cib_stonith_levels_validation.yml:54 Tuesday 30 July 2024 09:50:21 -0400 (0:00:00.037) 0:00:06.784 ********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Run HA Cluster role 3] *************************************************** task path: /tmp/tmp.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_cib_stonith_levels_validation.yml:62 Tuesday 30 July 2024 09:50:21 -0400 (0:00:00.020) 0:00:06.805 ********** 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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/main.yml:3 Tuesday 30 July 2024 09:50:21 -0400 (0:00:00.044) 0:00:06.849 ********** included: /tmp/tmp.Ye81d6IJiA/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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/set_vars.yml:2 Tuesday 30 July 2024 09:50:21 -0400 (0:00:00.024) 0:00:06.874 ********** 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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/set_vars.yml:10 Tuesday 30 July 2024 09:50:21 -0400 (0:00:00.024) 0:00:06.898 ********** 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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/set_vars.yml:15 Tuesday 30 July 2024 09:50:21 -0400 (0:00:00.020) 0:00:06.918 ********** 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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/set_vars.yml:19 Tuesday 30 July 2024 09:50:21 -0400 (0:00:00.020) 0:00:06.939 ********** 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.Ye81d6IJiA/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.Ye81d6IJiA/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.Ye81d6IJiA/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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/set_vars.yml:34 Tuesday 30 July 2024 09:50:21 -0400 (0:00:00.048) 0:00:06.989 ********** ok: [managed_node1] => { "ansible_facts": {}, "ansible_included_var_files": [ "/tmp/tmp.Ye81d6IJiA/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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/main.yml:6 Tuesday 30 July 2024 09:50:21 -0400 (0:00:00.019) 0:00:07.008 ********** included: /tmp/tmp.Ye81d6IJiA/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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/enable-package-repositories.yml:3 Tuesday 30 July 2024 09:50:21 -0400 (0:00:00.028) 0:00:07.037 ********** ok: [managed_node1] => (item=RedHat.yml) => { "ansible_facts": { "__ha_cluster_enable_repo_tasks_file": "/tmp/tmp.Ye81d6IJiA/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.Ye81d6IJiA/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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/enable-package-repositories.yml:21 Tuesday 30 July 2024 09:50:21 -0400 (0:00:00.046) 0:00:07.084 ********** included: /tmp/tmp.Ye81d6IJiA/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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/enable-repositories/CentOS.yml:3 Tuesday 30 July 2024 09:50:21 -0400 (0:00:00.035) 0:00:07.119 ********** ok: [managed_node1] => { "changed": false, "cmd": [ "dnf", "repolist" ], "delta": "0:00:00.283552", "end": "2024-07-30 09:50:22.134989", "rc": 0, "start": "2024-07-30 09:50:21.851437" } 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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/enable-repositories/CentOS.yml:10 Tuesday 30 July 2024 09:50:22 -0400 (0:00:00.715) 0:00:07.834 ********** 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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/main.yml:11 Tuesday 30 July 2024 09:50:22 -0400 (0:00:00.023) 0:00:07.858 ********** 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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/main.yml:17 Tuesday 30 July 2024 09:50:23 -0400 (0:00:01.079) 0:00:08.937 ********** included: /tmp/tmp.Ye81d6IJiA/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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/shell_pcs/check-and-prepare-role-variables.yml:3 Tuesday 30 July 2024 09:50:23 -0400 (0:00:00.042) 0:00:08.979 ********** 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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/shell_pcs/check-and-prepare-role-variables.yml:7 Tuesday 30 July 2024 09:50:23 -0400 (0:00:00.025) 0:00:09.004 ********** 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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/shell_pcs/check-and-prepare-role-variables.yml:16 Tuesday 30 July 2024 09:50:23 -0400 (0:00:00.029) 0:00:09.034 ********** 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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/shell_pcs/check-and-prepare-role-variables.yml:30 Tuesday 30 July 2024 09:50:23 -0400 (0:00:00.024) 0:00:09.058 ********** 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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/shell_pcs/check-and-prepare-role-variables.yml:43 Tuesday 30 July 2024 09:50:23 -0400 (0:00:00.029) 0:00:09.087 ********** 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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/shell_pcs/check-and-prepare-role-variables.yml:53 Tuesday 30 July 2024 09:50:23 -0400 (0:00:00.052) 0:00:09.140 ********** 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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/shell_pcs/check-and-prepare-role-variables.yml:69 Tuesday 30 July 2024 09:50:23 -0400 (0:00:00.016) 0:00:09.156 ********** 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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/shell_pcs/check-and-prepare-role-variables.yml:79 Tuesday 30 July 2024 09:50:23 -0400 (0:00:00.027) 0:00:09.183 ********** 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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_cib_stonith_levels_validation.yml:72 Tuesday 30 July 2024 09:50:23 -0400 (0:00:00.032) 0:00:09.216 ********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Run HA Cluster role 4] *************************************************** task path: /tmp/tmp.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_cib_stonith_levels_validation.yml:80 Tuesday 30 July 2024 09:50:23 -0400 (0:00:00.020) 0:00:09.236 ********** 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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/main.yml:3 Tuesday 30 July 2024 09:50:23 -0400 (0:00:00.045) 0:00:09.281 ********** included: /tmp/tmp.Ye81d6IJiA/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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/set_vars.yml:2 Tuesday 30 July 2024 09:50:23 -0400 (0:00:00.025) 0:00:09.307 ********** 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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/set_vars.yml:10 Tuesday 30 July 2024 09:50:23 -0400 (0:00:00.025) 0:00:09.333 ********** 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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/set_vars.yml:15 Tuesday 30 July 2024 09:50:23 -0400 (0:00:00.021) 0:00:09.355 ********** 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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/set_vars.yml:19 Tuesday 30 July 2024 09:50:23 -0400 (0:00:00.022) 0:00:09.378 ********** 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.Ye81d6IJiA/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.Ye81d6IJiA/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.Ye81d6IJiA/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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/set_vars.yml:34 Tuesday 30 July 2024 09:50:23 -0400 (0:00:00.052) 0:00:09.430 ********** ok: [managed_node1] => { "ansible_facts": {}, "ansible_included_var_files": [ "/tmp/tmp.Ye81d6IJiA/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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/main.yml:6 Tuesday 30 July 2024 09:50:23 -0400 (0:00:00.020) 0:00:09.450 ********** included: /tmp/tmp.Ye81d6IJiA/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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/enable-package-repositories.yml:3 Tuesday 30 July 2024 09:50:23 -0400 (0:00:00.026) 0:00:09.477 ********** ok: [managed_node1] => (item=RedHat.yml) => { "ansible_facts": { "__ha_cluster_enable_repo_tasks_file": "/tmp/tmp.Ye81d6IJiA/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.Ye81d6IJiA/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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/enable-package-repositories.yml:21 Tuesday 30 July 2024 09:50:23 -0400 (0:00:00.046) 0:00:09.524 ********** included: /tmp/tmp.Ye81d6IJiA/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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/enable-repositories/CentOS.yml:3 Tuesday 30 July 2024 09:50:23 -0400 (0:00:00.035) 0:00:09.559 ********** ok: [managed_node1] => { "changed": false, "cmd": [ "dnf", "repolist" ], "delta": "0:00:00.289124", "end": "2024-07-30 09:50:24.577366", "rc": 0, "start": "2024-07-30 09:50:24.288242" } 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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/enable-repositories/CentOS.yml:10 Tuesday 30 July 2024 09:50:24 -0400 (0:00:00.717) 0:00:10.276 ********** 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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/main.yml:11 Tuesday 30 July 2024 09:50:24 -0400 (0:00:00.023) 0:00:10.299 ********** 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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/main.yml:17 Tuesday 30 July 2024 09:50:25 -0400 (0:00:00.903) 0:00:11.203 ********** included: /tmp/tmp.Ye81d6IJiA/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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/shell_pcs/check-and-prepare-role-variables.yml:3 Tuesday 30 July 2024 09:50:25 -0400 (0:00:00.043) 0:00:11.246 ********** 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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/shell_pcs/check-and-prepare-role-variables.yml:7 Tuesday 30 July 2024 09:50:25 -0400 (0:00:00.029) 0:00:11.275 ********** 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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/shell_pcs/check-and-prepare-role-variables.yml:16 Tuesday 30 July 2024 09:50:25 -0400 (0:00:00.034) 0:00:11.309 ********** 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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/shell_pcs/check-and-prepare-role-variables.yml:30 Tuesday 30 July 2024 09:50:25 -0400 (0:00:00.025) 0:00:11.335 ********** 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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/shell_pcs/check-and-prepare-role-variables.yml:43 Tuesday 30 July 2024 09:50:25 -0400 (0:00:00.030) 0:00:11.366 ********** 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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/shell_pcs/check-and-prepare-role-variables.yml:53 Tuesday 30 July 2024 09:50:25 -0400 (0:00:00.052) 0:00:11.418 ********** 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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/shell_pcs/check-and-prepare-role-variables.yml:69 Tuesday 30 July 2024 09:50:25 -0400 (0:00:00.016) 0:00:11.434 ********** 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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/shell_pcs/check-and-prepare-role-variables.yml:79 Tuesday 30 July 2024 09:50:25 -0400 (0:00:00.023) 0:00:11.458 ********** 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.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_cib_stonith_levels_validation.yml:91 Tuesday 30 July 2024 09:50:25 -0400 (0:00:00.032) 0:00:11.491 ********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* managed_node1 : ok=62 changed=0 unreachable=0 failed=0 skipped=37 rescued=4 ignored=0 Tuesday 30 July 2024 09:50:25 -0400 (0:00:00.029) 0:00:11.520 ********** =============================================================================== Gathering Facts --------------------------------------------------------- 1.31s /tmp/tmp.Ye81d6IJiA/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.08s /tmp/tmp.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/main.yml:11 fedora.linux_system_roles.ha_cluster : Install role essential packages --- 1.03s /tmp/tmp.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/main.yml:11 fedora.linux_system_roles.ha_cluster : Install role essential packages --- 0.91s /tmp/tmp.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/main.yml:11 fedora.linux_system_roles.ha_cluster : Install role essential packages --- 0.90s /tmp/tmp.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/main.yml:11 fedora.linux_system_roles.ha_cluster : List active CentOS repositories --- 0.79s /tmp/tmp.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/enable-repositories/CentOS.yml:3 fedora.linux_system_roles.ha_cluster : List active CentOS repositories --- 0.72s /tmp/tmp.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/enable-repositories/CentOS.yml:3 fedora.linux_system_roles.ha_cluster : List active CentOS repositories --- 0.72s /tmp/tmp.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/enable-repositories/CentOS.yml:3 fedora.linux_system_roles.ha_cluster : List active CentOS repositories --- 0.71s /tmp/tmp.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/enable-repositories/CentOS.yml:3 fedora.linux_system_roles.ha_cluster : Check if system is ostree -------- 0.52s /tmp/tmp.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:22 Include vault variables ------------------------------------------------- 0.05s /tmp/tmp.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_cib_stonith_levels_validation.yml:5 fedora.linux_system_roles.ha_cluster : Fail if passwords are not specified --- 0.05s /tmp/tmp.Ye81d6IJiA/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.05s /tmp/tmp.Ye81d6IJiA/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 : Set platform/version specific variables --- 0.05s /tmp/tmp.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/set_vars.yml:19 fedora.linux_system_roles.ha_cluster : Fail if passwords are not specified --- 0.05s /tmp/tmp.Ye81d6IJiA/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.05s /tmp/tmp.Ye81d6IJiA/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 : Set platform/version specific variables --- 0.05s /tmp/tmp.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/set_vars.yml:19 fedora.linux_system_roles.ha_cluster : Set platform/version specific variables --- 0.05s /tmp/tmp.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/set_vars.yml:19 fedora.linux_system_roles.ha_cluster : Set platform/version specific variables --- 0.05s /tmp/tmp.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/set_vars.yml:19 fedora.linux_system_roles.ha_cluster : Find platform/version specific tasks to enable repositories --- 0.05s /tmp/tmp.Ye81d6IJiA/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/enable-package-repositories.yml:3