[DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ansible-playbook [core 2.16.11] 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/collections-OKE executable location = /usr/local/bin/ansible-playbook python version = 3.12.1 (main, Feb 21 2024, 14:18:26) [GCC 8.5.0 20210514 (Red Hat 8.5.0-21)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_default.yml **************************************************** 1 plays in /tmp/collections-OKE/ansible_collections/fedora/linux_system_roles/tests/gfs2/tests_default.yml PLAY [Basic usability test] **************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-OKE/ansible_collections/fedora/linux_system_roles/tests/gfs2/tests_default.yml:3 Saturday 21 September 2024 18:08:41 -0400 (0:00:00.007) 0:00:00.007 **** ok: [managed_node2] TASK [Run the role] ************************************************************ task path: /tmp/collections-OKE/ansible_collections/fedora/linux_system_roles/tests/gfs2/tests_default.yml:15 Saturday 21 September 2024 18:08:43 -0400 (0:00:01.440) 0:00:01.447 **** TASK [fedora.linux_system_roles.gfs2 : Validating arguments against arg spec 'main' - The gfs2 role.] *** task path: /tmp/collections-OKE/ansible_collections/fedora/linux_system_roles/tests/gfs2/tests_default.yml:3 Saturday 21 September 2024 18:08:43 -0400 (0:00:00.023) 0:00:01.471 **** ok: [managed_node2] => { "changed": false, "validate_args_context": { "argument_spec_name": "main", "name": "gfs2", "path": "/tmp/collections-OKE/ansible_collections/fedora/linux_system_roles/roles/gfs2", "type": "role" } } MSG: The arg spec validation passed TASK [fedora.linux_system_roles.gfs2 : Set platform/version specific variables] *** task path: /tmp/collections-OKE/ansible_collections/fedora/linux_system_roles/roles/gfs2/tasks/main.yml:3 Saturday 21 September 2024 18:08:43 -0400 (0:00:00.016) 0:00:01.488 **** included: /tmp/collections-OKE/ansible_collections/fedora/linux_system_roles/roles/gfs2/tasks/set_vars.yml for managed_node2 TASK [fedora.linux_system_roles.gfs2 : Ensure ansible_facts used by role] ****** task path: /tmp/collections-OKE/ansible_collections/fedora/linux_system_roles/roles/gfs2/tasks/set_vars.yml:2 Saturday 21 September 2024 18:08:43 -0400 (0:00:00.018) 0:00:01.506 **** skipping: [managed_node2] => { "changed": false, "false_condition": "__gfs2_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.gfs2 : Check if system is ostree] ************** task path: /tmp/collections-OKE/ansible_collections/fedora/linux_system_roles/roles/gfs2/tasks/set_vars.yml:10 Saturday 21 September 2024 18:08:43 -0400 (0:00:00.037) 0:00:01.544 **** ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.gfs2 : Set flag to indicate system is ostree] *** task path: /tmp/collections-OKE/ansible_collections/fedora/linux_system_roles/roles/gfs2/tasks/set_vars.yml:15 Saturday 21 September 2024 18:08:43 -0400 (0:00:00.408) 0:00:01.952 **** ok: [managed_node2] => { "ansible_facts": { "__gfs2_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.gfs2 : Set platform/version specific variables] *** task path: /tmp/collections-OKE/ansible_collections/fedora/linux_system_roles/roles/gfs2/tasks/set_vars.yml:19 Saturday 21 September 2024 18:08:43 -0400 (0:00:00.021) 0:00:01.974 **** skipping: [managed_node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node2] => (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_node2] => (item=CentOS_8.yml) => { "ansible_facts": { "__gfs2_repos": [ { "id": "resilientstorage", "name": "ResilientStorage" } ] }, "ansible_included_var_files": [ "/tmp/collections-OKE/ansible_collections/fedora/linux_system_roles/roles/gfs2/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [managed_node2] => (item=CentOS_8.yml) => { "ansible_facts": { "__gfs2_repos": [ { "id": "resilientstorage", "name": "ResilientStorage" } ] }, "ansible_included_var_files": [ "/tmp/collections-OKE/ansible_collections/fedora/linux_system_roles/roles/gfs2/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [fedora.linux_system_roles.gfs2 : Check if role is supported on current architecture] *** task path: /tmp/collections-OKE/ansible_collections/fedora/linux_system_roles/roles/gfs2/tasks/main.yml:6 Saturday 21 September 2024 18:08:43 -0400 (0:00:00.038) 0:00:02.013 **** skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_facts[\"architecture\"] in [\"aarch64\"]", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.gfs2 : Install required packages] ************** task path: /tmp/collections-OKE/ansible_collections/fedora/linux_system_roles/roles/gfs2/tasks/main.yml:13 Saturday 21 September 2024 18:08:43 -0400 (0:00:00.012) 0:00:02.026 **** included: /tmp/collections-OKE/ansible_collections/fedora/linux_system_roles/roles/gfs2/tasks/install-packages.yml for managed_node2 TASK [fedora.linux_system_roles.gfs2 : Find environment-specific tasks to enable repositories] *** task path: /tmp/collections-OKE/ansible_collections/fedora/linux_system_roles/roles/gfs2/tasks/install-packages.yml:3 Saturday 21 September 2024 18:08:43 -0400 (0:00:00.019) 0:00:02.045 **** ok: [managed_node2] => (item=RedHat.yml) => { "ansible_facts": { "__gfs2_enable_repo_tasks_file": "/tmp/collections-OKE/ansible_collections/fedora/linux_system_roles/roles/gfs2/tasks/enable-repositories/RedHat.yml" }, "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [managed_node2] => (item=CentOS.yml) => { "ansible_facts": { "__gfs2_enable_repo_tasks_file": "/tmp/collections-OKE/ansible_collections/fedora/linux_system_roles/roles/gfs2/tasks/enable-repositories/CentOS.yml" }, "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml" } skipping: [managed_node2] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__gfs2_enable_repo_tasks_file_candidate is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node2] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__gfs2_enable_repo_tasks_file_candidate is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.gfs2 : Run environment-specific tasks to enable repositories] *** task path: /tmp/collections-OKE/ansible_collections/fedora/linux_system_roles/roles/gfs2/tasks/install-packages.yml:23 Saturday 21 September 2024 18:08:43 -0400 (0:00:00.060) 0:00:02.106 **** included: /tmp/collections-OKE/ansible_collections/fedora/linux_system_roles/roles/gfs2/tasks/enable-repositories/CentOS.yml for managed_node2 TASK [fedora.linux_system_roles.gfs2 : List active CentOS repositories] ******** task path: /tmp/collections-OKE/ansible_collections/fedora/linux_system_roles/roles/gfs2/tasks/enable-repositories/CentOS.yml:3 Saturday 21 September 2024 18:08:44 -0400 (0:00:00.042) 0:00:02.149 **** ok: [managed_node2] => { "changed": false, "cmd": [ "dnf", "repolist" ], "delta": "0:00:00.211656", "end": "2024-09-21 18:08:44.601850", "rc": 0, "start": "2024-09-21 18:08:44.390194" } STDOUT: repo id repo name appstream CentOS Stream 8 - AppStream baseos CentOS Stream 8 - BaseOS beaker-client Beaker Client - RedHatEnterpriseLinux8 beaker-harness Beaker harness beakerlib-libraries Copr repo for beakerlib-libraries owned by bgoncalv copr:copr.devel.redhat.com:lpol:qa-tools Copr repo for qa-tools owned by lpol epel Extra Packages for Enterprise Linux 8 - x86_64 epel-debuginfo Extra Packages for Enterprise Linux 8 - x86_64 - Debug epel-source Extra Packages for Enterprise Linux 8 - x86_64 - Source extras CentOS Stream 8 - Extras extras-common CentOS Stream 8 - Extras common packages ha CentOS Stream 8 - HighAvailability TASK [fedora.linux_system_roles.gfs2 : Enable CentOS repositories] ************* task path: /tmp/collections-OKE/ansible_collections/fedora/linux_system_roles/roles/gfs2/tasks/enable-repositories/CentOS.yml:9 Saturday 21 September 2024 18:08:44 -0400 (0:00:00.614) 0:00:02.764 **** changed: [managed_node2] => (item={'id': 'resilientstorage', 'name': 'ResilientStorage'}) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "resilientstorage" ], "delta": "0:00:00.213696", "end": "2024-09-21 18:08:45.149765", "item": { "id": "resilientstorage", "name": "ResilientStorage" }, "rc": 0, "start": "2024-09-21 18:08:44.936069" } TASK [fedora.linux_system_roles.gfs2 : Install packages] *********************** task path: /tmp/collections-OKE/ansible_collections/fedora/linux_system_roles/roles/gfs2/tasks/install-packages.yml:29 Saturday 21 September 2024 18:08:45 -0400 (0:00:00.549) 0:00:03.314 **** changed: [managed_node2] => { "changed": true, "rc": 0, "results": [ "Installed: corosynclib-3.1.8-1.el8.x86_64", "Installed: corosync-3.1.8-1.el8.x86_64", "Installed: sanlock-lib-3.8.4-5.el8.x86_64", "Installed: dlm-4.1.0-1.el8.x86_64", "Installed: gfs2-utils-3.2.0-13.el8.x86_64", "Installed: libqb-1.0.3-13.el8.x86_64", "Installed: net-snmp-libs-1:5.8-30.el8.x86_64", "Installed: lvm2-8:2.03.14-14.el8.x86_64", "Installed: libnozzle1-1.28-1.el8.x86_64", "Installed: device-mapper-event-8:1.02.181-14.el8.x86_64", "Installed: lvm2-lockd-8:2.03.14-14.el8.x86_64", "Installed: libknet1-1.28-1.el8.x86_64", "Installed: lvm2-libs-8:2.03.14-14.el8.x86_64", "Installed: libknet1-crypto-nss-plugin-1.28-1.el8.x86_64", "Installed: device-mapper-event-libs-8:1.02.181-14.el8.x86_64", "Installed: libaio-0.3.112-1.el8.x86_64", "Installed: device-mapper-persistent-data-0.9.0-7.el8.x86_64", "Installed: dlm-lib-4.1.0-1.el8.x86_64" ] } TASK [fedora.linux_system_roles.gfs2 : Check for an active stonith resource] *** task path: /tmp/collections-OKE/ansible_collections/fedora/linux_system_roles/roles/gfs2/tasks/main.yml:16 Saturday 21 September 2024 18:08:52 -0400 (0:00:07.109) 0:00:10.424 **** skipping: [managed_node2] => { "changed": false, "false_condition": "not _gfs2_test_allow_stonith_disabled", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.gfs2 : Setup cluster] ************************** task path: /tmp/collections-OKE/ansible_collections/fedora/linux_system_roles/roles/gfs2/tasks/main.yml:29 Saturday 21 September 2024 18:08:52 -0400 (0:00:00.013) 0:00:10.437 **** skipping: [managed_node2] => { "changed": false, "false_condition": "gfs2_file_systems | length > 0", "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* managed_node2 : ok=12 changed=2 unreachable=0 failed=0 skipped=4 rescued=0 ignored=0 Saturday 21 September 2024 18:08:52 -0400 (0:00:00.041) 0:00:10.479 **** =============================================================================== fedora.linux_system_roles.gfs2 : Install packages ----------------------- 7.11s /tmp/collections-OKE/ansible_collections/fedora/linux_system_roles/roles/gfs2/tasks/install-packages.yml:29 Gathering Facts --------------------------------------------------------- 1.44s /tmp/collections-OKE/ansible_collections/fedora/linux_system_roles/tests/gfs2/tests_default.yml:3 fedora.linux_system_roles.gfs2 : List active CentOS repositories -------- 0.61s /tmp/collections-OKE/ansible_collections/fedora/linux_system_roles/roles/gfs2/tasks/enable-repositories/CentOS.yml:3 fedora.linux_system_roles.gfs2 : Enable CentOS repositories ------------- 0.55s /tmp/collections-OKE/ansible_collections/fedora/linux_system_roles/roles/gfs2/tasks/enable-repositories/CentOS.yml:9 fedora.linux_system_roles.gfs2 : Check if system is ostree -------------- 0.41s /tmp/collections-OKE/ansible_collections/fedora/linux_system_roles/roles/gfs2/tasks/set_vars.yml:10 fedora.linux_system_roles.gfs2 : Find environment-specific tasks to enable repositories --- 0.06s /tmp/collections-OKE/ansible_collections/fedora/linux_system_roles/roles/gfs2/tasks/install-packages.yml:3 fedora.linux_system_roles.gfs2 : Run environment-specific tasks to enable repositories --- 0.04s /tmp/collections-OKE/ansible_collections/fedora/linux_system_roles/roles/gfs2/tasks/install-packages.yml:23 fedora.linux_system_roles.gfs2 : Setup cluster -------------------------- 0.04s /tmp/collections-OKE/ansible_collections/fedora/linux_system_roles/roles/gfs2/tasks/main.yml:29 fedora.linux_system_roles.gfs2 : Set platform/version specific variables --- 0.04s /tmp/collections-OKE/ansible_collections/fedora/linux_system_roles/roles/gfs2/tasks/set_vars.yml:19 fedora.linux_system_roles.gfs2 : Ensure ansible_facts used by role ------ 0.04s /tmp/collections-OKE/ansible_collections/fedora/linux_system_roles/roles/gfs2/tasks/set_vars.yml:2 Run the role ------------------------------------------------------------ 0.02s /tmp/collections-OKE/ansible_collections/fedora/linux_system_roles/tests/gfs2/tests_default.yml:15 fedora.linux_system_roles.gfs2 : Set flag to indicate system is ostree --- 0.02s /tmp/collections-OKE/ansible_collections/fedora/linux_system_roles/roles/gfs2/tasks/set_vars.yml:15 fedora.linux_system_roles.gfs2 : Install required packages -------------- 0.02s /tmp/collections-OKE/ansible_collections/fedora/linux_system_roles/roles/gfs2/tasks/main.yml:13 fedora.linux_system_roles.gfs2 : Set platform/version specific variables --- 0.02s /tmp/collections-OKE/ansible_collections/fedora/linux_system_roles/roles/gfs2/tasks/main.yml:3 fedora.linux_system_roles.gfs2 : Validating arguments against arg spec 'main' - The gfs2 role. --- 0.02s /tmp/collections-OKE/ansible_collections/fedora/linux_system_roles/tests/gfs2/tests_default.yml:3 fedora.linux_system_roles.gfs2 : Check for an active stonith resource --- 0.01s /tmp/collections-OKE/ansible_collections/fedora/linux_system_roles/roles/gfs2/tasks/main.yml:16 fedora.linux_system_roles.gfs2 : Check if role is supported on current architecture --- 0.01s /tmp/collections-OKE/ansible_collections/fedora/linux_system_roles/roles/gfs2/tasks/main.yml:6