[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.hv2i00FbYR executable location = /usr/local/bin/ansible-playbook python version = 3.12.4 (main, Jul 17 2024, 00:00:00) [GCC 11.4.1 20231218 (Red Hat 11.4.1-3)] (/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 statically imported: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/create-test-file.yml statically imported: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-data-preservation.yml statically imported: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/create-test-file.yml statically imported: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-data-preservation.yml statically imported: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/create-test-file.yml statically imported: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-data-preservation.yml 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_luks_pool.yml ************************************************** 1 plays in /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/tests_luks_pool.yml PLAY [Test LUKS pool] ********************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/tests_luks_pool.yml:2 Friday 26 July 2024 13:43:26 -0400 (0:00:00.019) 0:00:00.019 *********** [WARNING]: Platform linux on host managed_node1 is using the discovered Python interpreter at /usr/bin/python3.9, 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 [Enable FIPS mode] ******************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/tests_luks_pool.yml:23 Friday 26 July 2024 13:43:30 -0400 (0:00:03.263) 0:00:03.283 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "lookup(\"env\", \"SYSTEM_ROLES_TEST_FIPS\") == \"true\"", "skip_reason": "Conditional result was False" } TASK [Reboot] ****************************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/tests_luks_pool.yml:27 Friday 26 July 2024 13:43:30 -0400 (0:00:00.016) 0:00:03.299 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "lookup(\"env\", \"SYSTEM_ROLES_TEST_FIPS\") == \"true\"", "skip_reason": "Conditional result was False" } TASK [Ensure dracut-fips] ****************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/tests_luks_pool.yml:37 Friday 26 July 2024 13:43:30 -0400 (0:00:00.016) 0:00:03.316 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "lookup(\"env\", \"SYSTEM_ROLES_TEST_FIPS\") == \"true\"", "skip_reason": "Conditional result was False" } TASK [Configure boot for FIPS] ************************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/tests_luks_pool.yml:43 Friday 26 July 2024 13:43:30 -0400 (0:00:00.016) 0:00:03.333 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "lookup(\"env\", \"SYSTEM_ROLES_TEST_FIPS\") == \"true\"", "skip_reason": "Conditional result was False" } TASK [Reboot] ****************************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/tests_luks_pool.yml:52 Friday 26 July 2024 13:43:30 -0400 (0:00:00.016) 0:00:03.349 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "lookup(\"env\", \"SYSTEM_ROLES_TEST_FIPS\") == \"true\"", "skip_reason": "Conditional result was False" } TASK [Run the role] ************************************************************ task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/tests_luks_pool.yml:56 Friday 26 July 2024 13:43:30 -0400 (0:00:00.014) 0:00:03.364 *********** included: fedora.linux_system_roles.storage for managed_node1 TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Friday 26 July 2024 13:43:30 -0400 (0:00:00.022) 0:00:03.386 *********** included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Friday 26 July 2024 13:43:30 -0400 (0:00:00.022) 0:00:03.409 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "__storage_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Friday 26 July 2024 13:43:30 -0400 (0:00:00.021) 0:00:03.431 *********** skipping: [managed_node1] => (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_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_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs", "stratisd", "stratis-cli" ] }, "ansible_included_var_files": [ "/tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } ok: [managed_node1] => (item=CentOS_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs", "stratisd", "stratis-cli" ] }, "ansible_included_var_files": [ "/tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } TASK [fedora.linux_system_roles.storage : Check if system is ostree] *********** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:25 Friday 26 July 2024 13:43:30 -0400 (0:00:00.041) 0:00:03.472 *********** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.storage : Set flag to indicate system is ostree] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:30 Friday 26 July 2024 13:43:30 -0400 (0:00:00.454) 0:00:03.927 *********** ok: [managed_node1] => { "ansible_facts": { "__storage_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.storage : Define an empty list of pools to be used in testing] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Friday 26 July 2024 13:43:30 -0400 (0:00:00.025) 0:00:03.953 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Define an empty list of volumes to be used in testing] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Friday 26 July 2024 13:43:30 -0400 (0:00:00.014) 0:00:03.967 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Include the appropriate provider tasks] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Friday 26 July 2024 13:43:30 -0400 (0:00:00.014) 0:00:03.982 *********** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for managed_node1 TASK [fedora.linux_system_roles.storage : Make sure blivet is available] ******* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Friday 26 July 2024 13:43:30 -0400 (0:00:00.043) 0:00:04.025 *********** changed: [managed_node1] => { "changed": true, "rc": 0, "results": [ "Installed: libblockdev-loop-2.28-10.el9.x86_64", "Installed: lvm2-libs-9:2.03.23-2.el9.x86_64", "Installed: python3-psutil-5.8.0-12.el9.x86_64", "Installed: stratisd-3.6.7-1.el9.x86_64", "Installed: device-mapper-event-9:1.02.197-2.el9.x86_64", "Installed: python3-wcwidth-0.2.5-8.el9.noarch", "Installed: luksmeta-9-12.el9.x86_64", "Installed: libblockdev-lvm-2.28-10.el9.x86_64", "Installed: tpm2-tools-5.2-3.el9.x86_64", "Installed: device-mapper-event-libs-9:1.02.197-2.el9.x86_64", "Installed: python3-pyparted-1:3.12.0-1.el9.x86_64", "Installed: cryptsetup-2.7.2-1.el9.x86_64", "Installed: libblockdev-mdraid-2.28-10.el9.x86_64", "Installed: device-mapper-multipath-0.8.7-29.el9.x86_64", "Installed: mdadm-4.3-2.el9.x86_64", "Installed: libblockdev-mpath-2.28-10.el9.x86_64", "Installed: device-mapper-multipath-libs-0.8.7-29.el9.x86_64", "Installed: libaio-0.3.111-13.el9.x86_64", "Installed: python3-into-dbus-python-0.8.2-1.el9.noarch", "Installed: device-mapper-persistent-data-1.0.9-2.el9.x86_64", "Installed: jose-14-1.el9.x86_64", "Installed: libblockdev-nvdimm-2.28-10.el9.x86_64", "Installed: python3-blivet-1:3.6.0-15.el9.noarch", "Installed: python3-blockdev-2.28-10.el9.x86_64", "Installed: libblockdev-part-2.28-10.el9.x86_64", "Installed: ndctl-71.1-8.el9.x86_64", "Installed: libjose-14-1.el9.x86_64", "Installed: stratis-cli-3.6.0-1.el9.noarch", "Installed: python3-justbases-0.15.2-1.el9.noarch", "Installed: python3-justbytes-0.15.2-1.el9.noarch", "Installed: libblockdev-2.28-10.el9.x86_64", "Installed: ndctl-libs-71.1-8.el9.x86_64", "Installed: python3-bytesize-2.5-3.el9.x86_64", "Installed: kmod-kvdo-8.2.4.10-135.el9.x86_64", "Installed: volume_key-libs-0.3.12-15.el9.x86_64", "Installed: clevis-20-200.el9.x86_64", "Installed: libblockdev-swap-2.28-10.el9.x86_64", "Installed: libblockdev-crypto-2.28-10.el9.x86_64", "Installed: vdo-8.2.2.2-1.el9.x86_64", "Installed: python3-packaging-20.9-5.el9.noarch", "Installed: clevis-luks-20-200.el9.x86_64", "Installed: libblockdev-dm-2.28-10.el9.x86_64", "Installed: daxctl-libs-71.1-8.el9.x86_64", "Installed: libblockdev-utils-2.28-10.el9.x86_64", "Installed: blivet-data-1:3.6.0-15.el9.noarch", "Installed: lsof-4.94.0-3.el9.x86_64", "Installed: libblockdev-fs-2.28-10.el9.x86_64", "Installed: python3-dbus-client-gen-0.5.1-1.el9.noarch", "Installed: python3-dbus-python-client-gen-0.8.3-1.el9.noarch", "Installed: python3-dbus-signature-pyparsing-0.4.1-1.el9.noarch", "Installed: libblockdev-kbd-2.28-10.el9.x86_64", "Installed: lvm2-9:2.03.23-2.el9.x86_64", "Installed: libbytesize-2.5-3.el9.x86_64", "Installed: libluksmeta-9-12.el9.x86_64" ] } TASK [fedora.linux_system_roles.storage : Show storage_pools] ****************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:9 Friday 26 July 2024 13:44:23 -0400 (0:00:52.192) 0:00:56.217 *********** ok: [managed_node1] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [fedora.linux_system_roles.storage : Show storage_volumes] **************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:14 Friday 26 July 2024 13:44:23 -0400 (0:00:00.018) 0:00:56.236 *********** ok: [managed_node1] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : Get required packages] *************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:19 Friday 26 July 2024 13:44:23 -0400 (0:00:00.018) 0:00:56.254 *********** ok: [managed_node1] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } TASK [fedora.linux_system_roles.storage : Enable copr repositories if needed] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:31 Friday 26 July 2024 13:44:23 -0400 (0:00:00.767) 0:00:57.022 *********** included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml for managed_node1 TASK [fedora.linux_system_roles.storage : Check if the COPR support packages should be installed] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:2 Friday 26 July 2024 13:44:24 -0400 (0:00:00.030) 0:00:57.052 *********** skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.storage : Make sure COPR support packages are present] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:13 Friday 26 July 2024 13:44:24 -0400 (0:00:00.019) 0:00:57.072 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "install_copr | d(false) | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Enable COPRs] ************************ task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:19 Friday 26 July 2024 13:44:24 -0400 (0:00:00.018) 0:00:57.090 *********** skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.storage : Make sure required packages are installed] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:37 Friday 26 July 2024 13:44:24 -0400 (0:00:00.018) 0:00:57.109 *********** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.storage : Get service facts] ******************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:51 Friday 26 July 2024 13:44:24 -0400 (0:00:00.917) 0:00:58.027 *********** ok: [managed_node1] => { "ansible_facts": { "services": { "NetworkManager-dispatcher.service": { "name": "NetworkManager-dispatcher.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "NetworkManager-wait-online.service": { "name": "NetworkManager-wait-online.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "NetworkManager.service": { "name": "NetworkManager.service", "source": "systemd", "state": "running", "status": "enabled" }, "auditd.service": { "name": "auditd.service", "source": "systemd", "state": "running", "status": "enabled" }, "auth-rpcgss-module.service": { "name": "auth-rpcgss-module.service", "source": "systemd", "state": "stopped", "status": "static" }, "autofs.service": { "name": "autofs.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "autovt@.service": { "name": "autovt@.service", "source": "systemd", "state": "unknown", "status": "alias" }, "blivet.service": { "name": "blivet.service", "source": "systemd", "state": "inactive", "status": "static" }, "blk-availability.service": { "name": "blk-availability.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "chrony-wait.service": { "name": "chrony-wait.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "chronyd-restricted.service": { "name": "chronyd-restricted.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "chronyd.service": { "name": "chronyd.service", "source": "systemd", "state": "running", "status": "enabled" }, "cloud-config.service": { "name": "cloud-config.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-final.service": { "name": "cloud-final.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init-hotplugd.service": { "name": "cloud-init-hotplugd.service", "source": "systemd", "state": "inactive", "status": "static" }, "cloud-init-local.service": { "name": "cloud-init-local.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init.service": { "name": "cloud-init.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "console-getty.service": { "name": "console-getty.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "container-getty@.service": { "name": "container-getty@.service", "source": "systemd", "state": "unknown", "status": "static" }, "cpupower.service": { "name": "cpupower.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "crond.service": { "name": "crond.service", "source": "systemd", "state": "running", "status": "enabled" }, "dbus-broker.service": { "name": "dbus-broker.service", "source": "systemd", "state": "running", "status": "enabled" }, "dbus-org.freedesktop.hostname1.service": { "name": "dbus-org.freedesktop.hostname1.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus-org.freedesktop.locale1.service": { "name": "dbus-org.freedesktop.locale1.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus-org.freedesktop.login1.service": { "name": "dbus-org.freedesktop.login1.service", "source": "systemd", "state": "active", "status": "alias" }, "dbus-org.freedesktop.nm-dispatcher.service": { "name": "dbus-org.freedesktop.nm-dispatcher.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus-org.freedesktop.timedate1.service": { "name": "dbus-org.freedesktop.timedate1.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus.service": { "name": "dbus.service", "source": "systemd", "state": "active", "status": "alias" }, "debug-shell.service": { "name": "debug-shell.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "display-manager.service": { "name": "display-manager.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "dm-event.service": { "name": "dm-event.service", "source": "systemd", "state": "stopped", "status": "static" }, "dnf-makecache.service": { "name": "dnf-makecache.service", "source": "systemd", "state": "stopped", "status": "static" }, "dnf-system-upgrade-cleanup.service": { "name": "dnf-system-upgrade-cleanup.service", "source": "systemd", "state": "inactive", "status": "static" }, "dnf-system-upgrade.service": { "name": "dnf-system-upgrade.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "dracut-cmdline.service": { "name": "dracut-cmdline.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-initqueue.service": { "name": "dracut-initqueue.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-mount.service": { "name": "dracut-mount.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-mount.service": { "name": "dracut-pre-mount.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-pivot.service": { "name": "dracut-pre-pivot.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-trigger.service": { "name": "dracut-pre-trigger.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-udev.service": { "name": "dracut-pre-udev.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-shutdown-onfailure.service": { "name": "dracut-shutdown-onfailure.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-shutdown.service": { "name": "dracut-shutdown.service", "source": "systemd", "state": "stopped", "status": "static" }, "emergency.service": { "name": "emergency.service", "source": "systemd", "state": "stopped", "status": "static" }, "fcoe.service": { "name": "fcoe.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "firewalld.service": { "name": "firewalld.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "fstrim.service": { "name": "fstrim.service", "source": "systemd", "state": "inactive", "status": "static" }, "getty@.service": { "name": "getty@.service", "source": "systemd", "state": "unknown", "status": "enabled" }, "getty@tty1.service": { "name": "getty@tty1.service", "source": "systemd", "state": "running", "status": "active" }, "grub-boot-indeterminate.service": { "name": "grub-boot-indeterminate.service", "source": "systemd", "state": "inactive", "status": "static" }, "grub2-systemd-integration.service": { "name": "grub2-systemd-integration.service", "source": "systemd", "state": "inactive", "status": "static" }, "gssproxy.service": { "name": "gssproxy.service", "source": "systemd", "state": "running", "status": "disabled" }, "hv_kvp_daemon.service": { "name": "hv_kvp_daemon.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "initrd-cleanup.service": { "name": "initrd-cleanup.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-parse-etc.service": { "name": "initrd-parse-etc.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-switch-root.service": { "name": "initrd-switch-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-udevadm-cleanup-db.service": { "name": "initrd-udevadm-cleanup-db.service", "source": "systemd", "state": "stopped", "status": "static" }, "irqbalance.service": { "name": "irqbalance.service", "source": "systemd", "state": "running", "status": "enabled" }, "iscsi-shutdown.service": { "name": "iscsi-shutdown.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "iscsi.service": { "name": "iscsi.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "iscsid.service": { "name": "iscsid.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "kdump.service": { "name": "kdump.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "kmod-static-nodes.service": { "name": "kmod-static-nodes.service", "source": "systemd", "state": "stopped", "status": "static" }, "kvm_stat.service": { "name": "kvm_stat.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "ldconfig.service": { "name": "ldconfig.service", "source": "systemd", "state": "stopped", "status": "static" }, "logrotate.service": { "name": "logrotate.service", "source": "systemd", "state": "stopped", "status": "static" }, "lvm2-activation-early.service": { "name": "lvm2-activation-early.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "lvm2-lvmpolld.service": { "name": "lvm2-lvmpolld.service", "source": "systemd", "state": "stopped", "status": "static" }, "lvm2-monitor.service": { "name": "lvm2-monitor.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "man-db-cache-update.service": { "name": "man-db-cache-update.service", "source": "systemd", "state": "inactive", "status": "static" }, "man-db-restart-cache-update.service": { "name": "man-db-restart-cache-update.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "mdadm-grow-continue@.service": { "name": "mdadm-grow-continue@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdadm-last-resort@.service": { "name": "mdadm-last-resort@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdcheck_continue.service": { "name": "mdcheck_continue.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdcheck_start.service": { "name": "mdcheck_start.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdmon@.service": { "name": "mdmon@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdmonitor-oneshot.service": { "name": "mdmonitor-oneshot.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdmonitor.service": { "name": "mdmonitor.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "microcode.service": { "name": "microcode.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "modprobe@.service": { "name": "modprobe@.service", "source": "systemd", "state": "unknown", "status": "static" }, "modprobe@configfs.service": { "name": "modprobe@configfs.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "modprobe@drm.service": { "name": "modprobe@drm.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "modprobe@fuse.service": { "name": "modprobe@fuse.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "multipathd.service": { "name": "multipathd.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "ndctl-monitor.service": { "name": "ndctl-monitor.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "network.service": { "name": "network.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "nfs-blkmap.service": { "name": "nfs-blkmap.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfs-idmapd.service": { "name": "nfs-idmapd.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-mountd.service": { "name": "nfs-mountd.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-server.service": { "name": "nfs-server.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "nfs-utils.service": { "name": "nfs-utils.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfsdcld.service": { "name": "nfsdcld.service", "source": "systemd", "state": "stopped", "status": "static" }, "nftables.service": { "name": "nftables.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nis-domainname.service": { "name": "nis-domainname.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "nm-priv-helper.service": { "name": "nm-priv-helper.service", "source": "systemd", "state": "inactive", "status": "static" }, "ntpd.service": { "name": "ntpd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ntpdate.service": { "name": "ntpdate.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "oddjobd.service": { "name": "oddjobd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "pam_namespace.service": { "name": "pam_namespace.service", "source": "systemd", "state": "inactive", "status": "static" }, "plymouth-quit-wait.service": { "name": "plymouth-quit-wait.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "plymouth-start.service": { "name": "plymouth-start.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "qemu-guest-agent.service": { "name": "qemu-guest-agent.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "quotaon.service": { "name": "quotaon.service", "source": "systemd", "state": "inactive", "status": "static" }, "raid-check.service": { "name": "raid-check.service", "source": "systemd", "state": "inactive", "status": "static" }, "rbdmap.service": { "name": "rbdmap.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "rc-local.service": { "name": "rc-local.service", "source": "systemd", "state": "stopped", "status": "static" }, "rdisc.service": { "name": "rdisc.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rescue.service": { "name": "rescue.service", "source": "systemd", "state": "stopped", "status": "static" }, "restraintd.service": { "name": "restraintd.service", "source": "systemd", "state": "running", "status": "enabled" }, "rngd.service": { "name": "rngd.service", "source": "systemd", "state": "running", "status": "enabled" }, "rpc-gssd.service": { "name": "rpc-gssd.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-statd-notify.service": { "name": "rpc-statd-notify.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-statd.service": { "name": "rpc-statd.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-svcgssd.service": { "name": "rpc-svcgssd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "rpcbind.service": { "name": "rpcbind.service", "source": "systemd", "state": "running", "status": "enabled" }, "rpmdb-rebuild.service": { "name": "rpmdb-rebuild.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rsyslog.service": { "name": "rsyslog.service", "source": "systemd", "state": "running", "status": "enabled" }, "selinux-autorelabel-mark.service": { "name": "selinux-autorelabel-mark.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "selinux-autorelabel.service": { "name": "selinux-autorelabel.service", "source": "systemd", "state": "inactive", "status": "static" }, "selinux-check-proper-disable.service": { "name": "selinux-check-proper-disable.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "serial-getty@.service": { "name": "serial-getty@.service", "source": "systemd", "state": "unknown", "status": "indirect" }, "serial-getty@ttyS0.service": { "name": "serial-getty@ttyS0.service", "source": "systemd", "state": "running", "status": "active" }, "snapd.seeded.service": { "name": "snapd.seeded.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sntp.service": { "name": "sntp.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sshd-keygen.service": { "name": "sshd-keygen.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sshd-keygen@.service": { "name": "sshd-keygen@.service", "source": "systemd", "state": "unknown", "status": "disabled" }, "sshd-keygen@ecdsa.service": { "name": "sshd-keygen@ecdsa.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd-keygen@ed25519.service": { "name": "sshd-keygen@ed25519.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd-keygen@rsa.service": { "name": "sshd-keygen@rsa.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd.service": { "name": "sshd.service", "source": "systemd", "state": "running", "status": "enabled" }, "sshd@.service": { "name": "sshd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "sssd-autofs.service": { "name": "sssd-autofs.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-kcm.service": { "name": "sssd-kcm.service", "source": "systemd", "state": "stopped", "status": "indirect" }, "sssd-nss.service": { "name": "sssd-nss.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-pac.service": { "name": "sssd-pac.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-pam.service": { "name": "sssd-pam.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-ssh.service": { "name": "sssd-ssh.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-sudo.service": { "name": "sssd-sudo.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd.service": { "name": "sssd.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "stratis-fstab-setup@.service": { "name": "stratis-fstab-setup@.service", "source": "systemd", "state": "unknown", "status": "static" }, "stratisd-min-postinitrd.service": { "name": "stratisd-min-postinitrd.service", "source": "systemd", "state": "inactive", "status": "static" }, "stratisd.service": { "name": "stratisd.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "syslog.service": { "name": "syslog.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "system-update-cleanup.service": { "name": "system-update-cleanup.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-ask-password-console.service": { "name": "systemd-ask-password-console.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-ask-password-wall.service": { "name": "systemd-ask-password-wall.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-backlight@.service": { "name": "systemd-backlight@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-binfmt.service": { "name": "systemd-binfmt.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-bless-boot.service": { "name": "systemd-bless-boot.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-boot-check-no-failures.service": { "name": "systemd-boot-check-no-failures.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-boot-random-seed.service": { "name": "systemd-boot-random-seed.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-boot-update.service": { "name": "systemd-boot-update.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "systemd-coredump@.service": { "name": "systemd-coredump@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-exit.service": { "name": "systemd-exit.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-firstboot.service": { "name": "systemd-firstboot.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-fsck-root.service": { "name": "systemd-fsck-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-fsck@.service": { "name": "systemd-fsck@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-growfs-root.service": { "name": "systemd-growfs-root.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-growfs@.service": { "name": "systemd-growfs@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-halt.service": { "name": "systemd-halt.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-hibernate-resume@.service": { "name": "systemd-hibernate-resume@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-hibernate.service": { "name": "systemd-hibernate.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-hostnamed.service": { "name": "systemd-hostnamed.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-hwdb-update.service": { "name": "systemd-hwdb-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-hybrid-sleep.service": { "name": "systemd-hybrid-sleep.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-initctl.service": { "name": "systemd-initctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-catalog-update.service": { "name": "systemd-journal-catalog-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-flush.service": { "name": "systemd-journal-flush.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journald.service": { "name": "systemd-journald.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-journald@.service": { "name": "systemd-journald@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-kexec.service": { "name": "systemd-kexec.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-localed.service": { "name": "systemd-localed.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-logind.service": { "name": "systemd-logind.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-machine-id-commit.service": { "name": "systemd-machine-id-commit.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-modules-load.service": { "name": "systemd-modules-load.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-network-generator.service": { "name": "systemd-network-generator.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "systemd-networkd-wait-online.service": { "name": "systemd-networkd-wait-online.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "systemd-pcrfs-root.service": { "name": "systemd-pcrfs-root.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-pcrfs@.service": { "name": "systemd-pcrfs@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-pcrmachine.service": { "name": "systemd-pcrmachine.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-pcrphase-initrd.service": { "name": "systemd-pcrphase-initrd.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-pcrphase-sysinit.service": { "name": "systemd-pcrphase-sysinit.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-pcrphase.service": { "name": "systemd-pcrphase.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-poweroff.service": { "name": "systemd-poweroff.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-pstore.service": { "name": "systemd-pstore.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-quotacheck.service": { "name": "systemd-quotacheck.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-random-seed.service": { "name": "systemd-random-seed.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-reboot.service": { "name": "systemd-reboot.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-remount-fs.service": { "name": "systemd-remount-fs.service", "source": "systemd", "state": "stopped", "status": "enabled-runtime" }, "systemd-repart.service": { "name": "systemd-repart.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-rfkill.service": { "name": "systemd-rfkill.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-suspend-then-hibernate.service": { "name": "systemd-suspend-then-hibernate.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-suspend.service": { "name": "systemd-suspend.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-sysctl.service": { "name": "systemd-sysctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-sysext.service": { "name": "systemd-sysext.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "systemd-sysupdate-reboot.service": { "name": "systemd-sysupdate-reboot.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "systemd-sysupdate.service": { "name": "systemd-sysupdate.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "systemd-sysusers.service": { "name": "systemd-sysusers.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-timedated.service": { "name": "systemd-timedated.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-timesyncd.service": { "name": "systemd-timesyncd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "systemd-tmpfiles-clean.service": { "name": "systemd-tmpfiles-clean.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup-dev.service": { "name": "systemd-tmpfiles-setup-dev.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup.service": { "name": "systemd-tmpfiles-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles.service": { "name": "systemd-tmpfiles.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "systemd-udev-settle.service": { "name": "systemd-udev-settle.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udev-trigger.service": { "name": "systemd-udev-trigger.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udevd.service": { "name": "systemd-udevd.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-update-done.service": { "name": "systemd-update-done.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-update-utmp-runlevel.service": { "name": "systemd-update-utmp-runlevel.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-update-utmp.service": { "name": "systemd-update-utmp.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-user-sessions.service": { "name": "systemd-user-sessions.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-vconsole-setup.service": { "name": "systemd-vconsole-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-volatile-root.service": { "name": "systemd-volatile-root.service", "source": "systemd", "state": "inactive", "status": "static" }, "target.service": { "name": "target.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "targetclid.service": { "name": "targetclid.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "teamd@.service": { "name": "teamd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "user-runtime-dir@.service": { "name": "user-runtime-dir@.service", "source": "systemd", "state": "unknown", "status": "static" }, "user-runtime-dir@0.service": { "name": "user-runtime-dir@0.service", "source": "systemd", "state": "stopped", "status": "active" }, "user@.service": { "name": "user@.service", "source": "systemd", "state": "unknown", "status": "static" }, "user@0.service": { "name": "user@0.service", "source": "systemd", "state": "running", "status": "active" }, "ypbind.service": { "name": "ypbind.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "yppasswdd.service": { "name": "yppasswdd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ypserv.service": { "name": "ypserv.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ypxfrd.service": { "name": "ypxfrd.service", "source": "systemd", "state": "stopped", "status": "not-found" } } }, "changed": false } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:57 Friday 26 July 2024 13:44:27 -0400 (0:00:02.012) 0:01:00.040 *********** ok: [managed_node1] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:63 Friday 26 July 2024 13:44:27 -0400 (0:00:00.035) 0:01:00.075 *********** skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.storage : Manage the pools and volumes to match the specified state] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:69 Friday 26 July 2024 13:44:27 -0400 (0:00:00.014) 0:01:00.090 *********** ok: [managed_node1] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:83 Friday 26 July 2024 13:44:27 -0400 (0:00:00.526) 0:01:00.617 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_udevadm_trigger | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Check if /etc/fstab is present] ****** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Friday 26 July 2024 13:44:27 -0400 (0:00:00.022) 0:01:00.640 *********** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722015607.4401615, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8cad013d63365688432a8388114a8a462d88d654", "ctime": 1721812897.039903, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2097283, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1721812897.039903, "nlink": 1, "path": "/etc/fstab", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 1344, "uid": 0, "version": "3617642505", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : Add fingerprint to /etc/fstab if present] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:95 Friday 26 July 2024 13:44:28 -0400 (0:00:00.756) 0:01:01.396 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "blivet_output is changed", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:113 Friday 26 July 2024 13:44:28 -0400 (0:00:00.021) 0:01:01.418 *********** skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.storage : Show blivet_output] ****************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:119 Friday 26 July 2024 13:44:28 -0400 (0:00:00.015) 0:01:01.434 *********** ok: [managed_node1] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } } TASK [fedora.linux_system_roles.storage : Set the list of pools for test verification] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:128 Friday 26 July 2024 13:44:28 -0400 (0:00:00.019) 0:01:01.454 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Set the list of volumes for test verification] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Friday 26 July 2024 13:44:28 -0400 (0:00:00.018) 0:01:01.473 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Remove obsolete mounts] ************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Friday 26 July 2024 13:44:28 -0400 (0:00:00.020) 0:01:01.493 *********** skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.storage : Tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:159 Friday 26 July 2024 13:44:28 -0400 (0:00:00.023) 0:01:01.517 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "blivet_output['mounts']", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set up new/current mounts] *********** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:164 Friday 26 July 2024 13:44:28 -0400 (0:00:00.016) 0:01:01.533 *********** skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.storage : Manage mount ownership/permissions] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:175 Friday 26 July 2024 13:44:28 -0400 (0:00:00.025) 0:01:01.559 *********** skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.storage : Tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:187 Friday 26 July 2024 13:44:28 -0400 (0:00:00.022) 0:01:01.582 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "blivet_output['mounts']", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:195 Friday 26 July 2024 13:44:28 -0400 (0:00:00.017) 0:01:01.599 *********** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722015767.9031963, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1721811897.01, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2097284, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1721811632.521, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "848569508", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : Manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:200 Friday 26 July 2024 13:44:28 -0400 (0:00:00.369) 0:01:01.968 *********** skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:222 Friday 26 July 2024 13:44:28 -0400 (0:00:00.017) 0:01:01.986 *********** ok: [managed_node1] TASK [Mark tasks to be skipped] ************************************************ task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/tests_luks_pool.yml:60 Friday 26 July 2024 13:44:29 -0400 (0:00:00.911) 0:01:02.897 *********** ok: [managed_node1] => { "ansible_facts": { "storage_skip_checks": [ "blivet_available", "service_facts" ] }, "changed": false } TASK [Get unused disks] ******************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/tests_luks_pool.yml:66 Friday 26 July 2024 13:44:29 -0400 (0:00:00.019) 0:01:02.917 *********** included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/get_unused_disk.yml for managed_node1 TASK [Ensure test packages] **************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/get_unused_disk.yml:2 Friday 26 July 2024 13:44:29 -0400 (0:00:00.028) 0:01:02.945 *********** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Find unused disks in the system] ***************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/get_unused_disk.yml:11 Friday 26 July 2024 13:44:30 -0400 (0:00:00.922) 0:01:03.868 *********** ok: [managed_node1] => { "changed": false, "disks": [ "sda" ], "info": [ "Line: NAME=\"/dev/sda\" TYPE=\"disk\" SIZE=\"10737418240\" FSTYPE=\"\" LOG_SEC=\"512\"", "Line: NAME=\"/dev/sdb\" TYPE=\"disk\" SIZE=\"10737418240\" FSTYPE=\"\" LOG_SEC=\"512\"", "Line: NAME=\"/dev/sdc\" TYPE=\"disk\" SIZE=\"10737418240\" FSTYPE=\"\" LOG_SEC=\"512\"", "Line: NAME=\"/dev/sdd\" TYPE=\"disk\" SIZE=\"1099511627776\" FSTYPE=\"\" LOG_SEC=\"512\"", "Line: NAME=\"/dev/sde\" TYPE=\"disk\" SIZE=\"1099511627776\" FSTYPE=\"\" LOG_SEC=\"512\"", "Line: NAME=\"/dev/sdf\" TYPE=\"disk\" SIZE=\"10737418240\" FSTYPE=\"\" LOG_SEC=\"512\"", "Line: NAME=\"/dev/sdg\" TYPE=\"disk\" SIZE=\"1099511627776\" FSTYPE=\"\" LOG_SEC=\"512\"", "Line: NAME=\"/dev/sdh\" TYPE=\"disk\" SIZE=\"10737418240\" FSTYPE=\"\" LOG_SEC=\"512\"", "Line: NAME=\"/dev/sdi\" TYPE=\"disk\" SIZE=\"10737418240\" FSTYPE=\"\" LOG_SEC=\"512\"", "Line: NAME=\"/dev/xvda\" TYPE=\"disk\" SIZE=\"268435456000\" FSTYPE=\"\" LOG_SEC=\"512\"", "Line: NAME=\"/dev/xvda1\" TYPE=\"part\" SIZE=\"268434390528\" FSTYPE=\"xfs\" LOG_SEC=\"512\"", "Line type [part] is not disk: NAME=\"/dev/xvda1\" TYPE=\"part\" SIZE=\"268434390528\" FSTYPE=\"xfs\" LOG_SEC=\"512\"", "filename [xvda1] is a partition", "Disk [/dev/xvda] attrs [{'type': 'disk', 'size': '268435456000', 'fstype': '', 'ssize': '512'}] has partitions" ] } TASK [Debug why there are no unused disks] ************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/get_unused_disk.yml:20 Friday 26 July 2024 13:44:35 -0400 (0:00:04.505) 0:01:08.373 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "'Unable to find unused disk' in unused_disks_return.disks", "skip_reason": "Conditional result was False" } TASK [Set unused_disks if necessary] ******************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/get_unused_disk.yml:29 Friday 26 July 2024 13:44:35 -0400 (0:00:00.017) 0:01:08.390 *********** ok: [managed_node1] => { "ansible_facts": { "unused_disks": [ "sda" ] }, "changed": false } TASK [Exit playbook when there's not enough unused disks in the system] ******** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/get_unused_disk.yml:34 Friday 26 July 2024 13:44:35 -0400 (0:00:00.020) 0:01:08.410 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "unused_disks | d([]) | length < disks_needed | d(1)", "skip_reason": "Conditional result was False" } TASK [Print unused disks] ****************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/get_unused_disk.yml:39 Friday 26 July 2024 13:44:35 -0400 (0:00:00.022) 0:01:08.433 *********** ok: [managed_node1] => { "unused_disks": [ "sda" ] } TASK [Test for correct handling of new encrypted pool w/ no key] *************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/tests_luks_pool.yml:76 Friday 26 July 2024 13:44:35 -0400 (0:00:00.022) 0:01:08.455 *********** included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml for managed_node1 TASK [Store global variable value copy] **************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:4 Friday 26 July 2024 13:44:35 -0400 (0:00:00.027) 0:01:08.483 *********** ok: [managed_node1] => { "ansible_facts": { "storage_pools_global": [], "storage_safe_mode_global": true, "storage_volumes_global": [] }, "changed": false } TASK [Verify role raises correct error] **************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:10 Friday 26 July 2024 13:44:35 -0400 (0:00:00.028) 0:01:08.512 *********** included: fedora.linux_system_roles.storage for managed_node1 TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Friday 26 July 2024 13:44:35 -0400 (0:00:00.029) 0:01:08.541 *********** included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Friday 26 July 2024 13:44:35 -0400 (0:00:00.027) 0:01:08.569 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "__storage_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Friday 26 July 2024 13:44:35 -0400 (0:00:00.025) 0:01:08.594 *********** skipping: [managed_node1] => (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_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_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs", "stratisd", "stratis-cli" ] }, "ansible_included_var_files": [ "/tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } ok: [managed_node1] => (item=CentOS_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs", "stratisd", "stratis-cli" ] }, "ansible_included_var_files": [ "/tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } TASK [fedora.linux_system_roles.storage : Check if system is ostree] *********** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:25 Friday 26 July 2024 13:44:35 -0400 (0:00:00.046) 0:01:08.641 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "not __storage_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set flag to indicate system is ostree] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:30 Friday 26 July 2024 13:44:35 -0400 (0:00:00.020) 0:01:08.662 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "not __storage_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Define an empty list of pools to be used in testing] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Friday 26 July 2024 13:44:35 -0400 (0:00:00.021) 0:01:08.683 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Define an empty list of volumes to be used in testing] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Friday 26 July 2024 13:44:35 -0400 (0:00:00.036) 0:01:08.720 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Include the appropriate provider tasks] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Friday 26 July 2024 13:44:35 -0400 (0:00:00.021) 0:01:08.741 *********** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for managed_node1 TASK [fedora.linux_system_roles.storage : Make sure blivet is available] ******* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Friday 26 July 2024 13:44:35 -0400 (0:00:00.044) 0:01:08.785 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"blivet_available\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Show storage_pools] ****************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:9 Friday 26 July 2024 13:44:35 -0400 (0:00:00.024) 0:01:08.810 *********** ok: [managed_node1] => { "storage_pools": [ { "disks": [ "sda" ], "encryption": true, "name": "foo", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "4g" } ] } ] } TASK [fedora.linux_system_roles.storage : Show storage_volumes] **************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:14 Friday 26 July 2024 13:44:35 -0400 (0:00:00.022) 0:01:08.832 *********** ok: [managed_node1] => { "storage_volumes": [] } TASK [fedora.linux_system_roles.storage : Get required packages] *************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:19 Friday 26 July 2024 13:44:35 -0400 (0:00:00.021) 0:01:08.854 *********** ok: [managed_node1] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [ "cryptsetup", "lvm2" ], "pools": [], "volumes": [] } TASK [fedora.linux_system_roles.storage : Enable copr repositories if needed] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:31 Friday 26 July 2024 13:44:36 -0400 (0:00:01.061) 0:01:09.915 *********** included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml for managed_node1 TASK [fedora.linux_system_roles.storage : Check if the COPR support packages should be installed] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:2 Friday 26 July 2024 13:44:36 -0400 (0:00:00.035) 0:01:09.951 *********** skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.storage : Make sure COPR support packages are present] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:13 Friday 26 July 2024 13:44:36 -0400 (0:00:00.022) 0:01:09.974 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "install_copr | d(false) | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Enable COPRs] ************************ task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:19 Friday 26 July 2024 13:44:36 -0400 (0:00:00.024) 0:01:09.999 *********** skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.storage : Make sure required packages are installed] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:37 Friday 26 July 2024 13:44:36 -0400 (0:00:00.020) 0:01:10.019 *********** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.storage : Get service facts] ******************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:51 Friday 26 July 2024 13:44:37 -0400 (0:00:00.909) 0:01:10.929 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"service_facts\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:57 Friday 26 July 2024 13:44:37 -0400 (0:00:00.021) 0:01:10.951 *********** ok: [managed_node1] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:63 Friday 26 July 2024 13:44:37 -0400 (0:00:00.038) 0:01:10.989 *********** skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.storage : Manage the pools and volumes to match the specified state] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:69 Friday 26 July 2024 13:44:37 -0400 (0:00:00.016) 0:01:11.006 *********** fatal: [managed_node1]: FAILED! => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } MSG: encrypted pool 'foo' missing key/password TASK [fedora.linux_system_roles.storage : Failed message] ********************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:109 Friday 26 July 2024 13:44:38 -0400 (0:00:00.966) 0:01:11.972 *********** fatal: [managed_node1]: FAILED! => { "changed": false } MSG: {'changed': False, 'actions': [], 'leaves': [], 'mounts': [], 'crypts': [], 'pools': [], 'volumes': [], 'packages': [], 'failed': True, 'msg': "encrypted pool 'foo' missing key/password", 'invocation': {'module_args': {'pools': [{'disks': ['sda'], 'encryption': True, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'encryption_clevis_pin': None, 'encryption_tang_url': None, 'encryption_tang_thumbprint': None, 'grow_to_fill': False, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'raid_chunk_size': None, 'shared': False, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': None, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': None, 'fs_label': None, 'fs_type': None, 'mount_options': None, 'mount_point': '/opt/test1', 'mount_user': None, 'mount_group': None, 'mount_mode': None, 'name': 'test1', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': None, 'cached': None, 'cache_devices': [], 'cache_mode': None, 'cache_size': None, 'compression': None, 'deduplication': None, 'raid_disks': [], 'raid_stripe_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None}]}], 'volumes': [], 'use_partitions': None, 'disklabel_type': None, 'pool_defaults': {'state': 'present', 'type': 'lvm', 'disks': [], 'volumes': [], 'grow_to_fill': False, 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, 'shared': False}, 'volume_defaults': {'state': 'present', 'type': 'lvm', 'size': 0, 'disks': [], 'fs_type': 'xfs', 'fs_label': '', 'fs_create_options': '', 'fs_overwrite_existing': True, 'mount_point': '', 'mount_options': 'defaults', 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_stripe_size': None, 'raid_metadata_version': None, 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': []}, 'safe_mode': True, 'packages_only': False, 'diskvolume_mkfs_option_map': {}}}, '_ansible_no_log': False} TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:113 Friday 26 July 2024 13:44:38 -0400 (0:00:00.024) 0:01:11.997 *********** skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Check that we failed in the role] **************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:23 Friday 26 July 2024 13:44:38 -0400 (0:00:00.015) 0:01:12.012 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the blivet output and error message are correct] ****************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:28 Friday 26 July 2024 13:44:38 -0400 (0:00:00.019) 0:01:12.032 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify correct exception or error message] ******************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:39 Friday 26 July 2024 13:44:39 -0400 (0:00:00.027) 0:01:12.060 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "__storage_failed_exception is defined", "skip_reason": "Conditional result was False" } TASK [Mark tasks to be skipped] ************************************************ task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/tests_luks_pool.yml:93 Friday 26 July 2024 13:44:39 -0400 (0:00:00.021) 0:01:12.081 *********** ok: [managed_node1] => { "ansible_facts": { "storage_skip_checks": [ "blivet_available", "packages_installed", "service_facts" ] }, "changed": false } TASK [Create a key file] ******************************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/tests_luks_pool.yml:102 Friday 26 July 2024 13:44:39 -0400 (0:00:00.027) 0:01:12.109 *********** ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/storage_testylgm88mylukskey", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [Write the key into the key file] ***************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/tests_luks_pool.yml:109 Friday 26 July 2024 13:44:39 -0400 (0:00:00.443) 0:01:12.553 *********** ok: [managed_node1] => { "changed": false, "checksum": "7a4dff3752e2baf5617c57eaac048e2b95e8af91", "dest": "/tmp/storage_testylgm88mylukskey", "gid": 0, "group": "root", "md5sum": "4ac07b967150835c00d0865161e48744", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 32, "src": "/root/.ansible/tmp/ansible-tmp-1722015879.55918-7807-15216843719294/.source", "state": "file", "uid": 0 } TASK [Create an encrypted lvm pool using a key file] *************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/tests_luks_pool.yml:116 Friday 26 July 2024 13:44:40 -0400 (0:00:00.788) 0:01:13.341 *********** included: fedora.linux_system_roles.storage for managed_node1 TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Friday 26 July 2024 13:44:40 -0400 (0:00:00.028) 0:01:13.370 *********** included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Friday 26 July 2024 13:44:40 -0400 (0:00:00.025) 0:01:13.395 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "__storage_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Friday 26 July 2024 13:44:40 -0400 (0:00:00.027) 0:01:13.422 *********** skipping: [managed_node1] => (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_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_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs", "stratisd", "stratis-cli" ] }, "ansible_included_var_files": [ "/tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } ok: [managed_node1] => (item=CentOS_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs", "stratisd", "stratis-cli" ] }, "ansible_included_var_files": [ "/tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } TASK [fedora.linux_system_roles.storage : Check if system is ostree] *********** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:25 Friday 26 July 2024 13:44:40 -0400 (0:00:00.044) 0:01:13.467 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "not __storage_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set flag to indicate system is ostree] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:30 Friday 26 July 2024 13:44:40 -0400 (0:00:00.022) 0:01:13.489 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "not __storage_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Define an empty list of pools to be used in testing] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Friday 26 July 2024 13:44:40 -0400 (0:00:00.022) 0:01:13.512 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Define an empty list of volumes to be used in testing] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Friday 26 July 2024 13:44:40 -0400 (0:00:00.018) 0:01:13.530 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Include the appropriate provider tasks] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Friday 26 July 2024 13:44:40 -0400 (0:00:00.021) 0:01:13.551 *********** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for managed_node1 TASK [fedora.linux_system_roles.storage : Make sure blivet is available] ******* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Friday 26 July 2024 13:44:40 -0400 (0:00:00.045) 0:01:13.597 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"blivet_available\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Show storage_pools] ****************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:9 Friday 26 July 2024 13:44:40 -0400 (0:00:00.023) 0:01:13.620 *********** ok: [managed_node1] => { "storage_pools": [ { "disks": [ "sda" ], "encryption": true, "encryption_key": "/tmp/storage_testylgm88mylukskey", "name": "foo", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "4g" } ] } ] } TASK [fedora.linux_system_roles.storage : Show storage_volumes] **************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:14 Friday 26 July 2024 13:44:40 -0400 (0:00:00.022) 0:01:13.643 *********** ok: [managed_node1] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : Get required packages] *************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:19 Friday 26 July 2024 13:44:40 -0400 (0:00:00.022) 0:01:13.665 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"packages_installed\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Enable copr repositories if needed] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:31 Friday 26 July 2024 13:44:40 -0400 (0:00:00.021) 0:01:13.687 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"packages_installed\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Make sure required packages are installed] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:37 Friday 26 July 2024 13:44:40 -0400 (0:00:00.021) 0:01:13.708 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"packages_installed\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Get service facts] ******************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:51 Friday 26 July 2024 13:44:40 -0400 (0:00:00.022) 0:01:13.730 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"service_facts\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:57 Friday 26 July 2024 13:44:40 -0400 (0:00:00.023) 0:01:13.754 *********** ok: [managed_node1] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:63 Friday 26 July 2024 13:44:40 -0400 (0:00:00.038) 0:01:13.792 *********** skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.storage : Manage the pools and volumes to match the specified state] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:69 Friday 26 July 2024 13:44:40 -0400 (0:00:00.015) 0:01:13.808 *********** changed: [managed_node1] => { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "luks" }, { "action": "create device", "device": "/dev/mapper/luks-3f087d84-fac5-4fe1-8f3a-830faf7ed2d5", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/luks-3f087d84-fac5-4fe1-8f3a-830faf7ed2d5", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" } ], "changed": true, "crypts": [ { "backing_device": "/dev/sda", "name": "luks-3f087d84-fac5-4fe1-8f3a-830faf7ed2d5", "password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "state": "present" } ], "leaves": [ "/dev/sdb", "/dev/sdc", "/dev/sdd", "/dev/sde", "/dev/sdf", "/dev/sdg", "/dev/sdh", "/dev/sdi", "/dev/xvda1", "/dev/mapper/foo-test1" ], "mounts": [ { "dump": 0, "fstype": "xfs", "group": null, "mode": null, "opts": "defaults", "owner": null, "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "lvm2", "xfsprogs", "cryptsetup" ], "pools": [ { "disks": [ "sda" ], "encryption": true, "encryption_cipher": null, "encryption_clevis_pin": null, "encryption_key": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "encryption_tang_thumbprint": null, "encryption_tang_url": null, "grow_to_fill": false, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "shared": false, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_group": null, "mount_mode": null, "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "mount_user": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "raid_stripe_size": null, "size": "4g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:83 Friday 26 July 2024 13:44:50 -0400 (0:00:09.906) 0:01:23.715 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_udevadm_trigger | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Check if /etc/fstab is present] ****** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Friday 26 July 2024 13:44:50 -0400 (0:00:00.025) 0:01:23.740 *********** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722015607.4401615, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8cad013d63365688432a8388114a8a462d88d654", "ctime": 1721812897.039903, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2097283, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1721812897.039903, "nlink": 1, "path": "/etc/fstab", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 1344, "uid": 0, "version": "3617642505", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : Add fingerprint to /etc/fstab if present] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:95 Friday 26 July 2024 13:44:51 -0400 (0:00:00.383) 0:01:24.124 *********** changed: [managed_node1] => { "backup": "", "changed": true } MSG: line added TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:113 Friday 26 July 2024 13:44:51 -0400 (0:00:00.468) 0:01:24.592 *********** skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.storage : Show blivet_output] ****************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:119 Friday 26 July 2024 13:44:51 -0400 (0:00:00.016) 0:01:24.608 *********** ok: [managed_node1] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "luks" }, { "action": "create device", "device": "/dev/mapper/luks-3f087d84-fac5-4fe1-8f3a-830faf7ed2d5", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/luks-3f087d84-fac5-4fe1-8f3a-830faf7ed2d5", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" } ], "changed": true, "crypts": [ { "backing_device": "/dev/sda", "name": "luks-3f087d84-fac5-4fe1-8f3a-830faf7ed2d5", "password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "state": "present" } ], "failed": false, "leaves": [ "/dev/sdb", "/dev/sdc", "/dev/sdd", "/dev/sde", "/dev/sdf", "/dev/sdg", "/dev/sdh", "/dev/sdi", "/dev/xvda1", "/dev/mapper/foo-test1" ], "mounts": [ { "dump": 0, "fstype": "xfs", "group": null, "mode": null, "opts": "defaults", "owner": null, "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "lvm2", "xfsprogs", "cryptsetup" ], "pools": [ { "disks": [ "sda" ], "encryption": true, "encryption_cipher": null, "encryption_clevis_pin": null, "encryption_key": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "encryption_tang_thumbprint": null, "encryption_tang_url": null, "grow_to_fill": false, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "shared": false, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_group": null, "mount_mode": null, "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "mount_user": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "raid_stripe_size": null, "size": "4g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : Set the list of pools for test verification] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:128 Friday 26 July 2024 13:44:51 -0400 (0:00:00.027) 0:01:24.636 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": true, "encryption_cipher": null, "encryption_clevis_pin": null, "encryption_key": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "encryption_tang_thumbprint": null, "encryption_tang_url": null, "grow_to_fill": false, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "shared": false, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_group": null, "mount_mode": null, "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "mount_user": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "raid_stripe_size": null, "size": "4g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : Set the list of volumes for test verification] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Friday 26 July 2024 13:44:51 -0400 (0:00:00.022) 0:01:24.659 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Remove obsolete mounts] ************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Friday 26 July 2024 13:44:51 -0400 (0:00:00.021) 0:01:24.680 *********** skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.storage : Tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:159 Friday 26 July 2024 13:44:51 -0400 (0:00:00.029) 0:01:24.709 *********** ok: [managed_node1] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : Set up new/current mounts] *********** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:164 Friday 26 July 2024 13:44:52 -0400 (0:00:00.939) 0:01:25.649 *********** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [managed_node1] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted', 'owner': None, 'group': None, 'mode': None}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "group": null, "mode": null, "opts": "defaults", "owner": null, "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [fedora.linux_system_roles.storage : Manage mount ownership/permissions] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:175 Friday 26 July 2024 13:44:53 -0400 (0:00:00.534) 0:01:26.183 *********** skipping: [managed_node1] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted', 'owner': None, 'group': None, 'mode': None}) => { "ansible_loop_var": "mount_info", "changed": false, "false_condition": "mount_info['owner'] != none or mount_info['group'] != none or mount_info['mode'] != none", "mount_info": { "dump": 0, "fstype": "xfs", "group": null, "mode": null, "opts": "defaults", "owner": null, "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.storage : Tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:187 Friday 26 July 2024 13:44:53 -0400 (0:00:00.033) 0:01:26.217 *********** ok: [managed_node1] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : Retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:195 Friday 26 July 2024 13:44:53 -0400 (0:00:00.711) 0:01:26.928 *********** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722015767.9031963, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1721811897.01, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2097284, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1721811632.521, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "848569508", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : Manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:200 Friday 26 July 2024 13:44:54 -0400 (0:00:00.374) 0:01:27.302 *********** changed: [managed_node1] => (item={'backing_device': '/dev/sda', 'name': 'luks-3f087d84-fac5-4fe1-8f3a-830faf7ed2d5', 'password': 'VALUE_SPECIFIED_IN_NO_LOG_PARAMETER', 'state': 'present'}) => { "ansible_loop_var": "entry", "backup": "", "changed": true, "entry": { "backing_device": "/dev/sda", "name": "luks-3f087d84-fac5-4fe1-8f3a-830faf7ed2d5", "password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "state": "present" } } MSG: line added TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:222 Friday 26 July 2024 13:44:54 -0400 (0:00:00.390) 0:01:27.693 *********** ok: [managed_node1] TASK [Verify role results] ***************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/tests_luks_pool.yml:131 Friday 26 July 2024 13:44:55 -0400 (0:00:00.978) 0:01:28.671 *********** included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml for managed_node1 TASK [Print out pool information] ********************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:2 Friday 26 July 2024 13:44:55 -0400 (0:00:00.029) 0:01:28.701 *********** ok: [managed_node1] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": true, "encryption_cipher": null, "encryption_clevis_pin": null, "encryption_key": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "encryption_tang_thumbprint": null, "encryption_tang_url": null, "grow_to_fill": false, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "shared": false, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_group": null, "mount_mode": null, "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "mount_user": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "raid_stripe_size": null, "size": "4g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:7 Friday 26 July 2024 13:44:55 -0400 (0:00:00.033) 0:01:28.734 *********** skipping: [managed_node1] => { "false_condition": "_storage_volumes_list | length > 0" } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:15 Friday 26 July 2024 13:44:55 -0400 (0:00:00.023) 0:01:28.757 *********** ok: [managed_node1] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "mountpoint": "/opt/test1", "name": "/dev/mapper/foo-test1", "size": "4G", "type": "lvm", "uuid": "e40d5aca-9784-42cf-9132-10bf6d13f89f" }, "/dev/mapper/luks-3f087d84-fac5-4fe1-8f3a-830faf7ed2d5": { "fstype": "LVM2_member", "label": "", "mountpoint": "", "name": "/dev/mapper/luks-3f087d84-fac5-4fe1-8f3a-830faf7ed2d5", "size": "10G", "type": "crypt", "uuid": "8jBGav-dGiy-hz3u-4eXy-jo30-0jv0-pCPV3x" }, "/dev/sda": { "fstype": "crypto_LUKS", "label": "", "mountpoint": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "3f087d84-fac5-4fe1-8f3a-830faf7ed2d5" }, "/dev/sdb": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdd": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sdd", "size": "1T", "type": "disk", "uuid": "" }, "/dev/sde": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sde", "size": "1T", "type": "disk", "uuid": "" }, "/dev/sdf": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sdf", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdg": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sdg", "size": "1T", "type": "disk", "uuid": "" }, "/dev/sdh": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sdh", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdi": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sdi", "size": "10G", "type": "disk", "uuid": "" }, "/dev/xvda": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/xvda", "size": "250G", "type": "disk", "uuid": "" }, "/dev/xvda1": { "fstype": "xfs", "label": "", "mountpoint": "/", "name": "/dev/xvda1", "size": "250G", "type": "partition", "uuid": "f1d2bc8f-ee92-4d94-8bd5-4abdbef0a7d3" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:20 Friday 26 July 2024 13:44:56 -0400 (0:00:00.459) 0:01:29.217 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003015", "end": "2024-07-26 13:44:56.574633", "rc": 0, "start": "2024-07-26 13:44:56.571618" } STDOUT: # system_role:storage # # /etc/fstab # Created by anaconda on Wed Jul 24 09:00:32 2024 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=f1d2bc8f-ee92-4d94-8bd5-4abdbef0a7d3 / xfs defaults 0 0 ntap-rdu2-c01-eng01-nfs01b.storage.rdu2.redhat.com:/bos_eng01_engineering_sm/devarchive/redhat /mnt/redhat nfs ro,rsize=32768,wsize=8192,bg,noauto,noatime,nosuid,nodev,intr 0 0 nest.test.redhat.com:/mnt/qa /mnt/qa nfs defaults,rsize=8192,wsize=8192,bg,noauto,noatime,nosuid,nodev,intr 0 0 vtap-eng01.storage.rdu2.redhat.com:/vol/engarchive /mnt/engarchive nfs ro,rsize=32768,wsize=8192,bg,noauto,noatime,nosuid,nodev,intr 0 0 nest.test.redhat.com:/mnt/tpsdist /mnt/tpsdist nfs defaults,rsize=8192,wsize=8192,bg,noauto,noatime,nosuid,nodev,intr 0 0 ntap-rdu2-c01-eng01-nfs01b.storage.rdu2.redhat.com:/bos_eng01_engineering_sm/devarchive/redhat/brewroot /mnt/brew nfs ro,rsize=32768,wsize=8192,bg,noauto,noatime,nosuid,nodev,intr 0 0 ntap-rdu2-c01-eng01-nfs01b.storage.rdu2.redhat.com:/bos_eng01_devops_brew_scratch_nfs_sm/scratch /mnt/brew_scratch nfs ro,rsize=32768,wsize=8192,bg,noauto,noatime,nosuid,nodev,intr 0 0 /dev/mapper/foo-test1 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:25 Friday 26 July 2024 13:44:56 -0400 (0:00:00.448) 0:01:29.666 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:01.004071", "end": "2024-07-26 13:44:57.943160", "failed_when_result": false, "rc": 0, "start": "2024-07-26 13:44:56.939089" } STDOUT: luks-3f087d84-fac5-4fe1-8f3a-830faf7ed2d5 /dev/sda VALUE_SPECIFIED_IN_NO_LOG_PARAMETER TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:34 Friday 26 July 2024 13:44:58 -0400 (0:00:01.370) 0:01:31.036 *********** included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool.yml for managed_node1 => (item={'disks': ['sda'], 'encryption': True, 'encryption_cipher': None, 'encryption_key': 'VALUE_SPECIFIED_IN_NO_LOG_PARAMETER', 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'encryption_clevis_pin': None, 'encryption_tang_url': None, 'encryption_tang_thumbprint': None, 'grow_to_fill': False, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'raid_chunk_size': None, 'shared': False, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'mount_user': None, 'mount_group': None, 'mount_mode': None, 'name': 'test1', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'raid_stripe_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}]}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool.yml:5 Friday 26 July 2024 13:44:58 -0400 (0:00:00.044) 0:01:31.081 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [Get VG shared value status] ********************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool.yml:18 Friday 26 July 2024 13:44:58 -0400 (0:00:00.018) 0:01:31.099 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "vgs", "--noheadings", "--binary", "-o", "shared", "foo" ], "delta": "0:00:00.026060", "end": "2024-07-26 13:44:58.396585", "rc": 0, "start": "2024-07-26 13:44:58.370525" } STDOUT: 0 TASK [Verify that VG shared value checks out] ********************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool.yml:24 Friday 26 July 2024 13:44:58 -0400 (0:00:00.388) 0:01:31.487 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify pool subset] ****************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool.yml:34 Friday 26 July 2024 13:44:58 -0400 (0:00:00.024) 0:01:31.512 *********** included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml for managed_node1 => (item=members) included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-volumes.yml for managed_node1 => (item=volumes) TASK [Set test variables] ****************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:2 Friday 26 July 2024 13:44:58 -0400 (0:00:00.044) 0:01:31.557 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/mapper/luks-3f087d84-fac5-4fe1-8f3a-830faf7ed2d5" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:8 Friday 26 July 2024 13:44:58 -0400 (0:00:00.034) 0:01:31.591 *********** ok: [managed_node1] => (item=/dev/mapper/luks-3f087d84-fac5-4fe1-8f3a-830faf7ed2d5) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/mapper/luks-3f087d84-fac5-4fe1-8f3a-830faf7ed2d5", "pv": "/dev/mapper/luks-3f087d84-fac5-4fe1-8f3a-830faf7ed2d5" } TASK [Set pvs lvm length] ****************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:17 Friday 26 July 2024 13:44:59 -0400 (0:00:00.451) 0:01:32.043 *********** ok: [managed_node1] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [Set pool pvs] ************************************************************ task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:22 Friday 26 July 2024 13:44:59 -0400 (0:00:00.026) 0:01:32.069 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/mapper/luks-3f087d84-fac5-4fe1-8f3a-830faf7ed2d5" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:27 Friday 26 July 2024 13:44:59 -0400 (0:00:00.031) 0:01:32.101 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Set expected pv type] **************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:36 Friday 26 July 2024 13:44:59 -0400 (0:00:00.028) 0:01:32.129 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_test_expected_pv_type": "crypt" }, "changed": false } TASK [Set expected pv type] **************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:41 Friday 26 July 2024 13:44:59 -0400 (0:00:00.024) 0:01:32.153 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_pool.type == 'lvm' and not storage_test_pool.encryption", "skip_reason": "Conditional result was False" } TASK [Set expected pv type] **************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:46 Friday 26 July 2024 13:44:59 -0400 (0:00:00.017) 0:01:32.171 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_pool.type == 'lvm' and storage_test_pool.raid_level", "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:51 Friday 26 July 2024 13:44:59 -0400 (0:00:00.017) 0:01:32.188 *********** ok: [managed_node1] => (item=/dev/mapper/luks-3f087d84-fac5-4fe1-8f3a-830faf7ed2d5) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/mapper/luks-3f087d84-fac5-4fe1-8f3a-830faf7ed2d5" } MSG: All assertions passed TASK [Check that blivet supports PV grow to fill] ****************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:64 Friday 26 July 2024 13:44:59 -0400 (0:00:00.026) 0:01:32.215 *********** ok: [managed_node1] => { "changed": false, "rc": 0 } STDOUT: ** (process:19197): WARNING **: 13:44:59.431: failed to load module nvme: libbd_nvme.so.2: cannot open shared object file: No such file or directory True STDERR: OpenSSH_8.7p1, OpenSSL 3.2.2 4 Jun 2024 debug1: Reading configuration data /root/.ssh/config debug1: Reading configuration data /etc/ssh/ssh_config debug1: Reading configuration data /etc/ssh/ssh_config.d/50-redhat.conf debug2: checking match for 'final all' host 10.31.40.14 originally 10.31.40.14 debug2: match not found debug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config debug1: configuration requests final Match pass debug2: resolve_canonicalize: hostname 10.31.40.14 is address debug1: re-parsing configuration debug1: Reading configuration data /root/.ssh/config debug1: Reading configuration data /etc/ssh/ssh_config debug1: Reading configuration data /etc/ssh/ssh_config.d/50-redhat.conf debug2: checking match for 'final all' host 10.31.40.14 originally 10.31.40.14 debug2: match found debug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config debug1: auto-mux: Trying existing master debug2: fd 3 setting O_NONBLOCK debug2: mux_client_hello_exchange: master version 4 debug1: mux_client_request_session: master session id: 2 debug2: Received exit status from master 0 Shared connection to 10.31.40.14 closed. TASK [Verify that PVs fill the whole devices when they should] ***************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:73 Friday 26 July 2024 13:44:59 -0400 (0:00:00.396) 0:01:32.612 *********** skipping: [managed_node1] => (item=/dev/mapper/luks-3f087d84-fac5-4fe1-8f3a-830faf7ed2d5) => { "ansible_loop_var": "st_pool_pv", "changed": false, "false_condition": "grow_supported.stdout | trim == 'True'", "skip_reason": "Conditional result was False", "st_pool_pv": "/dev/mapper/luks-3f087d84-fac5-4fe1-8f3a-830faf7ed2d5" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [Check MD RAID] *********************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:83 Friday 26 July 2024 13:44:59 -0400 (0:00:00.027) 0:01:32.639 *********** included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml for managed_node1 TASK [Get information about RAID] ********************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:8 Friday 26 July 2024 13:44:59 -0400 (0:00:00.041) 0:01:32.680 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_pool.raid_level != none", "skip_reason": "Conditional result was False" } TASK [Set active devices regex] ************************************************ task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:14 Friday 26 July 2024 13:44:59 -0400 (0:00:00.017) 0:01:32.698 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_pool.raid_level != none", "skip_reason": "Conditional result was False" } TASK [Set spare devices regex] ************************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:19 Friday 26 July 2024 13:44:59 -0400 (0:00:00.018) 0:01:32.717 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_pool.raid_level != none", "skip_reason": "Conditional result was False" } TASK [Set md version regex] **************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:24 Friday 26 July 2024 13:44:59 -0400 (0:00:00.020) 0:01:32.737 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_pool.raid_level != none", "skip_reason": "Conditional result was False" } TASK [Set md chunk size regex] ************************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:29 Friday 26 July 2024 13:44:59 -0400 (0:00:00.017) 0:01:32.755 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_pool.raid_level != none", "skip_reason": "Conditional result was False" } TASK [Parse the chunk size] **************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:37 Friday 26 July 2024 13:44:59 -0400 (0:00:00.017) 0:01:32.772 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_pool.raid_level != none", "skip_reason": "Conditional result was False" } TASK [Check RAID active devices count] ***************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:46 Friday 26 July 2024 13:44:59 -0400 (0:00:00.016) 0:01:32.789 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_pool.raid_level != none", "skip_reason": "Conditional result was False" } TASK [Check RAID spare devices count] ****************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:55 Friday 26 July 2024 13:44:59 -0400 (0:00:00.018) 0:01:32.807 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_pool.raid_level != none", "skip_reason": "Conditional result was False" } TASK [Check RAID metadata version] ********************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:64 Friday 26 July 2024 13:44:59 -0400 (0:00:00.019) 0:01:32.827 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_pool.raid_level != none", "skip_reason": "Conditional result was False" } TASK [Check RAID chunk size] *************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:74 Friday 26 July 2024 13:44:59 -0400 (0:00:00.018) 0:01:32.845 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_pool.raid_level != none", "skip_reason": "Conditional result was False" } TASK [Reset variables used by tests] ******************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:83 Friday 26 July 2024 13:44:59 -0400 (0:00:00.019) 0:01:32.865 *********** ok: [managed_node1] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_chunk_size_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:86 Friday 26 July 2024 13:44:59 -0400 (0:00:00.019) 0:01:32.884 *********** included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-lvmraid.yml for managed_node1 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-lvmraid.yml:2 Friday 26 July 2024 13:44:59 -0400 (0:00:00.039) 0:01:32.923 *********** included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-lvmraid.yml for managed_node1 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'mount_user': None, 'mount_group': None, 'mount_mode': None, 'name': 'test1', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'raid_stripe_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) TASK [Get information about the LV] ******************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-lvmraid.yml:8 Friday 26 July 2024 13:44:59 -0400 (0:00:00.038) 0:01:32.962 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_lvmraid_volume.raid_level is not none", "skip_reason": "Conditional result was False" } TASK [Set LV segment type] ***************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-lvmraid.yml:16 Friday 26 July 2024 13:44:59 -0400 (0:00:00.025) 0:01:32.987 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_lvmraid_volume.raid_level is not none", "skip_reason": "Conditional result was False" } TASK [Check segment type] ****************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-lvmraid.yml:20 Friday 26 July 2024 13:44:59 -0400 (0:00:00.022) 0:01:33.009 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_lvmraid_volume.raid_level is not none", "skip_reason": "Conditional result was False" } TASK [Set LV stripe size] ****************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-lvmraid.yml:27 Friday 26 July 2024 13:44:59 -0400 (0:00:00.022) 0:01:33.031 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_lvmraid_volume.raid_level is not none", "skip_reason": "Conditional result was False" } TASK [Parse the requested stripe size] ***************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-lvmraid.yml:31 Friday 26 July 2024 13:45:00 -0400 (0:00:00.027) 0:01:33.059 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_lvmraid_volume.raid_level is not none", "skip_reason": "Conditional result was False" } TASK [Set expected stripe size] ************************************************ task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-lvmraid.yml:37 Friday 26 July 2024 13:45:00 -0400 (0:00:00.023) 0:01:33.082 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_lvmraid_volume.raid_level is not none", "skip_reason": "Conditional result was False" } TASK [Check stripe size] ******************************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-lvmraid.yml:42 Friday 26 July 2024 13:45:00 -0400 (0:00:00.024) 0:01:33.106 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_lvmraid_volume.raid_level is not none", "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:89 Friday 26 July 2024 13:45:00 -0400 (0:00:00.022) 0:01:33.128 *********** included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-thin.yml for managed_node1 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-thin.yml:2 Friday 26 July 2024 13:45:00 -0400 (0:00:00.040) 0:01:33.169 *********** included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-thin.yml for managed_node1 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'mount_user': None, 'mount_group': None, 'mount_mode': None, 'name': 'test1', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'raid_stripe_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-thin.yml:8 Friday 26 July 2024 13:45:00 -0400 (0:00:00.036) 0:01:33.205 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_thin_volume.thin", "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-thin.yml:16 Friday 26 July 2024 13:45:00 -0400 (0:00:00.020) 0:01:33.226 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_thin_volume.thin", "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-thin.yml:22 Friday 26 July 2024 13:45:00 -0400 (0:00:00.017) 0:01:33.244 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_thin_volume.thin", "skip_reason": "Conditional result was False" } TASK [Reset variable used by test] ********************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-thin.yml:26 Friday 26 July 2024 13:45:00 -0400 (0:00:00.018) 0:01:33.262 *********** ok: [managed_node1] => { "ansible_facts": { "storage_test_thin_status": null }, "changed": false } TASK [Check member encryption] ************************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:92 Friday 26 July 2024 13:45:00 -0400 (0:00:00.023) 0:01:33.285 *********** included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-encryption.yml for managed_node1 TASK [Set test variables] ****************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-encryption.yml:5 Friday 26 July 2024 13:45:00 -0400 (0:00:00.069) 0:01:33.355 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "1", "_storage_test_expected_crypttab_key_file": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-encryption.yml:10 Friday 26 July 2024 13:45:00 -0400 (0:00:00.027) 0:01:33.382 *********** included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-encryption.yml for managed_node1 => (item=/dev/mapper/luks-3f087d84-fac5-4fe1-8f3a-830faf7ed2d5) TASK [Get the backing device path] ********************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-encryption.yml:2 Friday 26 July 2024 13:45:00 -0400 (0:00:00.038) 0:01:33.421 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "realpath", "/dev/disk/by-uuid/3f087d84-fac5-4fe1-8f3a-830faf7ed2d5" ], "delta": "0:00:00.003068", "end": "2024-07-26 13:45:00.712103", "rc": 0, "start": "2024-07-26 13:45:00.709035" } STDOUT: /dev/sda TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-encryption.yml:12 Friday 26 July 2024 13:45:00 -0400 (0:00:00.380) 0:01:33.801 *********** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this member] *************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-encryption.yml:18 Friday 26 July 2024 13:45:01 -0400 (0:00:00.929) 0:01:34.730 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "cryptsetup", "luksDump", "/dev/sda" ], "delta": "0:00:00.006889", "end": "2024-07-26 13:45:02.018178", "rc": 0, "start": "2024-07-26 13:45:02.011289" } STDOUT: LUKS header information Version: 2 Epoch: 3 Metadata area: 16384 [bytes] Keyslots area: 16744448 [bytes] UUID: 3f087d84-fac5-4fe1-8f3a-830faf7ed2d5 Label: (no label) Subsystem: (no subsystem) Flags: (no flags) Data segments: 0: crypt offset: 16777216 [bytes] length: (whole device) cipher: aes-xts-plain64 sector: 512 [bytes] Keyslots: 0: luks2 Key: 512 bits Priority: normal Cipher: aes-xts-plain64 Cipher key: 512 bits PBKDF: argon2id Time cost: 4 Memory: 670261 Threads: 2 Salt: 04 ab 2a e7 48 0f a2 80 b1 cd e4 de 31 46 0c a1 89 63 11 a9 cc 8b 35 82 b9 99 66 99 80 5e 86 ea AF stripes: 4000 AF hash: sha256 Area offset:32768 [bytes] Area length:258048 [bytes] Digest ID: 0 Tokens: Digests: 0: pbkdf2 Hash: sha256 Iterations: 102240 Salt: 2f e7 72 6e c7 1e d6 ac fb d6 6e 2f 6e 95 12 17 55 61 fd f2 be c4 f9 0c 09 51 cc 50 e2 18 3f 25 Digest: 08 25 32 b6 05 29 f8 71 02 a0 d4 71 7e 3e b2 51 f4 3b 80 3a 59 12 ee eb bc 9d 34 ae dd 3e 57 55 TASK [Check LUKS version] ****************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-encryption.yml:26 Friday 26 July 2024 13:45:02 -0400 (0:00:00.381) 0:01:35.112 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_pool.encryption_luks_version", "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-encryption.yml:38 Friday 26 July 2024 13:45:02 -0400 (0:00:00.020) 0:01:35.133 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_pool.encryption_key_size", "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-encryption.yml:50 Friday 26 July 2024 13:45:02 -0400 (0:00:00.022) 0:01:35.155 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_pool.encryption_cipher", "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-encryption.yml:17 Friday 26 July 2024 13:45:02 -0400 (0:00:00.022) 0:01:35.178 *********** included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-crypttab.yml for managed_node1 => (item=/dev/mapper/luks-3f087d84-fac5-4fe1-8f3a-830faf7ed2d5) TASK [Set variables used by tests] ********************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-crypttab.yml:2 Friday 26 July 2024 13:45:02 -0400 (0:00:00.042) 0:01:35.220 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_test_crypttab_entries": [ "luks-3f087d84-fac5-4fe1-8f3a-830faf7ed2d5 /dev/sda VALUE_SPECIFIED_IN_NO_LOG_PARAMETER" ] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-crypttab.yml:6 Friday 26 July 2024 13:45:02 -0400 (0:00:00.032) 0:01:35.253 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-crypttab.yml:14 Friday 26 July 2024 13:45:02 -0400 (0:00:00.031) 0:01:35.285 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-crypttab.yml:23 Friday 26 July 2024 13:45:02 -0400 (0:00:00.033) 0:01:35.318 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "false and _storage_test_expected_crypttab_entries | int == 1", "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-crypttab.yml:32 Friday 26 July 2024 13:45:02 -0400 (0:00:00.028) 0:01:35.347 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Clear test variables] **************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-crypttab.yml:41 Friday 26 July 2024 13:45:02 -0400 (0:00:00.030) 0:01:35.378 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [Clear test variables] **************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-encryption.yml:24 Friday 26 July 2024 13:45:02 -0400 (0:00:00.020) 0:01:35.398 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:95 Friday 26 July 2024 13:45:02 -0400 (0:00:00.020) 0:01:35.418 *********** included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-vdo.yml for managed_node1 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-vdo.yml:2 Friday 26 July 2024 13:45:02 -0400 (0:00:00.046) 0:01:35.465 *********** included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-vdo.yml for managed_node1 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'mount_user': None, 'mount_group': None, 'mount_mode': None, 'name': 'test1', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'raid_stripe_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) TASK [Get information about VDO deduplication] ********************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-vdo.yml:8 Friday 26 July 2024 13:45:02 -0400 (0:00:00.040) 0:01:35.506 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_vdo_volume.deduplication != none or storage_test_vdo_volume.compression != none", "skip_reason": "Conditional result was False" } TASK [Check if VDO deduplication is off] *************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-vdo.yml:15 Friday 26 July 2024 13:45:02 -0400 (0:00:00.019) 0:01:35.525 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_vdo_volume.deduplication != none or storage_test_vdo_volume.compression != none", "skip_reason": "Conditional result was False" } TASK [Check if VDO deduplication is on] **************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-vdo.yml:21 Friday 26 July 2024 13:45:02 -0400 (0:00:00.018) 0:01:35.544 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_vdo_volume.deduplication != none or storage_test_vdo_volume.compression != none", "skip_reason": "Conditional result was False" } TASK [Get information about VDO compression] *********************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-vdo.yml:27 Friday 26 July 2024 13:45:02 -0400 (0:00:00.020) 0:01:35.564 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_vdo_volume.deduplication != none or storage_test_vdo_volume.compression != none", "skip_reason": "Conditional result was False" } TASK [Check if VDO deduplication is off] *************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-vdo.yml:34 Friday 26 July 2024 13:45:02 -0400 (0:00:00.020) 0:01:35.585 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_vdo_volume.deduplication != none or storage_test_vdo_volume.compression != none", "skip_reason": "Conditional result was False" } TASK [Check if VDO deduplication is on] **************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-vdo.yml:40 Friday 26 July 2024 13:45:02 -0400 (0:00:00.019) 0:01:35.604 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_vdo_volume.deduplication != none or storage_test_vdo_volume.compression != none", "skip_reason": "Conditional result was False" } TASK [Clear test variables] **************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-vdo.yml:46 Friday 26 July 2024 13:45:02 -0400 (0:00:00.020) 0:01:35.624 *********** ok: [managed_node1] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [Check Stratis] *********************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:98 Friday 26 July 2024 13:45:02 -0400 (0:00:00.020) 0:01:35.645 *********** included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-stratis.yml for managed_node1 TASK [Run 'stratis report'] **************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-stratis.yml:6 Friday 26 July 2024 13:45:02 -0400 (0:00:00.051) 0:01:35.697 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_pool.type == 'stratis'", "skip_reason": "Conditional result was False" } TASK [Get information about Stratis] ******************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-stratis.yml:11 Friday 26 July 2024 13:45:02 -0400 (0:00:00.019) 0:01:35.716 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_pool.type == 'stratis'", "skip_reason": "Conditional result was False" } TASK [Verify that the pools was created] *************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-stratis.yml:15 Friday 26 July 2024 13:45:02 -0400 (0:00:00.019) 0:01:35.736 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_pool.type == 'stratis'", "skip_reason": "Conditional result was False" } TASK [Verify that encryption is correctly set] ********************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-stratis.yml:25 Friday 26 July 2024 13:45:02 -0400 (0:00:00.018) 0:01:35.755 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_pool.type == 'stratis'", "skip_reason": "Conditional result was False" } TASK [Verify that Clevis/Tang encryption is correctly set] ********************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-stratis.yml:34 Friday 26 July 2024 13:45:02 -0400 (0:00:00.018) 0:01:35.773 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_pool.type == 'stratis'", "skip_reason": "Conditional result was False" } TASK [Reset variable used by test] ********************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-stratis.yml:44 Friday 26 July 2024 13:45:02 -0400 (0:00:00.018) 0:01:35.791 *********** ok: [managed_node1] => { "ansible_facts": { "storage_test_stratis_report": null }, "changed": false } TASK [Clean up test variables] ************************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:101 Friday 26 July 2024 13:45:02 -0400 (0:00:00.024) 0:01:35.816 *********** ok: [managed_node1] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [Verify the volumes] ****************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-volumes.yml:3 Friday 26 July 2024 13:45:02 -0400 (0:00:00.020) 0:01:35.836 *********** included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume.yml for managed_node1 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'mount_user': None, 'mount_group': None, 'mount_mode': None, 'name': 'test1', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'raid_stripe_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) TASK [Set storage volume test variables] *************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume.yml:2 Friday 26 July 2024 13:45:02 -0400 (0:00:00.035) 0:01:35.872 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [Run test verify for {{ storage_test_volume_subset }}] ******************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume.yml:19 Friday 26 July 2024 13:45:02 -0400 (0:00:00.029) 0:01:35.901 *********** included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml for managed_node1 => (item=mount) included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml for managed_node1 => (item=fstab) included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fs.yml for managed_node1 => (item=fs) included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml for managed_node1 => (item=device) included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml for managed_node1 => (item=encryption) included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml for managed_node1 => (item=md) included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml for managed_node1 => (item=size) included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml for managed_node1 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:7 Friday 26 July 2024 13:45:02 -0400 (0:00:00.115) 0:01:36.017 *********** ok: [managed_node1] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:11 Friday 26 July 2024 13:45:03 -0400 (0:00:00.030) 0:01:36.047 *********** ok: [managed_node1] => { "ansible_facts": { "storage_test_mount_expected_mount_point": "/opt/test1", "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Get information about the mountpoint directory] ************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:19 Friday 26 July 2024 13:45:03 -0400 (0:00:00.030) 0:01:36.078 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "_storage_test_volume_present and storage_test_volume.mount_point and (storage_test_volume.mount_user or storage_test_volume.mount_group or storage_test_volume.mount_mode)", "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:28 Friday 26 July 2024 13:45:03 -0400 (0:00:00.022) 0:01:36.100 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify mount directory user] ********************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:36 Friday 26 July 2024 13:45:03 -0400 (0:00:00.024) 0:01:36.125 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "_storage_test_volume_present and storage_test_volume.mount_point and storage_test_volume.mount_user", "skip_reason": "Conditional result was False" } TASK [Verify mount directory group] ******************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:42 Friday 26 July 2024 13:45:03 -0400 (0:00:00.020) 0:01:36.145 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "_storage_test_volume_present and storage_test_volume.mount_point and storage_test_volume.mount_group", "skip_reason": "Conditional result was False" } TASK [Verify mount directory permissions] ************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:48 Friday 26 July 2024 13:45:03 -0400 (0:00:00.020) 0:01:36.165 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "_storage_test_volume_present and storage_test_volume.mount_point and storage_test_volume.mount_mode", "skip_reason": "Conditional result was False" } TASK [Get path of test volume device] ****************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:57 Friday 26 July 2024 13:45:03 -0400 (0:00:00.019) 0:01:36.184 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.fs_type == \"swap\"", "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:63 Friday 26 July 2024 13:45:03 -0400 (0:00:00.018) 0:01:36.203 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.fs_type == \"swap\"", "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:69 Friday 26 July 2024 13:45:03 -0400 (0:00:00.021) 0:01:36.225 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.fs_type == \"swap\"", "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:79 Friday 26 July 2024 13:45:03 -0400 (0:00:00.018) 0:01:36.244 *********** ok: [managed_node1] => { "ansible_facts": { "storage_test_found_mount_stat": null, "storage_test_mount_expected_mount_point": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml:2 Friday 26 July 2024 13:45:03 -0400 (0:00:00.054) 0:01:36.298 *********** ok: [managed_node1] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml:17 Friday 26 July 2024 13:45:03 -0400 (0:00:00.051) 0:01:36.349 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml:24 Friday 26 July 2024 13:45:03 -0400 (0:00:00.030) 0:01:36.379 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml:33 Friday 26 July 2024 13:45:03 -0400 (0:00:00.032) 0:01:36.411 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "__storage_verify_mount_options | d(false)", "skip_reason": "Conditional result was False" } TASK [Verify fingerprint] ****************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml:45 Friday 26 July 2024 13:45:03 -0400 (0:00:00.024) 0:01:36.435 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Clean up variables] ****************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml:51 Friday 26 July 2024 13:45:03 -0400 (0:00:00.024) 0:01:36.460 *********** ok: [managed_node1] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fs.yml:6 Friday 26 July 2024 13:45:03 -0400 (0:00:00.022) 0:01:36.483 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fs.yml:14 Friday 26 July 2024 13:45:03 -0400 (0:00:00.035) 0:01:36.518 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:3 Friday 26 July 2024 13:45:03 -0400 (0:00:00.031) 0:01:36.549 *********** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722015890.5719137, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1722015890.5719137, "dev": 5, "device_type": 64769, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 737, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1722015890.5719137, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:9 Friday 26 July 2024 13:45:03 -0400 (0:00:00.375) 0:01:36.924 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:16 Friday 26 July 2024 13:45:03 -0400 (0:00:00.025) 0:01:36.950 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "not (_storage_test_volume_present or storage_test_volume.type == 'disk')", "skip_reason": "Conditional result was False" } TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:23 Friday 26 July 2024 13:45:03 -0400 (0:00:00.020) 0:01:36.970 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Process volume type (set initial value) (1/2)] *************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:29 Friday 26 July 2024 13:45:03 -0400 (0:00:00.028) 0:01:36.999 *********** ok: [managed_node1] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [Process volume type (get RAID value) (2/2)] ****************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:33 Friday 26 July 2024 13:45:03 -0400 (0:00:00.022) 0:01:37.021 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.type == \"raid\"", "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:38 Friday 26 July 2024 13:45:04 -0400 (0:00:00.018) 0:01:37.040 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:3 Friday 26 July 2024 13:45:04 -0400 (0:00:00.025) 0:01:37.065 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.encryption", "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:10 Friday 26 July 2024 13:45:04 -0400 (0:00:00.018) 0:01:37.084 *********** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:16 Friday 26 July 2024 13:45:04 -0400 (0:00:00.947) 0:01:38.031 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.encryption and _storage_test_volume_present", "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:22 Friday 26 July 2024 13:45:05 -0400 (0:00:00.021) 0:01:38.052 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.encryption", "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:29 Friday 26 July 2024 13:45:05 -0400 (0:00:00.019) 0:01:38.071 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:40 Friday 26 July 2024 13:45:05 -0400 (0:00:00.031) 0:01:38.103 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "_storage_test_volume_present and storage_test_volume.encryption", "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:46 Friday 26 July 2024 13:45:05 -0400 (0:00:00.018) 0:01:38.121 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "_storage_test_volume_present and storage_test_volume.encryption", "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:51 Friday 26 July 2024 13:45:05 -0400 (0:00:00.019) 0:01:38.141 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.encryption", "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:63 Friday 26 July 2024 13:45:05 -0400 (0:00:00.018) 0:01:38.160 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.encryption", "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:75 Friday 26 July 2024 13:45:05 -0400 (0:00:00.021) 0:01:38.181 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.encryption", "skip_reason": "Conditional result was False" } TASK [Set test variables] ****************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:87 Friday 26 July 2024 13:45:05 -0400 (0:00:00.021) 0:01:38.203 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:93 Friday 26 July 2024 13:45:05 -0400 (0:00:00.035) 0:01:38.239 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:100 Friday 26 July 2024 13:45:05 -0400 (0:00:00.030) 0:01:38.269 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "_storage_test_expected_crypttab_entries | int == 1", "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:108 Friday 26 July 2024 13:45:05 -0400 (0:00:00.024) 0:01:38.294 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "_storage_test_expected_crypttab_entries | int == 1", "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:116 Friday 26 July 2024 13:45:05 -0400 (0:00:00.026) 0:01:38.320 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "_storage_test_expected_crypttab_entries | int == 1", "skip_reason": "Conditional result was False" } TASK [Clear test variables] **************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:124 Friday 26 July 2024 13:45:05 -0400 (0:00:00.026) 0:01:38.347 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [Get information about RAID] ********************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:8 Friday 26 July 2024 13:45:05 -0400 (0:00:00.020) 0:01:38.368 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.type == 'raid'", "skip_reason": "Conditional result was False" } TASK [Set active devices regex] ************************************************ task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:14 Friday 26 July 2024 13:45:05 -0400 (0:00:00.021) 0:01:38.389 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.type == 'raid'", "skip_reason": "Conditional result was False" } TASK [Set spare devices regex] ************************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:19 Friday 26 July 2024 13:45:05 -0400 (0:00:00.018) 0:01:38.407 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.type == 'raid'", "skip_reason": "Conditional result was False" } TASK [Set md version regex] **************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:24 Friday 26 July 2024 13:45:05 -0400 (0:00:00.018) 0:01:38.426 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.type == 'raid'", "skip_reason": "Conditional result was False" } TASK [Set chunk size regex] **************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:29 Friday 26 July 2024 13:45:05 -0400 (0:00:00.020) 0:01:38.446 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.type == 'raid'", "skip_reason": "Conditional result was False" } TASK [Parse the chunk size] **************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:37 Friday 26 July 2024 13:45:05 -0400 (0:00:00.020) 0:01:38.467 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.type == 'raid'", "skip_reason": "Conditional result was False" } TASK [Check RAID active devices count] ***************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:46 Friday 26 July 2024 13:45:05 -0400 (0:00:00.018) 0:01:38.486 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.type == 'raid'", "skip_reason": "Conditional result was False" } TASK [Check RAID spare devices count] ****************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:54 Friday 26 July 2024 13:45:05 -0400 (0:00:00.021) 0:01:38.507 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.type == 'raid'", "skip_reason": "Conditional result was False" } TASK [Check RAID metadata version] ********************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:62 Friday 26 July 2024 13:45:05 -0400 (0:00:00.018) 0:01:38.525 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.type == 'raid'", "skip_reason": "Conditional result was False" } TASK [Check RAID chunk size] *************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:70 Friday 26 July 2024 13:45:05 -0400 (0:00:00.018) 0:01:38.544 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.type == 'raid'", "skip_reason": "Conditional result was False" } TASK [Parse the actual size of the volume] ************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:3 Friday 26 July 2024 13:45:05 -0400 (0:00:00.020) 0:01:38.564 *********** ok: [managed_node1] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [Parse the requested size of the volume] ********************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:11 Friday 26 July 2024 13:45:05 -0400 (0:00:00.465) 0:01:39.030 *********** ok: [managed_node1] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:20 Friday 26 July 2024 13:45:06 -0400 (0:00:00.369) 0:01:39.399 *********** ok: [managed_node1] => { "ansible_facts": { "storage_test_expected_size": "4294967296" }, "changed": false } TASK [Show expected size] ****************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:28 Friday 26 July 2024 13:45:06 -0400 (0:00:00.031) 0:01:39.431 *********** ok: [managed_node1] => { "storage_test_expected_size": "4294967296" } TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:32 Friday 26 July 2024 13:45:06 -0400 (0:00:00.022) 0:01:39.453 *********** ok: [managed_node1] => { "bytes": 10715943403, "changed": false, "lvm": "9g", "parted": "9GiB", "size": "9 GiB" } TASK [Show test pool] ********************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:46 Friday 26 July 2024 13:45:06 -0400 (0:00:00.368) 0:01:39.822 *********** skipping: [managed_node1] => { "false_condition": "'%' in storage_test_volume.size | string" } TASK [Show test blockinfo] ***************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:50 Friday 26 July 2024 13:45:06 -0400 (0:00:00.026) 0:01:39.849 *********** skipping: [managed_node1] => { "false_condition": "'%' in storage_test_volume.size | string" } TASK [Show test pool size] ***************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:54 Friday 26 July 2024 13:45:06 -0400 (0:00:00.030) 0:01:39.879 *********** skipping: [managed_node1] => { "false_condition": "'%' in storage_test_volume.size | string" } TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:58 Friday 26 July 2024 13:45:06 -0400 (0:00:00.027) 0:01:39.907 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "'%' in storage_test_volume.size | string", "skip_reason": "Conditional result was False" } TASK [Default thin pool reserved space values] ********************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:67 Friday 26 July 2024 13:45:06 -0400 (0:00:00.028) 0:01:39.936 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.thin", "skip_reason": "Conditional result was False" } TASK [Default minimal thin pool reserved space size] *************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:71 Friday 26 July 2024 13:45:06 -0400 (0:00:00.019) 0:01:39.955 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.thin", "skip_reason": "Conditional result was False" } TASK [Default maximal thin pool reserved space size] *************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:76 Friday 26 July 2024 13:45:06 -0400 (0:00:00.018) 0:01:39.973 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.thin", "skip_reason": "Conditional result was False" } TASK [Calculate maximum usable space in thin pool] ***************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:82 Friday 26 July 2024 13:45:06 -0400 (0:00:00.018) 0:01:39.992 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.thin", "skip_reason": "Conditional result was False" } TASK [Apply upper size limit to max usable thin pool space] ******************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:86 Friday 26 July 2024 13:45:06 -0400 (0:00:00.023) 0:01:40.015 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.thin", "skip_reason": "Conditional result was False" } TASK [Apply lower size limit to max usable thin pool space] ******************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:91 Friday 26 July 2024 13:45:06 -0400 (0:00:00.019) 0:01:40.035 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.thin", "skip_reason": "Conditional result was False" } TASK [Convert maximum usable thin pool space from int to Size] ***************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:96 Friday 26 July 2024 13:45:07 -0400 (0:00:00.019) 0:01:40.054 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.thin", "skip_reason": "Conditional result was False" } TASK [Show max thin pool size] ************************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:101 Friday 26 July 2024 13:45:07 -0400 (0:00:00.019) 0:01:40.074 *********** skipping: [managed_node1] => { "false_condition": "storage_test_volume.thin" } TASK [Show volume thin pool size] ********************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:105 Friday 26 July 2024 13:45:07 -0400 (0:00:00.018) 0:01:40.092 *********** skipping: [managed_node1] => { "false_condition": "storage_test_volume.thin" } TASK [Show test volume size] *************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:109 Friday 26 July 2024 13:45:07 -0400 (0:00:00.018) 0:01:40.110 *********** skipping: [managed_node1] => { "false_condition": "storage_test_volume.thin" } TASK [Establish base value for expected thin pool size] ************************ task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:113 Friday 26 July 2024 13:45:07 -0400 (0:00:00.022) 0:01:40.132 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.thin", "skip_reason": "Conditional result was False" } TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:120 Friday 26 July 2024 13:45:07 -0400 (0:00:00.018) 0:01:40.151 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.thin", "skip_reason": "Conditional result was False" } TASK [Establish base value for expected thin pool volume size] ***************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:127 Friday 26 July 2024 13:45:07 -0400 (0:00:00.018) 0:01:40.170 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.thin", "skip_reason": "Conditional result was False" } TASK [Calculate the expected thin pool volume size based on percentage value] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:131 Friday 26 July 2024 13:45:07 -0400 (0:00:00.022) 0:01:40.193 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.thin", "skip_reason": "Conditional result was False" } TASK [Replace expected volume size with calculated value] ********************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:137 Friday 26 July 2024 13:45:07 -0400 (0:00:00.018) 0:01:40.212 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.thin", "skip_reason": "Conditional result was False" } TASK [Show actual size] ******************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:143 Friday 26 July 2024 13:45:07 -0400 (0:00:00.018) 0:01:40.230 *********** ok: [managed_node1] => { "storage_test_actual_size": { "bytes": 4294967296, "changed": false, "failed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } } TASK [Show expected size] ****************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:147 Friday 26 July 2024 13:45:07 -0400 (0:00:00.026) 0:01:40.256 *********** ok: [managed_node1] => { "storage_test_expected_size": "4294967296" } TASK [Assert expected size is actual size] ************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:151 Friday 26 July 2024 13:45:07 -0400 (0:00:00.055) 0:01:40.311 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:5 Friday 26 July 2024 13:45:07 -0400 (0:00:00.032) 0:01:40.344 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.034064", "end": "2024-07-26 13:45:07.652742", "rc": 0, "start": "2024-07-26 13:45:07.618678" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [Set LV segment type] ***************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:13 Friday 26 July 2024 13:45:07 -0400 (0:00:00.400) 0:01:40.745 *********** ok: [managed_node1] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [Check segment type] ****************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:17 Friday 26 July 2024 13:45:07 -0400 (0:00:00.028) 0:01:40.773 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Set LV cache size] ******************************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:24 Friday 26 July 2024 13:45:07 -0400 (0:00:00.030) 0:01:40.803 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.cached | bool", "skip_reason": "Conditional result was False" } TASK [Parse the requested cache size] ****************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:31 Friday 26 July 2024 13:45:07 -0400 (0:00:00.024) 0:01:40.827 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.cached | bool", "skip_reason": "Conditional result was False" } TASK [Set expected cache size] ************************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:37 Friday 26 July 2024 13:45:07 -0400 (0:00:00.032) 0:01:40.859 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.cached | bool", "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:42 Friday 26 July 2024 13:45:07 -0400 (0:00:00.024) 0:01:40.884 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.cached | bool", "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume.yml:25 Friday 26 July 2024 13:45:07 -0400 (0:00:00.027) 0:01:40.912 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:44 Friday 26 July 2024 13:45:07 -0400 (0:00:00.021) 0:01:40.933 *********** skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:54 Friday 26 July 2024 13:45:07 -0400 (0:00:00.017) 0:01:40.950 *********** ok: [managed_node1] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Remove the key file] ***************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/tests_luks_pool.yml:134 Friday 26 July 2024 13:45:07 -0400 (0:00:00.022) 0:01:40.972 *********** ok: [managed_node1] => { "changed": false, "path": "/tmp/storage_testylgm88mylukskey", "state": "absent" } TASK [Create a file] *********************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/create-test-file.yml:12 Friday 26 July 2024 13:45:08 -0400 (0:00:00.474) 0:01:41.447 *********** changed: [managed_node1] => { "changed": true, "dest": "/opt/test1/quux", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:unlabeled_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [Test for correct handling of safe_mode] ********************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/tests_luks_pool.yml:143 Friday 26 July 2024 13:45:08 -0400 (0:00:00.386) 0:01:41.834 *********** included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml for managed_node1 TASK [Store global variable value copy] **************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:4 Friday 26 July 2024 13:45:08 -0400 (0:00:00.031) 0:01:41.865 *********** ok: [managed_node1] => { "ansible_facts": { "storage_pools_global": [], "storage_safe_mode_global": true, "storage_volumes_global": [] }, "changed": false } TASK [Verify role raises correct error] **************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:10 Friday 26 July 2024 13:45:08 -0400 (0:00:00.027) 0:01:41.893 *********** included: fedora.linux_system_roles.storage for managed_node1 TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Friday 26 July 2024 13:45:08 -0400 (0:00:00.032) 0:01:41.926 *********** included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Friday 26 July 2024 13:45:08 -0400 (0:00:00.027) 0:01:41.953 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "__storage_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Friday 26 July 2024 13:45:08 -0400 (0:00:00.030) 0:01:41.984 *********** skipping: [managed_node1] => (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_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_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs", "stratisd", "stratis-cli" ] }, "ansible_included_var_files": [ "/tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } ok: [managed_node1] => (item=CentOS_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs", "stratisd", "stratis-cli" ] }, "ansible_included_var_files": [ "/tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } TASK [fedora.linux_system_roles.storage : Check if system is ostree] *********** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:25 Friday 26 July 2024 13:45:08 -0400 (0:00:00.048) 0:01:42.032 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "not __storage_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set flag to indicate system is ostree] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:30 Friday 26 July 2024 13:45:09 -0400 (0:00:00.025) 0:01:42.058 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "not __storage_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Define an empty list of pools to be used in testing] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Friday 26 July 2024 13:45:09 -0400 (0:00:00.022) 0:01:42.080 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Define an empty list of volumes to be used in testing] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Friday 26 July 2024 13:45:09 -0400 (0:00:00.020) 0:01:42.100 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Include the appropriate provider tasks] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Friday 26 July 2024 13:45:09 -0400 (0:00:00.019) 0:01:42.119 *********** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for managed_node1 TASK [fedora.linux_system_roles.storage : Make sure blivet is available] ******* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Friday 26 July 2024 13:45:09 -0400 (0:00:00.049) 0:01:42.169 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"blivet_available\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Show storage_pools] ****************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:9 Friday 26 July 2024 13:45:09 -0400 (0:00:00.026) 0:01:42.196 *********** ok: [managed_node1] => { "storage_pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_password": "yabbadabbadoo", "name": "foo", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "4g" } ] } ] } TASK [fedora.linux_system_roles.storage : Show storage_volumes] **************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:14 Friday 26 July 2024 13:45:09 -0400 (0:00:00.024) 0:01:42.221 *********** ok: [managed_node1] => { "storage_volumes": [] } TASK [fedora.linux_system_roles.storage : Get required packages] *************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:19 Friday 26 July 2024 13:45:09 -0400 (0:00:00.023) 0:01:42.245 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"packages_installed\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Enable copr repositories if needed] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:31 Friday 26 July 2024 13:45:09 -0400 (0:00:00.022) 0:01:42.267 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"packages_installed\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Make sure required packages are installed] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:37 Friday 26 July 2024 13:45:09 -0400 (0:00:00.025) 0:01:42.293 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"packages_installed\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Get service facts] ******************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:51 Friday 26 July 2024 13:45:09 -0400 (0:00:00.022) 0:01:42.316 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"service_facts\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:57 Friday 26 July 2024 13:45:09 -0400 (0:00:00.024) 0:01:42.341 *********** ok: [managed_node1] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:63 Friday 26 July 2024 13:45:09 -0400 (0:00:00.038) 0:01:42.379 *********** skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.storage : Manage the pools and volumes to match the specified state] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:69 Friday 26 July 2024 13:45:09 -0400 (0:00:00.017) 0:01:42.397 *********** fatal: [managed_node1]: FAILED! => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } MSG: cannot remove and recreate existing pool 'foo' in safe mode TASK [fedora.linux_system_roles.storage : Failed message] ********************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:109 Friday 26 July 2024 13:45:10 -0400 (0:00:01.279) 0:01:43.676 *********** fatal: [managed_node1]: FAILED! => { "changed": false } MSG: {'changed': False, 'actions': [], 'leaves': [], 'mounts': [], 'crypts': [], 'pools': [], 'volumes': [], 'packages': [], 'failed': True, 'msg': "cannot remove and recreate existing pool 'foo' in safe mode", 'invocation': {'module_args': {'pools': [{'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': 0, 'encryption_luks_version': 'luks2', 'encryption_password': 'VALUE_SPECIFIED_IN_NO_LOG_PARAMETER', 'encryption_clevis_pin': None, 'encryption_tang_url': None, 'encryption_tang_thumbprint': None, 'grow_to_fill': False, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'raid_chunk_size': None, 'shared': False, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': None, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': None, 'fs_label': None, 'fs_type': None, 'mount_options': None, 'mount_point': '/opt/test1', 'mount_user': None, 'mount_group': None, 'mount_mode': None, 'name': 'test1', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': None, 'cached': None, 'cache_devices': [], 'cache_mode': None, 'cache_size': None, 'compression': None, 'deduplication': None, 'raid_disks': [], 'raid_stripe_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None}]}], 'volumes': [], 'use_partitions': None, 'disklabel_type': None, 'pool_defaults': {'state': 'present', 'type': 'lvm', 'disks': [], 'volumes': [], 'grow_to_fill': False, 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, 'shared': False}, 'volume_defaults': {'state': 'present', 'type': 'lvm', 'size': 0, 'disks': [], 'fs_type': 'xfs', 'fs_label': '', 'fs_create_options': '', 'fs_overwrite_existing': True, 'mount_point': '', 'mount_options': 'defaults', 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_stripe_size': None, 'raid_metadata_version': None, 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': []}, 'safe_mode': True, 'packages_only': False, 'diskvolume_mkfs_option_map': {}}}, '_ansible_no_log': False} TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:113 Friday 26 July 2024 13:45:10 -0400 (0:00:00.027) 0:01:43.704 *********** skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Check that we failed in the role] **************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:23 Friday 26 July 2024 13:45:10 -0400 (0:00:00.018) 0:01:43.722 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the blivet output and error message are correct] ****************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:28 Friday 26 July 2024 13:45:10 -0400 (0:00:00.021) 0:01:43.744 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify correct exception or error message] ******************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:39 Friday 26 July 2024 13:45:10 -0400 (0:00:00.028) 0:01:43.772 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "__storage_failed_exception is defined", "skip_reason": "Conditional result was False" } TASK [Stat the file] *********************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-data-preservation.yml:11 Friday 26 July 2024 13:45:10 -0400 (0:00:00.022) 0:01:43.795 *********** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722015908.7371619, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1722015908.7371619, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 131, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0644", "mtime": 1722015908.7371619, "nlink": 1, "path": "/opt/test1/quux", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "version": "6299357", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Assert file presence] **************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-data-preservation.yml:16 Friday 26 July 2024 13:45:11 -0400 (0:00:00.370) 0:01:44.166 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Remove the encryption layer] ********************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/tests_luks_pool.yml:165 Friday 26 July 2024 13:45:11 -0400 (0:00:00.026) 0:01:44.192 *********** included: fedora.linux_system_roles.storage for managed_node1 TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Friday 26 July 2024 13:45:11 -0400 (0:00:00.040) 0:01:44.232 *********** included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Friday 26 July 2024 13:45:11 -0400 (0:00:00.030) 0:01:44.263 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "__storage_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Friday 26 July 2024 13:45:11 -0400 (0:00:00.027) 0:01:44.291 *********** skipping: [managed_node1] => (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_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_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs", "stratisd", "stratis-cli" ] }, "ansible_included_var_files": [ "/tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } ok: [managed_node1] => (item=CentOS_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs", "stratisd", "stratis-cli" ] }, "ansible_included_var_files": [ "/tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } TASK [fedora.linux_system_roles.storage : Check if system is ostree] *********** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:25 Friday 26 July 2024 13:45:11 -0400 (0:00:00.051) 0:01:44.342 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "not __storage_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set flag to indicate system is ostree] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:30 Friday 26 July 2024 13:45:11 -0400 (0:00:00.022) 0:01:44.364 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "not __storage_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Define an empty list of pools to be used in testing] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Friday 26 July 2024 13:45:11 -0400 (0:00:00.023) 0:01:44.387 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Define an empty list of volumes to be used in testing] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Friday 26 July 2024 13:45:11 -0400 (0:00:00.019) 0:01:44.407 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Include the appropriate provider tasks] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Friday 26 July 2024 13:45:11 -0400 (0:00:00.021) 0:01:44.428 *********** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for managed_node1 TASK [fedora.linux_system_roles.storage : Make sure blivet is available] ******* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Friday 26 July 2024 13:45:11 -0400 (0:00:00.046) 0:01:44.475 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"blivet_available\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Show storage_pools] ****************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:9 Friday 26 July 2024 13:45:11 -0400 (0:00:00.024) 0:01:44.500 *********** ok: [managed_node1] => { "storage_pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_password": "yabbadabbadoo", "name": "foo", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "4g" } ] } ] } TASK [fedora.linux_system_roles.storage : Show storage_volumes] **************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:14 Friday 26 July 2024 13:45:11 -0400 (0:00:00.024) 0:01:44.524 *********** ok: [managed_node1] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : Get required packages] *************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:19 Friday 26 July 2024 13:45:11 -0400 (0:00:00.053) 0:01:44.577 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"packages_installed\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Enable copr repositories if needed] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:31 Friday 26 July 2024 13:45:11 -0400 (0:00:00.024) 0:01:44.601 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"packages_installed\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Make sure required packages are installed] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:37 Friday 26 July 2024 13:45:11 -0400 (0:00:00.026) 0:01:44.628 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"packages_installed\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Get service facts] ******************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:51 Friday 26 July 2024 13:45:11 -0400 (0:00:00.023) 0:01:44.651 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"service_facts\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:57 Friday 26 July 2024 13:45:11 -0400 (0:00:00.025) 0:01:44.676 *********** ok: [managed_node1] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:63 Friday 26 July 2024 13:45:11 -0400 (0:00:00.039) 0:01:44.715 *********** skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.storage : Manage the pools and volumes to match the specified state] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:69 Friday 26 July 2024 13:45:11 -0400 (0:00:00.021) 0:01:44.737 *********** changed: [managed_node1] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/mapper/luks-3f087d84-fac5-4fe1-8f3a-830faf7ed2d5", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/mapper/luks-3f087d84-fac5-4fe1-8f3a-830faf7ed2d5", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "luks" }, { "action": "create format", "device": "/dev/sda", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" } ], "changed": true, "crypts": [ { "backing_device": "/dev/sda", "name": "luks-3f087d84-fac5-4fe1-8f3a-830faf7ed2d5", "password": "-", "state": "absent" } ], "leaves": [ "/dev/sdb", "/dev/sdc", "/dev/sdd", "/dev/sde", "/dev/sdf", "/dev/sdg", "/dev/sdh", "/dev/sdi", "/dev/xvda1", "/dev/mapper/foo-test1" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" }, { "dump": 0, "fstype": "xfs", "group": null, "mode": null, "opts": "defaults", "owner": null, "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "lvm2", "xfsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_clevis_pin": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks2", "encryption_password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "encryption_tang_thumbprint": null, "encryption_tang_url": null, "grow_to_fill": false, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "shared": false, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_group": null, "mount_mode": null, "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "mount_user": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "raid_stripe_size": null, "size": "4g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:83 Friday 26 July 2024 13:45:14 -0400 (0:00:02.411) 0:01:47.148 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_udevadm_trigger | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Check if /etc/fstab is present] ****** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Friday 26 July 2024 13:45:14 -0400 (0:00:00.024) 0:01:47.172 *********** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722015893.0809479, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fd56974890469e9fa628e263bc0a4dee749faa7c", "ctime": 1722015893.076948, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 385876164, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722015893.076948, "nlink": 1, "path": "/etc/fstab", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 1416, "uid": 0, "version": "4065764936", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : Add fingerprint to /etc/fstab if present] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:95 Friday 26 July 2024 13:45:14 -0400 (0:00:00.375) 0:01:47.548 *********** ok: [managed_node1] => { "backup": "", "changed": false } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:113 Friday 26 July 2024 13:45:14 -0400 (0:00:00.379) 0:01:47.927 *********** skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.storage : Show blivet_output] ****************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:119 Friday 26 July 2024 13:45:14 -0400 (0:00:00.016) 0:01:47.944 *********** ok: [managed_node1] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/mapper/luks-3f087d84-fac5-4fe1-8f3a-830faf7ed2d5", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/mapper/luks-3f087d84-fac5-4fe1-8f3a-830faf7ed2d5", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "luks" }, { "action": "create format", "device": "/dev/sda", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" } ], "changed": true, "crypts": [ { "backing_device": "/dev/sda", "name": "luks-3f087d84-fac5-4fe1-8f3a-830faf7ed2d5", "password": "-", "state": "absent" } ], "failed": false, "leaves": [ "/dev/sdb", "/dev/sdc", "/dev/sdd", "/dev/sde", "/dev/sdf", "/dev/sdg", "/dev/sdh", "/dev/sdi", "/dev/xvda1", "/dev/mapper/foo-test1" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" }, { "dump": 0, "fstype": "xfs", "group": null, "mode": null, "opts": "defaults", "owner": null, "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "lvm2", "xfsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_clevis_pin": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks2", "encryption_password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "encryption_tang_thumbprint": null, "encryption_tang_url": null, "grow_to_fill": false, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "shared": false, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_group": null, "mount_mode": null, "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "mount_user": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "raid_stripe_size": null, "size": "4g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : Set the list of pools for test verification] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:128 Friday 26 July 2024 13:45:14 -0400 (0:00:00.032) 0:01:47.976 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_clevis_pin": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks2", "encryption_password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "encryption_tang_thumbprint": null, "encryption_tang_url": null, "grow_to_fill": false, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "shared": false, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_group": null, "mount_mode": null, "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "mount_user": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "raid_stripe_size": null, "size": "4g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : Set the list of volumes for test verification] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Friday 26 July 2024 13:45:14 -0400 (0:00:00.024) 0:01:48.001 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Remove obsolete mounts] ************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Friday 26 July 2024 13:45:14 -0400 (0:00:00.022) 0:01:48.023 *********** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [managed_node1] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'state': 'absent', 'fstype': 'xfs'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [fedora.linux_system_roles.storage : Tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:159 Friday 26 July 2024 13:45:15 -0400 (0:00:00.389) 0:01:48.412 *********** ok: [managed_node1] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : Set up new/current mounts] *********** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:164 Friday 26 July 2024 13:45:16 -0400 (0:00:00.708) 0:01:49.121 *********** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [managed_node1] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted', 'owner': None, 'group': None, 'mode': None}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "group": null, "mode": null, "opts": "defaults", "owner": null, "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [fedora.linux_system_roles.storage : Manage mount ownership/permissions] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:175 Friday 26 July 2024 13:45:16 -0400 (0:00:00.406) 0:01:49.528 *********** skipping: [managed_node1] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted', 'owner': None, 'group': None, 'mode': None}) => { "ansible_loop_var": "mount_info", "changed": false, "false_condition": "mount_info['owner'] != none or mount_info['group'] != none or mount_info['mode'] != none", "mount_info": { "dump": 0, "fstype": "xfs", "group": null, "mode": null, "opts": "defaults", "owner": null, "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.storage : Tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:187 Friday 26 July 2024 13:45:16 -0400 (0:00:00.041) 0:01:49.569 *********** ok: [managed_node1] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : Retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:195 Friday 26 July 2024 13:45:17 -0400 (0:00:00.711) 0:01:50.280 *********** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722015896.9400008, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "65a04889416df5767627d8c26a9050261eeaa357", "ctime": 1722015894.5939686, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 408944845, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1721811632.521, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 87, "uid": 0, "version": "2826442436", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : Manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:200 Friday 26 July 2024 13:45:17 -0400 (0:00:00.377) 0:01:50.658 *********** changed: [managed_node1] => (item={'backing_device': '/dev/sda', 'name': 'luks-3f087d84-fac5-4fe1-8f3a-830faf7ed2d5', 'password': '-', 'state': 'absent'}) => { "ansible_loop_var": "entry", "backup": "", "changed": true, "entry": { "backing_device": "/dev/sda", "name": "luks-3f087d84-fac5-4fe1-8f3a-830faf7ed2d5", "password": "-", "state": "absent" }, "found": 1 } MSG: 1 line(s) removed TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:222 Friday 26 July 2024 13:45:18 -0400 (0:00:00.391) 0:01:51.049 *********** ok: [managed_node1] TASK [Verify role results] ***************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/tests_luks_pool.yml:181 Friday 26 July 2024 13:45:18 -0400 (0:00:00.971) 0:01:52.021 *********** included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml for managed_node1 TASK [Print out pool information] ********************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:2 Friday 26 July 2024 13:45:19 -0400 (0:00:00.033) 0:01:52.054 *********** ok: [managed_node1] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_clevis_pin": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks2", "encryption_password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "encryption_tang_thumbprint": null, "encryption_tang_url": null, "grow_to_fill": false, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "shared": false, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_group": null, "mount_mode": null, "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "mount_user": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "raid_stripe_size": null, "size": "4g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:7 Friday 26 July 2024 13:45:19 -0400 (0:00:00.031) 0:01:52.085 *********** skipping: [managed_node1] => { "false_condition": "_storage_volumes_list | length > 0" } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:15 Friday 26 July 2024 13:45:19 -0400 (0:00:00.023) 0:01:52.109 *********** ok: [managed_node1] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "mountpoint": "/opt/test1", "name": "/dev/mapper/foo-test1", "size": "4G", "type": "lvm", "uuid": "6df9292d-c01f-4b8b-9336-6d4d39d4497d" }, "/dev/sda": { "fstype": "LVM2_member", "label": "", "mountpoint": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "E6mOlv-II3F-tq8e-JYad-wEh0-P6P9-1RWn5Y" }, "/dev/sdb": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdd": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sdd", "size": "1T", "type": "disk", "uuid": "" }, "/dev/sde": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sde", "size": "1T", "type": "disk", "uuid": "" }, "/dev/sdf": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sdf", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdg": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sdg", "size": "1T", "type": "disk", "uuid": "" }, "/dev/sdh": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sdh", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdi": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sdi", "size": "10G", "type": "disk", "uuid": "" }, "/dev/xvda": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/xvda", "size": "250G", "type": "disk", "uuid": "" }, "/dev/xvda1": { "fstype": "xfs", "label": "", "mountpoint": "/", "name": "/dev/xvda1", "size": "250G", "type": "partition", "uuid": "f1d2bc8f-ee92-4d94-8bd5-4abdbef0a7d3" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:20 Friday 26 July 2024 13:45:19 -0400 (0:00:00.374) 0:01:52.483 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:01.004070", "end": "2024-07-26 13:45:20.760242", "rc": 0, "start": "2024-07-26 13:45:19.756172" } STDOUT: # system_role:storage # # /etc/fstab # Created by anaconda on Wed Jul 24 09:00:32 2024 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=f1d2bc8f-ee92-4d94-8bd5-4abdbef0a7d3 / xfs defaults 0 0 ntap-rdu2-c01-eng01-nfs01b.storage.rdu2.redhat.com:/bos_eng01_engineering_sm/devarchive/redhat /mnt/redhat nfs ro,rsize=32768,wsize=8192,bg,noauto,noatime,nosuid,nodev,intr 0 0 nest.test.redhat.com:/mnt/qa /mnt/qa nfs defaults,rsize=8192,wsize=8192,bg,noauto,noatime,nosuid,nodev,intr 0 0 vtap-eng01.storage.rdu2.redhat.com:/vol/engarchive /mnt/engarchive nfs ro,rsize=32768,wsize=8192,bg,noauto,noatime,nosuid,nodev,intr 0 0 nest.test.redhat.com:/mnt/tpsdist /mnt/tpsdist nfs defaults,rsize=8192,wsize=8192,bg,noauto,noatime,nosuid,nodev,intr 0 0 ntap-rdu2-c01-eng01-nfs01b.storage.rdu2.redhat.com:/bos_eng01_engineering_sm/devarchive/redhat/brewroot /mnt/brew nfs ro,rsize=32768,wsize=8192,bg,noauto,noatime,nosuid,nodev,intr 0 0 ntap-rdu2-c01-eng01-nfs01b.storage.rdu2.redhat.com:/bos_eng01_devops_brew_scratch_nfs_sm/scratch /mnt/brew_scratch nfs ro,rsize=32768,wsize=8192,bg,noauto,noatime,nosuid,nodev,intr 0 0 /dev/mapper/foo-test1 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:25 Friday 26 July 2024 13:45:20 -0400 (0:00:01.368) 0:01:53.852 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003003", "end": "2024-07-26 13:45:21.130208", "failed_when_result": false, "rc": 0, "start": "2024-07-26 13:45:21.127205" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:34 Friday 26 July 2024 13:45:21 -0400 (0:00:00.370) 0:01:54.223 *********** included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool.yml for managed_node1 => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': 0, 'encryption_luks_version': 'luks2', 'encryption_password': 'VALUE_SPECIFIED_IN_NO_LOG_PARAMETER', 'encryption_clevis_pin': None, 'encryption_tang_url': None, 'encryption_tang_thumbprint': None, 'grow_to_fill': False, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'raid_chunk_size': None, 'shared': False, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'mount_user': None, 'mount_group': None, 'mount_mode': None, 'name': 'test1', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'raid_stripe_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}]}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool.yml:5 Friday 26 July 2024 13:45:21 -0400 (0:00:00.046) 0:01:54.269 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [Get VG shared value status] ********************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool.yml:18 Friday 26 July 2024 13:45:21 -0400 (0:00:00.022) 0:01:54.292 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "vgs", "--noheadings", "--binary", "-o", "shared", "foo" ], "delta": "0:00:00.035706", "end": "2024-07-26 13:45:21.606697", "rc": 0, "start": "2024-07-26 13:45:21.570991" } STDOUT: 0 TASK [Verify that VG shared value checks out] ********************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool.yml:24 Friday 26 July 2024 13:45:21 -0400 (0:00:00.408) 0:01:54.700 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify pool subset] ****************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool.yml:34 Friday 26 July 2024 13:45:21 -0400 (0:00:00.026) 0:01:54.726 *********** included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml for managed_node1 => (item=members) included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-volumes.yml for managed_node1 => (item=volumes) TASK [Set test variables] ****************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:2 Friday 26 July 2024 13:45:21 -0400 (0:00:00.043) 0:01:54.770 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:8 Friday 26 July 2024 13:45:21 -0400 (0:00:00.036) 0:01:54.806 *********** ok: [managed_node1] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [Set pvs lvm length] ****************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:17 Friday 26 July 2024 13:45:22 -0400 (0:00:00.370) 0:01:55.176 *********** ok: [managed_node1] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [Set pool pvs] ************************************************************ task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:22 Friday 26 July 2024 13:45:22 -0400 (0:00:00.027) 0:01:55.204 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:27 Friday 26 July 2024 13:45:22 -0400 (0:00:00.031) 0:01:55.235 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Set expected pv type] **************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:36 Friday 26 July 2024 13:45:22 -0400 (0:00:00.027) 0:01:55.263 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [Set expected pv type] **************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:41 Friday 26 July 2024 13:45:22 -0400 (0:00:00.022) 0:01:55.286 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [Set expected pv type] **************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:46 Friday 26 July 2024 13:45:22 -0400 (0:00:00.029) 0:01:55.315 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_pool.type == 'lvm' and storage_test_pool.raid_level", "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:51 Friday 26 July 2024 13:45:22 -0400 (0:00:00.020) 0:01:55.335 *********** ok: [managed_node1] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check that blivet supports PV grow to fill] ****************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:64 Friday 26 July 2024 13:45:22 -0400 (0:00:00.029) 0:01:55.365 *********** ok: [managed_node1] => { "changed": false, "rc": 0 } STDOUT: ** (process:22646): WARNING **: 13:45:22.579: failed to load module nvme: libbd_nvme.so.2: cannot open shared object file: No such file or directory True STDERR: OpenSSH_8.7p1, OpenSSL 3.2.2 4 Jun 2024 debug1: Reading configuration data /root/.ssh/config debug1: Reading configuration data /etc/ssh/ssh_config debug1: Reading configuration data /etc/ssh/ssh_config.d/50-redhat.conf debug2: checking match for 'final all' host 10.31.40.14 originally 10.31.40.14 debug2: match not found debug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config debug1: configuration requests final Match pass debug2: resolve_canonicalize: hostname 10.31.40.14 is address debug1: re-parsing configuration debug1: Reading configuration data /root/.ssh/config debug1: Reading configuration data /etc/ssh/ssh_config debug1: Reading configuration data /etc/ssh/ssh_config.d/50-redhat.conf debug2: checking match for 'final all' host 10.31.40.14 originally 10.31.40.14 debug2: match found debug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config debug1: auto-mux: Trying existing master debug2: fd 3 setting O_NONBLOCK debug2: mux_client_hello_exchange: master version 4 debug1: mux_client_request_session: master session id: 2 debug2: Received exit status from master 0 Shared connection to 10.31.40.14 closed. TASK [Verify that PVs fill the whole devices when they should] ***************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:73 Friday 26 July 2024 13:45:22 -0400 (0:00:00.391) 0:01:55.756 *********** skipping: [managed_node1] => (item=/dev/sda) => { "ansible_loop_var": "st_pool_pv", "changed": false, "false_condition": "grow_supported.stdout | trim == 'True'", "skip_reason": "Conditional result was False", "st_pool_pv": "/dev/sda" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [Check MD RAID] *********************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:83 Friday 26 July 2024 13:45:22 -0400 (0:00:00.028) 0:01:55.785 *********** included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml for managed_node1 TASK [Get information about RAID] ********************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:8 Friday 26 July 2024 13:45:22 -0400 (0:00:00.041) 0:01:55.826 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_pool.raid_level != none", "skip_reason": "Conditional result was False" } TASK [Set active devices regex] ************************************************ task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:14 Friday 26 July 2024 13:45:22 -0400 (0:00:00.020) 0:01:55.847 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_pool.raid_level != none", "skip_reason": "Conditional result was False" } TASK [Set spare devices regex] ************************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:19 Friday 26 July 2024 13:45:22 -0400 (0:00:00.017) 0:01:55.865 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_pool.raid_level != none", "skip_reason": "Conditional result was False" } TASK [Set md version regex] **************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:24 Friday 26 July 2024 13:45:22 -0400 (0:00:00.017) 0:01:55.883 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_pool.raid_level != none", "skip_reason": "Conditional result was False" } TASK [Set md chunk size regex] ************************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:29 Friday 26 July 2024 13:45:22 -0400 (0:00:00.018) 0:01:55.901 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_pool.raid_level != none", "skip_reason": "Conditional result was False" } TASK [Parse the chunk size] **************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:37 Friday 26 July 2024 13:45:22 -0400 (0:00:00.016) 0:01:55.918 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_pool.raid_level != none", "skip_reason": "Conditional result was False" } TASK [Check RAID active devices count] ***************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:46 Friday 26 July 2024 13:45:22 -0400 (0:00:00.019) 0:01:55.938 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_pool.raid_level != none", "skip_reason": "Conditional result was False" } TASK [Check RAID spare devices count] ****************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:55 Friday 26 July 2024 13:45:22 -0400 (0:00:00.019) 0:01:55.957 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_pool.raid_level != none", "skip_reason": "Conditional result was False" } TASK [Check RAID metadata version] ********************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:64 Friday 26 July 2024 13:45:22 -0400 (0:00:00.017) 0:01:55.975 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_pool.raid_level != none", "skip_reason": "Conditional result was False" } TASK [Check RAID chunk size] *************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:74 Friday 26 July 2024 13:45:22 -0400 (0:00:00.017) 0:01:55.993 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_pool.raid_level != none", "skip_reason": "Conditional result was False" } TASK [Reset variables used by tests] ******************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:83 Friday 26 July 2024 13:45:22 -0400 (0:00:00.017) 0:01:56.011 *********** ok: [managed_node1] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_chunk_size_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:86 Friday 26 July 2024 13:45:22 -0400 (0:00:00.022) 0:01:56.033 *********** included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-lvmraid.yml for managed_node1 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-lvmraid.yml:2 Friday 26 July 2024 13:45:23 -0400 (0:00:00.069) 0:01:56.103 *********** included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-lvmraid.yml for managed_node1 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'mount_user': None, 'mount_group': None, 'mount_mode': None, 'name': 'test1', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'raid_stripe_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about the LV] ******************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-lvmraid.yml:8 Friday 26 July 2024 13:45:23 -0400 (0:00:00.038) 0:01:56.142 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_lvmraid_volume.raid_level is not none", "skip_reason": "Conditional result was False" } TASK [Set LV segment type] ***************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-lvmraid.yml:16 Friday 26 July 2024 13:45:23 -0400 (0:00:00.023) 0:01:56.165 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_lvmraid_volume.raid_level is not none", "skip_reason": "Conditional result was False" } TASK [Check segment type] ****************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-lvmraid.yml:20 Friday 26 July 2024 13:45:23 -0400 (0:00:00.024) 0:01:56.189 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_lvmraid_volume.raid_level is not none", "skip_reason": "Conditional result was False" } TASK [Set LV stripe size] ****************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-lvmraid.yml:27 Friday 26 July 2024 13:45:23 -0400 (0:00:00.024) 0:01:56.214 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_lvmraid_volume.raid_level is not none", "skip_reason": "Conditional result was False" } TASK [Parse the requested stripe size] ***************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-lvmraid.yml:31 Friday 26 July 2024 13:45:23 -0400 (0:00:00.023) 0:01:56.237 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_lvmraid_volume.raid_level is not none", "skip_reason": "Conditional result was False" } TASK [Set expected stripe size] ************************************************ task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-lvmraid.yml:37 Friday 26 July 2024 13:45:23 -0400 (0:00:00.024) 0:01:56.261 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_lvmraid_volume.raid_level is not none", "skip_reason": "Conditional result was False" } TASK [Check stripe size] ******************************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-lvmraid.yml:42 Friday 26 July 2024 13:45:23 -0400 (0:00:00.022) 0:01:56.284 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_lvmraid_volume.raid_level is not none", "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:89 Friday 26 July 2024 13:45:23 -0400 (0:00:00.022) 0:01:56.306 *********** included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-thin.yml for managed_node1 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-thin.yml:2 Friday 26 July 2024 13:45:23 -0400 (0:00:00.042) 0:01:56.349 *********** included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-thin.yml for managed_node1 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'mount_user': None, 'mount_group': None, 'mount_mode': None, 'name': 'test1', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'raid_stripe_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-thin.yml:8 Friday 26 July 2024 13:45:23 -0400 (0:00:00.036) 0:01:56.386 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_thin_volume.thin", "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-thin.yml:16 Friday 26 July 2024 13:45:23 -0400 (0:00:00.018) 0:01:56.404 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_thin_volume.thin", "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-thin.yml:22 Friday 26 July 2024 13:45:23 -0400 (0:00:00.019) 0:01:56.424 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_thin_volume.thin", "skip_reason": "Conditional result was False" } TASK [Reset variable used by test] ********************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-thin.yml:26 Friday 26 July 2024 13:45:23 -0400 (0:00:00.019) 0:01:56.444 *********** ok: [managed_node1] => { "ansible_facts": { "storage_test_thin_status": null }, "changed": false } TASK [Check member encryption] ************************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:92 Friday 26 July 2024 13:45:23 -0400 (0:00:00.019) 0:01:56.463 *********** included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-encryption.yml for managed_node1 TASK [Set test variables] ****************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-encryption.yml:5 Friday 26 July 2024 13:45:23 -0400 (0:00:00.042) 0:01:56.506 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-encryption.yml:10 Friday 26 July 2024 13:45:23 -0400 (0:00:00.026) 0:01:56.533 *********** skipping: [managed_node1] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "false_condition": "storage_test_pool.type == 'lvm' and storage_test_pool.encryption", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-encryption.yml:17 Friday 26 July 2024 13:45:23 -0400 (0:00:00.024) 0:01:56.558 *********** included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-crypttab.yml for managed_node1 => (item=/dev/sda) TASK [Set variables used by tests] ********************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-crypttab.yml:2 Friday 26 July 2024 13:45:23 -0400 (0:00:00.032) 0:01:56.591 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-crypttab.yml:6 Friday 26 July 2024 13:45:23 -0400 (0:00:00.031) 0:01:56.622 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-crypttab.yml:14 Friday 26 July 2024 13:45:23 -0400 (0:00:00.028) 0:01:56.651 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "_storage_test_expected_crypttab_entries | int == 1", "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-crypttab.yml:23 Friday 26 July 2024 13:45:23 -0400 (0:00:00.027) 0:01:56.678 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "false and _storage_test_expected_crypttab_entries | int == 1", "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-crypttab.yml:32 Friday 26 July 2024 13:45:23 -0400 (0:00:00.023) 0:01:56.701 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "_storage_test_expected_crypttab_entries | int == 1", "skip_reason": "Conditional result was False" } TASK [Clear test variables] **************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-crypttab.yml:41 Friday 26 July 2024 13:45:23 -0400 (0:00:00.023) 0:01:56.725 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [Clear test variables] **************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-encryption.yml:24 Friday 26 July 2024 13:45:23 -0400 (0:00:00.022) 0:01:56.747 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:95 Friday 26 July 2024 13:45:23 -0400 (0:00:00.019) 0:01:56.767 *********** included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-vdo.yml for managed_node1 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-vdo.yml:2 Friday 26 July 2024 13:45:23 -0400 (0:00:00.044) 0:01:56.811 *********** included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-vdo.yml for managed_node1 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'mount_user': None, 'mount_group': None, 'mount_mode': None, 'name': 'test1', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'raid_stripe_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about VDO deduplication] ********************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-vdo.yml:8 Friday 26 July 2024 13:45:23 -0400 (0:00:00.035) 0:01:56.847 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_vdo_volume.deduplication != none or storage_test_vdo_volume.compression != none", "skip_reason": "Conditional result was False" } TASK [Check if VDO deduplication is off] *************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-vdo.yml:15 Friday 26 July 2024 13:45:23 -0400 (0:00:00.019) 0:01:56.867 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_vdo_volume.deduplication != none or storage_test_vdo_volume.compression != none", "skip_reason": "Conditional result was False" } TASK [Check if VDO deduplication is on] **************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-vdo.yml:21 Friday 26 July 2024 13:45:23 -0400 (0:00:00.018) 0:01:56.885 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_vdo_volume.deduplication != none or storage_test_vdo_volume.compression != none", "skip_reason": "Conditional result was False" } TASK [Get information about VDO compression] *********************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-vdo.yml:27 Friday 26 July 2024 13:45:23 -0400 (0:00:00.020) 0:01:56.906 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_vdo_volume.deduplication != none or storage_test_vdo_volume.compression != none", "skip_reason": "Conditional result was False" } TASK [Check if VDO deduplication is off] *************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-vdo.yml:34 Friday 26 July 2024 13:45:23 -0400 (0:00:00.020) 0:01:56.927 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_vdo_volume.deduplication != none or storage_test_vdo_volume.compression != none", "skip_reason": "Conditional result was False" } TASK [Check if VDO deduplication is on] **************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-vdo.yml:40 Friday 26 July 2024 13:45:23 -0400 (0:00:00.018) 0:01:56.945 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_vdo_volume.deduplication != none or storage_test_vdo_volume.compression != none", "skip_reason": "Conditional result was False" } TASK [Clear test variables] **************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-vdo.yml:46 Friday 26 July 2024 13:45:23 -0400 (0:00:00.018) 0:01:56.964 *********** ok: [managed_node1] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [Check Stratis] *********************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:98 Friday 26 July 2024 13:45:23 -0400 (0:00:00.020) 0:01:56.984 *********** included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-stratis.yml for managed_node1 TASK [Run 'stratis report'] **************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-stratis.yml:6 Friday 26 July 2024 13:45:23 -0400 (0:00:00.047) 0:01:57.032 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_pool.type == 'stratis'", "skip_reason": "Conditional result was False" } TASK [Get information about Stratis] ******************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-stratis.yml:11 Friday 26 July 2024 13:45:24 -0400 (0:00:00.021) 0:01:57.053 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_pool.type == 'stratis'", "skip_reason": "Conditional result was False" } TASK [Verify that the pools was created] *************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-stratis.yml:15 Friday 26 July 2024 13:45:24 -0400 (0:00:00.018) 0:01:57.072 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_pool.type == 'stratis'", "skip_reason": "Conditional result was False" } TASK [Verify that encryption is correctly set] ********************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-stratis.yml:25 Friday 26 July 2024 13:45:24 -0400 (0:00:00.017) 0:01:57.089 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_pool.type == 'stratis'", "skip_reason": "Conditional result was False" } TASK [Verify that Clevis/Tang encryption is correctly set] ********************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-stratis.yml:34 Friday 26 July 2024 13:45:24 -0400 (0:00:00.019) 0:01:57.109 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_pool.type == 'stratis'", "skip_reason": "Conditional result was False" } TASK [Reset variable used by test] ********************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-stratis.yml:44 Friday 26 July 2024 13:45:24 -0400 (0:00:00.017) 0:01:57.126 *********** ok: [managed_node1] => { "ansible_facts": { "storage_test_stratis_report": null }, "changed": false } TASK [Clean up test variables] ************************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:101 Friday 26 July 2024 13:45:24 -0400 (0:00:00.021) 0:01:57.148 *********** ok: [managed_node1] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [Verify the volumes] ****************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-volumes.yml:3 Friday 26 July 2024 13:45:24 -0400 (0:00:00.020) 0:01:57.168 *********** included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume.yml for managed_node1 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'mount_user': None, 'mount_group': None, 'mount_mode': None, 'name': 'test1', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'raid_stripe_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Set storage volume test variables] *************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume.yml:2 Friday 26 July 2024 13:45:24 -0400 (0:00:00.032) 0:01:57.200 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [Run test verify for {{ storage_test_volume_subset }}] ******************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume.yml:19 Friday 26 July 2024 13:45:24 -0400 (0:00:00.031) 0:01:57.232 *********** included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml for managed_node1 => (item=mount) included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml for managed_node1 => (item=fstab) included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fs.yml for managed_node1 => (item=fs) included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml for managed_node1 => (item=device) included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml for managed_node1 => (item=encryption) included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml for managed_node1 => (item=md) included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml for managed_node1 => (item=size) included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml for managed_node1 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:7 Friday 26 July 2024 13:45:24 -0400 (0:00:00.107) 0:01:57.340 *********** ok: [managed_node1] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:11 Friday 26 July 2024 13:45:24 -0400 (0:00:00.029) 0:01:57.369 *********** ok: [managed_node1] => { "ansible_facts": { "storage_test_mount_expected_mount_point": "/opt/test1", "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Get information about the mountpoint directory] ************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:19 Friday 26 July 2024 13:45:24 -0400 (0:00:00.109) 0:01:57.479 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "_storage_test_volume_present and storage_test_volume.mount_point and (storage_test_volume.mount_user or storage_test_volume.mount_group or storage_test_volume.mount_mode)", "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:28 Friday 26 July 2024 13:45:24 -0400 (0:00:00.020) 0:01:57.499 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify mount directory user] ********************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:36 Friday 26 July 2024 13:45:24 -0400 (0:00:00.027) 0:01:57.527 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "_storage_test_volume_present and storage_test_volume.mount_point and storage_test_volume.mount_user", "skip_reason": "Conditional result was False" } TASK [Verify mount directory group] ******************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:42 Friday 26 July 2024 13:45:24 -0400 (0:00:00.018) 0:01:57.546 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "_storage_test_volume_present and storage_test_volume.mount_point and storage_test_volume.mount_group", "skip_reason": "Conditional result was False" } TASK [Verify mount directory permissions] ************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:48 Friday 26 July 2024 13:45:24 -0400 (0:00:00.018) 0:01:57.565 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "_storage_test_volume_present and storage_test_volume.mount_point and storage_test_volume.mount_mode", "skip_reason": "Conditional result was False" } TASK [Get path of test volume device] ****************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:57 Friday 26 July 2024 13:45:24 -0400 (0:00:00.020) 0:01:57.585 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.fs_type == \"swap\"", "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:63 Friday 26 July 2024 13:45:24 -0400 (0:00:00.020) 0:01:57.606 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.fs_type == \"swap\"", "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:69 Friday 26 July 2024 13:45:24 -0400 (0:00:00.019) 0:01:57.625 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.fs_type == \"swap\"", "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:79 Friday 26 July 2024 13:45:24 -0400 (0:00:00.020) 0:01:57.646 *********** ok: [managed_node1] => { "ansible_facts": { "storage_test_found_mount_stat": null, "storage_test_mount_expected_mount_point": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml:2 Friday 26 July 2024 13:45:24 -0400 (0:00:00.020) 0:01:57.666 *********** ok: [managed_node1] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml:17 Friday 26 July 2024 13:45:24 -0400 (0:00:00.047) 0:01:57.714 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml:24 Friday 26 July 2024 13:45:24 -0400 (0:00:00.029) 0:01:57.743 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml:33 Friday 26 July 2024 13:45:24 -0400 (0:00:00.036) 0:01:57.780 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "__storage_verify_mount_options | d(false)", "skip_reason": "Conditional result was False" } TASK [Verify fingerprint] ****************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml:45 Friday 26 July 2024 13:45:24 -0400 (0:00:00.023) 0:01:57.804 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Clean up variables] ****************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml:51 Friday 26 July 2024 13:45:24 -0400 (0:00:00.026) 0:01:57.830 *********** ok: [managed_node1] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fs.yml:6 Friday 26 July 2024 13:45:24 -0400 (0:00:00.020) 0:01:57.851 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fs.yml:14 Friday 26 July 2024 13:45:24 -0400 (0:00:00.033) 0:01:57.885 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:3 Friday 26 July 2024 13:45:24 -0400 (0:00:00.030) 0:01:57.916 *********** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722015914.0032337, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1722015914.0032337, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 834, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1722015914.0032337, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:9 Friday 26 July 2024 13:45:25 -0400 (0:00:00.378) 0:01:58.294 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:16 Friday 26 July 2024 13:45:25 -0400 (0:00:00.025) 0:01:58.319 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "not (_storage_test_volume_present or storage_test_volume.type == 'disk')", "skip_reason": "Conditional result was False" } TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:23 Friday 26 July 2024 13:45:25 -0400 (0:00:00.018) 0:01:58.338 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Process volume type (set initial value) (1/2)] *************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:29 Friday 26 July 2024 13:45:25 -0400 (0:00:00.025) 0:01:58.363 *********** ok: [managed_node1] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [Process volume type (get RAID value) (2/2)] ****************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:33 Friday 26 July 2024 13:45:25 -0400 (0:00:00.021) 0:01:58.385 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.type == \"raid\"", "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:38 Friday 26 July 2024 13:45:25 -0400 (0:00:00.018) 0:01:58.403 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:3 Friday 26 July 2024 13:45:25 -0400 (0:00:00.027) 0:01:58.431 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.encryption", "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:10 Friday 26 July 2024 13:45:25 -0400 (0:00:00.018) 0:01:58.449 *********** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:16 Friday 26 July 2024 13:45:26 -0400 (0:00:00.907) 0:01:59.356 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.encryption and _storage_test_volume_present", "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:22 Friday 26 July 2024 13:45:26 -0400 (0:00:00.020) 0:01:59.377 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.encryption", "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:29 Friday 26 July 2024 13:45:26 -0400 (0:00:00.018) 0:01:59.396 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:40 Friday 26 July 2024 13:45:26 -0400 (0:00:00.029) 0:01:59.426 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "_storage_test_volume_present and storage_test_volume.encryption", "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:46 Friday 26 July 2024 13:45:26 -0400 (0:00:00.021) 0:01:59.447 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "_storage_test_volume_present and storage_test_volume.encryption", "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:51 Friday 26 July 2024 13:45:26 -0400 (0:00:00.018) 0:01:59.466 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.encryption", "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:63 Friday 26 July 2024 13:45:26 -0400 (0:00:00.018) 0:01:59.484 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.encryption", "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:75 Friday 26 July 2024 13:45:26 -0400 (0:00:00.019) 0:01:59.504 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.encryption", "skip_reason": "Conditional result was False" } TASK [Set test variables] ****************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:87 Friday 26 July 2024 13:45:26 -0400 (0:00:00.018) 0:01:59.522 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:93 Friday 26 July 2024 13:45:26 -0400 (0:00:00.031) 0:01:59.553 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:100 Friday 26 July 2024 13:45:26 -0400 (0:00:00.037) 0:01:59.590 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "_storage_test_expected_crypttab_entries | int == 1", "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:108 Friday 26 July 2024 13:45:26 -0400 (0:00:00.025) 0:01:59.616 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "_storage_test_expected_crypttab_entries | int == 1", "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:116 Friday 26 July 2024 13:45:26 -0400 (0:00:00.023) 0:01:59.639 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "_storage_test_expected_crypttab_entries | int == 1", "skip_reason": "Conditional result was False" } TASK [Clear test variables] **************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:124 Friday 26 July 2024 13:45:26 -0400 (0:00:00.022) 0:01:59.662 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [Get information about RAID] ********************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:8 Friday 26 July 2024 13:45:26 -0400 (0:00:00.021) 0:01:59.683 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.type == 'raid'", "skip_reason": "Conditional result was False" } TASK [Set active devices regex] ************************************************ task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:14 Friday 26 July 2024 13:45:26 -0400 (0:00:00.017) 0:01:59.701 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.type == 'raid'", "skip_reason": "Conditional result was False" } TASK [Set spare devices regex] ************************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:19 Friday 26 July 2024 13:45:26 -0400 (0:00:00.019) 0:01:59.721 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.type == 'raid'", "skip_reason": "Conditional result was False" } TASK [Set md version regex] **************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:24 Friday 26 July 2024 13:45:26 -0400 (0:00:00.019) 0:01:59.740 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.type == 'raid'", "skip_reason": "Conditional result was False" } TASK [Set chunk size regex] **************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:29 Friday 26 July 2024 13:45:26 -0400 (0:00:00.017) 0:01:59.757 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.type == 'raid'", "skip_reason": "Conditional result was False" } TASK [Parse the chunk size] **************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:37 Friday 26 July 2024 13:45:26 -0400 (0:00:00.017) 0:01:59.775 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.type == 'raid'", "skip_reason": "Conditional result was False" } TASK [Check RAID active devices count] ***************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:46 Friday 26 July 2024 13:45:26 -0400 (0:00:00.017) 0:01:59.792 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.type == 'raid'", "skip_reason": "Conditional result was False" } TASK [Check RAID spare devices count] ****************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:54 Friday 26 July 2024 13:45:26 -0400 (0:00:00.020) 0:01:59.813 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.type == 'raid'", "skip_reason": "Conditional result was False" } TASK [Check RAID metadata version] ********************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:62 Friday 26 July 2024 13:45:26 -0400 (0:00:00.019) 0:01:59.833 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.type == 'raid'", "skip_reason": "Conditional result was False" } TASK [Check RAID chunk size] *************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:70 Friday 26 July 2024 13:45:26 -0400 (0:00:00.017) 0:01:59.851 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.type == 'raid'", "skip_reason": "Conditional result was False" } TASK [Parse the actual size of the volume] ************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:3 Friday 26 July 2024 13:45:26 -0400 (0:00:00.019) 0:01:59.870 *********** ok: [managed_node1] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [Parse the requested size of the volume] ********************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:11 Friday 26 July 2024 13:45:27 -0400 (0:00:00.369) 0:02:00.240 *********** ok: [managed_node1] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:20 Friday 26 July 2024 13:45:27 -0400 (0:00:00.363) 0:02:00.603 *********** ok: [managed_node1] => { "ansible_facts": { "storage_test_expected_size": "4294967296" }, "changed": false } TASK [Show expected size] ****************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:28 Friday 26 July 2024 13:45:27 -0400 (0:00:00.030) 0:02:00.633 *********** ok: [managed_node1] => { "storage_test_expected_size": "4294967296" } TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:32 Friday 26 July 2024 13:45:27 -0400 (0:00:00.026) 0:02:00.660 *********** ok: [managed_node1] => { "bytes": 10726680821, "changed": false, "lvm": "9g", "parted": "9GiB", "size": "9 GiB" } TASK [Show test pool] ********************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:46 Friday 26 July 2024 13:45:27 -0400 (0:00:00.373) 0:02:01.033 *********** skipping: [managed_node1] => { "false_condition": "'%' in storage_test_volume.size | string" } TASK [Show test blockinfo] ***************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:50 Friday 26 July 2024 13:45:28 -0400 (0:00:00.026) 0:02:01.060 *********** skipping: [managed_node1] => { "false_condition": "'%' in storage_test_volume.size | string" } TASK [Show test pool size] ***************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:54 Friday 26 July 2024 13:45:28 -0400 (0:00:00.025) 0:02:01.086 *********** skipping: [managed_node1] => { "false_condition": "'%' in storage_test_volume.size | string" } TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:58 Friday 26 July 2024 13:45:28 -0400 (0:00:00.025) 0:02:01.111 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "'%' in storage_test_volume.size | string", "skip_reason": "Conditional result was False" } TASK [Default thin pool reserved space values] ********************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:67 Friday 26 July 2024 13:45:28 -0400 (0:00:00.026) 0:02:01.138 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.thin", "skip_reason": "Conditional result was False" } TASK [Default minimal thin pool reserved space size] *************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:71 Friday 26 July 2024 13:45:28 -0400 (0:00:00.019) 0:02:01.158 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.thin", "skip_reason": "Conditional result was False" } TASK [Default maximal thin pool reserved space size] *************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:76 Friday 26 July 2024 13:45:28 -0400 (0:00:00.019) 0:02:01.178 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.thin", "skip_reason": "Conditional result was False" } TASK [Calculate maximum usable space in thin pool] ***************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:82 Friday 26 July 2024 13:45:28 -0400 (0:00:00.018) 0:02:01.196 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.thin", "skip_reason": "Conditional result was False" } TASK [Apply upper size limit to max usable thin pool space] ******************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:86 Friday 26 July 2024 13:45:28 -0400 (0:00:00.018) 0:02:01.214 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.thin", "skip_reason": "Conditional result was False" } TASK [Apply lower size limit to max usable thin pool space] ******************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:91 Friday 26 July 2024 13:45:28 -0400 (0:00:00.017) 0:02:01.232 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.thin", "skip_reason": "Conditional result was False" } TASK [Convert maximum usable thin pool space from int to Size] ***************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:96 Friday 26 July 2024 13:45:28 -0400 (0:00:00.018) 0:02:01.250 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.thin", "skip_reason": "Conditional result was False" } TASK [Show max thin pool size] ************************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:101 Friday 26 July 2024 13:45:28 -0400 (0:00:00.050) 0:02:01.301 *********** skipping: [managed_node1] => { "false_condition": "storage_test_volume.thin" } TASK [Show volume thin pool size] ********************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:105 Friday 26 July 2024 13:45:28 -0400 (0:00:00.019) 0:02:01.321 *********** skipping: [managed_node1] => { "false_condition": "storage_test_volume.thin" } TASK [Show test volume size] *************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:109 Friday 26 July 2024 13:45:28 -0400 (0:00:00.018) 0:02:01.339 *********** skipping: [managed_node1] => { "false_condition": "storage_test_volume.thin" } TASK [Establish base value for expected thin pool size] ************************ task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:113 Friday 26 July 2024 13:45:28 -0400 (0:00:00.019) 0:02:01.359 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.thin", "skip_reason": "Conditional result was False" } TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:120 Friday 26 July 2024 13:45:28 -0400 (0:00:00.018) 0:02:01.377 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.thin", "skip_reason": "Conditional result was False" } TASK [Establish base value for expected thin pool volume size] ***************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:127 Friday 26 July 2024 13:45:28 -0400 (0:00:00.018) 0:02:01.395 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.thin", "skip_reason": "Conditional result was False" } TASK [Calculate the expected thin pool volume size based on percentage value] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:131 Friday 26 July 2024 13:45:28 -0400 (0:00:00.022) 0:02:01.418 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.thin", "skip_reason": "Conditional result was False" } TASK [Replace expected volume size with calculated value] ********************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:137 Friday 26 July 2024 13:45:28 -0400 (0:00:00.018) 0:02:01.436 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.thin", "skip_reason": "Conditional result was False" } TASK [Show actual size] ******************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:143 Friday 26 July 2024 13:45:28 -0400 (0:00:00.018) 0:02:01.454 *********** ok: [managed_node1] => { "storage_test_actual_size": { "bytes": 4294967296, "changed": false, "failed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } } TASK [Show expected size] ****************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:147 Friday 26 July 2024 13:45:28 -0400 (0:00:00.025) 0:02:01.480 *********** ok: [managed_node1] => { "storage_test_expected_size": "4294967296" } TASK [Assert expected size is actual size] ************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:151 Friday 26 July 2024 13:45:28 -0400 (0:00:00.021) 0:02:01.501 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:5 Friday 26 July 2024 13:45:28 -0400 (0:00:00.031) 0:02:01.533 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.028701", "end": "2024-07-26 13:45:28.840524", "rc": 0, "start": "2024-07-26 13:45:28.811823" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [Set LV segment type] ***************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:13 Friday 26 July 2024 13:45:28 -0400 (0:00:00.404) 0:02:01.938 *********** ok: [managed_node1] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [Check segment type] ****************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:17 Friday 26 July 2024 13:45:28 -0400 (0:00:00.030) 0:02:01.968 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Set LV cache size] ******************************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:24 Friday 26 July 2024 13:45:28 -0400 (0:00:00.028) 0:02:01.997 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.cached | bool", "skip_reason": "Conditional result was False" } TASK [Parse the requested cache size] ****************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:31 Friday 26 July 2024 13:45:28 -0400 (0:00:00.025) 0:02:02.022 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.cached | bool", "skip_reason": "Conditional result was False" } TASK [Set expected cache size] ************************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:37 Friday 26 July 2024 13:45:29 -0400 (0:00:00.023) 0:02:02.046 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.cached | bool", "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:42 Friday 26 July 2024 13:45:29 -0400 (0:00:00.023) 0:02:02.069 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.cached | bool", "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume.yml:25 Friday 26 July 2024 13:45:29 -0400 (0:00:00.028) 0:02:02.098 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:44 Friday 26 July 2024 13:45:29 -0400 (0:00:00.019) 0:02:02.118 *********** skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:54 Friday 26 July 2024 13:45:29 -0400 (0:00:00.015) 0:02:02.134 *********** ok: [managed_node1] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Create a file] *********************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/create-test-file.yml:12 Friday 26 July 2024 13:45:29 -0400 (0:00:00.021) 0:02:02.155 *********** changed: [managed_node1] => { "changed": true, "dest": "/opt/test1/quux", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:unlabeled_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [Test for correct handling of safe_mode] ********************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/tests_luks_pool.yml:187 Friday 26 July 2024 13:45:29 -0400 (0:00:00.374) 0:02:02.529 *********** included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml for managed_node1 TASK [Store global variable value copy] **************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:4 Friday 26 July 2024 13:45:29 -0400 (0:00:00.037) 0:02:02.566 *********** ok: [managed_node1] => { "ansible_facts": { "storage_pools_global": [], "storage_safe_mode_global": true, "storage_volumes_global": [] }, "changed": false } TASK [Verify role raises correct error] **************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:10 Friday 26 July 2024 13:45:29 -0400 (0:00:00.028) 0:02:02.595 *********** included: fedora.linux_system_roles.storage for managed_node1 TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Friday 26 July 2024 13:45:29 -0400 (0:00:00.032) 0:02:02.628 *********** included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Friday 26 July 2024 13:45:29 -0400 (0:00:00.029) 0:02:02.658 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "__storage_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Friday 26 July 2024 13:45:29 -0400 (0:00:00.029) 0:02:02.687 *********** skipping: [managed_node1] => (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_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_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs", "stratisd", "stratis-cli" ] }, "ansible_included_var_files": [ "/tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } ok: [managed_node1] => (item=CentOS_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs", "stratisd", "stratis-cli" ] }, "ansible_included_var_files": [ "/tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } TASK [fedora.linux_system_roles.storage : Check if system is ostree] *********** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:25 Friday 26 July 2024 13:45:29 -0400 (0:00:00.050) 0:02:02.737 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "not __storage_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set flag to indicate system is ostree] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:30 Friday 26 July 2024 13:45:29 -0400 (0:00:00.023) 0:02:02.761 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "not __storage_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Define an empty list of pools to be used in testing] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Friday 26 July 2024 13:45:29 -0400 (0:00:00.023) 0:02:02.784 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Define an empty list of volumes to be used in testing] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Friday 26 July 2024 13:45:29 -0400 (0:00:00.022) 0:02:02.806 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Include the appropriate provider tasks] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Friday 26 July 2024 13:45:29 -0400 (0:00:00.022) 0:02:02.829 *********** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for managed_node1 TASK [fedora.linux_system_roles.storage : Make sure blivet is available] ******* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Friday 26 July 2024 13:45:29 -0400 (0:00:00.049) 0:02:02.878 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"blivet_available\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Show storage_pools] ****************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:9 Friday 26 July 2024 13:45:29 -0400 (0:00:00.024) 0:02:02.903 *********** ok: [managed_node1] => { "storage_pools": [ { "disks": [ "sda" ], "encryption": true, "encryption_cipher": "aes-xts-plain64", "encryption_key_size": 512, "encryption_luks_version": "luks1", "encryption_password": "yabbadabbadoo", "name": "foo", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "4g" } ] } ] } TASK [fedora.linux_system_roles.storage : Show storage_volumes] **************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:14 Friday 26 July 2024 13:45:29 -0400 (0:00:00.034) 0:02:02.938 *********** ok: [managed_node1] => { "storage_volumes": [] } TASK [fedora.linux_system_roles.storage : Get required packages] *************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:19 Friday 26 July 2024 13:45:29 -0400 (0:00:00.040) 0:02:02.978 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"packages_installed\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Enable copr repositories if needed] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:31 Friday 26 July 2024 13:45:29 -0400 (0:00:00.023) 0:02:03.002 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"packages_installed\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Make sure required packages are installed] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:37 Friday 26 July 2024 13:45:29 -0400 (0:00:00.023) 0:02:03.025 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"packages_installed\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Get service facts] ******************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:51 Friday 26 July 2024 13:45:30 -0400 (0:00:00.026) 0:02:03.051 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"service_facts\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:57 Friday 26 July 2024 13:45:30 -0400 (0:00:00.023) 0:02:03.075 *********** ok: [managed_node1] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:63 Friday 26 July 2024 13:45:30 -0400 (0:00:00.039) 0:02:03.114 *********** skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.storage : Manage the pools and volumes to match the specified state] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:69 Friday 26 July 2024 13:45:30 -0400 (0:00:00.018) 0:02:03.133 *********** fatal: [managed_node1]: FAILED! => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } MSG: cannot remove and recreate existing pool 'foo' in safe mode TASK [fedora.linux_system_roles.storage : Failed message] ********************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:109 Friday 26 July 2024 13:45:31 -0400 (0:00:01.215) 0:02:04.349 *********** fatal: [managed_node1]: FAILED! => { "changed": false } MSG: {'changed': False, 'actions': [], 'leaves': [], 'mounts': [], 'crypts': [], 'pools': [], 'volumes': [], 'packages': [], 'failed': True, 'msg': "cannot remove and recreate existing pool 'foo' in safe mode", 'invocation': {'module_args': {'pools': [{'disks': ['sda'], 'encryption': True, 'encryption_cipher': 'aes-xts-plain64', 'encryption_key': None, 'encryption_key_size': 512, 'encryption_luks_version': 'luks1', 'encryption_password': 'VALUE_SPECIFIED_IN_NO_LOG_PARAMETER', 'encryption_clevis_pin': None, 'encryption_tang_url': None, 'encryption_tang_thumbprint': None, 'grow_to_fill': False, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'raid_chunk_size': None, 'shared': False, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': None, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': None, 'fs_label': None, 'fs_type': None, 'mount_options': None, 'mount_point': '/opt/test1', 'mount_user': None, 'mount_group': None, 'mount_mode': None, 'name': 'test1', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': None, 'cached': None, 'cache_devices': [], 'cache_mode': None, 'cache_size': None, 'compression': None, 'deduplication': None, 'raid_disks': [], 'raid_stripe_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None}]}], 'volumes': [], 'use_partitions': None, 'disklabel_type': None, 'pool_defaults': {'state': 'present', 'type': 'lvm', 'disks': [], 'volumes': [], 'grow_to_fill': False, 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, 'shared': False}, 'volume_defaults': {'state': 'present', 'type': 'lvm', 'size': 0, 'disks': [], 'fs_type': 'xfs', 'fs_label': '', 'fs_create_options': '', 'fs_overwrite_existing': True, 'mount_point': '', 'mount_options': 'defaults', 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_stripe_size': None, 'raid_metadata_version': None, 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': []}, 'safe_mode': True, 'packages_only': False, 'diskvolume_mkfs_option_map': {}}}, '_ansible_no_log': False} TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:113 Friday 26 July 2024 13:45:31 -0400 (0:00:00.028) 0:02:04.378 *********** skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Check that we failed in the role] **************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:23 Friday 26 July 2024 13:45:31 -0400 (0:00:00.017) 0:02:04.395 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the blivet output and error message are correct] ****************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:28 Friday 26 July 2024 13:45:31 -0400 (0:00:00.024) 0:02:04.420 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify correct exception or error message] ******************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:39 Friday 26 July 2024 13:45:31 -0400 (0:00:00.032) 0:02:04.453 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "__storage_failed_exception is defined", "skip_reason": "Conditional result was False" } TASK [Stat the file] *********************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-data-preservation.yml:11 Friday 26 July 2024 13:45:31 -0400 (0:00:00.026) 0:02:04.479 *********** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722015929.4374447, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1722015929.4374447, "dev": 64768, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 131, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0644", "mtime": 1722015929.4374447, "nlink": 1, "path": "/opt/test1/quux", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "version": "3674784771", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Assert file presence] **************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-data-preservation.yml:16 Friday 26 July 2024 13:45:31 -0400 (0:00:00.376) 0:02:04.856 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Add encryption to the pool] ********************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/tests_luks_pool.yml:212 Friday 26 July 2024 13:45:31 -0400 (0:00:00.027) 0:02:04.883 *********** included: fedora.linux_system_roles.storage for managed_node1 TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Friday 26 July 2024 13:45:31 -0400 (0:00:00.050) 0:02:04.934 *********** included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Friday 26 July 2024 13:45:31 -0400 (0:00:00.030) 0:02:04.965 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "__storage_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Friday 26 July 2024 13:45:31 -0400 (0:00:00.028) 0:02:04.994 *********** skipping: [managed_node1] => (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_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_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs", "stratisd", "stratis-cli" ] }, "ansible_included_var_files": [ "/tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } ok: [managed_node1] => (item=CentOS_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs", "stratisd", "stratis-cli" ] }, "ansible_included_var_files": [ "/tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } TASK [fedora.linux_system_roles.storage : Check if system is ostree] *********** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:25 Friday 26 July 2024 13:45:32 -0400 (0:00:00.050) 0:02:05.044 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "not __storage_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set flag to indicate system is ostree] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:30 Friday 26 July 2024 13:45:32 -0400 (0:00:00.023) 0:02:05.067 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "not __storage_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Define an empty list of pools to be used in testing] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Friday 26 July 2024 13:45:32 -0400 (0:00:00.062) 0:02:05.129 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Define an empty list of volumes to be used in testing] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Friday 26 July 2024 13:45:32 -0400 (0:00:00.023) 0:02:05.153 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Include the appropriate provider tasks] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Friday 26 July 2024 13:45:32 -0400 (0:00:00.021) 0:02:05.174 *********** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for managed_node1 TASK [fedora.linux_system_roles.storage : Make sure blivet is available] ******* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Friday 26 July 2024 13:45:32 -0400 (0:00:00.049) 0:02:05.224 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"blivet_available\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Show storage_pools] ****************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:9 Friday 26 July 2024 13:45:32 -0400 (0:00:00.026) 0:02:05.250 *********** ok: [managed_node1] => { "storage_pools": [ { "disks": [ "sda" ], "encryption": true, "encryption_cipher": "aes-xts-plain64", "encryption_key_size": 512, "encryption_luks_version": "luks1", "encryption_password": "yabbadabbadoo", "name": "foo", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "4g" } ] } ] } TASK [fedora.linux_system_roles.storage : Show storage_volumes] **************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:14 Friday 26 July 2024 13:45:32 -0400 (0:00:00.035) 0:02:05.286 *********** ok: [managed_node1] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : Get required packages] *************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:19 Friday 26 July 2024 13:45:32 -0400 (0:00:00.023) 0:02:05.310 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"packages_installed\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Enable copr repositories if needed] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:31 Friday 26 July 2024 13:45:32 -0400 (0:00:00.028) 0:02:05.339 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"packages_installed\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Make sure required packages are installed] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:37 Friday 26 July 2024 13:45:32 -0400 (0:00:00.024) 0:02:05.363 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"packages_installed\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Get service facts] ******************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:51 Friday 26 July 2024 13:45:32 -0400 (0:00:00.026) 0:02:05.390 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"service_facts\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:57 Friday 26 July 2024 13:45:32 -0400 (0:00:00.026) 0:02:05.416 *********** ok: [managed_node1] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:63 Friday 26 July 2024 13:45:32 -0400 (0:00:00.043) 0:02:05.459 *********** skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.storage : Manage the pools and volumes to match the specified state] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:69 Friday 26 July 2024 13:45:32 -0400 (0:00:00.017) 0:02:05.477 *********** changed: [managed_node1] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "lvmpv" }, { "action": "create format", "device": "/dev/sda", "fs_type": "luks" }, { "action": "create device", "device": "/dev/mapper/luks-5923e335-61cc-47b6-ab8e-26dfdd61c414", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/luks-5923e335-61cc-47b6-ab8e-26dfdd61c414", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" } ], "changed": true, "crypts": [ { "backing_device": "/dev/sda", "name": "luks-5923e335-61cc-47b6-ab8e-26dfdd61c414", "password": "-", "state": "present" } ], "leaves": [ "/dev/sdb", "/dev/sdc", "/dev/sdd", "/dev/sde", "/dev/sdf", "/dev/sdg", "/dev/sdh", "/dev/sdi", "/dev/xvda1", "/dev/mapper/foo-test1" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" }, { "dump": 0, "fstype": "xfs", "group": null, "mode": null, "opts": "defaults", "owner": null, "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "xfsprogs", "lvm2", "cryptsetup" ], "pools": [ { "disks": [ "sda" ], "encryption": true, "encryption_cipher": "aes-xts-plain64", "encryption_clevis_pin": null, "encryption_key": null, "encryption_key_size": 512, "encryption_luks_version": "luks1", "encryption_password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "encryption_tang_thumbprint": null, "encryption_tang_url": null, "grow_to_fill": false, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "shared": false, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_group": null, "mount_mode": null, "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "mount_user": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "raid_stripe_size": null, "size": "4g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:83 Friday 26 July 2024 13:45:40 -0400 (0:00:08.103) 0:02:13.580 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_udevadm_trigger | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Check if /etc/fstab is present] ****** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Friday 26 July 2024 13:45:40 -0400 (0:00:00.025) 0:02:13.606 *********** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722015916.4272668, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fd56974890469e9fa628e263bc0a4dee749faa7c", "ctime": 1722015916.423267, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 385876164, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722015916.423267, "nlink": 1, "path": "/etc/fstab", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 1416, "uid": 0, "version": "4065764936", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : Add fingerprint to /etc/fstab if present] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:95 Friday 26 July 2024 13:45:40 -0400 (0:00:00.380) 0:02:13.987 *********** ok: [managed_node1] => { "backup": "", "changed": false } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:113 Friday 26 July 2024 13:45:41 -0400 (0:00:00.377) 0:02:14.365 *********** skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.storage : Show blivet_output] ****************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:119 Friday 26 July 2024 13:45:41 -0400 (0:00:00.016) 0:02:14.382 *********** ok: [managed_node1] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "lvmpv" }, { "action": "create format", "device": "/dev/sda", "fs_type": "luks" }, { "action": "create device", "device": "/dev/mapper/luks-5923e335-61cc-47b6-ab8e-26dfdd61c414", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/luks-5923e335-61cc-47b6-ab8e-26dfdd61c414", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" } ], "changed": true, "crypts": [ { "backing_device": "/dev/sda", "name": "luks-5923e335-61cc-47b6-ab8e-26dfdd61c414", "password": "-", "state": "present" } ], "failed": false, "leaves": [ "/dev/sdb", "/dev/sdc", "/dev/sdd", "/dev/sde", "/dev/sdf", "/dev/sdg", "/dev/sdh", "/dev/sdi", "/dev/xvda1", "/dev/mapper/foo-test1" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" }, { "dump": 0, "fstype": "xfs", "group": null, "mode": null, "opts": "defaults", "owner": null, "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "xfsprogs", "lvm2", "cryptsetup" ], "pools": [ { "disks": [ "sda" ], "encryption": true, "encryption_cipher": "aes-xts-plain64", "encryption_clevis_pin": null, "encryption_key": null, "encryption_key_size": 512, "encryption_luks_version": "luks1", "encryption_password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "encryption_tang_thumbprint": null, "encryption_tang_url": null, "grow_to_fill": false, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "shared": false, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_group": null, "mount_mode": null, "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "mount_user": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "raid_stripe_size": null, "size": "4g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : Set the list of pools for test verification] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:128 Friday 26 July 2024 13:45:41 -0400 (0:00:00.026) 0:02:14.408 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": true, "encryption_cipher": "aes-xts-plain64", "encryption_clevis_pin": null, "encryption_key": null, "encryption_key_size": 512, "encryption_luks_version": "luks1", "encryption_password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "encryption_tang_thumbprint": null, "encryption_tang_url": null, "grow_to_fill": false, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "shared": false, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_group": null, "mount_mode": null, "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "mount_user": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "raid_stripe_size": null, "size": "4g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : Set the list of volumes for test verification] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Friday 26 July 2024 13:45:41 -0400 (0:00:00.023) 0:02:14.432 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Remove obsolete mounts] ************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Friday 26 July 2024 13:45:41 -0400 (0:00:00.023) 0:02:14.456 *********** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [managed_node1] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'state': 'absent', 'fstype': 'xfs'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [fedora.linux_system_roles.storage : Tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:159 Friday 26 July 2024 13:45:41 -0400 (0:00:00.381) 0:02:14.837 *********** ok: [managed_node1] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : Set up new/current mounts] *********** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:164 Friday 26 July 2024 13:45:42 -0400 (0:00:00.715) 0:02:15.552 *********** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [managed_node1] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted', 'owner': None, 'group': None, 'mode': None}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "group": null, "mode": null, "opts": "defaults", "owner": null, "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [fedora.linux_system_roles.storage : Manage mount ownership/permissions] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:175 Friday 26 July 2024 13:45:42 -0400 (0:00:00.406) 0:02:15.959 *********** skipping: [managed_node1] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted', 'owner': None, 'group': None, 'mode': None}) => { "ansible_loop_var": "mount_info", "changed": false, "false_condition": "mount_info['owner'] != none or mount_info['group'] != none or mount_info['mode'] != none", "mount_info": { "dump": 0, "fstype": "xfs", "group": null, "mode": null, "opts": "defaults", "owner": null, "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.storage : Tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:187 Friday 26 July 2024 13:45:42 -0400 (0:00:00.033) 0:02:15.993 *********** ok: [managed_node1] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : Retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:195 Friday 26 July 2024 13:45:43 -0400 (0:00:00.703) 0:02:16.696 *********** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722015921.129331, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1722015917.9522877, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5050101, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1721811632.521, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "1322021674", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : Manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:200 Friday 26 July 2024 13:45:44 -0400 (0:00:00.367) 0:02:17.064 *********** changed: [managed_node1] => (item={'backing_device': '/dev/sda', 'name': 'luks-5923e335-61cc-47b6-ab8e-26dfdd61c414', 'password': '-', 'state': 'present'}) => { "ansible_loop_var": "entry", "backup": "", "changed": true, "entry": { "backing_device": "/dev/sda", "name": "luks-5923e335-61cc-47b6-ab8e-26dfdd61c414", "password": "-", "state": "present" } } MSG: line added TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:222 Friday 26 July 2024 13:45:44 -0400 (0:00:00.385) 0:02:17.449 *********** ok: [managed_node1] TASK [Verify role results] ***************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/tests_luks_pool.yml:231 Friday 26 July 2024 13:45:45 -0400 (0:00:00.943) 0:02:18.392 *********** included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml for managed_node1 TASK [Print out pool information] ********************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:2 Friday 26 July 2024 13:45:45 -0400 (0:00:00.042) 0:02:18.434 *********** ok: [managed_node1] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": true, "encryption_cipher": "aes-xts-plain64", "encryption_clevis_pin": null, "encryption_key": null, "encryption_key_size": 512, "encryption_luks_version": "luks1", "encryption_password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "encryption_tang_thumbprint": null, "encryption_tang_url": null, "grow_to_fill": false, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "shared": false, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_group": null, "mount_mode": null, "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "mount_user": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "raid_stripe_size": null, "size": "4g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:7 Friday 26 July 2024 13:45:45 -0400 (0:00:00.033) 0:02:18.467 *********** skipping: [managed_node1] => { "false_condition": "_storage_volumes_list | length > 0" } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:15 Friday 26 July 2024 13:45:45 -0400 (0:00:00.023) 0:02:18.491 *********** ok: [managed_node1] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "mountpoint": "/opt/test1", "name": "/dev/mapper/foo-test1", "size": "4G", "type": "lvm", "uuid": "c3dff09b-ca3e-489b-a550-005461c0e65f" }, "/dev/mapper/luks-5923e335-61cc-47b6-ab8e-26dfdd61c414": { "fstype": "LVM2_member", "label": "", "mountpoint": "", "name": "/dev/mapper/luks-5923e335-61cc-47b6-ab8e-26dfdd61c414", "size": "10G", "type": "crypt", "uuid": "iJ38dD-2BHq-5XtG-J8Et-sso1-p1Sz-9fYIUl" }, "/dev/sda": { "fstype": "crypto_LUKS", "label": "", "mountpoint": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "5923e335-61cc-47b6-ab8e-26dfdd61c414" }, "/dev/sdb": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdd": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sdd", "size": "1T", "type": "disk", "uuid": "" }, "/dev/sde": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sde", "size": "1T", "type": "disk", "uuid": "" }, "/dev/sdf": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sdf", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdg": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sdg", "size": "1T", "type": "disk", "uuid": "" }, "/dev/sdh": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sdh", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdi": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sdi", "size": "10G", "type": "disk", "uuid": "" }, "/dev/xvda": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/xvda", "size": "250G", "type": "disk", "uuid": "" }, "/dev/xvda1": { "fstype": "xfs", "label": "", "mountpoint": "/", "name": "/dev/xvda1", "size": "250G", "type": "partition", "uuid": "f1d2bc8f-ee92-4d94-8bd5-4abdbef0a7d3" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:20 Friday 26 July 2024 13:45:45 -0400 (0:00:00.373) 0:02:18.865 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003019", "end": "2024-07-26 13:45:46.139484", "rc": 0, "start": "2024-07-26 13:45:46.136465" } STDOUT: # system_role:storage # # /etc/fstab # Created by anaconda on Wed Jul 24 09:00:32 2024 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=f1d2bc8f-ee92-4d94-8bd5-4abdbef0a7d3 / xfs defaults 0 0 ntap-rdu2-c01-eng01-nfs01b.storage.rdu2.redhat.com:/bos_eng01_engineering_sm/devarchive/redhat /mnt/redhat nfs ro,rsize=32768,wsize=8192,bg,noauto,noatime,nosuid,nodev,intr 0 0 nest.test.redhat.com:/mnt/qa /mnt/qa nfs defaults,rsize=8192,wsize=8192,bg,noauto,noatime,nosuid,nodev,intr 0 0 vtap-eng01.storage.rdu2.redhat.com:/vol/engarchive /mnt/engarchive nfs ro,rsize=32768,wsize=8192,bg,noauto,noatime,nosuid,nodev,intr 0 0 nest.test.redhat.com:/mnt/tpsdist /mnt/tpsdist nfs defaults,rsize=8192,wsize=8192,bg,noauto,noatime,nosuid,nodev,intr 0 0 ntap-rdu2-c01-eng01-nfs01b.storage.rdu2.redhat.com:/bos_eng01_engineering_sm/devarchive/redhat/brewroot /mnt/brew nfs ro,rsize=32768,wsize=8192,bg,noauto,noatime,nosuid,nodev,intr 0 0 ntap-rdu2-c01-eng01-nfs01b.storage.rdu2.redhat.com:/bos_eng01_devops_brew_scratch_nfs_sm/scratch /mnt/brew_scratch nfs ro,rsize=32768,wsize=8192,bg,noauto,noatime,nosuid,nodev,intr 0 0 /dev/mapper/foo-test1 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:25 Friday 26 July 2024 13:45:46 -0400 (0:00:00.365) 0:02:19.230 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003059", "end": "2024-07-26 13:45:46.505293", "failed_when_result": false, "rc": 0, "start": "2024-07-26 13:45:46.502234" } STDOUT: luks-5923e335-61cc-47b6-ab8e-26dfdd61c414 /dev/sda - TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:34 Friday 26 July 2024 13:45:46 -0400 (0:00:00.367) 0:02:19.598 *********** included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool.yml for managed_node1 => (item={'disks': ['sda'], 'encryption': True, 'encryption_cipher': 'aes-xts-plain64', 'encryption_key': None, 'encryption_key_size': 512, 'encryption_luks_version': 'luks1', 'encryption_password': 'VALUE_SPECIFIED_IN_NO_LOG_PARAMETER', 'encryption_clevis_pin': None, 'encryption_tang_url': None, 'encryption_tang_thumbprint': None, 'grow_to_fill': False, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'raid_chunk_size': None, 'shared': False, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'mount_user': None, 'mount_group': None, 'mount_mode': None, 'name': 'test1', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'raid_stripe_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}]}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool.yml:5 Friday 26 July 2024 13:45:46 -0400 (0:00:00.050) 0:02:19.648 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [Get VG shared value status] ********************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool.yml:18 Friday 26 July 2024 13:45:46 -0400 (0:00:00.020) 0:02:19.669 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "vgs", "--noheadings", "--binary", "-o", "shared", "foo" ], "delta": "0:00:00.038565", "end": "2024-07-26 13:45:46.986619", "rc": 0, "start": "2024-07-26 13:45:46.948054" } STDOUT: 0 TASK [Verify that VG shared value checks out] ********************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool.yml:24 Friday 26 July 2024 13:45:47 -0400 (0:00:00.409) 0:02:20.078 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify pool subset] ****************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool.yml:34 Friday 26 July 2024 13:45:47 -0400 (0:00:00.025) 0:02:20.104 *********** included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml for managed_node1 => (item=members) included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-volumes.yml for managed_node1 => (item=volumes) TASK [Set test variables] ****************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:2 Friday 26 July 2024 13:45:47 -0400 (0:00:00.045) 0:02:20.149 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/mapper/luks-5923e335-61cc-47b6-ab8e-26dfdd61c414" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:8 Friday 26 July 2024 13:45:47 -0400 (0:00:00.036) 0:02:20.186 *********** ok: [managed_node1] => (item=/dev/mapper/luks-5923e335-61cc-47b6-ab8e-26dfdd61c414) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/mapper/luks-5923e335-61cc-47b6-ab8e-26dfdd61c414", "pv": "/dev/mapper/luks-5923e335-61cc-47b6-ab8e-26dfdd61c414" } TASK [Set pvs lvm length] ****************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:17 Friday 26 July 2024 13:45:47 -0400 (0:00:00.375) 0:02:20.561 *********** ok: [managed_node1] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [Set pool pvs] ************************************************************ task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:22 Friday 26 July 2024 13:45:47 -0400 (0:00:00.030) 0:02:20.592 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/mapper/luks-5923e335-61cc-47b6-ab8e-26dfdd61c414" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:27 Friday 26 July 2024 13:45:47 -0400 (0:00:00.034) 0:02:20.627 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Set expected pv type] **************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:36 Friday 26 July 2024 13:45:47 -0400 (0:00:00.031) 0:02:20.658 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_test_expected_pv_type": "crypt" }, "changed": false } TASK [Set expected pv type] **************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:41 Friday 26 July 2024 13:45:47 -0400 (0:00:00.026) 0:02:20.685 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_pool.type == 'lvm' and not storage_test_pool.encryption", "skip_reason": "Conditional result was False" } TASK [Set expected pv type] **************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:46 Friday 26 July 2024 13:45:47 -0400 (0:00:00.019) 0:02:20.704 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_pool.type == 'lvm' and storage_test_pool.raid_level", "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:51 Friday 26 July 2024 13:45:47 -0400 (0:00:00.018) 0:02:20.723 *********** ok: [managed_node1] => (item=/dev/mapper/luks-5923e335-61cc-47b6-ab8e-26dfdd61c414) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/mapper/luks-5923e335-61cc-47b6-ab8e-26dfdd61c414" } MSG: All assertions passed TASK [Check that blivet supports PV grow to fill] ****************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:64 Friday 26 July 2024 13:45:47 -0400 (0:00:00.029) 0:02:20.753 *********** ok: [managed_node1] => { "changed": false, "rc": 0 } STDOUT: ** (process:25669): WARNING **: 13:45:47.968: failed to load module nvme: libbd_nvme.so.2: cannot open shared object file: No such file or directory True STDERR: OpenSSH_8.7p1, OpenSSL 3.2.2 4 Jun 2024 debug1: Reading configuration data /root/.ssh/config debug1: Reading configuration data /etc/ssh/ssh_config debug1: Reading configuration data /etc/ssh/ssh_config.d/50-redhat.conf debug2: checking match for 'final all' host 10.31.40.14 originally 10.31.40.14 debug2: match not found debug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config debug1: configuration requests final Match pass debug2: resolve_canonicalize: hostname 10.31.40.14 is address debug1: re-parsing configuration debug1: Reading configuration data /root/.ssh/config debug1: Reading configuration data /etc/ssh/ssh_config debug1: Reading configuration data /etc/ssh/ssh_config.d/50-redhat.conf debug2: checking match for 'final all' host 10.31.40.14 originally 10.31.40.14 debug2: match found debug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config debug1: auto-mux: Trying existing master debug2: fd 3 setting O_NONBLOCK debug2: mux_client_hello_exchange: master version 4 debug1: mux_client_request_session: master session id: 2 debug2: Received exit status from master 0 Shared connection to 10.31.40.14 closed. TASK [Verify that PVs fill the whole devices when they should] ***************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:73 Friday 26 July 2024 13:45:48 -0400 (0:00:00.390) 0:02:21.144 *********** skipping: [managed_node1] => (item=/dev/mapper/luks-5923e335-61cc-47b6-ab8e-26dfdd61c414) => { "ansible_loop_var": "st_pool_pv", "changed": false, "false_condition": "grow_supported.stdout | trim == 'True'", "skip_reason": "Conditional result was False", "st_pool_pv": "/dev/mapper/luks-5923e335-61cc-47b6-ab8e-26dfdd61c414" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [Check MD RAID] *********************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:83 Friday 26 July 2024 13:45:48 -0400 (0:00:00.029) 0:02:21.173 *********** included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml for managed_node1 TASK [Get information about RAID] ********************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:8 Friday 26 July 2024 13:45:48 -0400 (0:00:00.038) 0:02:21.212 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_pool.raid_level != none", "skip_reason": "Conditional result was False" } TASK [Set active devices regex] ************************************************ task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:14 Friday 26 July 2024 13:45:48 -0400 (0:00:00.021) 0:02:21.233 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_pool.raid_level != none", "skip_reason": "Conditional result was False" } TASK [Set spare devices regex] ************************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:19 Friday 26 July 2024 13:45:48 -0400 (0:00:00.019) 0:02:21.253 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_pool.raid_level != none", "skip_reason": "Conditional result was False" } TASK [Set md version regex] **************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:24 Friday 26 July 2024 13:45:48 -0400 (0:00:00.051) 0:02:21.305 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_pool.raid_level != none", "skip_reason": "Conditional result was False" } TASK [Set md chunk size regex] ************************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:29 Friday 26 July 2024 13:45:48 -0400 (0:00:00.019) 0:02:21.324 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_pool.raid_level != none", "skip_reason": "Conditional result was False" } TASK [Parse the chunk size] **************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:37 Friday 26 July 2024 13:45:48 -0400 (0:00:00.021) 0:02:21.346 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_pool.raid_level != none", "skip_reason": "Conditional result was False" } TASK [Check RAID active devices count] ***************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:46 Friday 26 July 2024 13:45:48 -0400 (0:00:00.018) 0:02:21.365 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_pool.raid_level != none", "skip_reason": "Conditional result was False" } TASK [Check RAID spare devices count] ****************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:55 Friday 26 July 2024 13:45:48 -0400 (0:00:00.018) 0:02:21.383 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_pool.raid_level != none", "skip_reason": "Conditional result was False" } TASK [Check RAID metadata version] ********************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:64 Friday 26 July 2024 13:45:48 -0400 (0:00:00.020) 0:02:21.403 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_pool.raid_level != none", "skip_reason": "Conditional result was False" } TASK [Check RAID chunk size] *************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:74 Friday 26 July 2024 13:45:48 -0400 (0:00:00.020) 0:02:21.423 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_pool.raid_level != none", "skip_reason": "Conditional result was False" } TASK [Reset variables used by tests] ******************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:83 Friday 26 July 2024 13:45:48 -0400 (0:00:00.018) 0:02:21.442 *********** ok: [managed_node1] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_chunk_size_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:86 Friday 26 July 2024 13:45:48 -0400 (0:00:00.020) 0:02:21.463 *********** included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-lvmraid.yml for managed_node1 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-lvmraid.yml:2 Friday 26 July 2024 13:45:48 -0400 (0:00:00.037) 0:02:21.500 *********** included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-lvmraid.yml for managed_node1 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'mount_user': None, 'mount_group': None, 'mount_mode': None, 'name': 'test1', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'raid_stripe_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) TASK [Get information about the LV] ******************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-lvmraid.yml:8 Friday 26 July 2024 13:45:48 -0400 (0:00:00.038) 0:02:21.539 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_lvmraid_volume.raid_level is not none", "skip_reason": "Conditional result was False" } TASK [Set LV segment type] ***************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-lvmraid.yml:16 Friday 26 July 2024 13:45:48 -0400 (0:00:00.023) 0:02:21.562 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_lvmraid_volume.raid_level is not none", "skip_reason": "Conditional result was False" } TASK [Check segment type] ****************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-lvmraid.yml:20 Friday 26 July 2024 13:45:48 -0400 (0:00:00.024) 0:02:21.587 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_lvmraid_volume.raid_level is not none", "skip_reason": "Conditional result was False" } TASK [Set LV stripe size] ****************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-lvmraid.yml:27 Friday 26 July 2024 13:45:48 -0400 (0:00:00.022) 0:02:21.609 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_lvmraid_volume.raid_level is not none", "skip_reason": "Conditional result was False" } TASK [Parse the requested stripe size] ***************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-lvmraid.yml:31 Friday 26 July 2024 13:45:48 -0400 (0:00:00.022) 0:02:21.632 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_lvmraid_volume.raid_level is not none", "skip_reason": "Conditional result was False" } TASK [Set expected stripe size] ************************************************ task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-lvmraid.yml:37 Friday 26 July 2024 13:45:48 -0400 (0:00:00.026) 0:02:21.659 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_lvmraid_volume.raid_level is not none", "skip_reason": "Conditional result was False" } TASK [Check stripe size] ******************************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-lvmraid.yml:42 Friday 26 July 2024 13:45:48 -0400 (0:00:00.023) 0:02:21.682 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_lvmraid_volume.raid_level is not none", "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:89 Friday 26 July 2024 13:45:48 -0400 (0:00:00.025) 0:02:21.708 *********** included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-thin.yml for managed_node1 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-thin.yml:2 Friday 26 July 2024 13:45:48 -0400 (0:00:00.038) 0:02:21.746 *********** included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-thin.yml for managed_node1 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'mount_user': None, 'mount_group': None, 'mount_mode': None, 'name': 'test1', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'raid_stripe_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-thin.yml:8 Friday 26 July 2024 13:45:48 -0400 (0:00:00.040) 0:02:21.786 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_thin_volume.thin", "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-thin.yml:16 Friday 26 July 2024 13:45:48 -0400 (0:00:00.018) 0:02:21.805 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_thin_volume.thin", "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-thin.yml:22 Friday 26 July 2024 13:45:48 -0400 (0:00:00.020) 0:02:21.825 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_thin_volume.thin", "skip_reason": "Conditional result was False" } TASK [Reset variable used by test] ********************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-thin.yml:26 Friday 26 July 2024 13:45:48 -0400 (0:00:00.017) 0:02:21.843 *********** ok: [managed_node1] => { "ansible_facts": { "storage_test_thin_status": null }, "changed": false } TASK [Check member encryption] ************************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:92 Friday 26 July 2024 13:45:48 -0400 (0:00:00.019) 0:02:21.862 *********** included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-encryption.yml for managed_node1 TASK [Set test variables] ****************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-encryption.yml:5 Friday 26 July 2024 13:45:48 -0400 (0:00:00.043) 0:02:21.906 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "1", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-encryption.yml:10 Friday 26 July 2024 13:45:48 -0400 (0:00:00.031) 0:02:21.938 *********** included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-encryption.yml for managed_node1 => (item=/dev/mapper/luks-5923e335-61cc-47b6-ab8e-26dfdd61c414) TASK [Get the backing device path] ********************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-encryption.yml:2 Friday 26 July 2024 13:45:48 -0400 (0:00:00.035) 0:02:21.973 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "realpath", "/dev/disk/by-uuid/5923e335-61cc-47b6-ab8e-26dfdd61c414" ], "delta": "0:00:00.002957", "end": "2024-07-26 13:45:49.255700", "rc": 0, "start": "2024-07-26 13:45:49.252743" } STDOUT: /dev/sda TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-encryption.yml:12 Friday 26 July 2024 13:45:49 -0400 (0:00:00.372) 0:02:22.346 *********** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this member] *************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-encryption.yml:18 Friday 26 July 2024 13:45:50 -0400 (0:00:00.901) 0:02:23.247 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "cryptsetup", "luksDump", "/dev/sda" ], "delta": "0:00:00.006350", "end": "2024-07-26 13:45:50.529613", "rc": 0, "start": "2024-07-26 13:45:50.523263" } STDOUT: LUKS header information for /dev/sda Version: 1 Cipher name: aes Cipher mode: xts-plain64 Hash spec: sha256 Payload offset: 16384 MK bits: 512 MK digest: 4c bd d5 dc d0 df 4c 3d d9 fa 88 ae 60 3c e4 69 98 b8 5d cf MK salt: cf 4c 67 9e cc 60 48 4c 96 8f 60 3b 1b 10 0f 6c 45 55 13 d1 09 38 81 17 96 88 fc 5d a1 88 3e da MK iterations: 102240 UUID: 5923e335-61cc-47b6-ab8e-26dfdd61c414 Key Slot 0: ENABLED Iterations: 1635842 Salt: 97 f8 9a 69 da 20 b4 c4 48 14 1e b5 97 ea 76 ad 60 2f 40 6f 51 2f 46 e5 c5 05 40 72 f7 7d 82 be Key material offset: 8 AF stripes: 4000 Key Slot 1: DISABLED Key Slot 2: DISABLED Key Slot 3: DISABLED Key Slot 4: DISABLED Key Slot 5: DISABLED Key Slot 6: DISABLED Key Slot 7: DISABLED TASK [Check LUKS version] ****************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-encryption.yml:26 Friday 26 July 2024 13:45:50 -0400 (0:00:00.376) 0:02:23.623 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-encryption.yml:38 Friday 26 July 2024 13:45:50 -0400 (0:00:00.035) 0:02:23.659 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-encryption.yml:50 Friday 26 July 2024 13:45:50 -0400 (0:00:00.030) 0:02:23.689 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-encryption.yml:17 Friday 26 July 2024 13:45:50 -0400 (0:00:00.036) 0:02:23.725 *********** included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-crypttab.yml for managed_node1 => (item=/dev/mapper/luks-5923e335-61cc-47b6-ab8e-26dfdd61c414) TASK [Set variables used by tests] ********************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-crypttab.yml:2 Friday 26 July 2024 13:45:50 -0400 (0:00:00.041) 0:02:23.767 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_test_crypttab_entries": [ "luks-5923e335-61cc-47b6-ab8e-26dfdd61c414 /dev/sda -" ] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-crypttab.yml:6 Friday 26 July 2024 13:45:50 -0400 (0:00:00.037) 0:02:23.804 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-crypttab.yml:14 Friday 26 July 2024 13:45:50 -0400 (0:00:00.029) 0:02:23.833 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-crypttab.yml:23 Friday 26 July 2024 13:45:50 -0400 (0:00:00.032) 0:02:23.865 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "false and _storage_test_expected_crypttab_entries | int == 1", "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-crypttab.yml:32 Friday 26 July 2024 13:45:50 -0400 (0:00:00.026) 0:02:23.891 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Clear test variables] **************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-crypttab.yml:41 Friday 26 July 2024 13:45:50 -0400 (0:00:00.032) 0:02:23.924 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [Clear test variables] **************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-encryption.yml:24 Friday 26 July 2024 13:45:50 -0400 (0:00:00.020) 0:02:23.944 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:95 Friday 26 July 2024 13:45:50 -0400 (0:00:00.019) 0:02:23.964 *********** included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-vdo.yml for managed_node1 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-vdo.yml:2 Friday 26 July 2024 13:45:50 -0400 (0:00:00.043) 0:02:24.008 *********** included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-vdo.yml for managed_node1 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'mount_user': None, 'mount_group': None, 'mount_mode': None, 'name': 'test1', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'raid_stripe_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) TASK [Get information about VDO deduplication] ********************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-vdo.yml:8 Friday 26 July 2024 13:45:51 -0400 (0:00:00.038) 0:02:24.047 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_vdo_volume.deduplication != none or storage_test_vdo_volume.compression != none", "skip_reason": "Conditional result was False" } TASK [Check if VDO deduplication is off] *************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-vdo.yml:15 Friday 26 July 2024 13:45:51 -0400 (0:00:00.019) 0:02:24.066 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_vdo_volume.deduplication != none or storage_test_vdo_volume.compression != none", "skip_reason": "Conditional result was False" } TASK [Check if VDO deduplication is on] **************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-vdo.yml:21 Friday 26 July 2024 13:45:51 -0400 (0:00:00.018) 0:02:24.085 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_vdo_volume.deduplication != none or storage_test_vdo_volume.compression != none", "skip_reason": "Conditional result was False" } TASK [Get information about VDO compression] *********************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-vdo.yml:27 Friday 26 July 2024 13:45:51 -0400 (0:00:00.021) 0:02:24.106 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_vdo_volume.deduplication != none or storage_test_vdo_volume.compression != none", "skip_reason": "Conditional result was False" } TASK [Check if VDO deduplication is off] *************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-vdo.yml:34 Friday 26 July 2024 13:45:51 -0400 (0:00:00.020) 0:02:24.126 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_vdo_volume.deduplication != none or storage_test_vdo_volume.compression != none", "skip_reason": "Conditional result was False" } TASK [Check if VDO deduplication is on] **************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-vdo.yml:40 Friday 26 July 2024 13:45:51 -0400 (0:00:00.018) 0:02:24.144 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_vdo_volume.deduplication != none or storage_test_vdo_volume.compression != none", "skip_reason": "Conditional result was False" } TASK [Clear test variables] **************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-vdo.yml:46 Friday 26 July 2024 13:45:51 -0400 (0:00:00.020) 0:02:24.165 *********** ok: [managed_node1] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [Check Stratis] *********************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:98 Friday 26 July 2024 13:45:51 -0400 (0:00:00.020) 0:02:24.186 *********** included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-stratis.yml for managed_node1 TASK [Run 'stratis report'] **************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-stratis.yml:6 Friday 26 July 2024 13:45:51 -0400 (0:00:00.049) 0:02:24.236 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_pool.type == 'stratis'", "skip_reason": "Conditional result was False" } TASK [Get information about Stratis] ******************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-stratis.yml:11 Friday 26 July 2024 13:45:51 -0400 (0:00:00.058) 0:02:24.294 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_pool.type == 'stratis'", "skip_reason": "Conditional result was False" } TASK [Verify that the pools was created] *************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-stratis.yml:15 Friday 26 July 2024 13:45:51 -0400 (0:00:00.019) 0:02:24.314 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_pool.type == 'stratis'", "skip_reason": "Conditional result was False" } TASK [Verify that encryption is correctly set] ********************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-stratis.yml:25 Friday 26 July 2024 13:45:51 -0400 (0:00:00.018) 0:02:24.332 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_pool.type == 'stratis'", "skip_reason": "Conditional result was False" } TASK [Verify that Clevis/Tang encryption is correctly set] ********************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-stratis.yml:34 Friday 26 July 2024 13:45:51 -0400 (0:00:00.019) 0:02:24.352 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_pool.type == 'stratis'", "skip_reason": "Conditional result was False" } TASK [Reset variable used by test] ********************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-stratis.yml:44 Friday 26 July 2024 13:45:51 -0400 (0:00:00.018) 0:02:24.370 *********** ok: [managed_node1] => { "ansible_facts": { "storage_test_stratis_report": null }, "changed": false } TASK [Clean up test variables] ************************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:101 Friday 26 July 2024 13:45:51 -0400 (0:00:00.019) 0:02:24.390 *********** ok: [managed_node1] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [Verify the volumes] ****************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-volumes.yml:3 Friday 26 July 2024 13:45:51 -0400 (0:00:00.024) 0:02:24.415 *********** included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume.yml for managed_node1 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'mount_user': None, 'mount_group': None, 'mount_mode': None, 'name': 'test1', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'raid_stripe_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) TASK [Set storage volume test variables] *************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume.yml:2 Friday 26 July 2024 13:45:51 -0400 (0:00:00.033) 0:02:24.448 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [Run test verify for {{ storage_test_volume_subset }}] ******************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume.yml:19 Friday 26 July 2024 13:45:51 -0400 (0:00:00.032) 0:02:24.480 *********** included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml for managed_node1 => (item=mount) included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml for managed_node1 => (item=fstab) included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fs.yml for managed_node1 => (item=fs) included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml for managed_node1 => (item=device) included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml for managed_node1 => (item=encryption) included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml for managed_node1 => (item=md) included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml for managed_node1 => (item=size) included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml for managed_node1 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:7 Friday 26 July 2024 13:45:51 -0400 (0:00:00.107) 0:02:24.588 *********** ok: [managed_node1] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:11 Friday 26 July 2024 13:45:51 -0400 (0:00:00.028) 0:02:24.617 *********** ok: [managed_node1] => { "ansible_facts": { "storage_test_mount_expected_mount_point": "/opt/test1", "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Get information about the mountpoint directory] ************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:19 Friday 26 July 2024 13:45:51 -0400 (0:00:00.035) 0:02:24.653 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "_storage_test_volume_present and storage_test_volume.mount_point and (storage_test_volume.mount_user or storage_test_volume.mount_group or storage_test_volume.mount_mode)", "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:28 Friday 26 July 2024 13:45:51 -0400 (0:00:00.019) 0:02:24.672 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify mount directory user] ********************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:36 Friday 26 July 2024 13:45:51 -0400 (0:00:00.024) 0:02:24.697 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "_storage_test_volume_present and storage_test_volume.mount_point and storage_test_volume.mount_user", "skip_reason": "Conditional result was False" } TASK [Verify mount directory group] ******************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:42 Friday 26 July 2024 13:45:51 -0400 (0:00:00.018) 0:02:24.716 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "_storage_test_volume_present and storage_test_volume.mount_point and storage_test_volume.mount_group", "skip_reason": "Conditional result was False" } TASK [Verify mount directory permissions] ************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:48 Friday 26 July 2024 13:45:51 -0400 (0:00:00.018) 0:02:24.734 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "_storage_test_volume_present and storage_test_volume.mount_point and storage_test_volume.mount_mode", "skip_reason": "Conditional result was False" } TASK [Get path of test volume device] ****************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:57 Friday 26 July 2024 13:45:51 -0400 (0:00:00.018) 0:02:24.752 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.fs_type == \"swap\"", "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:63 Friday 26 July 2024 13:45:51 -0400 (0:00:00.021) 0:02:24.773 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.fs_type == \"swap\"", "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:69 Friday 26 July 2024 13:45:51 -0400 (0:00:00.018) 0:02:24.792 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.fs_type == \"swap\"", "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:79 Friday 26 July 2024 13:45:51 -0400 (0:00:00.019) 0:02:24.811 *********** ok: [managed_node1] => { "ansible_facts": { "storage_test_found_mount_stat": null, "storage_test_mount_expected_mount_point": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml:2 Friday 26 July 2024 13:45:51 -0400 (0:00:00.022) 0:02:24.834 *********** ok: [managed_node1] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml:17 Friday 26 July 2024 13:45:51 -0400 (0:00:00.047) 0:02:24.881 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml:24 Friday 26 July 2024 13:45:51 -0400 (0:00:00.029) 0:02:24.910 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml:33 Friday 26 July 2024 13:45:51 -0400 (0:00:00.037) 0:02:24.947 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "__storage_verify_mount_options | d(false)", "skip_reason": "Conditional result was False" } TASK [Verify fingerprint] ****************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml:45 Friday 26 July 2024 13:45:51 -0400 (0:00:00.024) 0:02:24.972 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Clean up variables] ****************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml:51 Friday 26 July 2024 13:45:51 -0400 (0:00:00.024) 0:02:24.996 *********** ok: [managed_node1] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fs.yml:6 Friday 26 July 2024 13:45:51 -0400 (0:00:00.020) 0:02:25.017 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fs.yml:14 Friday 26 July 2024 13:45:52 -0400 (0:00:00.030) 0:02:25.047 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:3 Friday 26 July 2024 13:45:52 -0400 (0:00:00.034) 0:02:25.082 *********** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722015940.4275947, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1722015940.4275947, "dev": 5, "device_type": 64769, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 976, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1722015940.4275947, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:9 Friday 26 July 2024 13:45:52 -0400 (0:00:00.375) 0:02:25.457 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:16 Friday 26 July 2024 13:45:52 -0400 (0:00:00.027) 0:02:25.485 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "not (_storage_test_volume_present or storage_test_volume.type == 'disk')", "skip_reason": "Conditional result was False" } TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:23 Friday 26 July 2024 13:45:52 -0400 (0:00:00.019) 0:02:25.504 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Process volume type (set initial value) (1/2)] *************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:29 Friday 26 July 2024 13:45:52 -0400 (0:00:00.024) 0:02:25.529 *********** ok: [managed_node1] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [Process volume type (get RAID value) (2/2)] ****************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:33 Friday 26 July 2024 13:45:52 -0400 (0:00:00.023) 0:02:25.552 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.type == \"raid\"", "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:38 Friday 26 July 2024 13:45:52 -0400 (0:00:00.018) 0:02:25.571 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:3 Friday 26 July 2024 13:45:52 -0400 (0:00:00.027) 0:02:25.599 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.encryption", "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:10 Friday 26 July 2024 13:45:52 -0400 (0:00:00.018) 0:02:25.618 *********** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:16 Friday 26 July 2024 13:45:53 -0400 (0:00:00.903) 0:02:26.522 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.encryption and _storage_test_volume_present", "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:22 Friday 26 July 2024 13:45:53 -0400 (0:00:00.018) 0:02:26.540 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.encryption", "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:29 Friday 26 July 2024 13:45:53 -0400 (0:00:00.019) 0:02:26.560 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:40 Friday 26 July 2024 13:45:53 -0400 (0:00:00.030) 0:02:26.591 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "_storage_test_volume_present and storage_test_volume.encryption", "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:46 Friday 26 July 2024 13:45:53 -0400 (0:00:00.020) 0:02:26.611 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "_storage_test_volume_present and storage_test_volume.encryption", "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:51 Friday 26 July 2024 13:45:53 -0400 (0:00:00.020) 0:02:26.631 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.encryption", "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:63 Friday 26 July 2024 13:45:53 -0400 (0:00:00.018) 0:02:26.650 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.encryption", "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:75 Friday 26 July 2024 13:45:53 -0400 (0:00:00.018) 0:02:26.668 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.encryption", "skip_reason": "Conditional result was False" } TASK [Set test variables] ****************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:87 Friday 26 July 2024 13:45:53 -0400 (0:00:00.019) 0:02:26.688 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:93 Friday 26 July 2024 13:45:53 -0400 (0:00:00.033) 0:02:26.721 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:100 Friday 26 July 2024 13:45:53 -0400 (0:00:00.036) 0:02:26.757 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "_storage_test_expected_crypttab_entries | int == 1", "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:108 Friday 26 July 2024 13:45:53 -0400 (0:00:00.024) 0:02:26.782 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "_storage_test_expected_crypttab_entries | int == 1", "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:116 Friday 26 July 2024 13:45:53 -0400 (0:00:00.028) 0:02:26.810 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "_storage_test_expected_crypttab_entries | int == 1", "skip_reason": "Conditional result was False" } TASK [Clear test variables] **************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:124 Friday 26 July 2024 13:45:53 -0400 (0:00:00.024) 0:02:26.835 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [Get information about RAID] ********************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:8 Friday 26 July 2024 13:45:53 -0400 (0:00:00.022) 0:02:26.858 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.type == 'raid'", "skip_reason": "Conditional result was False" } TASK [Set active devices regex] ************************************************ task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:14 Friday 26 July 2024 13:45:53 -0400 (0:00:00.019) 0:02:26.877 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.type == 'raid'", "skip_reason": "Conditional result was False" } TASK [Set spare devices regex] ************************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:19 Friday 26 July 2024 13:45:53 -0400 (0:00:00.022) 0:02:26.900 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.type == 'raid'", "skip_reason": "Conditional result was False" } TASK [Set md version regex] **************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:24 Friday 26 July 2024 13:45:53 -0400 (0:00:00.022) 0:02:26.922 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.type == 'raid'", "skip_reason": "Conditional result was False" } TASK [Set chunk size regex] **************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:29 Friday 26 July 2024 13:45:53 -0400 (0:00:00.019) 0:02:26.942 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.type == 'raid'", "skip_reason": "Conditional result was False" } TASK [Parse the chunk size] **************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:37 Friday 26 July 2024 13:45:53 -0400 (0:00:00.019) 0:02:26.961 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.type == 'raid'", "skip_reason": "Conditional result was False" } TASK [Check RAID active devices count] ***************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:46 Friday 26 July 2024 13:45:53 -0400 (0:00:00.022) 0:02:26.983 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.type == 'raid'", "skip_reason": "Conditional result was False" } TASK [Check RAID spare devices count] ****************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:54 Friday 26 July 2024 13:45:53 -0400 (0:00:00.019) 0:02:27.003 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.type == 'raid'", "skip_reason": "Conditional result was False" } TASK [Check RAID metadata version] ********************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:62 Friday 26 July 2024 13:45:54 -0400 (0:00:00.059) 0:02:27.062 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.type == 'raid'", "skip_reason": "Conditional result was False" } TASK [Check RAID chunk size] *************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:70 Friday 26 July 2024 13:45:54 -0400 (0:00:00.020) 0:02:27.082 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.type == 'raid'", "skip_reason": "Conditional result was False" } TASK [Parse the actual size of the volume] ************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:3 Friday 26 July 2024 13:45:54 -0400 (0:00:00.021) 0:02:27.104 *********** ok: [managed_node1] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [Parse the requested size of the volume] ********************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:11 Friday 26 July 2024 13:45:54 -0400 (0:00:00.369) 0:02:27.473 *********** ok: [managed_node1] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:20 Friday 26 July 2024 13:45:54 -0400 (0:00:00.371) 0:02:27.845 *********** ok: [managed_node1] => { "ansible_facts": { "storage_test_expected_size": "4294967296" }, "changed": false } TASK [Show expected size] ****************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:28 Friday 26 July 2024 13:45:54 -0400 (0:00:00.031) 0:02:27.876 *********** ok: [managed_node1] => { "storage_test_expected_size": "4294967296" } TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:32 Friday 26 July 2024 13:45:54 -0400 (0:00:00.025) 0:02:27.901 *********** ok: [managed_node1] => { "bytes": 10715943403, "changed": false, "lvm": "9g", "parted": "9GiB", "size": "9 GiB" } TASK [Show test pool] ********************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:46 Friday 26 July 2024 13:45:55 -0400 (0:00:00.371) 0:02:28.273 *********** skipping: [managed_node1] => { "false_condition": "'%' in storage_test_volume.size | string" } TASK [Show test blockinfo] ***************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:50 Friday 26 July 2024 13:45:55 -0400 (0:00:00.026) 0:02:28.299 *********** skipping: [managed_node1] => { "false_condition": "'%' in storage_test_volume.size | string" } TASK [Show test pool size] ***************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:54 Friday 26 July 2024 13:45:55 -0400 (0:00:00.026) 0:02:28.326 *********** skipping: [managed_node1] => { "false_condition": "'%' in storage_test_volume.size | string" } TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:58 Friday 26 July 2024 13:45:55 -0400 (0:00:00.025) 0:02:28.351 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "'%' in storage_test_volume.size | string", "skip_reason": "Conditional result was False" } TASK [Default thin pool reserved space values] ********************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:67 Friday 26 July 2024 13:45:55 -0400 (0:00:00.027) 0:02:28.379 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.thin", "skip_reason": "Conditional result was False" } TASK [Default minimal thin pool reserved space size] *************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:71 Friday 26 July 2024 13:45:55 -0400 (0:00:00.020) 0:02:28.400 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.thin", "skip_reason": "Conditional result was False" } TASK [Default maximal thin pool reserved space size] *************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:76 Friday 26 July 2024 13:45:55 -0400 (0:00:00.019) 0:02:28.420 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.thin", "skip_reason": "Conditional result was False" } TASK [Calculate maximum usable space in thin pool] ***************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:82 Friday 26 July 2024 13:45:55 -0400 (0:00:00.018) 0:02:28.438 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.thin", "skip_reason": "Conditional result was False" } TASK [Apply upper size limit to max usable thin pool space] ******************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:86 Friday 26 July 2024 13:45:55 -0400 (0:00:00.018) 0:02:28.456 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.thin", "skip_reason": "Conditional result was False" } TASK [Apply lower size limit to max usable thin pool space] ******************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:91 Friday 26 July 2024 13:45:55 -0400 (0:00:00.018) 0:02:28.474 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.thin", "skip_reason": "Conditional result was False" } TASK [Convert maximum usable thin pool space from int to Size] ***************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:96 Friday 26 July 2024 13:45:55 -0400 (0:00:00.020) 0:02:28.495 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.thin", "skip_reason": "Conditional result was False" } TASK [Show max thin pool size] ************************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:101 Friday 26 July 2024 13:45:55 -0400 (0:00:00.020) 0:02:28.515 *********** skipping: [managed_node1] => { "false_condition": "storage_test_volume.thin" } TASK [Show volume thin pool size] ********************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:105 Friday 26 July 2024 13:45:55 -0400 (0:00:00.018) 0:02:28.533 *********** skipping: [managed_node1] => { "false_condition": "storage_test_volume.thin" } TASK [Show test volume size] *************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:109 Friday 26 July 2024 13:45:55 -0400 (0:00:00.020) 0:02:28.553 *********** skipping: [managed_node1] => { "false_condition": "storage_test_volume.thin" } TASK [Establish base value for expected thin pool size] ************************ task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:113 Friday 26 July 2024 13:45:55 -0400 (0:00:00.018) 0:02:28.572 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.thin", "skip_reason": "Conditional result was False" } TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:120 Friday 26 July 2024 13:45:55 -0400 (0:00:00.017) 0:02:28.590 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.thin", "skip_reason": "Conditional result was False" } TASK [Establish base value for expected thin pool volume size] ***************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:127 Friday 26 July 2024 13:45:55 -0400 (0:00:00.019) 0:02:28.609 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.thin", "skip_reason": "Conditional result was False" } TASK [Calculate the expected thin pool volume size based on percentage value] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:131 Friday 26 July 2024 13:45:55 -0400 (0:00:00.020) 0:02:28.629 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.thin", "skip_reason": "Conditional result was False" } TASK [Replace expected volume size with calculated value] ********************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:137 Friday 26 July 2024 13:45:55 -0400 (0:00:00.018) 0:02:28.648 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.thin", "skip_reason": "Conditional result was False" } TASK [Show actual size] ******************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:143 Friday 26 July 2024 13:45:55 -0400 (0:00:00.020) 0:02:28.669 *********** ok: [managed_node1] => { "storage_test_actual_size": { "bytes": 4294967296, "changed": false, "failed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } } TASK [Show expected size] ****************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:147 Friday 26 July 2024 13:45:55 -0400 (0:00:00.022) 0:02:28.691 *********** ok: [managed_node1] => { "storage_test_expected_size": "4294967296" } TASK [Assert expected size is actual size] ************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:151 Friday 26 July 2024 13:45:55 -0400 (0:00:00.022) 0:02:28.714 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:5 Friday 26 July 2024 13:45:55 -0400 (0:00:00.034) 0:02:28.749 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.031929", "end": "2024-07-26 13:45:56.056531", "rc": 0, "start": "2024-07-26 13:45:56.024602" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [Set LV segment type] ***************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:13 Friday 26 July 2024 13:45:56 -0400 (0:00:00.403) 0:02:29.152 *********** ok: [managed_node1] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [Check segment type] ****************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:17 Friday 26 July 2024 13:45:56 -0400 (0:00:00.030) 0:02:29.183 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Set LV cache size] ******************************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:24 Friday 26 July 2024 13:45:56 -0400 (0:00:00.030) 0:02:29.213 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.cached | bool", "skip_reason": "Conditional result was False" } TASK [Parse the requested cache size] ****************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:31 Friday 26 July 2024 13:45:56 -0400 (0:00:00.024) 0:02:29.238 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.cached | bool", "skip_reason": "Conditional result was False" } TASK [Set expected cache size] ************************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:37 Friday 26 July 2024 13:45:56 -0400 (0:00:00.025) 0:02:29.263 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.cached | bool", "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:42 Friday 26 July 2024 13:45:56 -0400 (0:00:00.024) 0:02:29.287 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.cached | bool", "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume.yml:25 Friday 26 July 2024 13:45:56 -0400 (0:00:00.026) 0:02:29.314 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:44 Friday 26 July 2024 13:45:56 -0400 (0:00:00.022) 0:02:29.337 *********** skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:54 Friday 26 July 2024 13:45:56 -0400 (0:00:00.016) 0:02:29.354 *********** ok: [managed_node1] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Create a file] *********************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/create-test-file.yml:12 Friday 26 July 2024 13:45:56 -0400 (0:00:00.020) 0:02:29.374 *********** changed: [managed_node1] => { "changed": true, "dest": "/opt/test1/quux", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:unlabeled_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [Change the mountpoint, leaving encryption in place] ********************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/tests_luks_pool.yml:237 Friday 26 July 2024 13:45:56 -0400 (0:00:00.376) 0:02:29.751 *********** included: fedora.linux_system_roles.storage for managed_node1 TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Friday 26 July 2024 13:45:56 -0400 (0:00:00.059) 0:02:29.810 *********** included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Friday 26 July 2024 13:45:56 -0400 (0:00:00.028) 0:02:29.838 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "__storage_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Friday 26 July 2024 13:45:56 -0400 (0:00:00.029) 0:02:29.868 *********** skipping: [managed_node1] => (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_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_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs", "stratisd", "stratis-cli" ] }, "ansible_included_var_files": [ "/tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } ok: [managed_node1] => (item=CentOS_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs", "stratisd", "stratis-cli" ] }, "ansible_included_var_files": [ "/tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } TASK [fedora.linux_system_roles.storage : Check if system is ostree] *********** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:25 Friday 26 July 2024 13:45:56 -0400 (0:00:00.055) 0:02:29.923 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "not __storage_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set flag to indicate system is ostree] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:30 Friday 26 July 2024 13:45:56 -0400 (0:00:00.024) 0:02:29.947 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "not __storage_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Define an empty list of pools to be used in testing] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Friday 26 July 2024 13:45:56 -0400 (0:00:00.022) 0:02:29.970 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Define an empty list of volumes to be used in testing] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Friday 26 July 2024 13:45:56 -0400 (0:00:00.020) 0:02:29.991 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Include the appropriate provider tasks] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Friday 26 July 2024 13:45:56 -0400 (0:00:00.019) 0:02:30.011 *********** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for managed_node1 TASK [fedora.linux_system_roles.storage : Make sure blivet is available] ******* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Friday 26 July 2024 13:45:57 -0400 (0:00:00.048) 0:02:30.060 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"blivet_available\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Show storage_pools] ****************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:9 Friday 26 July 2024 13:45:57 -0400 (0:00:00.024) 0:02:30.084 *********** ok: [managed_node1] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "lvm", "volumes": [ { "mount_point": "/opt/test2", "name": "test1" } ] } ] } TASK [fedora.linux_system_roles.storage : Show storage_volumes] **************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:14 Friday 26 July 2024 13:45:57 -0400 (0:00:00.027) 0:02:30.111 *********** ok: [managed_node1] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : Get required packages] *************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:19 Friday 26 July 2024 13:45:57 -0400 (0:00:00.021) 0:02:30.133 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"packages_installed\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Enable copr repositories if needed] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:31 Friday 26 July 2024 13:45:57 -0400 (0:00:00.027) 0:02:30.160 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"packages_installed\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Make sure required packages are installed] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:37 Friday 26 July 2024 13:45:57 -0400 (0:00:00.023) 0:02:30.184 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"packages_installed\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Get service facts] ******************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:51 Friday 26 July 2024 13:45:57 -0400 (0:00:00.023) 0:02:30.208 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"service_facts\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:57 Friday 26 July 2024 13:45:57 -0400 (0:00:00.024) 0:02:30.232 *********** ok: [managed_node1] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:63 Friday 26 July 2024 13:45:57 -0400 (0:00:00.040) 0:02:30.273 *********** skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.storage : Manage the pools and volumes to match the specified state] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:69 Friday 26 July 2024 13:45:57 -0400 (0:00:00.018) 0:02:30.291 *********** ok: [managed_node1] => { "actions": [], "changed": false, "crypts": [], "leaves": [ "/dev/sdb", "/dev/sdc", "/dev/sdd", "/dev/sde", "/dev/sdf", "/dev/sdg", "/dev/sdh", "/dev/sdi", "/dev/xvda1", "/dev/mapper/foo-test1" ], "mounts": [ { "path": "/opt/test1", "state": "absent" }, { "dump": 0, "fstype": "xfs", "group": null, "mode": null, "opts": "defaults", "owner": null, "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "cryptsetup", "lvm2", "xfsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": true, "encryption_cipher": null, "encryption_clevis_pin": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks1", "encryption_password": null, "encryption_tang_thumbprint": null, "encryption_tang_url": null, "grow_to_fill": false, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "shared": false, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_group": null, "mount_mode": null, "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "mount_user": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "raid_stripe_size": null, "size": 4294967296, "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:83 Friday 26 July 2024 13:45:58 -0400 (0:00:01.368) 0:02:31.660 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_udevadm_trigger | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Check if /etc/fstab is present] ****** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Friday 26 July 2024 13:45:58 -0400 (0:00:00.026) 0:02:31.686 *********** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722015942.856628, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fd56974890469e9fa628e263bc0a4dee749faa7c", "ctime": 1722015942.8516278, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 385876164, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722015942.8516278, "nlink": 1, "path": "/etc/fstab", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 1416, "uid": 0, "version": "4065764936", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : Add fingerprint to /etc/fstab if present] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:95 Friday 26 July 2024 13:45:59 -0400 (0:00:00.373) 0:02:32.059 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "blivet_output is changed", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:113 Friday 26 July 2024 13:45:59 -0400 (0:00:00.024) 0:02:32.084 *********** skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.storage : Show blivet_output] ****************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:119 Friday 26 July 2024 13:45:59 -0400 (0:00:00.017) 0:02:32.102 *********** ok: [managed_node1] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/sdb", "/dev/sdc", "/dev/sdd", "/dev/sde", "/dev/sdf", "/dev/sdg", "/dev/sdh", "/dev/sdi", "/dev/xvda1", "/dev/mapper/foo-test1" ], "mounts": [ { "path": "/opt/test1", "state": "absent" }, { "dump": 0, "fstype": "xfs", "group": null, "mode": null, "opts": "defaults", "owner": null, "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "cryptsetup", "lvm2", "xfsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": true, "encryption_cipher": null, "encryption_clevis_pin": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks1", "encryption_password": null, "encryption_tang_thumbprint": null, "encryption_tang_url": null, "grow_to_fill": false, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "shared": false, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_group": null, "mount_mode": null, "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "mount_user": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "raid_stripe_size": null, "size": 4294967296, "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : Set the list of pools for test verification] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:128 Friday 26 July 2024 13:45:59 -0400 (0:00:00.025) 0:02:32.128 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": true, "encryption_cipher": null, "encryption_clevis_pin": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks1", "encryption_password": null, "encryption_tang_thumbprint": null, "encryption_tang_url": null, "grow_to_fill": false, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "shared": false, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_group": null, "mount_mode": null, "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "mount_user": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "raid_stripe_size": null, "size": 4294967296, "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : Set the list of volumes for test verification] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Friday 26 July 2024 13:45:59 -0400 (0:00:00.029) 0:02:32.157 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Remove obsolete mounts] ************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Friday 26 July 2024 13:45:59 -0400 (0:00:00.023) 0:02:32.180 *********** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [managed_node1] => (item={'path': '/opt/test1', 'state': 'absent'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "mount_info": { "path": "/opt/test1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0" } TASK [fedora.linux_system_roles.storage : Tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:159 Friday 26 July 2024 13:45:59 -0400 (0:00:00.412) 0:02:32.593 *********** ok: [managed_node1] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : Set up new/current mounts] *********** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:164 Friday 26 July 2024 13:46:00 -0400 (0:00:00.713) 0:02:33.307 *********** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [managed_node1] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test2', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted', 'owner': None, 'group': None, 'mode': None}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "group": null, "mode": null, "opts": "defaults", "owner": null, "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test2", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [fedora.linux_system_roles.storage : Manage mount ownership/permissions] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:175 Friday 26 July 2024 13:46:00 -0400 (0:00:00.414) 0:02:33.721 *********** skipping: [managed_node1] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test2', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted', 'owner': None, 'group': None, 'mode': None}) => { "ansible_loop_var": "mount_info", "changed": false, "false_condition": "mount_info['owner'] != none or mount_info['group'] != none or mount_info['mode'] != none", "mount_info": { "dump": 0, "fstype": "xfs", "group": null, "mode": null, "opts": "defaults", "owner": null, "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.storage : Tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:187 Friday 26 July 2024 13:46:00 -0400 (0:00:00.035) 0:02:33.757 *********** ok: [managed_node1] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : Retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:195 Friday 26 July 2024 13:46:01 -0400 (0:00:00.737) 0:02:34.494 *********** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722015946.5046778, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "c55b1ccf6df1daaa4c3eb906933e5307ceec49f6", "ctime": 1722015944.3516483, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 109052099, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1721811632.521, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 53, "uid": 0, "version": "303962303", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : Manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:200 Friday 26 July 2024 13:46:01 -0400 (0:00:00.380) 0:02:34.875 *********** skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:222 Friday 26 July 2024 13:46:01 -0400 (0:00:00.018) 0:02:34.894 *********** ok: [managed_node1] TASK [Assert to implicitly preserve encryption on existing pool] *************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/tests_luks_pool.yml:249 Friday 26 July 2024 13:46:02 -0400 (0:00:00.964) 0:02:35.858 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Stat the file] *********************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-data-preservation.yml:11 Friday 26 July 2024 13:46:02 -0400 (0:00:00.025) 0:02:35.884 *********** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722015956.6608164, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1722015956.6608164, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 131, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0644", "mtime": 1722015956.6608164, "nlink": 1, "path": "/opt/test2/quux", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "version": "1674926867", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Assert file presence] **************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-data-preservation.yml:16 Friday 26 July 2024 13:46:03 -0400 (0:00:00.381) 0:02:36.266 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify role results] ***************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/tests_luks_pool.yml:259 Friday 26 July 2024 13:46:03 -0400 (0:00:00.030) 0:02:36.296 *********** included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml for managed_node1 TASK [Print out pool information] ********************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:2 Friday 26 July 2024 13:46:03 -0400 (0:00:00.045) 0:02:36.341 *********** ok: [managed_node1] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": true, "encryption_cipher": null, "encryption_clevis_pin": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks1", "encryption_password": null, "encryption_tang_thumbprint": null, "encryption_tang_url": null, "grow_to_fill": false, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "shared": false, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_group": null, "mount_mode": null, "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "mount_user": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "raid_stripe_size": null, "size": 4294967296, "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:7 Friday 26 July 2024 13:46:03 -0400 (0:00:00.036) 0:02:36.378 *********** skipping: [managed_node1] => { "false_condition": "_storage_volumes_list | length > 0" } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:15 Friday 26 July 2024 13:46:03 -0400 (0:00:00.027) 0:02:36.406 *********** ok: [managed_node1] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "mountpoint": "/opt/test2", "name": "/dev/mapper/foo-test1", "size": "4G", "type": "lvm", "uuid": "c3dff09b-ca3e-489b-a550-005461c0e65f" }, "/dev/mapper/luks-5923e335-61cc-47b6-ab8e-26dfdd61c414": { "fstype": "LVM2_member", "label": "", "mountpoint": "", "name": "/dev/mapper/luks-5923e335-61cc-47b6-ab8e-26dfdd61c414", "size": "10G", "type": "crypt", "uuid": "iJ38dD-2BHq-5XtG-J8Et-sso1-p1Sz-9fYIUl" }, "/dev/sda": { "fstype": "crypto_LUKS", "label": "", "mountpoint": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "5923e335-61cc-47b6-ab8e-26dfdd61c414" }, "/dev/sdb": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdd": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sdd", "size": "1T", "type": "disk", "uuid": "" }, "/dev/sde": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sde", "size": "1T", "type": "disk", "uuid": "" }, "/dev/sdf": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sdf", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdg": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sdg", "size": "1T", "type": "disk", "uuid": "" }, "/dev/sdh": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sdh", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdi": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sdi", "size": "10G", "type": "disk", "uuid": "" }, "/dev/xvda": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/xvda", "size": "250G", "type": "disk", "uuid": "" }, "/dev/xvda1": { "fstype": "xfs", "label": "", "mountpoint": "/", "name": "/dev/xvda1", "size": "250G", "type": "partition", "uuid": "f1d2bc8f-ee92-4d94-8bd5-4abdbef0a7d3" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:20 Friday 26 July 2024 13:46:03 -0400 (0:00:00.382) 0:02:36.788 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002935", "end": "2024-07-26 13:46:04.065427", "rc": 0, "start": "2024-07-26 13:46:04.062492" } STDOUT: # system_role:storage # # /etc/fstab # Created by anaconda on Wed Jul 24 09:00:32 2024 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=f1d2bc8f-ee92-4d94-8bd5-4abdbef0a7d3 / xfs defaults 0 0 ntap-rdu2-c01-eng01-nfs01b.storage.rdu2.redhat.com:/bos_eng01_engineering_sm/devarchive/redhat /mnt/redhat nfs ro,rsize=32768,wsize=8192,bg,noauto,noatime,nosuid,nodev,intr 0 0 nest.test.redhat.com:/mnt/qa /mnt/qa nfs defaults,rsize=8192,wsize=8192,bg,noauto,noatime,nosuid,nodev,intr 0 0 vtap-eng01.storage.rdu2.redhat.com:/vol/engarchive /mnt/engarchive nfs ro,rsize=32768,wsize=8192,bg,noauto,noatime,nosuid,nodev,intr 0 0 nest.test.redhat.com:/mnt/tpsdist /mnt/tpsdist nfs defaults,rsize=8192,wsize=8192,bg,noauto,noatime,nosuid,nodev,intr 0 0 ntap-rdu2-c01-eng01-nfs01b.storage.rdu2.redhat.com:/bos_eng01_engineering_sm/devarchive/redhat/brewroot /mnt/brew nfs ro,rsize=32768,wsize=8192,bg,noauto,noatime,nosuid,nodev,intr 0 0 ntap-rdu2-c01-eng01-nfs01b.storage.rdu2.redhat.com:/bos_eng01_devops_brew_scratch_nfs_sm/scratch /mnt/brew_scratch nfs ro,rsize=32768,wsize=8192,bg,noauto,noatime,nosuid,nodev,intr 0 0 /dev/mapper/foo-test1 /opt/test2 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:25 Friday 26 July 2024 13:46:04 -0400 (0:00:00.367) 0:02:37.156 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002954", "end": "2024-07-26 13:46:04.425425", "failed_when_result": false, "rc": 0, "start": "2024-07-26 13:46:04.422471" } STDOUT: luks-5923e335-61cc-47b6-ab8e-26dfdd61c414 /dev/sda - TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:34 Friday 26 July 2024 13:46:04 -0400 (0:00:00.361) 0:02:37.518 *********** included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool.yml for managed_node1 => (item={'disks': ['sda'], 'encryption': True, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': 0, 'encryption_luks_version': 'luks1', 'encryption_password': None, 'encryption_clevis_pin': None, 'encryption_tang_url': None, 'encryption_tang_thumbprint': None, 'grow_to_fill': False, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'raid_chunk_size': None, 'shared': False, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'mount_user': None, 'mount_group': None, 'mount_mode': None, 'name': 'test1', 'raid_level': None, 'size': 4294967296, 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'raid_stripe_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}]}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool.yml:5 Friday 26 July 2024 13:46:04 -0400 (0:00:00.048) 0:02:37.566 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [Get VG shared value status] ********************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool.yml:18 Friday 26 July 2024 13:46:04 -0400 (0:00:00.019) 0:02:37.585 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "vgs", "--noheadings", "--binary", "-o", "shared", "foo" ], "delta": "0:00:00.029162", "end": "2024-07-26 13:46:04.890666", "rc": 0, "start": "2024-07-26 13:46:04.861504" } STDOUT: 0 TASK [Verify that VG shared value checks out] ********************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool.yml:24 Friday 26 July 2024 13:46:04 -0400 (0:00:00.397) 0:02:37.983 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify pool subset] ****************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool.yml:34 Friday 26 July 2024 13:46:04 -0400 (0:00:00.026) 0:02:38.009 *********** included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml for managed_node1 => (item=members) included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-volumes.yml for managed_node1 => (item=volumes) TASK [Set test variables] ****************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:2 Friday 26 July 2024 13:46:05 -0400 (0:00:00.044) 0:02:38.054 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/mapper/luks-5923e335-61cc-47b6-ab8e-26dfdd61c414" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:8 Friday 26 July 2024 13:46:05 -0400 (0:00:00.038) 0:02:38.092 *********** ok: [managed_node1] => (item=/dev/mapper/luks-5923e335-61cc-47b6-ab8e-26dfdd61c414) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/mapper/luks-5923e335-61cc-47b6-ab8e-26dfdd61c414", "pv": "/dev/mapper/luks-5923e335-61cc-47b6-ab8e-26dfdd61c414" } TASK [Set pvs lvm length] ****************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:17 Friday 26 July 2024 13:46:05 -0400 (0:00:00.357) 0:02:38.450 *********** ok: [managed_node1] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [Set pool pvs] ************************************************************ task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:22 Friday 26 July 2024 13:46:05 -0400 (0:00:00.027) 0:02:38.477 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/mapper/luks-5923e335-61cc-47b6-ab8e-26dfdd61c414" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:27 Friday 26 July 2024 13:46:05 -0400 (0:00:00.034) 0:02:38.512 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Set expected pv type] **************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:36 Friday 26 July 2024 13:46:05 -0400 (0:00:00.034) 0:02:38.546 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_test_expected_pv_type": "crypt" }, "changed": false } TASK [Set expected pv type] **************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:41 Friday 26 July 2024 13:46:05 -0400 (0:00:00.024) 0:02:38.571 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_pool.type == 'lvm' and not storage_test_pool.encryption", "skip_reason": "Conditional result was False" } TASK [Set expected pv type] **************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:46 Friday 26 July 2024 13:46:05 -0400 (0:00:00.018) 0:02:38.590 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_pool.type == 'lvm' and storage_test_pool.raid_level", "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:51 Friday 26 July 2024 13:46:05 -0400 (0:00:00.018) 0:02:38.608 *********** ok: [managed_node1] => (item=/dev/mapper/luks-5923e335-61cc-47b6-ab8e-26dfdd61c414) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/mapper/luks-5923e335-61cc-47b6-ab8e-26dfdd61c414" } MSG: All assertions passed TASK [Check that blivet supports PV grow to fill] ****************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:64 Friday 26 July 2024 13:46:05 -0400 (0:00:00.028) 0:02:38.636 *********** ok: [managed_node1] => { "changed": false, "rc": 0 } STDOUT: ** (process:28553): WARNING **: 13:46:05.850: failed to load module nvme: libbd_nvme.so.2: cannot open shared object file: No such file or directory True STDERR: OpenSSH_8.7p1, OpenSSL 3.2.2 4 Jun 2024 debug1: Reading configuration data /root/.ssh/config debug1: Reading configuration data /etc/ssh/ssh_config debug1: Reading configuration data /etc/ssh/ssh_config.d/50-redhat.conf debug2: checking match for 'final all' host 10.31.40.14 originally 10.31.40.14 debug2: match not found debug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config debug1: configuration requests final Match pass debug2: resolve_canonicalize: hostname 10.31.40.14 is address debug1: re-parsing configuration debug1: Reading configuration data /root/.ssh/config debug1: Reading configuration data /etc/ssh/ssh_config debug1: Reading configuration data /etc/ssh/ssh_config.d/50-redhat.conf debug2: checking match for 'final all' host 10.31.40.14 originally 10.31.40.14 debug2: match found debug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config debug1: auto-mux: Trying existing master debug2: fd 3 setting O_NONBLOCK debug2: mux_client_hello_exchange: master version 4 debug1: mux_client_request_session: master session id: 2 debug2: Received exit status from master 0 Shared connection to 10.31.40.14 closed. TASK [Verify that PVs fill the whole devices when they should] ***************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:73 Friday 26 July 2024 13:46:05 -0400 (0:00:00.387) 0:02:39.024 *********** skipping: [managed_node1] => (item=/dev/mapper/luks-5923e335-61cc-47b6-ab8e-26dfdd61c414) => { "ansible_loop_var": "st_pool_pv", "changed": false, "false_condition": "grow_supported.stdout | trim == 'True'", "skip_reason": "Conditional result was False", "st_pool_pv": "/dev/mapper/luks-5923e335-61cc-47b6-ab8e-26dfdd61c414" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [Check MD RAID] *********************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:83 Friday 26 July 2024 13:46:06 -0400 (0:00:00.036) 0:02:39.060 *********** included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml for managed_node1 TASK [Get information about RAID] ********************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:8 Friday 26 July 2024 13:46:06 -0400 (0:00:00.039) 0:02:39.100 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_pool.raid_level != none", "skip_reason": "Conditional result was False" } TASK [Set active devices regex] ************************************************ task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:14 Friday 26 July 2024 13:46:06 -0400 (0:00:00.018) 0:02:39.119 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_pool.raid_level != none", "skip_reason": "Conditional result was False" } TASK [Set spare devices regex] ************************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:19 Friday 26 July 2024 13:46:06 -0400 (0:00:00.018) 0:02:39.137 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_pool.raid_level != none", "skip_reason": "Conditional result was False" } TASK [Set md version regex] **************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:24 Friday 26 July 2024 13:46:06 -0400 (0:00:00.022) 0:02:39.159 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_pool.raid_level != none", "skip_reason": "Conditional result was False" } TASK [Set md chunk size regex] ************************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:29 Friday 26 July 2024 13:46:06 -0400 (0:00:00.019) 0:02:39.179 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_pool.raid_level != none", "skip_reason": "Conditional result was False" } TASK [Parse the chunk size] **************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:37 Friday 26 July 2024 13:46:06 -0400 (0:00:00.018) 0:02:39.197 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_pool.raid_level != none", "skip_reason": "Conditional result was False" } TASK [Check RAID active devices count] ***************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:46 Friday 26 July 2024 13:46:06 -0400 (0:00:00.019) 0:02:39.217 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_pool.raid_level != none", "skip_reason": "Conditional result was False" } TASK [Check RAID spare devices count] ****************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:55 Friday 26 July 2024 13:46:06 -0400 (0:00:00.017) 0:02:39.234 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_pool.raid_level != none", "skip_reason": "Conditional result was False" } TASK [Check RAID metadata version] ********************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:64 Friday 26 July 2024 13:46:06 -0400 (0:00:00.017) 0:02:39.252 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_pool.raid_level != none", "skip_reason": "Conditional result was False" } TASK [Check RAID chunk size] *************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:74 Friday 26 July 2024 13:46:06 -0400 (0:00:00.020) 0:02:39.273 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_pool.raid_level != none", "skip_reason": "Conditional result was False" } TASK [Reset variables used by tests] ******************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:83 Friday 26 July 2024 13:46:06 -0400 (0:00:00.020) 0:02:39.293 *********** ok: [managed_node1] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_chunk_size_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:86 Friday 26 July 2024 13:46:06 -0400 (0:00:00.019) 0:02:39.312 *********** included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-lvmraid.yml for managed_node1 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-lvmraid.yml:2 Friday 26 July 2024 13:46:06 -0400 (0:00:00.038) 0:02:39.351 *********** included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-lvmraid.yml for managed_node1 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'mount_user': None, 'mount_group': None, 'mount_mode': None, 'name': 'test1', 'raid_level': None, 'size': 4294967296, 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'raid_stripe_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) TASK [Get information about the LV] ******************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-lvmraid.yml:8 Friday 26 July 2024 13:46:06 -0400 (0:00:00.074) 0:02:39.426 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_lvmraid_volume.raid_level is not none", "skip_reason": "Conditional result was False" } TASK [Set LV segment type] ***************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-lvmraid.yml:16 Friday 26 July 2024 13:46:06 -0400 (0:00:00.024) 0:02:39.450 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_lvmraid_volume.raid_level is not none", "skip_reason": "Conditional result was False" } TASK [Check segment type] ****************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-lvmraid.yml:20 Friday 26 July 2024 13:46:06 -0400 (0:00:00.025) 0:02:39.476 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_lvmraid_volume.raid_level is not none", "skip_reason": "Conditional result was False" } TASK [Set LV stripe size] ****************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-lvmraid.yml:27 Friday 26 July 2024 13:46:06 -0400 (0:00:00.022) 0:02:39.498 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_lvmraid_volume.raid_level is not none", "skip_reason": "Conditional result was False" } TASK [Parse the requested stripe size] ***************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-lvmraid.yml:31 Friday 26 July 2024 13:46:06 -0400 (0:00:00.024) 0:02:39.523 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_lvmraid_volume.raid_level is not none", "skip_reason": "Conditional result was False" } TASK [Set expected stripe size] ************************************************ task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-lvmraid.yml:37 Friday 26 July 2024 13:46:06 -0400 (0:00:00.024) 0:02:39.547 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_lvmraid_volume.raid_level is not none", "skip_reason": "Conditional result was False" } TASK [Check stripe size] ******************************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-lvmraid.yml:42 Friday 26 July 2024 13:46:06 -0400 (0:00:00.022) 0:02:39.570 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_lvmraid_volume.raid_level is not none", "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:89 Friday 26 July 2024 13:46:06 -0400 (0:00:00.024) 0:02:39.595 *********** included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-thin.yml for managed_node1 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-thin.yml:2 Friday 26 July 2024 13:46:06 -0400 (0:00:00.039) 0:02:39.635 *********** included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-thin.yml for managed_node1 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'mount_user': None, 'mount_group': None, 'mount_mode': None, 'name': 'test1', 'raid_level': None, 'size': 4294967296, 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'raid_stripe_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-thin.yml:8 Friday 26 July 2024 13:46:06 -0400 (0:00:00.035) 0:02:39.671 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_thin_volume.thin", "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-thin.yml:16 Friday 26 July 2024 13:46:06 -0400 (0:00:00.018) 0:02:39.689 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_thin_volume.thin", "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-thin.yml:22 Friday 26 July 2024 13:46:06 -0400 (0:00:00.019) 0:02:39.709 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_thin_volume.thin", "skip_reason": "Conditional result was False" } TASK [Reset variable used by test] ********************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-thin.yml:26 Friday 26 July 2024 13:46:06 -0400 (0:00:00.017) 0:02:39.727 *********** ok: [managed_node1] => { "ansible_facts": { "storage_test_thin_status": null }, "changed": false } TASK [Check member encryption] ************************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:92 Friday 26 July 2024 13:46:06 -0400 (0:00:00.019) 0:02:39.746 *********** included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-encryption.yml for managed_node1 TASK [Set test variables] ****************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-encryption.yml:5 Friday 26 July 2024 13:46:06 -0400 (0:00:00.044) 0:02:39.791 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "1", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-encryption.yml:10 Friday 26 July 2024 13:46:06 -0400 (0:00:00.029) 0:02:39.820 *********** included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-encryption.yml for managed_node1 => (item=/dev/mapper/luks-5923e335-61cc-47b6-ab8e-26dfdd61c414) TASK [Get the backing device path] ********************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-encryption.yml:2 Friday 26 July 2024 13:46:06 -0400 (0:00:00.034) 0:02:39.854 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "realpath", "/dev/disk/by-uuid/5923e335-61cc-47b6-ab8e-26dfdd61c414" ], "delta": "0:00:00.002879", "end": "2024-07-26 13:46:07.132741", "rc": 0, "start": "2024-07-26 13:46:07.129862" } STDOUT: /dev/sda TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-encryption.yml:12 Friday 26 July 2024 13:46:07 -0400 (0:00:00.368) 0:02:40.223 *********** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this member] *************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-encryption.yml:18 Friday 26 July 2024 13:46:08 -0400 (0:00:00.898) 0:02:41.122 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "cryptsetup", "luksDump", "/dev/sda" ], "delta": "0:00:00.006686", "end": "2024-07-26 13:46:08.409100", "rc": 0, "start": "2024-07-26 13:46:08.402414" } STDOUT: LUKS header information for /dev/sda Version: 1 Cipher name: aes Cipher mode: xts-plain64 Hash spec: sha256 Payload offset: 16384 MK bits: 512 MK digest: 4c bd d5 dc d0 df 4c 3d d9 fa 88 ae 60 3c e4 69 98 b8 5d cf MK salt: cf 4c 67 9e cc 60 48 4c 96 8f 60 3b 1b 10 0f 6c 45 55 13 d1 09 38 81 17 96 88 fc 5d a1 88 3e da MK iterations: 102240 UUID: 5923e335-61cc-47b6-ab8e-26dfdd61c414 Key Slot 0: ENABLED Iterations: 1635842 Salt: 97 f8 9a 69 da 20 b4 c4 48 14 1e b5 97 ea 76 ad 60 2f 40 6f 51 2f 46 e5 c5 05 40 72 f7 7d 82 be Key material offset: 8 AF stripes: 4000 Key Slot 1: DISABLED Key Slot 2: DISABLED Key Slot 3: DISABLED Key Slot 4: DISABLED Key Slot 5: DISABLED Key Slot 6: DISABLED Key Slot 7: DISABLED TASK [Check LUKS version] ****************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-encryption.yml:26 Friday 26 July 2024 13:46:08 -0400 (0:00:00.381) 0:02:41.503 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-encryption.yml:38 Friday 26 July 2024 13:46:08 -0400 (0:00:00.035) 0:02:41.538 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_pool.encryption_key_size", "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-encryption.yml:50 Friday 26 July 2024 13:46:08 -0400 (0:00:00.022) 0:02:41.561 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_pool.encryption_cipher", "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-encryption.yml:17 Friday 26 July 2024 13:46:08 -0400 (0:00:00.019) 0:02:41.580 *********** included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-crypttab.yml for managed_node1 => (item=/dev/mapper/luks-5923e335-61cc-47b6-ab8e-26dfdd61c414) TASK [Set variables used by tests] ********************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-crypttab.yml:2 Friday 26 July 2024 13:46:08 -0400 (0:00:00.040) 0:02:41.620 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_test_crypttab_entries": [ "luks-5923e335-61cc-47b6-ab8e-26dfdd61c414 /dev/sda -" ] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-crypttab.yml:6 Friday 26 July 2024 13:46:08 -0400 (0:00:00.032) 0:02:41.653 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-crypttab.yml:14 Friday 26 July 2024 13:46:08 -0400 (0:00:00.031) 0:02:41.685 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-crypttab.yml:23 Friday 26 July 2024 13:46:08 -0400 (0:00:00.030) 0:02:41.716 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "false and _storage_test_expected_crypttab_entries | int == 1", "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-crypttab.yml:32 Friday 26 July 2024 13:46:08 -0400 (0:00:00.025) 0:02:41.741 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Clear test variables] **************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-crypttab.yml:41 Friday 26 July 2024 13:46:08 -0400 (0:00:00.036) 0:02:41.777 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [Clear test variables] **************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-encryption.yml:24 Friday 26 July 2024 13:46:08 -0400 (0:00:00.022) 0:02:41.800 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:95 Friday 26 July 2024 13:46:08 -0400 (0:00:00.020) 0:02:41.820 *********** included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-vdo.yml for managed_node1 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-vdo.yml:2 Friday 26 July 2024 13:46:08 -0400 (0:00:00.043) 0:02:41.864 *********** included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-vdo.yml for managed_node1 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'mount_user': None, 'mount_group': None, 'mount_mode': None, 'name': 'test1', 'raid_level': None, 'size': 4294967296, 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'raid_stripe_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) TASK [Get information about VDO deduplication] ********************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-vdo.yml:8 Friday 26 July 2024 13:46:08 -0400 (0:00:00.037) 0:02:41.901 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_vdo_volume.deduplication != none or storage_test_vdo_volume.compression != none", "skip_reason": "Conditional result was False" } TASK [Check if VDO deduplication is off] *************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-vdo.yml:15 Friday 26 July 2024 13:46:08 -0400 (0:00:00.021) 0:02:41.922 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_vdo_volume.deduplication != none or storage_test_vdo_volume.compression != none", "skip_reason": "Conditional result was False" } TASK [Check if VDO deduplication is on] **************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-vdo.yml:21 Friday 26 July 2024 13:46:08 -0400 (0:00:00.018) 0:02:41.941 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_vdo_volume.deduplication != none or storage_test_vdo_volume.compression != none", "skip_reason": "Conditional result was False" } TASK [Get information about VDO compression] *********************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-vdo.yml:27 Friday 26 July 2024 13:46:08 -0400 (0:00:00.018) 0:02:41.959 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_vdo_volume.deduplication != none or storage_test_vdo_volume.compression != none", "skip_reason": "Conditional result was False" } TASK [Check if VDO deduplication is off] *************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-vdo.yml:34 Friday 26 July 2024 13:46:08 -0400 (0:00:00.019) 0:02:41.978 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_vdo_volume.deduplication != none or storage_test_vdo_volume.compression != none", "skip_reason": "Conditional result was False" } TASK [Check if VDO deduplication is on] **************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-vdo.yml:40 Friday 26 July 2024 13:46:08 -0400 (0:00:00.019) 0:02:41.998 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_vdo_volume.deduplication != none or storage_test_vdo_volume.compression != none", "skip_reason": "Conditional result was False" } TASK [Clear test variables] **************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-vdo.yml:46 Friday 26 July 2024 13:46:08 -0400 (0:00:00.018) 0:02:42.016 *********** ok: [managed_node1] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [Check Stratis] *********************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:98 Friday 26 July 2024 13:46:09 -0400 (0:00:00.022) 0:02:42.039 *********** included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-stratis.yml for managed_node1 TASK [Run 'stratis report'] **************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-stratis.yml:6 Friday 26 July 2024 13:46:09 -0400 (0:00:00.045) 0:02:42.085 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_pool.type == 'stratis'", "skip_reason": "Conditional result was False" } TASK [Get information about Stratis] ******************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-stratis.yml:11 Friday 26 July 2024 13:46:09 -0400 (0:00:00.022) 0:02:42.107 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_pool.type == 'stratis'", "skip_reason": "Conditional result was False" } TASK [Verify that the pools was created] *************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-stratis.yml:15 Friday 26 July 2024 13:46:09 -0400 (0:00:00.018) 0:02:42.125 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_pool.type == 'stratis'", "skip_reason": "Conditional result was False" } TASK [Verify that encryption is correctly set] ********************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-stratis.yml:25 Friday 26 July 2024 13:46:09 -0400 (0:00:00.018) 0:02:42.144 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_pool.type == 'stratis'", "skip_reason": "Conditional result was False" } TASK [Verify that Clevis/Tang encryption is correctly set] ********************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-stratis.yml:34 Friday 26 July 2024 13:46:09 -0400 (0:00:00.019) 0:02:42.163 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_pool.type == 'stratis'", "skip_reason": "Conditional result was False" } TASK [Reset variable used by test] ********************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-stratis.yml:44 Friday 26 July 2024 13:46:09 -0400 (0:00:00.017) 0:02:42.181 *********** ok: [managed_node1] => { "ansible_facts": { "storage_test_stratis_report": null }, "changed": false } TASK [Clean up test variables] ************************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:101 Friday 26 July 2024 13:46:09 -0400 (0:00:00.018) 0:02:42.200 *********** ok: [managed_node1] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [Verify the volumes] ****************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-volumes.yml:3 Friday 26 July 2024 13:46:09 -0400 (0:00:00.024) 0:02:42.224 *********** included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume.yml for managed_node1 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'mount_user': None, 'mount_group': None, 'mount_mode': None, 'name': 'test1', 'raid_level': None, 'size': 4294967296, 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'raid_stripe_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) TASK [Set storage volume test variables] *************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume.yml:2 Friday 26 July 2024 13:46:09 -0400 (0:00:00.032) 0:02:42.257 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [Run test verify for {{ storage_test_volume_subset }}] ******************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume.yml:19 Friday 26 July 2024 13:46:09 -0400 (0:00:00.030) 0:02:42.288 *********** included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml for managed_node1 => (item=mount) included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml for managed_node1 => (item=fstab) included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fs.yml for managed_node1 => (item=fs) included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml for managed_node1 => (item=device) included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml for managed_node1 => (item=encryption) included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml for managed_node1 => (item=md) included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml for managed_node1 => (item=size) included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml for managed_node1 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:7 Friday 26 July 2024 13:46:09 -0400 (0:00:00.141) 0:02:42.429 *********** ok: [managed_node1] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:11 Friday 26 July 2024 13:46:09 -0400 (0:00:00.031) 0:02:42.461 *********** ok: [managed_node1] => { "ansible_facts": { "storage_test_mount_expected_mount_point": "/opt/test2", "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Get information about the mountpoint directory] ************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:19 Friday 26 July 2024 13:46:09 -0400 (0:00:00.030) 0:02:42.491 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "_storage_test_volume_present and storage_test_volume.mount_point and (storage_test_volume.mount_user or storage_test_volume.mount_group or storage_test_volume.mount_mode)", "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:28 Friday 26 July 2024 13:46:09 -0400 (0:00:00.020) 0:02:42.512 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify mount directory user] ********************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:36 Friday 26 July 2024 13:46:09 -0400 (0:00:00.026) 0:02:42.539 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "_storage_test_volume_present and storage_test_volume.mount_point and storage_test_volume.mount_user", "skip_reason": "Conditional result was False" } TASK [Verify mount directory group] ******************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:42 Friday 26 July 2024 13:46:09 -0400 (0:00:00.018) 0:02:42.558 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "_storage_test_volume_present and storage_test_volume.mount_point and storage_test_volume.mount_group", "skip_reason": "Conditional result was False" } TASK [Verify mount directory permissions] ************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:48 Friday 26 July 2024 13:46:09 -0400 (0:00:00.021) 0:02:42.579 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "_storage_test_volume_present and storage_test_volume.mount_point and storage_test_volume.mount_mode", "skip_reason": "Conditional result was False" } TASK [Get path of test volume device] ****************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:57 Friday 26 July 2024 13:46:09 -0400 (0:00:00.018) 0:02:42.598 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.fs_type == \"swap\"", "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:63 Friday 26 July 2024 13:46:09 -0400 (0:00:00.018) 0:02:42.617 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.fs_type == \"swap\"", "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:69 Friday 26 July 2024 13:46:09 -0400 (0:00:00.021) 0:02:42.638 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.fs_type == \"swap\"", "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:79 Friday 26 July 2024 13:46:09 -0400 (0:00:00.018) 0:02:42.657 *********** ok: [managed_node1] => { "ansible_facts": { "storage_test_found_mount_stat": null, "storage_test_mount_expected_mount_point": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml:2 Friday 26 July 2024 13:46:09 -0400 (0:00:00.019) 0:02:42.677 *********** ok: [managed_node1] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test2 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test2 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml:17 Friday 26 July 2024 13:46:09 -0400 (0:00:00.050) 0:02:42.727 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml:24 Friday 26 July 2024 13:46:09 -0400 (0:00:00.030) 0:02:42.758 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml:33 Friday 26 July 2024 13:46:09 -0400 (0:00:00.028) 0:02:42.787 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "__storage_verify_mount_options | d(false)", "skip_reason": "Conditional result was False" } TASK [Verify fingerprint] ****************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml:45 Friday 26 July 2024 13:46:09 -0400 (0:00:00.032) 0:02:42.819 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Clean up variables] ****************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml:51 Friday 26 July 2024 13:46:09 -0400 (0:00:00.022) 0:02:42.841 *********** ok: [managed_node1] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fs.yml:6 Friday 26 July 2024 13:46:09 -0400 (0:00:00.019) 0:02:42.861 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fs.yml:14 Friday 26 July 2024 13:46:09 -0400 (0:00:00.032) 0:02:42.894 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:3 Friday 26 July 2024 13:46:09 -0400 (0:00:00.029) 0:02:42.924 *********** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722015940.4275947, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1722015940.4275947, "dev": 5, "device_type": 64769, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 976, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1722015940.4275947, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:9 Friday 26 July 2024 13:46:10 -0400 (0:00:00.371) 0:02:43.296 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:16 Friday 26 July 2024 13:46:10 -0400 (0:00:00.027) 0:02:43.323 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "not (_storage_test_volume_present or storage_test_volume.type == 'disk')", "skip_reason": "Conditional result was False" } TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:23 Friday 26 July 2024 13:46:10 -0400 (0:00:00.019) 0:02:43.342 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Process volume type (set initial value) (1/2)] *************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:29 Friday 26 July 2024 13:46:10 -0400 (0:00:00.025) 0:02:43.367 *********** ok: [managed_node1] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [Process volume type (get RAID value) (2/2)] ****************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:33 Friday 26 July 2024 13:46:10 -0400 (0:00:00.021) 0:02:43.388 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.type == \"raid\"", "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:38 Friday 26 July 2024 13:46:10 -0400 (0:00:00.017) 0:02:43.406 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:3 Friday 26 July 2024 13:46:10 -0400 (0:00:00.024) 0:02:43.431 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.encryption", "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:10 Friday 26 July 2024 13:46:10 -0400 (0:00:00.020) 0:02:43.452 *********** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:16 Friday 26 July 2024 13:46:11 -0400 (0:00:00.911) 0:02:44.363 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.encryption and _storage_test_volume_present", "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:22 Friday 26 July 2024 13:46:11 -0400 (0:00:00.019) 0:02:44.383 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.encryption", "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:29 Friday 26 July 2024 13:46:11 -0400 (0:00:00.019) 0:02:44.402 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:40 Friday 26 July 2024 13:46:11 -0400 (0:00:00.032) 0:02:44.434 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "_storage_test_volume_present and storage_test_volume.encryption", "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:46 Friday 26 July 2024 13:46:11 -0400 (0:00:00.021) 0:02:44.456 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "_storage_test_volume_present and storage_test_volume.encryption", "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:51 Friday 26 July 2024 13:46:11 -0400 (0:00:00.021) 0:02:44.477 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.encryption", "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:63 Friday 26 July 2024 13:46:11 -0400 (0:00:00.022) 0:02:44.499 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.encryption", "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:75 Friday 26 July 2024 13:46:11 -0400 (0:00:00.019) 0:02:44.519 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.encryption", "skip_reason": "Conditional result was False" } TASK [Set test variables] ****************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:87 Friday 26 July 2024 13:46:11 -0400 (0:00:00.019) 0:02:44.539 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:93 Friday 26 July 2024 13:46:11 -0400 (0:00:00.035) 0:02:44.574 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:100 Friday 26 July 2024 13:46:11 -0400 (0:00:00.028) 0:02:44.603 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "_storage_test_expected_crypttab_entries | int == 1", "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:108 Friday 26 July 2024 13:46:11 -0400 (0:00:00.033) 0:02:44.636 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "_storage_test_expected_crypttab_entries | int == 1", "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:116 Friday 26 July 2024 13:46:11 -0400 (0:00:00.028) 0:02:44.664 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "_storage_test_expected_crypttab_entries | int == 1", "skip_reason": "Conditional result was False" } TASK [Clear test variables] **************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:124 Friday 26 July 2024 13:46:11 -0400 (0:00:00.024) 0:02:44.689 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [Get information about RAID] ********************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:8 Friday 26 July 2024 13:46:11 -0400 (0:00:00.020) 0:02:44.710 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.type == 'raid'", "skip_reason": "Conditional result was False" } TASK [Set active devices regex] ************************************************ task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:14 Friday 26 July 2024 13:46:11 -0400 (0:00:00.018) 0:02:44.729 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.type == 'raid'", "skip_reason": "Conditional result was False" } TASK [Set spare devices regex] ************************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:19 Friday 26 July 2024 13:46:11 -0400 (0:00:00.021) 0:02:44.750 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.type == 'raid'", "skip_reason": "Conditional result was False" } TASK [Set md version regex] **************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:24 Friday 26 July 2024 13:46:11 -0400 (0:00:00.020) 0:02:44.770 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.type == 'raid'", "skip_reason": "Conditional result was False" } TASK [Set chunk size regex] **************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:29 Friday 26 July 2024 13:46:11 -0400 (0:00:00.018) 0:02:44.789 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.type == 'raid'", "skip_reason": "Conditional result was False" } TASK [Parse the chunk size] **************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:37 Friday 26 July 2024 13:46:11 -0400 (0:00:00.020) 0:02:44.810 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.type == 'raid'", "skip_reason": "Conditional result was False" } TASK [Check RAID active devices count] ***************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:46 Friday 26 July 2024 13:46:11 -0400 (0:00:00.018) 0:02:44.828 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.type == 'raid'", "skip_reason": "Conditional result was False" } TASK [Check RAID spare devices count] ****************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:54 Friday 26 July 2024 13:46:11 -0400 (0:00:00.019) 0:02:44.848 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.type == 'raid'", "skip_reason": "Conditional result was False" } TASK [Check RAID metadata version] ********************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:62 Friday 26 July 2024 13:46:11 -0400 (0:00:00.021) 0:02:44.869 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.type == 'raid'", "skip_reason": "Conditional result was False" } TASK [Check RAID chunk size] *************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:70 Friday 26 July 2024 13:46:11 -0400 (0:00:00.021) 0:02:44.891 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.type == 'raid'", "skip_reason": "Conditional result was False" } TASK [Parse the actual size of the volume] ************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:3 Friday 26 July 2024 13:46:11 -0400 (0:00:00.019) 0:02:44.910 *********** ok: [managed_node1] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [Parse the requested size of the volume] ********************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:11 Friday 26 July 2024 13:46:12 -0400 (0:00:00.368) 0:02:45.279 *********** ok: [managed_node1] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:20 Friday 26 July 2024 13:46:12 -0400 (0:00:00.372) 0:02:45.652 *********** ok: [managed_node1] => { "ansible_facts": { "storage_test_expected_size": "4294967296" }, "changed": false } TASK [Show expected size] ****************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:28 Friday 26 July 2024 13:46:12 -0400 (0:00:00.032) 0:02:45.684 *********** ok: [managed_node1] => { "storage_test_expected_size": "4294967296" } TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:32 Friday 26 July 2024 13:46:12 -0400 (0:00:00.023) 0:02:45.707 *********** ok: [managed_node1] => { "bytes": 10715943403, "changed": false, "lvm": "9g", "parted": "9GiB", "size": "9 GiB" } TASK [Show test pool] ********************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:46 Friday 26 July 2024 13:46:13 -0400 (0:00:00.373) 0:02:46.081 *********** skipping: [managed_node1] => { "false_condition": "'%' in storage_test_volume.size | string" } TASK [Show test blockinfo] ***************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:50 Friday 26 July 2024 13:46:13 -0400 (0:00:00.027) 0:02:46.109 *********** skipping: [managed_node1] => { "false_condition": "'%' in storage_test_volume.size | string" } TASK [Show test pool size] ***************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:54 Friday 26 July 2024 13:46:13 -0400 (0:00:00.026) 0:02:46.136 *********** skipping: [managed_node1] => { "false_condition": "'%' in storage_test_volume.size | string" } TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:58 Friday 26 July 2024 13:46:13 -0400 (0:00:00.026) 0:02:46.162 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "'%' in storage_test_volume.size | string", "skip_reason": "Conditional result was False" } TASK [Default thin pool reserved space values] ********************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:67 Friday 26 July 2024 13:46:13 -0400 (0:00:00.028) 0:02:46.191 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.thin", "skip_reason": "Conditional result was False" } TASK [Default minimal thin pool reserved space size] *************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:71 Friday 26 July 2024 13:46:13 -0400 (0:00:00.018) 0:02:46.209 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.thin", "skip_reason": "Conditional result was False" } TASK [Default maximal thin pool reserved space size] *************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:76 Friday 26 July 2024 13:46:13 -0400 (0:00:00.020) 0:02:46.230 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.thin", "skip_reason": "Conditional result was False" } TASK [Calculate maximum usable space in thin pool] ***************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:82 Friday 26 July 2024 13:46:13 -0400 (0:00:00.021) 0:02:46.251 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.thin", "skip_reason": "Conditional result was False" } TASK [Apply upper size limit to max usable thin pool space] ******************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:86 Friday 26 July 2024 13:46:13 -0400 (0:00:00.018) 0:02:46.270 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.thin", "skip_reason": "Conditional result was False" } TASK [Apply lower size limit to max usable thin pool space] ******************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:91 Friday 26 July 2024 13:46:13 -0400 (0:00:00.017) 0:02:46.288 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.thin", "skip_reason": "Conditional result was False" } TASK [Convert maximum usable thin pool space from int to Size] ***************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:96 Friday 26 July 2024 13:46:13 -0400 (0:00:00.020) 0:02:46.308 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.thin", "skip_reason": "Conditional result was False" } TASK [Show max thin pool size] ************************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:101 Friday 26 July 2024 13:46:13 -0400 (0:00:00.018) 0:02:46.326 *********** skipping: [managed_node1] => { "false_condition": "storage_test_volume.thin" } TASK [Show volume thin pool size] ********************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:105 Friday 26 July 2024 13:46:13 -0400 (0:00:00.062) 0:02:46.389 *********** skipping: [managed_node1] => { "false_condition": "storage_test_volume.thin" } TASK [Show test volume size] *************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:109 Friday 26 July 2024 13:46:13 -0400 (0:00:00.020) 0:02:46.409 *********** skipping: [managed_node1] => { "false_condition": "storage_test_volume.thin" } TASK [Establish base value for expected thin pool size] ************************ task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:113 Friday 26 July 2024 13:46:13 -0400 (0:00:00.020) 0:02:46.429 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.thin", "skip_reason": "Conditional result was False" } TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:120 Friday 26 July 2024 13:46:13 -0400 (0:00:00.018) 0:02:46.447 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.thin", "skip_reason": "Conditional result was False" } TASK [Establish base value for expected thin pool volume size] ***************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:127 Friday 26 July 2024 13:46:13 -0400 (0:00:00.017) 0:02:46.465 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.thin", "skip_reason": "Conditional result was False" } TASK [Calculate the expected thin pool volume size based on percentage value] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:131 Friday 26 July 2024 13:46:13 -0400 (0:00:00.019) 0:02:46.484 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.thin", "skip_reason": "Conditional result was False" } TASK [Replace expected volume size with calculated value] ********************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:137 Friday 26 July 2024 13:46:13 -0400 (0:00:00.019) 0:02:46.504 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.thin", "skip_reason": "Conditional result was False" } TASK [Show actual size] ******************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:143 Friday 26 July 2024 13:46:13 -0400 (0:00:00.017) 0:02:46.522 *********** ok: [managed_node1] => { "storage_test_actual_size": { "bytes": 4294967296, "changed": false, "failed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } } TASK [Show expected size] ****************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:147 Friday 26 July 2024 13:46:13 -0400 (0:00:00.024) 0:02:46.546 *********** ok: [managed_node1] => { "storage_test_expected_size": "4294967296" } TASK [Assert expected size is actual size] ************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:151 Friday 26 July 2024 13:46:13 -0400 (0:00:00.023) 0:02:46.569 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:5 Friday 26 July 2024 13:46:13 -0400 (0:00:00.034) 0:02:46.604 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.035491", "end": "2024-07-26 13:46:13.910352", "rc": 0, "start": "2024-07-26 13:46:13.874861" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [Set LV segment type] ***************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:13 Friday 26 July 2024 13:46:13 -0400 (0:00:00.396) 0:02:47.000 *********** ok: [managed_node1] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [Check segment type] ****************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:17 Friday 26 July 2024 13:46:13 -0400 (0:00:00.032) 0:02:47.032 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Set LV cache size] ******************************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:24 Friday 26 July 2024 13:46:14 -0400 (0:00:00.029) 0:02:47.062 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.cached | bool", "skip_reason": "Conditional result was False" } TASK [Parse the requested cache size] ****************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:31 Friday 26 July 2024 13:46:14 -0400 (0:00:00.024) 0:02:47.087 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.cached | bool", "skip_reason": "Conditional result was False" } TASK [Set expected cache size] ************************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:37 Friday 26 July 2024 13:46:14 -0400 (0:00:00.023) 0:02:47.111 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.cached | bool", "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:42 Friday 26 July 2024 13:46:14 -0400 (0:00:00.026) 0:02:47.137 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.cached | bool", "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume.yml:25 Friday 26 July 2024 13:46:14 -0400 (0:00:00.024) 0:02:47.161 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:44 Friday 26 July 2024 13:46:14 -0400 (0:00:00.022) 0:02:47.184 *********** skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:54 Friday 26 July 2024 13:46:14 -0400 (0:00:00.018) 0:02:47.202 *********** ok: [managed_node1] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Clean up] **************************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/tests_luks_pool.yml:262 Friday 26 July 2024 13:46:14 -0400 (0:00:00.019) 0:02:47.221 *********** included: fedora.linux_system_roles.storage for managed_node1 TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Friday 26 July 2024 13:46:14 -0400 (0:00:00.061) 0:02:47.283 *********** included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Friday 26 July 2024 13:46:14 -0400 (0:00:00.028) 0:02:47.311 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "__storage_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Friday 26 July 2024 13:46:14 -0400 (0:00:00.030) 0:02:47.342 *********** skipping: [managed_node1] => (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_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_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs", "stratisd", "stratis-cli" ] }, "ansible_included_var_files": [ "/tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } ok: [managed_node1] => (item=CentOS_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs", "stratisd", "stratis-cli" ] }, "ansible_included_var_files": [ "/tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } TASK [fedora.linux_system_roles.storage : Check if system is ostree] *********** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:25 Friday 26 July 2024 13:46:14 -0400 (0:00:00.049) 0:02:47.391 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "not __storage_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set flag to indicate system is ostree] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:30 Friday 26 July 2024 13:46:14 -0400 (0:00:00.025) 0:02:47.416 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "not __storage_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Define an empty list of pools to be used in testing] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Friday 26 July 2024 13:46:14 -0400 (0:00:00.026) 0:02:47.442 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Define an empty list of volumes to be used in testing] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Friday 26 July 2024 13:46:14 -0400 (0:00:00.019) 0:02:47.462 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Include the appropriate provider tasks] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Friday 26 July 2024 13:46:14 -0400 (0:00:00.019) 0:02:47.482 *********** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for managed_node1 TASK [fedora.linux_system_roles.storage : Make sure blivet is available] ******* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Friday 26 July 2024 13:46:14 -0400 (0:00:00.049) 0:02:47.531 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"blivet_available\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Show storage_pools] ****************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:9 Friday 26 July 2024 13:46:14 -0400 (0:00:00.026) 0:02:47.557 *********** ok: [managed_node1] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [fedora.linux_system_roles.storage : Show storage_volumes] **************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:14 Friday 26 July 2024 13:46:14 -0400 (0:00:00.022) 0:02:47.580 *********** ok: [managed_node1] => { "storage_volumes": [ { "disks": [ "sda" ], "name": "foo", "state": "absent", "type": "disk" } ] } TASK [fedora.linux_system_roles.storage : Get required packages] *************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:19 Friday 26 July 2024 13:46:14 -0400 (0:00:00.022) 0:02:47.602 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"packages_installed\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Enable copr repositories if needed] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:31 Friday 26 July 2024 13:46:14 -0400 (0:00:00.025) 0:02:47.627 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"packages_installed\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Make sure required packages are installed] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:37 Friday 26 July 2024 13:46:14 -0400 (0:00:00.022) 0:02:47.650 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"packages_installed\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Get service facts] ******************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:51 Friday 26 July 2024 13:46:14 -0400 (0:00:00.028) 0:02:47.678 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_skip_checks is not defined or not \"service_facts\" in storage_skip_checks", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:57 Friday 26 July 2024 13:46:14 -0400 (0:00:00.022) 0:02:47.701 *********** ok: [managed_node1] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:63 Friday 26 July 2024 13:46:14 -0400 (0:00:00.040) 0:02:47.741 *********** skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.storage : Manage the pools and volumes to match the specified state] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:69 Friday 26 July 2024 13:46:14 -0400 (0:00:00.016) 0:02:47.758 *********** changed: [managed_node1] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/mapper/luks-5923e335-61cc-47b6-ab8e-26dfdd61c414", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/mapper/luks-5923e335-61cc-47b6-ab8e-26dfdd61c414", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "luks" } ], "changed": true, "crypts": [ { "backing_device": "/dev/sda", "name": "luks-5923e335-61cc-47b6-ab8e-26dfdd61c414", "password": "-", "state": "absent" } ], "leaves": [ "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/sdd", "/dev/sde", "/dev/sdf", "/dev/sdg", "/dev/sdh", "/dev/sdi", "/dev/xvda1" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test2", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "xfsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/mapper/luks-5923e335-61cc-47b6-ab8e-26dfdd61c414", "_mount_id": "/dev/mapper/luks-5923e335-61cc-47b6-ab8e-26dfdd61c414", "_raw_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": true, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks1", "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "lvmpv", "mount_check": 0, "mount_device_identifier": "uuid", "mount_group": null, "mount_mode": null, "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "mount_user": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "raid_stripe_size": null, "size": 10729029632, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:83 Friday 26 July 2024 13:46:16 -0400 (0:00:01.815) 0:02:49.573 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_udevadm_trigger | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Check if /etc/fstab is present] ****** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Friday 26 July 2024 13:46:16 -0400 (0:00:00.028) 0:02:49.602 *********** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722015960.6168704, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "4e043dc41757f6453abe3e57ca861941cb8580a1", "ctime": 1722015960.6118703, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 385876164, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722015960.6118703, "nlink": 1, "path": "/etc/fstab", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 1416, "uid": 0, "version": "4065764936", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : Add fingerprint to /etc/fstab if present] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:95 Friday 26 July 2024 13:46:16 -0400 (0:00:00.381) 0:02:49.983 *********** ok: [managed_node1] => { "backup": "", "changed": false } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:113 Friday 26 July 2024 13:46:17 -0400 (0:00:00.379) 0:02:50.362 *********** skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.storage : Show blivet_output] ****************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:119 Friday 26 July 2024 13:46:17 -0400 (0:00:00.017) 0:02:50.380 *********** ok: [managed_node1] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/mapper/luks-5923e335-61cc-47b6-ab8e-26dfdd61c414", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/mapper/luks-5923e335-61cc-47b6-ab8e-26dfdd61c414", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "luks" } ], "changed": true, "crypts": [ { "backing_device": "/dev/sda", "name": "luks-5923e335-61cc-47b6-ab8e-26dfdd61c414", "password": "-", "state": "absent" } ], "failed": false, "leaves": [ "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/sdd", "/dev/sde", "/dev/sdf", "/dev/sdg", "/dev/sdh", "/dev/sdi", "/dev/xvda1" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test2", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "xfsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/mapper/luks-5923e335-61cc-47b6-ab8e-26dfdd61c414", "_mount_id": "/dev/mapper/luks-5923e335-61cc-47b6-ab8e-26dfdd61c414", "_raw_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": true, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks1", "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "lvmpv", "mount_check": 0, "mount_device_identifier": "uuid", "mount_group": null, "mount_mode": null, "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "mount_user": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "raid_stripe_size": null, "size": 10729029632, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } } TASK [fedora.linux_system_roles.storage : Set the list of pools for test verification] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:128 Friday 26 July 2024 13:46:17 -0400 (0:00:00.025) 0:02:50.405 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Set the list of volumes for test verification] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Friday 26 July 2024 13:46:17 -0400 (0:00:00.022) 0:02:50.427 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/mapper/luks-5923e335-61cc-47b6-ab8e-26dfdd61c414", "_mount_id": "/dev/mapper/luks-5923e335-61cc-47b6-ab8e-26dfdd61c414", "_raw_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": true, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks1", "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "lvmpv", "mount_check": 0, "mount_device_identifier": "uuid", "mount_group": null, "mount_mode": null, "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "mount_user": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "raid_stripe_size": null, "size": 10729029632, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : Remove obsolete mounts] ************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Friday 26 July 2024 13:46:17 -0400 (0:00:00.027) 0:02:50.455 *********** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [managed_node1] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test2', 'state': 'absent', 'fstype': 'xfs'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "fstype": "xfs", "path": "/opt/test2", "src": "/dev/mapper/foo-test1", "state": "absent" }, "name": "/opt/test2", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [fedora.linux_system_roles.storage : Tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:159 Friday 26 July 2024 13:46:17 -0400 (0:00:00.388) 0:02:50.843 *********** ok: [managed_node1] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : Set up new/current mounts] *********** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:164 Friday 26 July 2024 13:46:18 -0400 (0:00:00.714) 0:02:51.558 *********** skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.storage : Manage mount ownership/permissions] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:175 Friday 26 July 2024 13:46:18 -0400 (0:00:00.029) 0:02:51.588 *********** skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.storage : Tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:187 Friday 26 July 2024 13:46:18 -0400 (0:00:00.028) 0:02:51.616 *********** ok: [managed_node1] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : Retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:195 Friday 26 July 2024 13:46:19 -0400 (0:00:00.714) 0:02:52.331 *********** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722015946.5046778, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "c55b1ccf6df1daaa4c3eb906933e5307ceec49f6", "ctime": 1722015944.3516483, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 109052099, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1721811632.521, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 53, "uid": 0, "version": "303962303", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : Manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:200 Friday 26 July 2024 13:46:19 -0400 (0:00:00.376) 0:02:52.707 *********** changed: [managed_node1] => (item={'backing_device': '/dev/sda', 'name': 'luks-5923e335-61cc-47b6-ab8e-26dfdd61c414', 'password': '-', 'state': 'absent'}) => { "ansible_loop_var": "entry", "backup": "", "changed": true, "entry": { "backing_device": "/dev/sda", "name": "luks-5923e335-61cc-47b6-ab8e-26dfdd61c414", "password": "-", "state": "absent" }, "found": 1 } MSG: 1 line(s) removed TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:222 Friday 26 July 2024 13:46:20 -0400 (0:00:00.380) 0:02:53.088 *********** ok: [managed_node1] TASK [Verify role results] ***************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/tests_luks_pool.yml:272 Friday 26 July 2024 13:46:20 -0400 (0:00:00.912) 0:02:54.000 *********** included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml for managed_node1 TASK [Print out pool information] ********************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:2 Friday 26 July 2024 13:46:21 -0400 (0:00:00.086) 0:02:54.086 *********** skipping: [managed_node1] => { "false_condition": "_storage_pools_list | length > 0" } TASK [Print out volume information] ******************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:7 Friday 26 July 2024 13:46:21 -0400 (0:00:00.027) 0:02:54.113 *********** ok: [managed_node1] => { "_storage_volumes_list": [ { "_device": "/dev/mapper/luks-5923e335-61cc-47b6-ab8e-26dfdd61c414", "_mount_id": "/dev/mapper/luks-5923e335-61cc-47b6-ab8e-26dfdd61c414", "_raw_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": true, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks1", "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "lvmpv", "mount_check": 0, "mount_device_identifier": "uuid", "mount_group": null, "mount_mode": null, "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "mount_user": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "raid_stripe_size": null, "size": 10729029632, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:15 Friday 26 July 2024 13:46:21 -0400 (0:00:00.029) 0:02:54.143 *********** ok: [managed_node1] => { "changed": false, "info": { "/dev/sda": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdd": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sdd", "size": "1T", "type": "disk", "uuid": "" }, "/dev/sde": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sde", "size": "1T", "type": "disk", "uuid": "" }, "/dev/sdf": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sdf", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdg": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sdg", "size": "1T", "type": "disk", "uuid": "" }, "/dev/sdh": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sdh", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdi": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sdi", "size": "10G", "type": "disk", "uuid": "" }, "/dev/xvda": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/xvda", "size": "250G", "type": "disk", "uuid": "" }, "/dev/xvda1": { "fstype": "xfs", "label": "", "mountpoint": "/", "name": "/dev/xvda1", "size": "250G", "type": "partition", "uuid": "f1d2bc8f-ee92-4d94-8bd5-4abdbef0a7d3" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:20 Friday 26 July 2024 13:46:21 -0400 (0:00:00.371) 0:02:54.514 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:01.004153", "end": "2024-07-26 13:46:22.790554", "rc": 0, "start": "2024-07-26 13:46:21.786401" } STDOUT: # system_role:storage # # /etc/fstab # Created by anaconda on Wed Jul 24 09:00:32 2024 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=f1d2bc8f-ee92-4d94-8bd5-4abdbef0a7d3 / xfs defaults 0 0 ntap-rdu2-c01-eng01-nfs01b.storage.rdu2.redhat.com:/bos_eng01_engineering_sm/devarchive/redhat /mnt/redhat nfs ro,rsize=32768,wsize=8192,bg,noauto,noatime,nosuid,nodev,intr 0 0 nest.test.redhat.com:/mnt/qa /mnt/qa nfs defaults,rsize=8192,wsize=8192,bg,noauto,noatime,nosuid,nodev,intr 0 0 vtap-eng01.storage.rdu2.redhat.com:/vol/engarchive /mnt/engarchive nfs ro,rsize=32768,wsize=8192,bg,noauto,noatime,nosuid,nodev,intr 0 0 nest.test.redhat.com:/mnt/tpsdist /mnt/tpsdist nfs defaults,rsize=8192,wsize=8192,bg,noauto,noatime,nosuid,nodev,intr 0 0 ntap-rdu2-c01-eng01-nfs01b.storage.rdu2.redhat.com:/bos_eng01_engineering_sm/devarchive/redhat/brewroot /mnt/brew nfs ro,rsize=32768,wsize=8192,bg,noauto,noatime,nosuid,nodev,intr 0 0 ntap-rdu2-c01-eng01-nfs01b.storage.rdu2.redhat.com:/bos_eng01_devops_brew_scratch_nfs_sm/scratch /mnt/brew_scratch nfs ro,rsize=32768,wsize=8192,bg,noauto,noatime,nosuid,nodev,intr 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:25 Friday 26 July 2024 13:46:22 -0400 (0:00:01.368) 0:02:55.882 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002996", "end": "2024-07-26 13:46:23.161655", "failed_when_result": false, "rc": 0, "start": "2024-07-26 13:46:23.158659" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:34 Friday 26 July 2024 13:46:23 -0400 (0:00:00.372) 0:02:56.255 *********** skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:44 Friday 26 July 2024 13:46:23 -0400 (0:00:00.016) 0:02:56.271 *********** included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume.yml for managed_node1 => (item={'encryption': True, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': 0, 'encryption_luks_version': 'luks1', 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'lvmpv', 'mount_options': 'defaults', 'mount_point': None, 'mount_user': None, 'mount_group': None, 'mount_mode': None, 'name': 'foo', 'raid_level': None, 'size': 10729029632, 'state': 'absent', 'type': 'disk', 'disks': ['sda'], 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'raid_chunk_size': None, 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_stripe_size': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': [], '_device': '/dev/mapper/luks-5923e335-61cc-47b6-ab8e-26dfdd61c414', '_raw_device': '/dev/sda', '_mount_id': '/dev/mapper/luks-5923e335-61cc-47b6-ab8e-26dfdd61c414'}) TASK [Set storage volume test variables] *************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume.yml:2 Friday 26 July 2024 13:46:23 -0400 (0:00:00.044) 0:02:56.316 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_test_volume_present": false, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [Run test verify for {{ storage_test_volume_subset }}] ******************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume.yml:19 Friday 26 July 2024 13:46:23 -0400 (0:00:00.028) 0:02:56.345 *********** included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml for managed_node1 => (item=mount) included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml for managed_node1 => (item=fstab) included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fs.yml for managed_node1 => (item=fs) included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml for managed_node1 => (item=device) included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml for managed_node1 => (item=encryption) included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml for managed_node1 => (item=md) included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml for managed_node1 => (item=size) included: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml for managed_node1 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:7 Friday 26 July 2024 13:46:23 -0400 (0:00:00.104) 0:02:56.449 *********** ok: [managed_node1] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/luks-5923e335-61cc-47b6-ab8e-26dfdd61c414" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:11 Friday 26 July 2024 13:46:23 -0400 (0:00:00.029) 0:02:56.478 *********** ok: [managed_node1] => { "ansible_facts": { "storage_test_mount_expected_mount_point": "", "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Get information about the mountpoint directory] ************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:19 Friday 26 July 2024 13:46:23 -0400 (0:00:00.031) 0:02:56.510 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "_storage_test_volume_present and storage_test_volume.mount_point and (storage_test_volume.mount_user or storage_test_volume.mount_group or storage_test_volume.mount_mode)", "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:28 Friday 26 July 2024 13:46:23 -0400 (0:00:00.018) 0:02:56.528 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "_storage_test_volume_present", "skip_reason": "Conditional result was False" } TASK [Verify mount directory user] ********************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:36 Friday 26 July 2024 13:46:23 -0400 (0:00:00.017) 0:02:56.546 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "_storage_test_volume_present and storage_test_volume.mount_point and storage_test_volume.mount_user", "skip_reason": "Conditional result was False" } TASK [Verify mount directory group] ******************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:42 Friday 26 July 2024 13:46:23 -0400 (0:00:00.019) 0:02:56.566 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "_storage_test_volume_present and storage_test_volume.mount_point and storage_test_volume.mount_group", "skip_reason": "Conditional result was False" } TASK [Verify mount directory permissions] ************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:48 Friday 26 July 2024 13:46:23 -0400 (0:00:00.017) 0:02:56.583 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "_storage_test_volume_present and storage_test_volume.mount_point and storage_test_volume.mount_mode", "skip_reason": "Conditional result was False" } TASK [Get path of test volume device] ****************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:57 Friday 26 July 2024 13:46:23 -0400 (0:00:00.019) 0:02:56.603 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.fs_type == \"swap\"", "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:63 Friday 26 July 2024 13:46:23 -0400 (0:00:00.020) 0:02:56.623 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.fs_type == \"swap\"", "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:69 Friday 26 July 2024 13:46:23 -0400 (0:00:00.017) 0:02:56.641 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.fs_type == \"swap\"", "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:79 Friday 26 July 2024 13:46:23 -0400 (0:00:00.017) 0:02:56.659 *********** ok: [managed_node1] => { "ansible_facts": { "storage_test_found_mount_stat": null, "storage_test_mount_expected_mount_point": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml:2 Friday 26 July 2024 13:46:23 -0400 (0:00:00.021) 0:02:56.681 *********** ok: [managed_node1] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "0", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml:17 Friday 26 July 2024 13:46:23 -0400 (0:00:00.044) 0:02:56.725 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "_storage_test_volume_present | bool", "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml:24 Friday 26 July 2024 13:46:23 -0400 (0:00:00.025) 0:02:56.751 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml:33 Friday 26 July 2024 13:46:23 -0400 (0:00:00.028) 0:02:56.779 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "__storage_verify_mount_options | d(false)", "skip_reason": "Conditional result was False" } TASK [Verify fingerprint] ****************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml:45 Friday 26 July 2024 13:46:23 -0400 (0:00:00.023) 0:02:56.803 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Clean up variables] ****************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml:51 Friday 26 July 2024 13:46:23 -0400 (0:00:00.021) 0:02:56.824 *********** ok: [managed_node1] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fs.yml:6 Friday 26 July 2024 13:46:23 -0400 (0:00:00.019) 0:02:56.843 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "_storage_test_volume_present", "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fs.yml:14 Friday 26 July 2024 13:46:23 -0400 (0:00:00.020) 0:02:56.864 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "_storage_test_volume_present | bool", "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:3 Friday 26 July 2024 13:46:23 -0400 (0:00:00.025) 0:02:56.890 *********** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722015976.4200864, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1722015976.4200864, "dev": 5, "device_type": 2048, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 449, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1722015976.4200864, "nlink": 1, "path": "/dev/sda", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:9 Friday 26 July 2024 13:46:24 -0400 (0:00:00.370) 0:02:57.260 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:16 Friday 26 July 2024 13:46:24 -0400 (0:00:00.024) 0:02:57.285 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "not (_storage_test_volume_present or storage_test_volume.type == 'disk')", "skip_reason": "Conditional result was False" } TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:23 Friday 26 July 2024 13:46:24 -0400 (0:00:00.018) 0:02:57.304 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "_storage_test_volume_present", "skip_reason": "Conditional result was False" } TASK [Process volume type (set initial value) (1/2)] *************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:29 Friday 26 July 2024 13:46:24 -0400 (0:00:00.018) 0:02:57.322 *********** ok: [managed_node1] => { "ansible_facts": { "st_volume_type": "disk" }, "changed": false } TASK [Process volume type (get RAID value) (2/2)] ****************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:33 Friday 26 July 2024 13:46:24 -0400 (0:00:00.023) 0:02:57.346 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.type == \"raid\"", "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:38 Friday 26 July 2024 13:46:24 -0400 (0:00:00.020) 0:02:57.366 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "_storage_test_volume_present", "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:3 Friday 26 July 2024 13:46:24 -0400 (0:00:00.018) 0:02:57.384 *********** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:10 Friday 26 July 2024 13:46:24 -0400 (0:00:00.368) 0:02:57.752 *********** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:16 Friday 26 July 2024 13:46:25 -0400 (0:00:00.909) 0:02:58.662 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.encryption and _storage_test_volume_present", "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:22 Friday 26 July 2024 13:46:25 -0400 (0:00:00.018) 0:02:58.681 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:29 Friday 26 July 2024 13:46:25 -0400 (0:00:00.028) 0:02:58.709 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "_storage_test_volume_present", "skip_reason": "Conditional result was False" } TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:40 Friday 26 July 2024 13:46:25 -0400 (0:00:00.021) 0:02:58.731 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "_storage_test_volume_present and storage_test_volume.encryption", "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:46 Friday 26 July 2024 13:46:25 -0400 (0:00:00.018) 0:02:58.749 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "_storage_test_volume_present and storage_test_volume.encryption", "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:51 Friday 26 July 2024 13:46:25 -0400 (0:00:00.017) 0:02:58.767 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "_storage_test_volume_present", "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:63 Friday 26 July 2024 13:46:25 -0400 (0:00:00.020) 0:02:58.788 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "_storage_test_volume_present", "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:75 Friday 26 July 2024 13:46:25 -0400 (0:00:00.017) 0:02:58.805 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "_storage_test_volume_present", "skip_reason": "Conditional result was False" } TASK [Set test variables] ****************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:87 Friday 26 July 2024 13:46:25 -0400 (0:00:00.018) 0:02:58.823 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:93 Friday 26 July 2024 13:46:25 -0400 (0:00:00.035) 0:02:58.858 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:100 Friday 26 July 2024 13:46:25 -0400 (0:00:00.029) 0:02:58.888 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "_storage_test_expected_crypttab_entries | int == 1", "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:108 Friday 26 July 2024 13:46:25 -0400 (0:00:00.025) 0:02:58.913 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "_storage_test_expected_crypttab_entries | int == 1", "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:116 Friday 26 July 2024 13:46:25 -0400 (0:00:00.023) 0:02:58.937 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "_storage_test_expected_crypttab_entries | int == 1", "skip_reason": "Conditional result was False" } TASK [Clear test variables] **************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:124 Friday 26 July 2024 13:46:25 -0400 (0:00:00.026) 0:02:58.964 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [Get information about RAID] ********************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:8 Friday 26 July 2024 13:46:25 -0400 (0:00:00.019) 0:02:58.983 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.type == 'raid'", "skip_reason": "Conditional result was False" } TASK [Set active devices regex] ************************************************ task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:14 Friday 26 July 2024 13:46:25 -0400 (0:00:00.021) 0:02:59.005 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.type == 'raid'", "skip_reason": "Conditional result was False" } TASK [Set spare devices regex] ************************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:19 Friday 26 July 2024 13:46:25 -0400 (0:00:00.020) 0:02:59.025 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.type == 'raid'", "skip_reason": "Conditional result was False" } TASK [Set md version regex] **************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:24 Friday 26 July 2024 13:46:26 -0400 (0:00:00.018) 0:02:59.043 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.type == 'raid'", "skip_reason": "Conditional result was False" } TASK [Set chunk size regex] **************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:29 Friday 26 July 2024 13:46:26 -0400 (0:00:00.018) 0:02:59.062 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.type == 'raid'", "skip_reason": "Conditional result was False" } TASK [Parse the chunk size] **************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:37 Friday 26 July 2024 13:46:26 -0400 (0:00:00.020) 0:02:59.082 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.type == 'raid'", "skip_reason": "Conditional result was False" } TASK [Check RAID active devices count] ***************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:46 Friday 26 July 2024 13:46:26 -0400 (0:00:00.017) 0:02:59.100 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.type == 'raid'", "skip_reason": "Conditional result was False" } TASK [Check RAID spare devices count] ****************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:54 Friday 26 July 2024 13:46:26 -0400 (0:00:00.019) 0:02:59.120 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.type == 'raid'", "skip_reason": "Conditional result was False" } TASK [Check RAID metadata version] ********************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:62 Friday 26 July 2024 13:46:26 -0400 (0:00:00.060) 0:02:59.180 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.type == 'raid'", "skip_reason": "Conditional result was False" } TASK [Check RAID chunk size] *************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:70 Friday 26 July 2024 13:46:26 -0400 (0:00:00.021) 0:02:59.202 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.type == 'raid'", "skip_reason": "Conditional result was False" } TASK [Parse the actual size of the volume] ************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:3 Friday 26 July 2024 13:46:26 -0400 (0:00:00.018) 0:02:59.221 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "_storage_test_volume_present | bool", "skip_reason": "Conditional result was False" } TASK [Parse the requested size of the volume] ********************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:11 Friday 26 July 2024 13:46:26 -0400 (0:00:00.021) 0:02:59.243 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "_storage_test_volume_present | bool", "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:20 Friday 26 July 2024 13:46:26 -0400 (0:00:00.025) 0:02:59.268 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "_storage_test_volume_present | bool", "skip_reason": "Conditional result was False" } TASK [Show expected size] ****************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:28 Friday 26 July 2024 13:46:26 -0400 (0:00:00.023) 0:02:59.292 *********** ok: [managed_node1] => { "storage_test_expected_size": "4294967296" } TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:32 Friday 26 July 2024 13:46:26 -0400 (0:00:00.024) 0:02:59.317 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "_storage_test_volume_present | bool", "skip_reason": "Conditional result was False" } TASK [Show test pool] ********************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:46 Friday 26 July 2024 13:46:26 -0400 (0:00:00.022) 0:02:59.340 *********** skipping: [managed_node1] => { "false_condition": "_storage_test_volume_present | bool" } TASK [Show test blockinfo] ***************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:50 Friday 26 July 2024 13:46:26 -0400 (0:00:00.022) 0:02:59.362 *********** skipping: [managed_node1] => { "false_condition": "_storage_test_volume_present | bool" } TASK [Show test pool size] ***************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:54 Friday 26 July 2024 13:46:26 -0400 (0:00:00.023) 0:02:59.385 *********** skipping: [managed_node1] => { "false_condition": "_storage_test_volume_present | bool" } TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:58 Friday 26 July 2024 13:46:26 -0400 (0:00:00.021) 0:02:59.407 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "_storage_test_volume_present | bool", "skip_reason": "Conditional result was False" } TASK [Default thin pool reserved space values] ********************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:67 Friday 26 July 2024 13:46:26 -0400 (0:00:00.022) 0:02:59.430 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.thin", "skip_reason": "Conditional result was False" } TASK [Default minimal thin pool reserved space size] *************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:71 Friday 26 July 2024 13:46:26 -0400 (0:00:00.022) 0:02:59.452 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.thin", "skip_reason": "Conditional result was False" } TASK [Default maximal thin pool reserved space size] *************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:76 Friday 26 July 2024 13:46:26 -0400 (0:00:00.017) 0:02:59.470 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.thin", "skip_reason": "Conditional result was False" } TASK [Calculate maximum usable space in thin pool] ***************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:82 Friday 26 July 2024 13:46:26 -0400 (0:00:00.017) 0:02:59.487 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.thin", "skip_reason": "Conditional result was False" } TASK [Apply upper size limit to max usable thin pool space] ******************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:86 Friday 26 July 2024 13:46:26 -0400 (0:00:00.020) 0:02:59.508 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.thin", "skip_reason": "Conditional result was False" } TASK [Apply lower size limit to max usable thin pool space] ******************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:91 Friday 26 July 2024 13:46:26 -0400 (0:00:00.017) 0:02:59.526 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.thin", "skip_reason": "Conditional result was False" } TASK [Convert maximum usable thin pool space from int to Size] ***************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:96 Friday 26 July 2024 13:46:26 -0400 (0:00:00.017) 0:02:59.543 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.thin", "skip_reason": "Conditional result was False" } TASK [Show max thin pool size] ************************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:101 Friday 26 July 2024 13:46:26 -0400 (0:00:00.020) 0:02:59.564 *********** skipping: [managed_node1] => { "false_condition": "storage_test_volume.thin" } TASK [Show volume thin pool size] ********************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:105 Friday 26 July 2024 13:46:26 -0400 (0:00:00.017) 0:02:59.582 *********** skipping: [managed_node1] => { "false_condition": "storage_test_volume.thin" } TASK [Show test volume size] *************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:109 Friday 26 July 2024 13:46:26 -0400 (0:00:00.017) 0:02:59.600 *********** skipping: [managed_node1] => { "false_condition": "storage_test_volume.thin" } TASK [Establish base value for expected thin pool size] ************************ task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:113 Friday 26 July 2024 13:46:26 -0400 (0:00:00.020) 0:02:59.620 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.thin", "skip_reason": "Conditional result was False" } TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:120 Friday 26 July 2024 13:46:26 -0400 (0:00:00.017) 0:02:59.638 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.thin", "skip_reason": "Conditional result was False" } TASK [Establish base value for expected thin pool volume size] ***************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:127 Friday 26 July 2024 13:46:26 -0400 (0:00:00.017) 0:02:59.656 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.thin", "skip_reason": "Conditional result was False" } TASK [Calculate the expected thin pool volume size based on percentage value] *** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:131 Friday 26 July 2024 13:46:26 -0400 (0:00:00.022) 0:02:59.678 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.thin", "skip_reason": "Conditional result was False" } TASK [Replace expected volume size with calculated value] ********************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:137 Friday 26 July 2024 13:46:26 -0400 (0:00:00.017) 0:02:59.695 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.thin", "skip_reason": "Conditional result was False" } TASK [Show actual size] ******************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:143 Friday 26 July 2024 13:46:26 -0400 (0:00:00.017) 0:02:59.713 *********** ok: [managed_node1] => { "storage_test_actual_size": { "changed": false, "false_condition": "_storage_test_volume_present | bool", "skip_reason": "Conditional result was False", "skipped": true } } TASK [Show expected size] ****************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:147 Friday 26 July 2024 13:46:26 -0400 (0:00:00.021) 0:02:59.734 *********** ok: [managed_node1] => { "storage_test_expected_size": "4294967296" } TASK [Assert expected size is actual size] ************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:151 Friday 26 July 2024 13:46:26 -0400 (0:00:00.023) 0:02:59.757 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "_storage_test_volume_present | bool", "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:5 Friday 26 July 2024 13:46:26 -0400 (0:00:00.021) 0:02:59.779 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.type == 'lvm' and _storage_test_volume_present", "skip_reason": "Conditional result was False" } TASK [Set LV segment type] ***************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:13 Friday 26 July 2024 13:46:26 -0400 (0:00:00.022) 0:02:59.801 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.type == 'lvm' and _storage_test_volume_present", "skip_reason": "Conditional result was False" } TASK [Check segment type] ****************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:17 Friday 26 July 2024 13:46:26 -0400 (0:00:00.017) 0:02:59.819 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.type == 'lvm' and _storage_test_volume_present", "skip_reason": "Conditional result was False" } TASK [Set LV cache size] ******************************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:24 Friday 26 July 2024 13:46:26 -0400 (0:00:00.017) 0:02:59.837 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.type == 'lvm' and _storage_test_volume_present", "skip_reason": "Conditional result was False" } TASK [Parse the requested cache size] ****************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:31 Friday 26 July 2024 13:46:26 -0400 (0:00:00.018) 0:02:59.856 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.type == 'lvm' and _storage_test_volume_present", "skip_reason": "Conditional result was False" } TASK [Set expected cache size] ************************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:37 Friday 26 July 2024 13:46:26 -0400 (0:00:00.017) 0:02:59.874 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.type == 'lvm' and _storage_test_volume_present", "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:42 Friday 26 July 2024 13:46:26 -0400 (0:00:00.017) 0:02:59.891 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "storage_test_volume.type == 'lvm' and _storage_test_volume_present", "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume.yml:25 Friday 26 July 2024 13:46:26 -0400 (0:00:00.019) 0:02:59.910 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:54 Friday 26 July 2024 13:46:26 -0400 (0:00:00.022) 0:02:59.933 *********** ok: [managed_node1] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } PLAY RECAP ********************************************************************* managed_node1 : ok=583 changed=21 unreachable=0 failed=0 skipped=558 rescued=6 ignored=0 Friday 26 July 2024 13:46:26 -0400 (0:00:00.036) 0:02:59.969 *********** =============================================================================== fedora.linux_system_roles.storage : Make sure blivet is available ------ 52.19s /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 fedora.linux_system_roles.storage : Manage the pools and volumes to match the specified state --- 9.91s /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:69 fedora.linux_system_roles.storage : Manage the pools and volumes to match the specified state --- 8.10s /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:69 Find unused disks in the system ----------------------------------------- 4.51s /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/get_unused_disk.yml:11 Gathering Facts --------------------------------------------------------- 3.26s /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/tests_luks_pool.yml:2 fedora.linux_system_roles.storage : Manage the pools and volumes to match the specified state --- 2.41s /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:69 fedora.linux_system_roles.storage : Get service facts ------------------- 2.01s /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:51 fedora.linux_system_roles.storage : Manage the pools and volumes to match the specified state --- 1.82s /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:69 Read the /etc/crypttab file --------------------------------------------- 1.37s /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:25 Read the /etc/fstab file for volume existence --------------------------- 1.37s /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:20 fedora.linux_system_roles.storage : Manage the pools and volumes to match the specified state --- 1.37s /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:69 Read the /etc/fstab file for volume existence --------------------------- 1.37s /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:20 fedora.linux_system_roles.storage : Manage the pools and volumes to match the specified state --- 1.28s /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:69 fedora.linux_system_roles.storage : Manage the pools and volumes to match the specified state --- 1.22s /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:69 fedora.linux_system_roles.storage : Get required packages --------------- 1.06s /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:19 fedora.linux_system_roles.storage : Update facts ------------------------ 0.98s /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:222 fedora.linux_system_roles.storage : Update facts ------------------------ 0.97s /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:222 fedora.linux_system_roles.storage : Manage the pools and volumes to match the specified state --- 0.97s /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:69 fedora.linux_system_roles.storage : Update facts ------------------------ 0.96s /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:222 Ensure cryptsetup is present -------------------------------------------- 0.95s /tmp/tmp.hv2i00FbYR/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:10