[DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ansible-playbook [core 2.16.9] 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.6PSxNJO0BJ executable location = /usr/local/bin/ansible-playbook python version = 3.12.1 (main, Feb 21 2024, 14:18:26) [GCC 8.5.0 20210514 (Red Hat 8.5.0-21)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles statically imported: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/create-test-file.yml statically imported: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-data-preservation.yml statically imported: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/create-test-file.yml statically imported: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-data-preservation.yml statically imported: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/create-test-file.yml statically imported: /tmp/tmp.6PSxNJO0BJ/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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/tests_luks_pool.yml PLAY [Test LUKS pool] ********************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/tests_luks_pool.yml:2 Friday 26 July 2024 13:38:33 -0400 (0:00:00.010) 0:00:00.010 *********** ok: [managed_node1] TASK [Enable FIPS mode] ******************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/tests_luks_pool.yml:23 Friday 26 July 2024 13:38:35 -0400 (0:00:02.326) 0:00:02.337 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/tests_luks_pool.yml:27 Friday 26 July 2024 13:38:35 -0400 (0:00:00.020) 0:00:02.358 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/tests_luks_pool.yml:37 Friday 26 July 2024 13:38:35 -0400 (0:00:00.021) 0:00:02.380 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/tests_luks_pool.yml:43 Friday 26 July 2024 13:38:35 -0400 (0:00:00.019) 0:00:02.399 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/tests_luks_pool.yml:52 Friday 26 July 2024 13:38:35 -0400 (0:00:00.019) 0:00:02.418 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/tests_luks_pool.yml:56 Friday 26 July 2024 13:38:35 -0400 (0:00:00.019) 0:00:02.437 *********** TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Friday 26 July 2024 13:38:35 -0400 (0:00:00.026) 0:00:02.464 *********** included: /tmp/tmp.6PSxNJO0BJ/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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Friday 26 July 2024 13:38:35 -0400 (0:00:00.023) 0:00:02.487 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Friday 26 July 2024 13:38:36 -0400 (0:00:00.035) 0:00:02.523 *********** 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_8.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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [managed_node1] => (item=CentOS_8.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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [fedora.linux_system_roles.storage : Check if system is ostree] *********** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:25 Friday 26 July 2024 13:38:36 -0400 (0:00:00.049) 0:00:02.573 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:30 Friday 26 July 2024 13:38:36 -0400 (0:00:00.508) 0:00:03.081 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Friday 26 July 2024 13:38:36 -0400 (0:00:00.028) 0:00:03.109 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Friday 26 July 2024 13:38:36 -0400 (0:00:00.018) 0:00:03.127 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Friday 26 July 2024 13:38:36 -0400 (0:00:00.018) 0:00:03.146 *********** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmp.6PSxNJO0BJ/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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Friday 26 July 2024 13:38:36 -0400 (0:00:00.051) 0:00:03.197 *********** changed: [managed_node1] => { "changed": true, "rc": 0, "results": [ "Installed: device-mapper-persistent-data-0.9.0-7.el8.x86_64", "Installed: libblockdev-utils-2.28-6.el8.x86_64", "Installed: libblockdev-crypto-2.28-6.el8.x86_64", "Installed: libblockdev-dm-2.28-6.el8.x86_64", "Installed: libbytesize-1.4-3.el8.x86_64", "Installed: python3-justbases-0.14-4.el8.noarch", "Installed: python3-justbytes-0.14-2.el8.noarch", "Installed: userspace-rcu-0.10.1-4.el8.x86_64", "Installed: libblockdev-fs-2.28-6.el8.x86_64", "Installed: volume_key-libs-0.3.11-6.el8.x86_64", "Installed: libblockdev-kbd-2.28-6.el8.x86_64", "Installed: luksmeta-9-4.el8.x86_64", "Installed: daxctl-libs-71.1-7.el8.x86_64", "Installed: clevis-15-15.el8.x86_64", "Installed: blivet-data-1:3.6.0-8.el8.noarch", "Installed: python3-blivet-1:3.6.0-8.el8.noarch", "Installed: python3-into-dbus-python-0.06-2.el8.noarch", "Installed: vdo-6.2.9.7-14.el8.x86_64", "Installed: libblockdev-loop-2.28-6.el8.x86_64", "Installed: python3-blockdev-2.28-6.el8.x86_64", "Installed: mdadm-4.2-14.el8.x86_64", "Installed: clevis-luks-15-15.el8.x86_64", "Installed: python3-bytesize-1.4-3.el8.x86_64", "Installed: libblockdev-lvm-2.28-6.el8.x86_64", "Installed: libjose-10-2.el8.x86_64", "Installed: python3-pyparted-1:3.11.7-4.el8.x86_64", "Installed: libaio-0.3.112-1.el8.x86_64", "Installed: tpm2-tools-4.1.1-5.el8.x86_64", "Installed: libblockdev-mdraid-2.28-6.el8.x86_64", "Installed: cryptsetup-2.3.7-7.el8.x86_64", "Installed: device-mapper-event-8:1.02.181-14.el8.x86_64", "Installed: kmod-kvdo-6.2.8.7-94.el8.x86_64", "Installed: libblockdev-mpath-2.28-6.el8.x86_64", "Installed: device-mapper-event-libs-8:1.02.181-14.el8.x86_64", "Installed: libblockdev-nvdimm-2.28-6.el8.x86_64", "Installed: jose-10-2.el8.x86_64", "Installed: python3-psutil-5.4.3-11.el8.x86_64", "Installed: lsof-4.93.2-1.el8.x86_64", "Installed: libluksmeta-9-4.el8.x86_64", "Installed: stratis-cli-2.4.2-1.el8.noarch", "Installed: libblockdev-part-2.28-6.el8.x86_64", "Installed: stratisd-2.4.2-2.el8.x86_64", "Installed: lvm2-8:2.03.14-14.el8.x86_64", "Installed: lvm2-libs-8:2.03.14-14.el8.x86_64", "Installed: device-mapper-multipath-0.8.4-41.el8.x86_64", "Installed: ndctl-71.1-7.el8.x86_64", "Installed: python3-dbus-client-gen-0.4-1.el8.noarch", "Installed: python3-dbus-python-client-gen-0.7-3.el8.noarch", "Installed: python3-dbus-signature-pyparsing-0.03-2.el8.noarch", "Installed: libblockdev-swap-2.28-6.el8.x86_64", "Installed: device-mapper-multipath-libs-0.8.4-41.el8.x86_64", "Installed: libblockdev-2.28-6.el8.x86_64", "Installed: ndctl-libs-71.1-7.el8.x86_64" ] } TASK [fedora.linux_system_roles.storage : Show storage_pools] ****************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:9 Friday 26 July 2024 13:39:28 -0400 (0:00:51.386) 0:00:54.583 *********** ok: [managed_node1] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined. 'storage_pools' is undefined" } TASK [fedora.linux_system_roles.storage : Show storage_volumes] **************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:14 Friday 26 July 2024 13:39:28 -0400 (0:00:00.022) 0:00:54.606 *********** ok: [managed_node1] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined. 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : Get required packages] *************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:19 Friday 26 July 2024 13:39:28 -0400 (0:00:00.021) 0:00:54.628 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:31 Friday 26 July 2024 13:39:28 -0400 (0:00:00.755) 0:00:55.384 *********** included: /tmp/tmp.6PSxNJO0BJ/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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:2 Friday 26 July 2024 13:39:28 -0400 (0:00:00.034) 0:00:55.419 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:13 Friday 26 July 2024 13:39:28 -0400 (0:00:00.029) 0:00:55.449 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:19 Friday 26 July 2024 13:39:28 -0400 (0:00:00.031) 0:00:55.480 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:37 Friday 26 July 2024 13:39:29 -0400 (0:00:00.030) 0:00:55.511 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:51 Friday 26 July 2024 13:39:31 -0400 (0:00:02.646) 0:00:58.157 *********** 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" }, "auto-cpufreq.service": { "name": "auto-cpufreq.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "autovt@.service": { "name": "autovt@.service", "source": "systemd", "state": "unknown", "status": "enabled" }, "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-dnssrv@.service": { "name": "chrony-dnssrv@.service", "source": "systemd", "state": "unknown", "status": "static" }, "chrony-wait.service": { "name": "chrony-wait.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": "stopped", "status": "disabled" }, "crond.service": { "name": "crond.service", "source": "systemd", "state": "running", "status": "enabled" }, "dbus-org.freedesktop.hostname1.service": { "name": "dbus-org.freedesktop.hostname1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.locale1.service": { "name": "dbus-org.freedesktop.locale1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.login1.service": { "name": "dbus-org.freedesktop.login1.service", "source": "systemd", "state": "active", "status": "static" }, "dbus-org.freedesktop.nm-dispatcher.service": { "name": "dbus-org.freedesktop.nm-dispatcher.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "dbus-org.freedesktop.portable1.service": { "name": "dbus-org.freedesktop.portable1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.timedate1.service": { "name": "dbus-org.freedesktop.timedate1.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "dbus.service": { "name": "dbus.service", "source": "systemd", "state": "running", "status": "static" }, "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" }, "ebtables.service": { "name": "ebtables.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "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" }, "gssproxy.service": { "name": "gssproxy.service", "source": "systemd", "state": "running", "status": "disabled" }, "halt-local.service": { "name": "halt-local.service", "source": "systemd", "state": "inactive", "status": "static" }, "hv_kvp_daemon.service": { "name": "hv_kvp_daemon.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "import-state.service": { "name": "import-state.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "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" }, "iprdump.service": { "name": "iprdump.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "iprinit.service": { "name": "iprinit.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "iprupdate.service": { "name": "iprupdate.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "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" }, "loadmodules.service": { "name": "loadmodules.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "lvm2-activation-early.service": { "name": "lvm2-activation-early.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "lvm2-activation.service": { "name": "lvm2-activation.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" }, "lvm2-pvscan@.service": { "name": "lvm2-pvscan@.service", "source": "systemd", "state": "unknown", "status": "static" }, "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" }, "messagebus.service": { "name": "messagebus.service", "source": "systemd", "state": "active", "status": "static" }, "microcode.service": { "name": "microcode.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "modprobe@efi_pstore.service": { "name": "modprobe@efi_pstore.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "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-convert.service": { "name": "nfs-convert.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" }, "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" }, "plymouth-halt.service": { "name": "plymouth-halt.service", "source": "systemd", "state": "inactive", "status": "static" }, "plymouth-kexec.service": { "name": "plymouth-kexec.service", "source": "systemd", "state": "inactive", "status": "static" }, "plymouth-poweroff.service": { "name": "plymouth-poweroff.service", "source": "systemd", "state": "inactive", "status": "static" }, "plymouth-quit-wait.service": { "name": "plymouth-quit-wait.service", "source": "systemd", "state": "stopped", "status": "static" }, "plymouth-quit.service": { "name": "plymouth-quit.service", "source": "systemd", "state": "stopped", "status": "static" }, "plymouth-read-write.service": { "name": "plymouth-read-write.service", "source": "systemd", "state": "stopped", "status": "static" }, "plymouth-reboot.service": { "name": "plymouth-reboot.service", "source": "systemd", "state": "inactive", "status": "static" }, "plymouth-start.service": { "name": "plymouth-start.service", "source": "systemd", "state": "stopped", "status": "static" }, "plymouth-switch-root-initramfs.service": { "name": "plymouth-switch-root-initramfs.service", "source": "systemd", "state": "inactive", "status": "static" }, "plymouth-switch-root.service": { "name": "plymouth-switch-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "polkit.service": { "name": "polkit.service", "source": "systemd", "state": "running", "status": "static" }, "power-profiles-daemon.service": { "name": "power-profiles-daemon.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" }, "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" }, "rpcbind.service": { "name": "rpcbind.service", "source": "systemd", "state": "running", "status": "enabled" }, "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" }, "serial-getty@.service": { "name": "serial-getty@.service", "source": "systemd", "state": "unknown", "status": "disabled" }, "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": "active", "status": "enabled" }, "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-plymouth.service": { "name": "systemd-ask-password-plymouth.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-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-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-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-networkd-wait-online.service": { "name": "systemd-networkd-wait-online.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "systemd-portabled.service": { "name": "systemd-portabled.service", "source": "systemd", "state": "inactive", "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": "stopped", "status": "enabled" }, "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": "static" }, "systemd-resolved.service": { "name": "systemd-resolved.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-rfkill.service": { "name": "systemd-rfkill.service", "source": "systemd", "state": "inactive", "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-sysusers.service": { "name": "systemd-sysusers.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-timedated.service": { "name": "systemd-timedated.service", "source": "systemd", "state": "inactive", "status": "masked" }, "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-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" }, "tcsd.service": { "name": "tcsd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "teamd@.service": { "name": "teamd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "timedatex.service": { "name": "timedatex.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "tlp.service": { "name": "tlp.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "tuned.service": { "name": "tuned.service", "source": "systemd", "state": "running", "status": "enabled" }, "unbound-anchor.service": { "name": "unbound-anchor.service", "source": "systemd", "state": "stopped", "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" }, "vdo-start-by-dev@.service": { "name": "vdo-start-by-dev@.service", "source": "systemd", "state": "unknown", "status": "static" }, "vdo.service": { "name": "vdo.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:57 Friday 26 July 2024 13:39:33 -0400 (0:00:02.339) 0:01:00.497 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:63 Friday 26 July 2024 13:39:34 -0400 (0:00:00.051) 0:01:00.549 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:69 Friday 26 July 2024 13:39:34 -0400 (0:00:00.018) 0:01:00.567 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:83 Friday 26 July 2024 13:39:34 -0400 (0:00:00.582) 0:01:01.150 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Friday 26 July 2024 13:39:34 -0400 (0:00:00.034) 0:01:01.185 *********** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722015239.0825853, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "4644c54c9838cbc512975c626cc4f46832c5b181", "ctime": 1716969427.210901, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1716969427.210901, "nlink": 1, "path": "/etc/fstab", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 1321, "uid": 0, "version": "1528175122", "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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:95 Friday 26 July 2024 13:39:35 -0400 (0:00:00.413) 0:01:01.598 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:113 Friday 26 July 2024 13:39:35 -0400 (0:00:00.024) 0:01:01.623 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:119 Friday 26 July 2024 13:39:35 -0400 (0:00:00.018) 0:01:01.641 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:128 Friday 26 July 2024 13:39:35 -0400 (0:00:00.024) 0:01:01.666 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Friday 26 July 2024 13:39:35 -0400 (0:00:00.024) 0:01:01.691 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Remove obsolete mounts] ************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Friday 26 July 2024 13:39:35 -0400 (0:00:00.024) 0:01:01.715 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:159 Friday 26 July 2024 13:39:35 -0400 (0:00:00.038) 0:01:01.754 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:164 Friday 26 July 2024 13:39:35 -0400 (0:00:00.020) 0:01:01.774 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:175 Friday 26 July 2024 13:39:35 -0400 (0:00:00.036) 0:01:01.811 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:187 Friday 26 July 2024 13:39:35 -0400 (0:00:00.036) 0:01:01.848 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:195 Friday 26 July 2024 13:39:35 -0400 (0:00:00.019) 0:01:01.867 *********** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722015475.6008167, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1716968941.893, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 135, "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": 1716968586.525, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "1157759751", "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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:200 Friday 26 July 2024 13:39:35 -0400 (0:00:00.405) 0:01:02.273 *********** skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:222 Friday 26 July 2024 13:39:35 -0400 (0:00:00.020) 0:01:02.294 *********** ok: [managed_node1] TASK [Mark tasks to be skipped] ************************************************ task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/tests_luks_pool.yml:60 Friday 26 July 2024 13:39:36 -0400 (0:00:00.944) 0:01:03.239 *********** ok: [managed_node1] => { "ansible_facts": { "storage_skip_checks": [ "blivet_available", "service_facts" ] }, "changed": false } TASK [Get unused disks] ******************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/tests_luks_pool.yml:66 Friday 26 July 2024 13:39:36 -0400 (0:00:00.021) 0:01:03.260 *********** included: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/get_unused_disk.yml for managed_node1 TASK [Ensure test packages] **************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/get_unused_disk.yml:2 Friday 26 July 2024 13:39:36 -0400 (0:00:00.033) 0:01:03.293 *********** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Find unused disks in the system] ***************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/get_unused_disk.yml:11 Friday 26 July 2024 13:39:39 -0400 (0:00:02.667) 0:01:05.961 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/get_unused_disk.yml:20 Friday 26 July 2024 13:39:40 -0400 (0:00:00.549) 0:01:06.511 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/get_unused_disk.yml:29 Friday 26 July 2024 13:39:40 -0400 (0:00:00.020) 0:01:06.532 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/get_unused_disk.yml:34 Friday 26 July 2024 13:39:40 -0400 (0:00:00.026) 0:01:06.558 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/get_unused_disk.yml:39 Friday 26 July 2024 13:39:40 -0400 (0:00:00.036) 0:01:06.594 *********** ok: [managed_node1] => { "unused_disks": [ "sda" ] } TASK [Test for correct handling of new encrypted pool w/ no key] *************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/tests_luks_pool.yml:76 Friday 26 July 2024 13:39:40 -0400 (0:00:00.026) 0:01:06.620 *********** included: /tmp/tmp.6PSxNJO0BJ/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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:4 Friday 26 July 2024 13:39:40 -0400 (0:00:00.034) 0:01:06.655 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:10 Friday 26 July 2024 13:39:40 -0400 (0:00:00.041) 0:01:06.696 *********** TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Friday 26 July 2024 13:39:40 -0400 (0:00:00.036) 0:01:06.732 *********** included: /tmp/tmp.6PSxNJO0BJ/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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Friday 26 July 2024 13:39:40 -0400 (0:00:00.031) 0:01:06.763 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Friday 26 July 2024 13:39:40 -0400 (0:00:00.039) 0:01:06.803 *********** 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_8.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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [managed_node1] => (item=CentOS_8.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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [fedora.linux_system_roles.storage : Check if system is ostree] *********** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:25 Friday 26 July 2024 13:39:40 -0400 (0:00:00.056) 0:01:06.859 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:30 Friday 26 July 2024 13:39:40 -0400 (0:00:00.025) 0:01:06.884 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Friday 26 July 2024 13:39:40 -0400 (0:00:00.027) 0:01:06.912 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Friday 26 July 2024 13:39:40 -0400 (0:00:00.045) 0:01:06.957 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Friday 26 July 2024 13:39:40 -0400 (0:00:00.022) 0:01:06.980 *********** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmp.6PSxNJO0BJ/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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Friday 26 July 2024 13:39:40 -0400 (0:00:00.054) 0:01:07.035 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:9 Friday 26 July 2024 13:39:40 -0400 (0:00:00.028) 0:01:07.063 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:14 Friday 26 July 2024 13:39:40 -0400 (0:00:00.028) 0:01:07.091 *********** ok: [managed_node1] => { "storage_volumes": [] } TASK [fedora.linux_system_roles.storage : Get required packages] *************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:19 Friday 26 July 2024 13:39:40 -0400 (0:00:00.027) 0:01:07.119 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:31 Friday 26 July 2024 13:39:44 -0400 (0:00:04.340) 0:01:11.460 *********** included: /tmp/tmp.6PSxNJO0BJ/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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:2 Friday 26 July 2024 13:39:45 -0400 (0:00:00.043) 0:01:11.504 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:13 Friday 26 July 2024 13:39:45 -0400 (0:00:00.037) 0:01:11.541 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:19 Friday 26 July 2024 13:39:45 -0400 (0:00:00.037) 0:01:11.578 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:37 Friday 26 July 2024 13:39:45 -0400 (0:00:00.034) 0:01:11.613 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:51 Friday 26 July 2024 13:39:47 -0400 (0:00:02.810) 0:01:14.423 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:57 Friday 26 July 2024 13:39:47 -0400 (0:00:00.026) 0:01:14.450 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:63 Friday 26 July 2024 13:39:48 -0400 (0:00:00.053) 0:01:14.504 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:69 Friday 26 July 2024 13:39:48 -0400 (0:00:00.021) 0:01:14.525 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:109 Friday 26 July 2024 13:39:52 -0400 (0:00:04.124) 0:01:18.650 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:113 Friday 26 July 2024 13:39:52 -0400 (0:00:00.029) 0:01:18.680 *********** skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Check that we failed in the role] **************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:23 Friday 26 July 2024 13:39:52 -0400 (0:00:00.018) 0:01:18.698 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the blivet output and error message are correct] ****************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:28 Friday 26 July 2024 13:39:52 -0400 (0:00:00.025) 0:01:18.724 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify correct exception or error message] ******************************* task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:39 Friday 26 July 2024 13:39:52 -0400 (0:00:00.033) 0:01:18.757 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/tests_luks_pool.yml:93 Friday 26 July 2024 13:39:52 -0400 (0:00:00.027) 0:01:18.785 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/tests_luks_pool.yml:102 Friday 26 July 2024 13:39:52 -0400 (0:00:00.040) 0:01:18.825 *********** ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/storage_testr0rzz1omlukskey", "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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/tests_luks_pool.yml:109 Friday 26 July 2024 13:39:52 -0400 (0:00:00.498) 0:01:19.324 *********** ok: [managed_node1] => { "changed": false, "checksum": "7a4dff3752e2baf5617c57eaac048e2b95e8af91", "dest": "/tmp/storage_testr0rzz1omlukskey", "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-1722015592.8648903-9415-238436784010364/source", "state": "file", "uid": 0 } TASK [Create an encrypted lvm pool using a key file] *************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/tests_luks_pool.yml:116 Friday 26 July 2024 13:39:53 -0400 (0:00:00.883) 0:01:20.207 *********** TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Friday 26 July 2024 13:39:53 -0400 (0:00:00.034) 0:01:20.242 *********** included: /tmp/tmp.6PSxNJO0BJ/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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Friday 26 July 2024 13:39:53 -0400 (0:00:00.031) 0:01:20.273 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Friday 26 July 2024 13:39:53 -0400 (0:00:00.039) 0:01:20.312 *********** 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_8.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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [managed_node1] => (item=CentOS_8.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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [fedora.linux_system_roles.storage : Check if system is ostree] *********** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:25 Friday 26 July 2024 13:39:53 -0400 (0:00:00.056) 0:01:20.368 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:30 Friday 26 July 2024 13:39:53 -0400 (0:00:00.025) 0:01:20.394 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Friday 26 July 2024 13:39:53 -0400 (0:00:00.027) 0:01:20.422 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Friday 26 July 2024 13:39:53 -0400 (0:00:00.023) 0:01:20.445 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Friday 26 July 2024 13:39:53 -0400 (0:00:00.022) 0:01:20.467 *********** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmp.6PSxNJO0BJ/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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Friday 26 July 2024 13:39:54 -0400 (0:00:00.052) 0:01:20.520 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:9 Friday 26 July 2024 13:39:54 -0400 (0:00:00.028) 0:01:20.548 *********** ok: [managed_node1] => { "storage_pools": [ { "disks": [ "sda" ], "encryption": true, "encryption_key": "/tmp/storage_testr0rzz1omlukskey", "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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:14 Friday 26 July 2024 13:39:54 -0400 (0:00:00.027) 0:01:20.576 *********** ok: [managed_node1] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined. 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : Get required packages] *************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:19 Friday 26 July 2024 13:39:54 -0400 (0:00:00.025) 0:01:20.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 : Enable copr repositories if needed] *** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:31 Friday 26 July 2024 13:39:54 -0400 (0:00:00.026) 0:01:20.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 : Make sure required packages are installed] *** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:37 Friday 26 July 2024 13:39:54 -0400 (0:00:00.025) 0:01:20.654 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:51 Friday 26 July 2024 13:39:54 -0400 (0:00:00.026) 0:01:20.680 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:57 Friday 26 July 2024 13:39:54 -0400 (0:00:00.028) 0:01:20.709 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:63 Friday 26 July 2024 13:39:54 -0400 (0:00:00.054) 0:01:20.763 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:69 Friday 26 July 2024 13:39:54 -0400 (0:00:00.018) 0:01:20.781 *********** changed: [managed_node1] => { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "luks" }, { "action": "create device", "device": "/dev/mapper/luks-8abc2fd2-6ffb-4531-92ab-bcb2dcf1cdab", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/luks-8abc2fd2-6ffb-4531-92ab-bcb2dcf1cdab", "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-8abc2fd2-6ffb-4531-92ab-bcb2dcf1cdab", "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": [ "xfsprogs", "cryptsetup", "lvm2" ], "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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:83 Friday 26 July 2024 13:40:07 -0400 (0:00:12.731) 0:01:33.513 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Friday 26 July 2024 13:40:07 -0400 (0:00:00.036) 0:01:33.549 *********** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722015239.0825853, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "4644c54c9838cbc512975c626cc4f46832c5b181", "ctime": 1716969427.210901, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1716969427.210901, "nlink": 1, "path": "/etc/fstab", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 1321, "uid": 0, "version": "1528175122", "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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:95 Friday 26 July 2024 13:40:07 -0400 (0:00:00.416) 0:01:33.965 *********** changed: [managed_node1] => { "backup": "", "changed": true } MSG: line added TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:113 Friday 26 July 2024 13:40:07 -0400 (0:00:00.522) 0:01:34.487 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:119 Friday 26 July 2024 13:40:08 -0400 (0:00:00.019) 0:01:34.506 *********** ok: [managed_node1] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "luks" }, { "action": "create device", "device": "/dev/mapper/luks-8abc2fd2-6ffb-4531-92ab-bcb2dcf1cdab", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/luks-8abc2fd2-6ffb-4531-92ab-bcb2dcf1cdab", "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-8abc2fd2-6ffb-4531-92ab-bcb2dcf1cdab", "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": [ "xfsprogs", "cryptsetup", "lvm2" ], "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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:128 Friday 26 July 2024 13:40:08 -0400 (0:00:00.030) 0:01:34.537 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Friday 26 July 2024 13:40:08 -0400 (0:00:00.027) 0:01:34.565 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Remove obsolete mounts] ************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Friday 26 July 2024 13:40:08 -0400 (0:00:00.025) 0:01:34.590 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:159 Friday 26 July 2024 13:40:08 -0400 (0:00:00.042) 0:01:34.632 *********** ok: [managed_node1] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : Set up new/current mounts] *********** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:164 Friday 26 July 2024 13:40:09 -0400 (0:00:00.994) 0:01:35.626 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:175 Friday 26 July 2024 13:40:09 -0400 (0:00:00.598) 0:01:36.224 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:187 Friday 26 July 2024 13:40:09 -0400 (0:00:00.047) 0:01:36.271 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:195 Friday 26 July 2024 13:40:10 -0400 (0:00:00.702) 0:01:36.974 *********** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722015475.6008167, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1716968941.893, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 135, "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": 1716968586.525, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "1157759751", "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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:200 Friday 26 July 2024 13:40:10 -0400 (0:00:00.406) 0:01:37.380 *********** changed: [managed_node1] => (item={'backing_device': '/dev/sda', 'name': 'luks-8abc2fd2-6ffb-4531-92ab-bcb2dcf1cdab', 'password': 'VALUE_SPECIFIED_IN_NO_LOG_PARAMETER', 'state': 'present'}) => { "ansible_loop_var": "entry", "backup": "", "changed": true, "entry": { "backing_device": "/dev/sda", "name": "luks-8abc2fd2-6ffb-4531-92ab-bcb2dcf1cdab", "password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "state": "present" } } MSG: line added TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:222 Friday 26 July 2024 13:40:11 -0400 (0:00:00.430) 0:01:37.811 *********** ok: [managed_node1] TASK [Verify role results] ***************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/tests_luks_pool.yml:131 Friday 26 July 2024 13:40:12 -0400 (0:00:01.043) 0:01:38.855 *********** included: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml for managed_node1 TASK [Print out pool information] ********************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:2 Friday 26 July 2024 13:40:12 -0400 (0:00:00.035) 0:01:38.890 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:7 Friday 26 July 2024 13:40:12 -0400 (0:00:00.046) 0:01:38.937 *********** skipping: [managed_node1] => { "false_condition": "_storage_volumes_list | length > 0" } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:15 Friday 26 July 2024 13:40:12 -0400 (0:00:00.035) 0:01:38.973 *********** 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": "7a88064d-bdce-4a81-a9c9-69c2460d3696" }, "/dev/mapper/luks-8abc2fd2-6ffb-4531-92ab-bcb2dcf1cdab": { "fstype": "LVM2_member", "label": "", "mountpoint": "", "name": "/dev/mapper/luks-8abc2fd2-6ffb-4531-92ab-bcb2dcf1cdab", "size": "10G", "type": "crypt", "uuid": "N5Oppw-Hl9k-TPbv-TfLt-cr3Q-c0py-8VKS91" }, "/dev/sda": { "fstype": "crypto_LUKS", "label": "", "mountpoint": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "8abc2fd2-6ffb-4531-92ab-bcb2dcf1cdab" }, "/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": "fe591198-9082-4b15-9b62-e83518524cd2" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:20 Friday 26 July 2024 13:40:12 -0400 (0:00:00.513) 0:01:39.486 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003006", "end": "2024-07-26 13:40:13.429717", "rc": 0, "start": "2024-07-26 13:40:13.426711" } STDOUT: # system_role:storage # # /etc/fstab # Created by anaconda on Wed May 29 07:43:06 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=fe591198-9082-4b15-9b62-e83518524cd2 / xfs defaults 0 0 ntap-bos-c01-eng01-nfs01b.storage.bos.redhat.com:/devops_engineering_nfs/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-bos-c01-eng01-nfs01b.storage.bos.redhat.com:/devops_engineering_nfs/devarchive/redhat/brewroot /mnt/brew nfs ro,rsize=32768,wsize=8192,bg,noauto,noatime,nosuid,nodev,intr 0 0 ntap-bos-c01-eng01-nfs01b.storage.bos.redhat.com:/devops_brew_scratch_nfs/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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:25 Friday 26 July 2024 13:40:13 -0400 (0:00:00.505) 0:01:39.992 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003033", "end": "2024-07-26 13:40:13.828939", "failed_when_result": false, "rc": 0, "start": "2024-07-26 13:40:13.825906" } STDOUT: luks-8abc2fd2-6ffb-4531-92ab-bcb2dcf1cdab /dev/sda VALUE_SPECIFIED_IN_NO_LOG_PARAMETER TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:34 Friday 26 July 2024 13:40:13 -0400 (0:00:00.399) 0:01:40.391 *********** included: /tmp/tmp.6PSxNJO0BJ/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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool.yml:5 Friday 26 July 2024 13:40:13 -0400 (0:00:00.062) 0:01:40.454 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [Get VG shared value status] ********************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool.yml:18 Friday 26 July 2024 13:40:13 -0400 (0:00:00.022) 0:01:40.477 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "vgs", "--noheadings", "--binary", "-o", "shared", "foo" ], "delta": "0:00:00.031313", "end": "2024-07-26 13:40:14.347149", "rc": 0, "start": "2024-07-26 13:40:14.315836" } STDOUT: 0 TASK [Verify that VG shared value checks out] ********************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool.yml:24 Friday 26 July 2024 13:40:14 -0400 (0:00:00.431) 0:01:40.908 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify pool subset] ****************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool.yml:34 Friday 26 July 2024 13:40:14 -0400 (0:00:00.029) 0:01:40.938 *********** included: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml for managed_node1 => (item=members) included: /tmp/tmp.6PSxNJO0BJ/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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:2 Friday 26 July 2024 13:40:14 -0400 (0:00:00.051) 0:01:40.989 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/mapper/luks-8abc2fd2-6ffb-4531-92ab-bcb2dcf1cdab" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:8 Friday 26 July 2024 13:40:14 -0400 (0:00:00.050) 0:01:41.040 *********** ok: [managed_node1] => (item=/dev/mapper/luks-8abc2fd2-6ffb-4531-92ab-bcb2dcf1cdab) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/mapper/luks-8abc2fd2-6ffb-4531-92ab-bcb2dcf1cdab", "pv": "/dev/mapper/luks-8abc2fd2-6ffb-4531-92ab-bcb2dcf1cdab" } TASK [Set pvs lvm length] ****************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:17 Friday 26 July 2024 13:40:15 -0400 (0:00:00.501) 0:01:41.541 *********** ok: [managed_node1] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [Set pool pvs] ************************************************************ task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:22 Friday 26 July 2024 13:40:15 -0400 (0:00:00.040) 0:01:41.582 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/mapper/luks-8abc2fd2-6ffb-4531-92ab-bcb2dcf1cdab" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:27 Friday 26 July 2024 13:40:15 -0400 (0:00:00.045) 0:01:41.628 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Set expected pv type] **************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:36 Friday 26 July 2024 13:40:15 -0400 (0:00:00.042) 0:01:41.670 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_test_expected_pv_type": "crypt" }, "changed": false } TASK [Set expected pv type] **************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:41 Friday 26 July 2024 13:40:15 -0400 (0:00:00.026) 0:01:41.696 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:46 Friday 26 July 2024 13:40:15 -0400 (0:00:00.021) 0:01:41.718 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:51 Friday 26 July 2024 13:40:15 -0400 (0:00:00.021) 0:01:41.739 *********** ok: [managed_node1] => (item=/dev/mapper/luks-8abc2fd2-6ffb-4531-92ab-bcb2dcf1cdab) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/mapper/luks-8abc2fd2-6ffb-4531-92ab-bcb2dcf1cdab" } MSG: All assertions passed TASK [Check that blivet supports PV grow to fill] ****************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:64 Friday 26 July 2024 13:40:15 -0400 (0:00:00.031) 0:01:41.770 *********** ok: [managed_node1] => { "changed": false, "rc": 0 } STDOUT: False STDERR: Shared connection to 10.31.15.221 closed. TASK [Verify that PVs fill the whole devices when they should] ***************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:73 Friday 26 July 2024 13:40:15 -0400 (0:00:00.455) 0:01:42.226 *********** skipping: [managed_node1] => (item=/dev/mapper/luks-8abc2fd2-6ffb-4531-92ab-bcb2dcf1cdab) => { "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-8abc2fd2-6ffb-4531-92ab-bcb2dcf1cdab" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [Check MD RAID] *********************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:83 Friday 26 July 2024 13:40:15 -0400 (0:00:00.040) 0:01:42.266 *********** included: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml for managed_node1 TASK [Get information about RAID] ********************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:8 Friday 26 July 2024 13:40:15 -0400 (0:00:00.046) 0:01:42.312 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:14 Friday 26 July 2024 13:40:15 -0400 (0:00:00.021) 0:01:42.334 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:19 Friday 26 July 2024 13:40:15 -0400 (0:00:00.022) 0:01:42.356 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:24 Friday 26 July 2024 13:40:15 -0400 (0:00:00.020) 0:01:42.376 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:29 Friday 26 July 2024 13:40:15 -0400 (0:00:00.020) 0:01:42.397 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:37 Friday 26 July 2024 13:40:15 -0400 (0:00:00.021) 0:01:42.418 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:46 Friday 26 July 2024 13:40:15 -0400 (0:00:00.020) 0:01:42.438 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:55 Friday 26 July 2024 13:40:15 -0400 (0:00:00.020) 0:01:42.458 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:64 Friday 26 July 2024 13:40:15 -0400 (0:00:00.023) 0:01:42.482 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:74 Friday 26 July 2024 13:40:15 -0400 (0:00:00.021) 0:01:42.503 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:83 Friday 26 July 2024 13:40:16 -0400 (0:00:00.020) 0:01:42.524 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:86 Friday 26 July 2024 13:40:16 -0400 (0:00:00.022) 0:01:42.546 *********** included: /tmp/tmp.6PSxNJO0BJ/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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-lvmraid.yml:2 Friday 26 July 2024 13:40:16 -0400 (0:00:00.043) 0:01:42.589 *********** included: /tmp/tmp.6PSxNJO0BJ/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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-lvmraid.yml:8 Friday 26 July 2024 13:40:16 -0400 (0:00:00.042) 0:01:42.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 LV segment type] ***************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-lvmraid.yml:16 Friday 26 July 2024 13:40:16 -0400 (0:00:00.027) 0:01:42.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 segment type] ****************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-lvmraid.yml:20 Friday 26 July 2024 13:40:16 -0400 (0:00:00.026) 0:01:42.686 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-lvmraid.yml:27 Friday 26 July 2024 13:40:16 -0400 (0:00:00.026) 0:01:42.712 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-lvmraid.yml:31 Friday 26 July 2024 13:40:16 -0400 (0:00:00.027) 0:01:42.740 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-lvmraid.yml:37 Friday 26 July 2024 13:40:16 -0400 (0:00:00.026) 0:01:42.767 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-lvmraid.yml:42 Friday 26 July 2024 13:40:16 -0400 (0:00:00.026) 0:01:42.794 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:89 Friday 26 July 2024 13:40:16 -0400 (0:00:00.026) 0:01:42.821 *********** included: /tmp/tmp.6PSxNJO0BJ/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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-thin.yml:2 Friday 26 July 2024 13:40:16 -0400 (0:00:00.045) 0:01:42.866 *********** included: /tmp/tmp.6PSxNJO0BJ/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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-thin.yml:8 Friday 26 July 2024 13:40:16 -0400 (0:00:00.042) 0:01:42.909 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-thin.yml:16 Friday 26 July 2024 13:40:16 -0400 (0:00:00.021) 0:01:42.931 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-thin.yml:22 Friday 26 July 2024 13:40:16 -0400 (0:00:00.021) 0:01:42.952 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-thin.yml:26 Friday 26 July 2024 13:40:16 -0400 (0:00:00.020) 0:01:42.973 *********** ok: [managed_node1] => { "ansible_facts": { "storage_test_thin_status": null }, "changed": false } TASK [Check member encryption] ************************************************* task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:92 Friday 26 July 2024 13:40:16 -0400 (0:00:00.024) 0:01:42.998 *********** included: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-encryption.yml for managed_node1 TASK [Set test variables] ****************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-encryption.yml:5 Friday 26 July 2024 13:40:16 -0400 (0:00:00.074) 0:01:43.072 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-encryption.yml:10 Friday 26 July 2024 13:40:16 -0400 (0:00:00.040) 0:01:43.113 *********** included: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-encryption.yml for managed_node1 => (item=/dev/mapper/luks-8abc2fd2-6ffb-4531-92ab-bcb2dcf1cdab) TASK [Get the backing device path] ********************************************* task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-encryption.yml:2 Friday 26 July 2024 13:40:16 -0400 (0:00:00.043) 0:01:43.157 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "realpath", "/dev/disk/by-uuid/8abc2fd2-6ffb-4531-92ab-bcb2dcf1cdab" ], "delta": "0:00:00.002965", "end": "2024-07-26 13:40:17.012298", "rc": 0, "start": "2024-07-26 13:40:17.009333" } STDOUT: /dev/sda TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-encryption.yml:12 Friday 26 July 2024 13:40:17 -0400 (0:00:00.417) 0:01:43.575 *********** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this member] *************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-encryption.yml:18 Friday 26 July 2024 13:40:19 -0400 (0:00:02.673) 0:01:46.248 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "cryptsetup", "luksDump", "/dev/sda" ], "delta": "0:00:00.017368", "end": "2024-07-26 13:40:20.101626", "rc": 0, "start": "2024-07-26 13:40:20.084258" } STDOUT: LUKS header information Version: 2 Epoch: 3 Metadata area: 16384 [bytes] Keyslots area: 16744448 [bytes] UUID: 8abc2fd2-6ffb-4531-92ab-bcb2dcf1cdab 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: argon2i Time cost: 4 Memory: 796887 Threads: 2 Salt: 4f e6 07 eb 69 e2 f6 9b b9 72 87 f3 4c 53 c8 c0 b2 f5 8d 2e 92 e0 46 ef c5 4d ee 5c d8 2a 60 f0 AF stripes: 4000 AF hash: sha256 Area offset:32768 [bytes] Area length:258048 [bytes] Digest ID: 0 Tokens: Digests: 0: pbkdf2 Hash: sha256 Iterations: 106910 Salt: 0e 02 1b 52 98 af f9 05 2c fa f4 66 56 59 3e 64 ae ac c9 8c bc 16 61 34 e1 9d c7 e8 82 44 ae 17 Digest: 3f 7f 57 98 b1 05 04 4b e0 bc ab 2f 21 71 d4 a9 4f aa 90 d3 81 69 a3 2f 46 d6 87 3e 90 9b 64 7c TASK [Check LUKS version] ****************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-encryption.yml:26 Friday 26 July 2024 13:40:20 -0400 (0:00:00.416) 0:01:46.664 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-encryption.yml:38 Friday 26 July 2024 13:40:20 -0400 (0:00:00.023) 0:01:46.688 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-encryption.yml:50 Friday 26 July 2024 13:40:20 -0400 (0:00:00.022) 0:01:46.710 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-encryption.yml:17 Friday 26 July 2024 13:40:20 -0400 (0:00:00.025) 0:01:46.736 *********** included: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-crypttab.yml for managed_node1 => (item=/dev/mapper/luks-8abc2fd2-6ffb-4531-92ab-bcb2dcf1cdab) TASK [Set variables used by tests] ********************************************* task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-crypttab.yml:2 Friday 26 July 2024 13:40:20 -0400 (0:00:00.045) 0:01:46.781 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_test_crypttab_entries": [ "luks-8abc2fd2-6ffb-4531-92ab-bcb2dcf1cdab /dev/sda VALUE_SPECIFIED_IN_NO_LOG_PARAMETER" ] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-crypttab.yml:6 Friday 26 July 2024 13:40:20 -0400 (0:00:00.047) 0:01:46.829 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-crypttab.yml:14 Friday 26 July 2024 13:40:20 -0400 (0:00:00.043) 0:01:46.872 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-crypttab.yml:23 Friday 26 July 2024 13:40:20 -0400 (0:00:00.044) 0:01:46.917 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-crypttab.yml:32 Friday 26 July 2024 13:40:20 -0400 (0:00:00.041) 0:01:46.958 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Clear test variables] **************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-crypttab.yml:41 Friday 26 July 2024 13:40:20 -0400 (0:00:00.043) 0:01:47.001 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [Clear test variables] **************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-encryption.yml:24 Friday 26 July 2024 13:40:20 -0400 (0:00:00.023) 0:01:47.025 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:95 Friday 26 July 2024 13:40:20 -0400 (0:00:00.023) 0:01:47.048 *********** included: /tmp/tmp.6PSxNJO0BJ/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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-vdo.yml:2 Friday 26 July 2024 13:40:20 -0400 (0:00:00.051) 0:01:47.100 *********** included: /tmp/tmp.6PSxNJO0BJ/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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-vdo.yml:8 Friday 26 July 2024 13:40:20 -0400 (0:00:00.043) 0:01:47.143 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-vdo.yml:15 Friday 26 July 2024 13:40:20 -0400 (0:00:00.022) 0:01:47.166 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-vdo.yml:21 Friday 26 July 2024 13:40:20 -0400 (0:00:00.021) 0:01:47.187 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-vdo.yml:27 Friday 26 July 2024 13:40:20 -0400 (0:00:00.021) 0:01:47.209 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-vdo.yml:34 Friday 26 July 2024 13:40:20 -0400 (0:00:00.022) 0:01:47.231 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-vdo.yml:40 Friday 26 July 2024 13:40:20 -0400 (0:00:00.021) 0:01:47.252 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-vdo.yml:46 Friday 26 July 2024 13:40:20 -0400 (0:00:00.021) 0:01:47.274 *********** ok: [managed_node1] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [Check Stratis] *********************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:98 Friday 26 July 2024 13:40:20 -0400 (0:00:00.023) 0:01:47.298 *********** included: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-stratis.yml for managed_node1 TASK [Run 'stratis report'] **************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-stratis.yml:6 Friday 26 July 2024 13:40:20 -0400 (0:00:00.057) 0:01:47.356 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-stratis.yml:11 Friday 26 July 2024 13:40:20 -0400 (0:00:00.021) 0:01:47.377 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-stratis.yml:15 Friday 26 July 2024 13:40:20 -0400 (0:00:00.020) 0:01:47.398 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-stratis.yml:25 Friday 26 July 2024 13:40:20 -0400 (0:00:00.020) 0:01:47.419 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-stratis.yml:34 Friday 26 July 2024 13:40:20 -0400 (0:00:00.020) 0:01:47.439 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-stratis.yml:44 Friday 26 July 2024 13:40:20 -0400 (0:00:00.020) 0:01:47.459 *********** ok: [managed_node1] => { "ansible_facts": { "storage_test_stratis_report": null }, "changed": false } TASK [Clean up test variables] ************************************************* task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:101 Friday 26 July 2024 13:40:20 -0400 (0:00:00.025) 0:01:47.485 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-volumes.yml:3 Friday 26 July 2024 13:40:21 -0400 (0:00:00.022) 0:01:47.508 *********** included: /tmp/tmp.6PSxNJO0BJ/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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume.yml:2 Friday 26 July 2024 13:40:21 -0400 (0:00:00.037) 0:01:47.545 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume.yml:19 Friday 26 July 2024 13:40:21 -0400 (0:00:00.041) 0:01:47.587 *********** included: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml for managed_node1 => (item=mount) included: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml for managed_node1 => (item=fstab) included: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fs.yml for managed_node1 => (item=fs) included: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml for managed_node1 => (item=device) included: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml for managed_node1 => (item=encryption) included: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml for managed_node1 => (item=md) included: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml for managed_node1 => (item=size) included: /tmp/tmp.6PSxNJO0BJ/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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:7 Friday 26 July 2024 13:40:21 -0400 (0:00:00.131) 0:01:47.718 *********** ok: [managed_node1] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:11 Friday 26 July 2024 13:40:21 -0400 (0:00:00.032) 0:01:47.751 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:19 Friday 26 July 2024 13:40:21 -0400 (0:00:00.043) 0:01:47.795 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:28 Friday 26 July 2024 13:40:21 -0400 (0:00:00.021) 0:01:47.816 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify mount directory user] ********************************************* task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:36 Friday 26 July 2024 13:40:21 -0400 (0:00:00.027) 0:01:47.843 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:42 Friday 26 July 2024 13:40:21 -0400 (0:00:00.023) 0:01:47.866 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:48 Friday 26 July 2024 13:40:21 -0400 (0:00:00.022) 0:01:47.888 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:57 Friday 26 July 2024 13:40:21 -0400 (0:00:00.021) 0:01:47.910 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:63 Friday 26 July 2024 13:40:21 -0400 (0:00:00.021) 0:01:47.931 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:69 Friday 26 July 2024 13:40:21 -0400 (0:00:00.020) 0:01:47.952 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:79 Friday 26 July 2024 13:40:21 -0400 (0:00:00.020) 0:01:47.972 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml:2 Friday 26 July 2024 13:40:21 -0400 (0:00:00.053) 0:01:48.025 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml:17 Friday 26 July 2024 13:40:21 -0400 (0:00:00.063) 0:01:48.089 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml:24 Friday 26 July 2024 13:40:21 -0400 (0:00:00.043) 0:01:48.133 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml:33 Friday 26 July 2024 13:40:21 -0400 (0:00:00.043) 0:01:48.176 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml:45 Friday 26 July 2024 13:40:21 -0400 (0:00:00.036) 0:01:48.213 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Clean up variables] ****************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml:51 Friday 26 July 2024 13:40:21 -0400 (0:00:00.027) 0:01:48.240 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fs.yml:6 Friday 26 July 2024 13:40:21 -0400 (0:00:00.025) 0:01:48.265 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fs.yml:14 Friday 26 July 2024 13:40:21 -0400 (0:00:00.045) 0:01:48.310 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:3 Friday 26 July 2024 13:40:21 -0400 (0:00:00.045) 0:01:48.356 *********** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722015606.8987987, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1722015606.8987987, "dev": 6, "device_type": 64769, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 61989, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1722015606.8987987, "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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:9 Friday 26 July 2024 13:40:22 -0400 (0:00:00.409) 0:01:48.766 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:16 Friday 26 July 2024 13:40:22 -0400 (0:00:00.029) 0:01:48.795 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:23 Friday 26 July 2024 13:40:22 -0400 (0:00:00.022) 0:01:48.818 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Process volume type (set initial value) (1/2)] *************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:29 Friday 26 July 2024 13:40:22 -0400 (0:00:00.031) 0:01:48.850 *********** ok: [managed_node1] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [Process volume type (get RAID value) (2/2)] ****************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:33 Friday 26 July 2024 13:40:22 -0400 (0:00:00.027) 0:01:48.877 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:38 Friday 26 July 2024 13:40:22 -0400 (0:00:00.022) 0:01:48.900 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:3 Friday 26 July 2024 13:40:22 -0400 (0:00:00.029) 0:01:48.929 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:10 Friday 26 July 2024 13:40:22 -0400 (0:00:00.021) 0:01:48.951 *********** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:16 Friday 26 July 2024 13:40:25 -0400 (0:00:02.646) 0:01:51.597 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:22 Friday 26 July 2024 13:40:25 -0400 (0:00:00.024) 0:01:51.622 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:29 Friday 26 July 2024 13:40:25 -0400 (0:00:00.022) 0:01:51.644 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:40 Friday 26 July 2024 13:40:25 -0400 (0:00:00.045) 0:01:51.690 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:46 Friday 26 July 2024 13:40:25 -0400 (0:00:00.021) 0:01:51.711 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:51 Friday 26 July 2024 13:40:25 -0400 (0:00:00.021) 0:01:51.733 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:63 Friday 26 July 2024 13:40:25 -0400 (0:00:00.021) 0:01:51.755 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:75 Friday 26 July 2024 13:40:25 -0400 (0:00:00.024) 0:01:51.779 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:87 Friday 26 July 2024 13:40:25 -0400 (0:00:00.022) 0:01:51.802 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:93 Friday 26 July 2024 13:40:25 -0400 (0:00:00.050) 0:01:51.852 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:100 Friday 26 July 2024 13:40:25 -0400 (0:00:00.043) 0:01:51.896 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:108 Friday 26 July 2024 13:40:25 -0400 (0:00:00.037) 0:01:51.933 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:116 Friday 26 July 2024 13:40:25 -0400 (0:00:00.036) 0:01:51.970 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:124 Friday 26 July 2024 13:40:25 -0400 (0:00:00.039) 0:01:52.010 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:8 Friday 26 July 2024 13:40:25 -0400 (0:00:00.024) 0:01:52.034 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:14 Friday 26 July 2024 13:40:25 -0400 (0:00:00.021) 0:01:52.056 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:19 Friday 26 July 2024 13:40:25 -0400 (0:00:00.021) 0:01:52.078 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:24 Friday 26 July 2024 13:40:25 -0400 (0:00:00.021) 0:01:52.099 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:29 Friday 26 July 2024 13:40:25 -0400 (0:00:00.022) 0:01:52.122 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:37 Friday 26 July 2024 13:40:25 -0400 (0:00:00.024) 0:01:52.146 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:46 Friday 26 July 2024 13:40:25 -0400 (0:00:00.021) 0:01:52.167 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:54 Friday 26 July 2024 13:40:25 -0400 (0:00:00.022) 0:01:52.189 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:62 Friday 26 July 2024 13:40:25 -0400 (0:00:00.022) 0:01:52.212 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:70 Friday 26 July 2024 13:40:25 -0400 (0:00:00.022) 0:01:52.235 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:3 Friday 26 July 2024 13:40:25 -0400 (0:00:00.022) 0:01:52.257 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:11 Friday 26 July 2024 13:40:26 -0400 (0:00:00.518) 0:01:52.776 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:20 Friday 26 July 2024 13:40:26 -0400 (0:00:00.415) 0:01:53.191 *********** ok: [managed_node1] => { "ansible_facts": { "storage_test_expected_size": "4294967296" }, "changed": false } TASK [Show expected size] ****************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:28 Friday 26 July 2024 13:40:26 -0400 (0:00:00.043) 0:01:53.235 *********** ok: [managed_node1] => { "storage_test_expected_size": "4294967296" } TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:32 Friday 26 July 2024 13:40:26 -0400 (0:00:00.026) 0:01:53.261 *********** ok: [managed_node1] => { "bytes": 10715943403, "changed": false, "lvm": "9g", "parted": "9GiB", "size": "9 GiB" } TASK [Show test pool] ********************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:46 Friday 26 July 2024 13:40:27 -0400 (0:00:00.413) 0:01:53.675 *********** skipping: [managed_node1] => { "false_condition": "'%' in storage_test_volume.size | string" } TASK [Show test blockinfo] ***************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:50 Friday 26 July 2024 13:40:27 -0400 (0:00:00.039) 0:01:53.714 *********** skipping: [managed_node1] => { "false_condition": "'%' in storage_test_volume.size | string" } TASK [Show test pool size] ***************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:54 Friday 26 July 2024 13:40:27 -0400 (0:00:00.041) 0:01:53.755 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:58 Friday 26 July 2024 13:40:27 -0400 (0:00:00.040) 0:01:53.796 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:67 Friday 26 July 2024 13:40:27 -0400 (0:00:00.040) 0:01:53.837 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:71 Friday 26 July 2024 13:40:27 -0400 (0:00:00.022) 0:01:53.859 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:76 Friday 26 July 2024 13:40:27 -0400 (0:00:00.022) 0:01:53.881 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:82 Friday 26 July 2024 13:40:27 -0400 (0:00:00.022) 0:01:53.903 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:86 Friday 26 July 2024 13:40:27 -0400 (0:00:00.024) 0:01:53.928 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:91 Friday 26 July 2024 13:40:27 -0400 (0:00:00.022) 0:01:53.950 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:96 Friday 26 July 2024 13:40:27 -0400 (0:00:00.022) 0:01:53.972 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:101 Friday 26 July 2024 13:40:27 -0400 (0:00:00.021) 0:01:53.994 *********** skipping: [managed_node1] => { "false_condition": "storage_test_volume.thin" } TASK [Show volume thin pool size] ********************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:105 Friday 26 July 2024 13:40:27 -0400 (0:00:00.021) 0:01:54.016 *********** skipping: [managed_node1] => { "false_condition": "storage_test_volume.thin" } TASK [Show test volume size] *************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:109 Friday 26 July 2024 13:40:27 -0400 (0:00:00.022) 0:01:54.038 *********** skipping: [managed_node1] => { "false_condition": "storage_test_volume.thin" } TASK [Establish base value for expected thin pool size] ************************ task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:113 Friday 26 July 2024 13:40:27 -0400 (0:00:00.025) 0:01:54.064 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:120 Friday 26 July 2024 13:40:27 -0400 (0:00:00.022) 0:01:54.086 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:127 Friday 26 July 2024 13:40:27 -0400 (0:00:00.022) 0:01:54.109 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:131 Friday 26 July 2024 13:40:27 -0400 (0:00:00.022) 0:01:54.131 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:137 Friday 26 July 2024 13:40:27 -0400 (0:00:00.022) 0:01:54.154 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:143 Friday 26 July 2024 13:40:27 -0400 (0:00:00.021) 0:01:54.176 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:147 Friday 26 July 2024 13:40:27 -0400 (0:00:00.029) 0:01:54.205 *********** ok: [managed_node1] => { "storage_test_expected_size": "4294967296" } TASK [Assert expected size is actual size] ************************************* task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:151 Friday 26 July 2024 13:40:27 -0400 (0:00:00.055) 0:01:54.261 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:5 Friday 26 July 2024 13:40:27 -0400 (0:00:00.047) 0:01:54.308 *********** 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.033913", "end": "2024-07-26 13:40:28.182250", "rc": 0, "start": "2024-07-26 13:40:28.148337" } 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:13 Friday 26 July 2024 13:40:28 -0400 (0:00:00.437) 0:01:54.745 *********** ok: [managed_node1] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [Check segment type] ****************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:17 Friday 26 July 2024 13:40:28 -0400 (0:00:00.042) 0:01:54.788 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Set LV cache size] ******************************************************* task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:24 Friday 26 July 2024 13:40:28 -0400 (0:00:00.043) 0:01:54.831 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:31 Friday 26 July 2024 13:40:28 -0400 (0:00:00.037) 0:01:54.868 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:37 Friday 26 July 2024 13:40:28 -0400 (0:00:00.043) 0:01:54.912 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:42 Friday 26 July 2024 13:40:28 -0400 (0:00:00.037) 0:01:54.949 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume.yml:25 Friday 26 July 2024 13:40:28 -0400 (0:00:00.036) 0:01:54.986 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:44 Friday 26 July 2024 13:40:28 -0400 (0:00:00.024) 0:01:55.011 *********** skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:54 Friday 26 July 2024 13:40:28 -0400 (0:00:00.020) 0:01:55.031 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/tests_luks_pool.yml:134 Friday 26 July 2024 13:40:28 -0400 (0:00:00.024) 0:01:55.056 *********** ok: [managed_node1] => { "changed": false, "path": "/tmp/storage_testr0rzz1omlukskey", "state": "absent" } TASK [Create a file] *********************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/create-test-file.yml:12 Friday 26 July 2024 13:40:29 -0400 (0:00:00.527) 0:01:55.583 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/tests_luks_pool.yml:143 Friday 26 July 2024 13:40:29 -0400 (0:00:00.410) 0:01:55.994 *********** included: /tmp/tmp.6PSxNJO0BJ/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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:4 Friday 26 July 2024 13:40:29 -0400 (0:00:00.035) 0:01:56.029 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:10 Friday 26 July 2024 13:40:29 -0400 (0:00:00.043) 0:01:56.072 *********** TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Friday 26 July 2024 13:40:29 -0400 (0:00:00.038) 0:01:56.110 *********** included: /tmp/tmp.6PSxNJO0BJ/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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Friday 26 July 2024 13:40:29 -0400 (0:00:00.033) 0:01:56.144 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Friday 26 July 2024 13:40:29 -0400 (0:00:00.041) 0:01:56.185 *********** 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_8.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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [managed_node1] => (item=CentOS_8.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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [fedora.linux_system_roles.storage : Check if system is ostree] *********** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:25 Friday 26 July 2024 13:40:29 -0400 (0:00:00.059) 0:01:56.245 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:30 Friday 26 July 2024 13:40:29 -0400 (0:00:00.027) 0:01:56.273 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Friday 26 July 2024 13:40:29 -0400 (0:00:00.027) 0:01:56.300 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Friday 26 July 2024 13:40:29 -0400 (0:00:00.024) 0:01:56.325 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Friday 26 July 2024 13:40:29 -0400 (0:00:00.024) 0:01:56.349 *********** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmp.6PSxNJO0BJ/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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Friday 26 July 2024 13:40:29 -0400 (0:00:00.060) 0:01:56.409 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:9 Friday 26 July 2024 13:40:29 -0400 (0:00:00.029) 0:01:56.438 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:14 Friday 26 July 2024 13:40:29 -0400 (0:00:00.030) 0:01:56.469 *********** ok: [managed_node1] => { "storage_volumes": [] } TASK [fedora.linux_system_roles.storage : Get required packages] *************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:19 Friday 26 July 2024 13:40:29 -0400 (0:00:00.029) 0:01:56.498 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:31 Friday 26 July 2024 13:40:30 -0400 (0:00:00.028) 0:01:56.527 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:37 Friday 26 July 2024 13:40:30 -0400 (0:00:00.031) 0:01:56.558 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:51 Friday 26 July 2024 13:40:30 -0400 (0:00:00.029) 0:01:56.588 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:57 Friday 26 July 2024 13:40:30 -0400 (0:00:00.029) 0:01:56.617 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:63 Friday 26 July 2024 13:40:30 -0400 (0:00:00.056) 0:01:56.674 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:69 Friday 26 July 2024 13:40:30 -0400 (0:00:00.020) 0:01:56.694 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:109 Friday 26 July 2024 13:40:34 -0400 (0:00:04.393) 0:02:01.088 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:113 Friday 26 July 2024 13:40:34 -0400 (0:00:00.032) 0:02:01.121 *********** skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Check that we failed in the role] **************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:23 Friday 26 July 2024 13:40:34 -0400 (0:00:00.019) 0:02:01.140 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the blivet output and error message are correct] ****************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:28 Friday 26 July 2024 13:40:34 -0400 (0:00:00.026) 0:02:01.167 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify correct exception or error message] ******************************* task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:39 Friday 26 July 2024 13:40:34 -0400 (0:00:00.035) 0:02:01.202 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-data-preservation.yml:11 Friday 26 July 2024 13:40:34 -0400 (0:00:00.026) 0:02:01.228 *********** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722015629.4312787, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1722015629.4312787, "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": 1722015629.4312787, "nlink": 1, "path": "/opt/test1/quux", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "version": "1318679809", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Assert file presence] **************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-data-preservation.yml:16 Friday 26 July 2024 13:40:35 -0400 (0:00:00.407) 0:02:01.636 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Remove the encryption layer] ********************************************* task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/tests_luks_pool.yml:165 Friday 26 July 2024 13:40:35 -0400 (0:00:00.032) 0:02:01.669 *********** TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Friday 26 July 2024 13:40:35 -0400 (0:00:00.044) 0:02:01.713 *********** included: /tmp/tmp.6PSxNJO0BJ/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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Friday 26 July 2024 13:40:35 -0400 (0:00:00.033) 0:02:01.747 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Friday 26 July 2024 13:40:35 -0400 (0:00:00.040) 0:02:01.788 *********** 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_8.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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [managed_node1] => (item=CentOS_8.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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [fedora.linux_system_roles.storage : Check if system is ostree] *********** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:25 Friday 26 July 2024 13:40:35 -0400 (0:00:00.057) 0:02:01.845 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:30 Friday 26 July 2024 13:40:35 -0400 (0:00:00.027) 0:02:01.873 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Friday 26 July 2024 13:40:35 -0400 (0:00:00.027) 0:02:01.900 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Friday 26 July 2024 13:40:35 -0400 (0:00:00.023) 0:02:01.923 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Friday 26 July 2024 13:40:35 -0400 (0:00:00.026) 0:02:01.950 *********** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmp.6PSxNJO0BJ/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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Friday 26 July 2024 13:40:35 -0400 (0:00:00.054) 0:02:02.005 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:9 Friday 26 July 2024 13:40:35 -0400 (0:00:00.028) 0:02:02.034 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:14 Friday 26 July 2024 13:40:35 -0400 (0:00:00.029) 0:02:02.063 *********** ok: [managed_node1] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined. 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : Get required packages] *************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:19 Friday 26 July 2024 13:40:35 -0400 (0:00:00.056) 0:02:02.120 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:31 Friday 26 July 2024 13:40:35 -0400 (0:00:00.029) 0:02:02.149 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:37 Friday 26 July 2024 13:40:35 -0400 (0:00:00.028) 0:02:02.178 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:51 Friday 26 July 2024 13:40:35 -0400 (0:00:00.028) 0:02:02.206 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:57 Friday 26 July 2024 13:40:35 -0400 (0:00:00.028) 0:02:02.234 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:63 Friday 26 July 2024 13:40:35 -0400 (0:00:00.055) 0:02:02.290 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:69 Friday 26 July 2024 13:40:35 -0400 (0:00:00.023) 0:02:02.313 *********** 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-8abc2fd2-6ffb-4531-92ab-bcb2dcf1cdab", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/mapper/luks-8abc2fd2-6ffb-4531-92ab-bcb2dcf1cdab", "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-8abc2fd2-6ffb-4531-92ab-bcb2dcf1cdab", "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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:83 Friday 26 July 2024 13:40:41 -0400 (0:00:05.667) 0:02:07.981 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Friday 26 July 2024 13:40:41 -0400 (0:00:00.038) 0:02:08.019 *********** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722015609.6467354, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a1522684f5b6a445a50f2611a4e0757a4aec1cf1", "ctime": 1722015609.6437354, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 304087257, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722015609.6437354, "nlink": 1, "path": "/etc/fstab", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 1393, "uid": 0, "version": "1907617355", "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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:95 Friday 26 July 2024 13:40:41 -0400 (0:00:00.417) 0:02:08.437 *********** ok: [managed_node1] => { "backup": "", "changed": false } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:113 Friday 26 July 2024 13:40:42 -0400 (0:00:00.408) 0:02:08.846 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:119 Friday 26 July 2024 13:40:42 -0400 (0:00:00.019) 0:02:08.866 *********** 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-8abc2fd2-6ffb-4531-92ab-bcb2dcf1cdab", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/mapper/luks-8abc2fd2-6ffb-4531-92ab-bcb2dcf1cdab", "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-8abc2fd2-6ffb-4531-92ab-bcb2dcf1cdab", "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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:128 Friday 26 July 2024 13:40:42 -0400 (0:00:00.038) 0:02:08.904 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Friday 26 July 2024 13:40:42 -0400 (0:00:00.029) 0:02:08.934 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Remove obsolete mounts] ************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Friday 26 July 2024 13:40:42 -0400 (0:00:00.027) 0:02:08.962 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:159 Friday 26 July 2024 13:40:42 -0400 (0:00:00.432) 0:02:09.394 *********** ok: [managed_node1] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : Set up new/current mounts] *********** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:164 Friday 26 July 2024 13:40:43 -0400 (0:00:00.698) 0:02:10.093 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:175 Friday 26 July 2024 13:40:44 -0400 (0:00:00.446) 0:02:10.539 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:187 Friday 26 July 2024 13:40:44 -0400 (0:00:00.056) 0:02:10.596 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:195 Friday 26 July 2024 13:40:44 -0400 (0:00:00.700) 0:02:11.296 *********** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722015613.8276389, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a5074a1af2eaed4c137e1719c7412dbefd552edc", "ctime": 1722015611.2376986, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 327155847, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722015611.2366986, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 87, "uid": 0, "version": "963534317", "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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:200 Friday 26 July 2024 13:40:45 -0400 (0:00:00.407) 0:02:11.704 *********** changed: [managed_node1] => (item={'backing_device': '/dev/sda', 'name': 'luks-8abc2fd2-6ffb-4531-92ab-bcb2dcf1cdab', 'password': '-', 'state': 'absent'}) => { "ansible_loop_var": "entry", "backup": "", "changed": true, "entry": { "backing_device": "/dev/sda", "name": "luks-8abc2fd2-6ffb-4531-92ab-bcb2dcf1cdab", "password": "-", "state": "absent" }, "found": 1 } MSG: 1 line(s) removed TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:222 Friday 26 July 2024 13:40:45 -0400 (0:00:00.431) 0:02:12.135 *********** ok: [managed_node1] TASK [Verify role results] ***************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/tests_luks_pool.yml:181 Friday 26 July 2024 13:40:46 -0400 (0:00:00.975) 0:02:13.111 *********** included: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml for managed_node1 TASK [Print out pool information] ********************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:2 Friday 26 July 2024 13:40:46 -0400 (0:00:00.041) 0:02:13.152 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:7 Friday 26 July 2024 13:40:46 -0400 (0:00:00.045) 0:02:13.198 *********** skipping: [managed_node1] => { "false_condition": "_storage_volumes_list | length > 0" } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:15 Friday 26 July 2024 13:40:46 -0400 (0:00:00.036) 0:02:13.235 *********** 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": "17ee381b-e8d3-4304-ac53-f666f1e80acb" }, "/dev/sda": { "fstype": "LVM2_member", "label": "", "mountpoint": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "C70wgj-Z43T-I4hF-cCWe-IuFJ-0iXG-u0Uyba" }, "/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": "fe591198-9082-4b15-9b62-e83518524cd2" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:20 Friday 26 July 2024 13:40:47 -0400 (0:00:00.411) 0:02:13.647 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003017", "end": "2024-07-26 13:40:47.479004", "rc": 0, "start": "2024-07-26 13:40:47.475987" } STDOUT: # system_role:storage # # /etc/fstab # Created by anaconda on Wed May 29 07:43:06 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=fe591198-9082-4b15-9b62-e83518524cd2 / xfs defaults 0 0 ntap-bos-c01-eng01-nfs01b.storage.bos.redhat.com:/devops_engineering_nfs/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-bos-c01-eng01-nfs01b.storage.bos.redhat.com:/devops_engineering_nfs/devarchive/redhat/brewroot /mnt/brew nfs ro,rsize=32768,wsize=8192,bg,noauto,noatime,nosuid,nodev,intr 0 0 ntap-bos-c01-eng01-nfs01b.storage.bos.redhat.com:/devops_brew_scratch_nfs/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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:25 Friday 26 July 2024 13:40:47 -0400 (0:00:00.394) 0:02:14.041 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002992", "end": "2024-07-26 13:40:47.876667", "failed_when_result": false, "rc": 0, "start": "2024-07-26 13:40:47.873675" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:34 Friday 26 July 2024 13:40:47 -0400 (0:00:00.397) 0:02:14.439 *********** included: /tmp/tmp.6PSxNJO0BJ/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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool.yml:5 Friday 26 July 2024 13:40:47 -0400 (0:00:00.062) 0:02:14.501 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [Get VG shared value status] ********************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool.yml:18 Friday 26 July 2024 13:40:48 -0400 (0:00:00.024) 0:02:14.526 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "vgs", "--noheadings", "--binary", "-o", "shared", "foo" ], "delta": "0:00:00.024375", "end": "2024-07-26 13:40:48.387354", "rc": 0, "start": "2024-07-26 13:40:48.362979" } STDOUT: 0 TASK [Verify that VG shared value checks out] ********************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool.yml:24 Friday 26 July 2024 13:40:48 -0400 (0:00:00.426) 0:02:14.953 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify pool subset] ****************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool.yml:34 Friday 26 July 2024 13:40:48 -0400 (0:00:00.031) 0:02:14.985 *********** included: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml for managed_node1 => (item=members) included: /tmp/tmp.6PSxNJO0BJ/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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:2 Friday 26 July 2024 13:40:48 -0400 (0:00:00.050) 0:02:15.035 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:8 Friday 26 July 2024 13:40:48 -0400 (0:00:00.052) 0:02:15.087 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:17 Friday 26 July 2024 13:40:48 -0400 (0:00:00.403) 0:02:15.490 *********** ok: [managed_node1] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [Set pool pvs] ************************************************************ task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:22 Friday 26 July 2024 13:40:49 -0400 (0:00:00.042) 0:02:15.533 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:27 Friday 26 July 2024 13:40:49 -0400 (0:00:00.045) 0:02:15.579 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Set expected pv type] **************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:36 Friday 26 July 2024 13:40:49 -0400 (0:00:00.044) 0:02:15.623 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [Set expected pv type] **************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:41 Friday 26 July 2024 13:40:49 -0400 (0:00:00.028) 0:02:15.652 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [Set expected pv type] **************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:46 Friday 26 July 2024 13:40:49 -0400 (0:00:00.042) 0:02:15.695 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:51 Friday 26 July 2024 13:40:49 -0400 (0:00:00.024) 0:02:15.719 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:64 Friday 26 July 2024 13:40:49 -0400 (0:00:00.033) 0:02:15.753 *********** ok: [managed_node1] => { "changed": false, "rc": 0 } STDOUT: False STDERR: Shared connection to 10.31.15.221 closed. TASK [Verify that PVs fill the whole devices when they should] ***************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:73 Friday 26 July 2024 13:40:49 -0400 (0:00:00.455) 0:02:16.209 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:83 Friday 26 July 2024 13:40:49 -0400 (0:00:00.042) 0:02:16.251 *********** included: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml for managed_node1 TASK [Get information about RAID] ********************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:8 Friday 26 July 2024 13:40:49 -0400 (0:00:00.048) 0:02:16.300 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:14 Friday 26 July 2024 13:40:49 -0400 (0:00:00.023) 0:02:16.323 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:19 Friday 26 July 2024 13:40:49 -0400 (0:00:00.022) 0:02:16.346 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:24 Friday 26 July 2024 13:40:49 -0400 (0:00:00.022) 0:02:16.369 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:29 Friday 26 July 2024 13:40:49 -0400 (0:00:00.022) 0:02:16.391 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:37 Friday 26 July 2024 13:40:49 -0400 (0:00:00.023) 0:02:16.415 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:46 Friday 26 July 2024 13:40:49 -0400 (0:00:00.025) 0:02:16.440 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:55 Friday 26 July 2024 13:40:49 -0400 (0:00:00.023) 0:02:16.463 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:64 Friday 26 July 2024 13:40:49 -0400 (0:00:00.023) 0:02:16.487 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:74 Friday 26 July 2024 13:40:50 -0400 (0:00:00.022) 0:02:16.509 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:83 Friday 26 July 2024 13:40:50 -0400 (0:00:00.021) 0:02:16.531 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:86 Friday 26 July 2024 13:40:50 -0400 (0:00:00.024) 0:02:16.556 *********** included: /tmp/tmp.6PSxNJO0BJ/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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-lvmraid.yml:2 Friday 26 July 2024 13:40:50 -0400 (0:00:00.078) 0:02:16.635 *********** included: /tmp/tmp.6PSxNJO0BJ/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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-lvmraid.yml:8 Friday 26 July 2024 13:40:50 -0400 (0:00:00.044) 0:02:16.680 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-lvmraid.yml:16 Friday 26 July 2024 13:40:50 -0400 (0:00:00.028) 0:02:16.708 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-lvmraid.yml:20 Friday 26 July 2024 13:40:50 -0400 (0:00:00.029) 0:02:16.738 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-lvmraid.yml:27 Friday 26 July 2024 13:40:50 -0400 (0:00:00.028) 0:02:16.766 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-lvmraid.yml:31 Friday 26 July 2024 13:40:50 -0400 (0:00:00.028) 0:02:16.795 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-lvmraid.yml:37 Friday 26 July 2024 13:40:50 -0400 (0:00:00.028) 0:02:16.823 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-lvmraid.yml:42 Friday 26 July 2024 13:40:50 -0400 (0:00:00.027) 0:02:16.850 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:89 Friday 26 July 2024 13:40:50 -0400 (0:00:00.028) 0:02:16.879 *********** included: /tmp/tmp.6PSxNJO0BJ/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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-thin.yml:2 Friday 26 July 2024 13:40:50 -0400 (0:00:00.048) 0:02:16.928 *********** included: /tmp/tmp.6PSxNJO0BJ/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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-thin.yml:8 Friday 26 July 2024 13:40:50 -0400 (0:00:00.042) 0:02:16.970 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-thin.yml:16 Friday 26 July 2024 13:40:50 -0400 (0:00:00.022) 0:02:16.993 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-thin.yml:22 Friday 26 July 2024 13:40:50 -0400 (0:00:00.023) 0:02:17.016 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-thin.yml:26 Friday 26 July 2024 13:40:50 -0400 (0:00:00.022) 0:02:17.039 *********** ok: [managed_node1] => { "ansible_facts": { "storage_test_thin_status": null }, "changed": false } TASK [Check member encryption] ************************************************* task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:92 Friday 26 July 2024 13:40:50 -0400 (0:00:00.023) 0:02:17.062 *********** included: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-encryption.yml for managed_node1 TASK [Set test variables] ****************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-encryption.yml:5 Friday 26 July 2024 13:40:50 -0400 (0:00:00.048) 0:02:17.111 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-encryption.yml:10 Friday 26 July 2024 13:40:50 -0400 (0:00:00.042) 0:02:17.153 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-encryption.yml:17 Friday 26 July 2024 13:40:50 -0400 (0:00:00.027) 0:02:17.181 *********** included: /tmp/tmp.6PSxNJO0BJ/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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-crypttab.yml:2 Friday 26 July 2024 13:40:50 -0400 (0:00:00.041) 0:02:17.222 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-crypttab.yml:6 Friday 26 July 2024 13:40:50 -0400 (0:00:00.045) 0:02:17.268 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-crypttab.yml:14 Friday 26 July 2024 13:40:50 -0400 (0:00:00.044) 0:02:17.313 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-crypttab.yml:23 Friday 26 July 2024 13:40:50 -0400 (0:00:00.040) 0:02:17.353 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-crypttab.yml:32 Friday 26 July 2024 13:40:50 -0400 (0:00:00.037) 0:02:17.391 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-crypttab.yml:41 Friday 26 July 2024 13:40:50 -0400 (0:00:00.037) 0:02:17.428 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [Clear test variables] **************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-encryption.yml:24 Friday 26 July 2024 13:40:50 -0400 (0:00:00.024) 0:02:17.453 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:95 Friday 26 July 2024 13:40:50 -0400 (0:00:00.024) 0:02:17.477 *********** included: /tmp/tmp.6PSxNJO0BJ/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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-vdo.yml:2 Friday 26 July 2024 13:40:51 -0400 (0:00:00.051) 0:02:17.529 *********** included: /tmp/tmp.6PSxNJO0BJ/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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-vdo.yml:8 Friday 26 July 2024 13:40:51 -0400 (0:00:00.044) 0:02:17.574 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-vdo.yml:15 Friday 26 July 2024 13:40:51 -0400 (0:00:00.023) 0:02:17.597 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-vdo.yml:21 Friday 26 July 2024 13:40:51 -0400 (0:00:00.023) 0:02:17.620 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-vdo.yml:27 Friday 26 July 2024 13:40:51 -0400 (0:00:00.025) 0:02:17.646 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-vdo.yml:34 Friday 26 July 2024 13:40:51 -0400 (0:00:00.023) 0:02:17.669 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-vdo.yml:40 Friday 26 July 2024 13:40:51 -0400 (0:00:00.022) 0:02:17.692 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-vdo.yml:46 Friday 26 July 2024 13:40:51 -0400 (0:00:00.022) 0:02:17.714 *********** ok: [managed_node1] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [Check Stratis] *********************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:98 Friday 26 July 2024 13:40:51 -0400 (0:00:00.024) 0:02:17.738 *********** included: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-stratis.yml for managed_node1 TASK [Run 'stratis report'] **************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-stratis.yml:6 Friday 26 July 2024 13:40:51 -0400 (0:00:00.057) 0:02:17.796 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-stratis.yml:11 Friday 26 July 2024 13:40:51 -0400 (0:00:00.022) 0:02:17.819 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-stratis.yml:15 Friday 26 July 2024 13:40:51 -0400 (0:00:00.022) 0:02:17.841 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-stratis.yml:25 Friday 26 July 2024 13:40:51 -0400 (0:00:00.021) 0:02:17.863 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-stratis.yml:34 Friday 26 July 2024 13:40:51 -0400 (0:00:00.021) 0:02:17.884 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-stratis.yml:44 Friday 26 July 2024 13:40:51 -0400 (0:00:00.021) 0:02:17.906 *********** ok: [managed_node1] => { "ansible_facts": { "storage_test_stratis_report": null }, "changed": false } TASK [Clean up test variables] ************************************************* task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:101 Friday 26 July 2024 13:40:51 -0400 (0:00:00.026) 0:02:17.933 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-volumes.yml:3 Friday 26 July 2024 13:40:51 -0400 (0:00:00.024) 0:02:17.958 *********** included: /tmp/tmp.6PSxNJO0BJ/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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume.yml:2 Friday 26 July 2024 13:40:51 -0400 (0:00:00.038) 0:02:17.996 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume.yml:19 Friday 26 July 2024 13:40:51 -0400 (0:00:00.044) 0:02:18.040 *********** included: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml for managed_node1 => (item=mount) included: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml for managed_node1 => (item=fstab) included: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fs.yml for managed_node1 => (item=fs) included: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml for managed_node1 => (item=device) included: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml for managed_node1 => (item=encryption) included: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml for managed_node1 => (item=md) included: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml for managed_node1 => (item=size) included: /tmp/tmp.6PSxNJO0BJ/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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:7 Friday 26 July 2024 13:40:51 -0400 (0:00:00.127) 0:02:18.167 *********** ok: [managed_node1] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:11 Friday 26 July 2024 13:40:51 -0400 (0:00:00.035) 0:02:18.203 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:19 Friday 26 July 2024 13:40:51 -0400 (0:00:00.122) 0:02:18.326 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:28 Friday 26 July 2024 13:40:51 -0400 (0:00:00.023) 0:02:18.350 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify mount directory user] ********************************************* task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:36 Friday 26 July 2024 13:40:51 -0400 (0:00:00.029) 0:02:18.380 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:42 Friday 26 July 2024 13:40:51 -0400 (0:00:00.023) 0:02:18.403 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:48 Friday 26 July 2024 13:40:51 -0400 (0:00:00.023) 0:02:18.426 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:57 Friday 26 July 2024 13:40:51 -0400 (0:00:00.022) 0:02:18.449 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:63 Friday 26 July 2024 13:40:51 -0400 (0:00:00.024) 0:02:18.473 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:69 Friday 26 July 2024 13:40:51 -0400 (0:00:00.022) 0:02:18.496 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:79 Friday 26 July 2024 13:40:52 -0400 (0:00:00.022) 0:02:18.518 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml:2 Friday 26 July 2024 13:40:52 -0400 (0:00:00.024) 0:02:18.543 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml:17 Friday 26 July 2024 13:40:52 -0400 (0:00:00.065) 0:02:18.608 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml:24 Friday 26 July 2024 13:40:52 -0400 (0:00:00.044) 0:02:18.653 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml:33 Friday 26 July 2024 13:40:52 -0400 (0:00:00.050) 0:02:18.703 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml:45 Friday 26 July 2024 13:40:52 -0400 (0:00:00.038) 0:02:18.742 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Clean up variables] ****************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml:51 Friday 26 July 2024 13:40:52 -0400 (0:00:00.027) 0:02:18.770 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fs.yml:6 Friday 26 July 2024 13:40:52 -0400 (0:00:00.025) 0:02:18.795 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fs.yml:14 Friday 26 July 2024 13:40:52 -0400 (0:00:00.046) 0:02:18.842 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:3 Friday 26 July 2024 13:40:52 -0400 (0:00:00.045) 0:02:18.888 *********** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722015641.3570063, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1722015641.3570063, "dev": 6, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 73268, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1722015641.3570063, "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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:9 Friday 26 July 2024 13:40:52 -0400 (0:00:00.408) 0:02:19.297 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:16 Friday 26 July 2024 13:40:52 -0400 (0:00:00.030) 0:02:19.328 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:23 Friday 26 July 2024 13:40:52 -0400 (0:00:00.024) 0:02:19.352 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Process volume type (set initial value) (1/2)] *************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:29 Friday 26 July 2024 13:40:52 -0400 (0:00:00.029) 0:02:19.382 *********** ok: [managed_node1] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [Process volume type (get RAID value) (2/2)] ****************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:33 Friday 26 July 2024 13:40:52 -0400 (0:00:00.026) 0:02:19.409 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:38 Friday 26 July 2024 13:40:52 -0400 (0:00:00.022) 0:02:19.431 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:3 Friday 26 July 2024 13:40:52 -0400 (0:00:00.031) 0:02:19.463 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:10 Friday 26 July 2024 13:40:52 -0400 (0:00:00.022) 0:02:19.486 *********** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:16 Friday 26 July 2024 13:40:55 -0400 (0:00:02.670) 0:02:22.156 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:22 Friday 26 July 2024 13:40:55 -0400 (0:00:00.022) 0:02:22.178 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:29 Friday 26 July 2024 13:40:55 -0400 (0:00:00.021) 0:02:22.199 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:40 Friday 26 July 2024 13:40:55 -0400 (0:00:00.044) 0:02:22.243 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:46 Friday 26 July 2024 13:40:55 -0400 (0:00:00.024) 0:02:22.268 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:51 Friday 26 July 2024 13:40:55 -0400 (0:00:00.023) 0:02:22.291 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:63 Friday 26 July 2024 13:40:55 -0400 (0:00:00.023) 0:02:22.314 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:75 Friday 26 July 2024 13:40:55 -0400 (0:00:00.022) 0:02:22.337 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:87 Friday 26 July 2024 13:40:55 -0400 (0:00:00.022) 0:02:22.359 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:93 Friday 26 July 2024 13:40:55 -0400 (0:00:00.045) 0:02:22.405 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:100 Friday 26 July 2024 13:40:55 -0400 (0:00:00.050) 0:02:22.455 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:108 Friday 26 July 2024 13:40:55 -0400 (0:00:00.037) 0:02:22.493 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:116 Friday 26 July 2024 13:40:56 -0400 (0:00:00.038) 0:02:22.531 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:124 Friday 26 July 2024 13:40:56 -0400 (0:00:00.037) 0:02:22.569 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:8 Friday 26 July 2024 13:40:56 -0400 (0:00:00.024) 0:02:22.594 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:14 Friday 26 July 2024 13:40:56 -0400 (0:00:00.022) 0:02:22.616 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:19 Friday 26 July 2024 13:40:56 -0400 (0:00:00.024) 0:02:22.641 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:24 Friday 26 July 2024 13:40:56 -0400 (0:00:00.022) 0:02:22.664 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:29 Friday 26 July 2024 13:40:56 -0400 (0:00:00.022) 0:02:22.686 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:37 Friday 26 July 2024 13:40:56 -0400 (0:00:00.022) 0:02:22.709 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:46 Friday 26 July 2024 13:40:56 -0400 (0:00:00.022) 0:02:22.731 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:54 Friday 26 July 2024 13:40:56 -0400 (0:00:00.021) 0:02:22.752 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:62 Friday 26 July 2024 13:40:56 -0400 (0:00:00.023) 0:02:22.775 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:70 Friday 26 July 2024 13:40:56 -0400 (0:00:00.022) 0:02:22.797 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:3 Friday 26 July 2024 13:40:56 -0400 (0:00:00.022) 0:02:22.820 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:11 Friday 26 July 2024 13:40:56 -0400 (0:00:00.408) 0:02:23.228 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:20 Friday 26 July 2024 13:40:57 -0400 (0:00:00.412) 0:02:23.641 *********** ok: [managed_node1] => { "ansible_facts": { "storage_test_expected_size": "4294967296" }, "changed": false } TASK [Show expected size] ****************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:28 Friday 26 July 2024 13:40:57 -0400 (0:00:00.045) 0:02:23.686 *********** ok: [managed_node1] => { "storage_test_expected_size": "4294967296" } TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:32 Friday 26 July 2024 13:40:57 -0400 (0:00:00.030) 0:02:23.717 *********** ok: [managed_node1] => { "bytes": 10726680821, "changed": false, "lvm": "9g", "parted": "9GiB", "size": "9 GiB" } TASK [Show test pool] ********************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:46 Friday 26 July 2024 13:40:57 -0400 (0:00:00.413) 0:02:24.130 *********** skipping: [managed_node1] => { "false_condition": "'%' in storage_test_volume.size | string" } TASK [Show test blockinfo] ***************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:50 Friday 26 July 2024 13:40:57 -0400 (0:00:00.040) 0:02:24.171 *********** skipping: [managed_node1] => { "false_condition": "'%' in storage_test_volume.size | string" } TASK [Show test pool size] ***************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:54 Friday 26 July 2024 13:40:57 -0400 (0:00:00.040) 0:02:24.211 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:58 Friday 26 July 2024 13:40:57 -0400 (0:00:00.040) 0:02:24.251 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:67 Friday 26 July 2024 13:40:57 -0400 (0:00:00.039) 0:02:24.291 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:71 Friday 26 July 2024 13:40:57 -0400 (0:00:00.024) 0:02:24.316 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:76 Friday 26 July 2024 13:40:57 -0400 (0:00:00.022) 0:02:24.339 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:82 Friday 26 July 2024 13:40:57 -0400 (0:00:00.022) 0:02:24.362 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:86 Friday 26 July 2024 13:40:57 -0400 (0:00:00.021) 0:02:24.383 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:91 Friday 26 July 2024 13:40:57 -0400 (0:00:00.021) 0:02:24.405 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:96 Friday 26 July 2024 13:40:57 -0400 (0:00:00.021) 0:02:24.427 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:101 Friday 26 July 2024 13:40:57 -0400 (0:00:00.054) 0:02:24.481 *********** skipping: [managed_node1] => { "false_condition": "storage_test_volume.thin" } TASK [Show volume thin pool size] ********************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:105 Friday 26 July 2024 13:40:58 -0400 (0:00:00.023) 0:02:24.505 *********** skipping: [managed_node1] => { "false_condition": "storage_test_volume.thin" } TASK [Show test volume size] *************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:109 Friday 26 July 2024 13:40:58 -0400 (0:00:00.023) 0:02:24.528 *********** skipping: [managed_node1] => { "false_condition": "storage_test_volume.thin" } TASK [Establish base value for expected thin pool size] ************************ task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:113 Friday 26 July 2024 13:40:58 -0400 (0:00:00.022) 0:02:24.551 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:120 Friday 26 July 2024 13:40:58 -0400 (0:00:00.022) 0:02:24.574 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:127 Friday 26 July 2024 13:40:58 -0400 (0:00:00.022) 0:02:24.596 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:131 Friday 26 July 2024 13:40:58 -0400 (0:00:00.025) 0:02:24.622 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:137 Friday 26 July 2024 13:40:58 -0400 (0:00:00.022) 0:02:24.644 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:143 Friday 26 July 2024 13:40:58 -0400 (0:00:00.022) 0:02:24.667 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:147 Friday 26 July 2024 13:40:58 -0400 (0:00:00.026) 0:02:24.694 *********** ok: [managed_node1] => { "storage_test_expected_size": "4294967296" } TASK [Assert expected size is actual size] ************************************* task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:151 Friday 26 July 2024 13:40:58 -0400 (0:00:00.027) 0:02:24.721 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:5 Friday 26 July 2024 13:40:58 -0400 (0:00:00.047) 0:02:24.769 *********** 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.024866", "end": "2024-07-26 13:40:58.631313", "rc": 0, "start": "2024-07-26 13:40:58.606447" } 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:13 Friday 26 July 2024 13:40:58 -0400 (0:00:00.428) 0:02:25.197 *********** ok: [managed_node1] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [Check segment type] ****************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:17 Friday 26 July 2024 13:40:58 -0400 (0:00:00.043) 0:02:25.241 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Set LV cache size] ******************************************************* task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:24 Friday 26 July 2024 13:40:58 -0400 (0:00:00.044) 0:02:25.285 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:31 Friday 26 July 2024 13:40:58 -0400 (0:00:00.038) 0:02:25.324 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:37 Friday 26 July 2024 13:40:58 -0400 (0:00:00.037) 0:02:25.361 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:42 Friday 26 July 2024 13:40:58 -0400 (0:00:00.037) 0:02:25.399 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume.yml:25 Friday 26 July 2024 13:40:58 -0400 (0:00:00.040) 0:02:25.440 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:44 Friday 26 July 2024 13:40:58 -0400 (0:00:00.025) 0:02:25.465 *********** skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:54 Friday 26 July 2024 13:40:58 -0400 (0:00:00.020) 0:02:25.485 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/create-test-file.yml:12 Friday 26 July 2024 13:40:59 -0400 (0:00:00.025) 0:02:25.511 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/tests_luks_pool.yml:187 Friday 26 July 2024 13:40:59 -0400 (0:00:00.409) 0:02:25.920 *********** included: /tmp/tmp.6PSxNJO0BJ/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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:4 Friday 26 July 2024 13:40:59 -0400 (0:00:00.044) 0:02:25.965 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:10 Friday 26 July 2024 13:40:59 -0400 (0:00:00.044) 0:02:26.009 *********** TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Friday 26 July 2024 13:40:59 -0400 (0:00:00.037) 0:02:26.047 *********** included: /tmp/tmp.6PSxNJO0BJ/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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Friday 26 July 2024 13:40:59 -0400 (0:00:00.035) 0:02:26.082 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Friday 26 July 2024 13:40:59 -0400 (0:00:00.042) 0:02:26.125 *********** 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_8.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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [managed_node1] => (item=CentOS_8.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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [fedora.linux_system_roles.storage : Check if system is ostree] *********** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:25 Friday 26 July 2024 13:40:59 -0400 (0:00:00.060) 0:02:26.186 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:30 Friday 26 July 2024 13:40:59 -0400 (0:00:00.028) 0:02:26.215 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Friday 26 July 2024 13:40:59 -0400 (0:00:00.028) 0:02:26.243 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Friday 26 July 2024 13:40:59 -0400 (0:00:00.024) 0:02:26.267 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Friday 26 July 2024 13:40:59 -0400 (0:00:00.027) 0:02:26.295 *********** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmp.6PSxNJO0BJ/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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Friday 26 July 2024 13:40:59 -0400 (0:00:00.058) 0:02:26.353 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:9 Friday 26 July 2024 13:40:59 -0400 (0:00:00.029) 0:02:26.383 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:14 Friday 26 July 2024 13:40:59 -0400 (0:00:00.048) 0:02:26.431 *********** ok: [managed_node1] => { "storage_volumes": [] } TASK [fedora.linux_system_roles.storage : Get required packages] *************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:19 Friday 26 July 2024 13:40:59 -0400 (0:00:00.051) 0:02:26.483 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:31 Friday 26 July 2024 13:41:00 -0400 (0:00:00.029) 0:02:26.513 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:37 Friday 26 July 2024 13:41:00 -0400 (0:00:00.029) 0:02:26.543 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:51 Friday 26 July 2024 13:41:00 -0400 (0:00:00.028) 0:02:26.572 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:57 Friday 26 July 2024 13:41:00 -0400 (0:00:00.028) 0:02:26.600 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:63 Friday 26 July 2024 13:41:00 -0400 (0:00:00.056) 0:02:26.657 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:69 Friday 26 July 2024 13:41:00 -0400 (0:00:00.022) 0:02:26.680 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:109 Friday 26 July 2024 13:41:04 -0400 (0:00:04.370) 0:02:31.050 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:113 Friday 26 July 2024 13:41:04 -0400 (0:00:00.033) 0:02:31.084 *********** skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Check that we failed in the role] **************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:23 Friday 26 July 2024 13:41:04 -0400 (0:00:00.020) 0:02:31.104 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the blivet output and error message are correct] ****************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:28 Friday 26 July 2024 13:41:04 -0400 (0:00:00.027) 0:02:31.132 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify correct exception or error message] ******************************* task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:39 Friday 26 July 2024 13:41:04 -0400 (0:00:00.039) 0:02:31.171 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-data-preservation.yml:11 Friday 26 July 2024 13:41:04 -0400 (0:00:00.028) 0:02:31.200 *********** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722015659.356596, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1722015659.356596, "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": 1722015659.356596, "nlink": 1, "path": "/opt/test1/quux", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "version": "3153918263", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Assert file presence] **************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-data-preservation.yml:16 Friday 26 July 2024 13:41:05 -0400 (0:00:00.410) 0:02:31.611 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Add encryption to the pool] ********************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/tests_luks_pool.yml:212 Friday 26 July 2024 13:41:05 -0400 (0:00:00.033) 0:02:31.644 *********** TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Friday 26 July 2024 13:41:05 -0400 (0:00:00.058) 0:02:31.703 *********** included: /tmp/tmp.6PSxNJO0BJ/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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Friday 26 July 2024 13:41:05 -0400 (0:00:00.033) 0:02:31.736 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Friday 26 July 2024 13:41:05 -0400 (0:00:00.041) 0:02:31.778 *********** 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_8.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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [managed_node1] => (item=CentOS_8.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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [fedora.linux_system_roles.storage : Check if system is ostree] *********** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:25 Friday 26 July 2024 13:41:05 -0400 (0:00:00.058) 0:02:31.837 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:30 Friday 26 July 2024 13:41:05 -0400 (0:00:00.028) 0:02:31.865 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Friday 26 July 2024 13:41:05 -0400 (0:00:00.065) 0:02:31.931 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Friday 26 July 2024 13:41:05 -0400 (0:00:00.024) 0:02:31.956 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Friday 26 July 2024 13:41:05 -0400 (0:00:00.024) 0:02:31.980 *********** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmp.6PSxNJO0BJ/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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Friday 26 July 2024 13:41:05 -0400 (0:00:00.057) 0:02:32.037 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:9 Friday 26 July 2024 13:41:05 -0400 (0:00:00.032) 0:02:32.070 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:14 Friday 26 July 2024 13:41:05 -0400 (0:00:00.048) 0:02:32.118 *********** ok: [managed_node1] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined. 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : Get required packages] *************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:19 Friday 26 July 2024 13:41:05 -0400 (0:00:00.028) 0:02:32.147 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:31 Friday 26 July 2024 13:41:05 -0400 (0:00:00.030) 0:02:32.177 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:37 Friday 26 July 2024 13:41:05 -0400 (0:00:00.029) 0:02:32.207 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:51 Friday 26 July 2024 13:41:05 -0400 (0:00:00.030) 0:02:32.237 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:57 Friday 26 July 2024 13:41:05 -0400 (0:00:00.032) 0:02:32.269 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:63 Friday 26 July 2024 13:41:05 -0400 (0:00:00.058) 0:02:32.328 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:69 Friday 26 July 2024 13:41:05 -0400 (0:00:00.021) 0:02:32.349 *********** 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-379a7d91-36ac-4d4f-8510-0b0493e6f436", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/luks-379a7d91-36ac-4d4f-8510-0b0493e6f436", "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-379a7d91-36ac-4d4f-8510-0b0493e6f436", "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": [ "cryptsetup", "lvm2", "xfsprogs" ], "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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:83 Friday 26 July 2024 13:41:17 -0400 (0:00:11.182) 0:02:43.532 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Friday 26 July 2024 13:41:17 -0400 (0:00:00.038) 0:02:43.571 *********** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722015643.9679468, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a1522684f5b6a445a50f2611a4e0757a4aec1cf1", "ctime": 1722015643.964947, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 304087257, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722015643.964947, "nlink": 1, "path": "/etc/fstab", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 1393, "uid": 0, "version": "1907617355", "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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:95 Friday 26 July 2024 13:41:17 -0400 (0:00:00.414) 0:02:43.985 *********** ok: [managed_node1] => { "backup": "", "changed": false } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:113 Friday 26 July 2024 13:41:17 -0400 (0:00:00.406) 0:02:44.391 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:119 Friday 26 July 2024 13:41:17 -0400 (0:00:00.020) 0:02:44.412 *********** 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-379a7d91-36ac-4d4f-8510-0b0493e6f436", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/luks-379a7d91-36ac-4d4f-8510-0b0493e6f436", "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-379a7d91-36ac-4d4f-8510-0b0493e6f436", "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": [ "cryptsetup", "lvm2", "xfsprogs" ], "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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:128 Friday 26 July 2024 13:41:17 -0400 (0:00:00.032) 0:02:44.444 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Friday 26 July 2024 13:41:17 -0400 (0:00:00.029) 0:02:44.474 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Remove obsolete mounts] ************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Friday 26 July 2024 13:41:17 -0400 (0:00:00.027) 0:02:44.502 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:159 Friday 26 July 2024 13:41:18 -0400 (0:00:00.439) 0:02:44.941 *********** ok: [managed_node1] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : Set up new/current mounts] *********** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:164 Friday 26 July 2024 13:41:19 -0400 (0:00:00.714) 0:02:45.656 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:175 Friday 26 July 2024 13:41:19 -0400 (0:00:00.463) 0:02:46.120 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:187 Friday 26 July 2024 13:41:19 -0400 (0:00:00.050) 0:02:46.171 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:195 Friday 26 July 2024 13:41:20 -0400 (0:00:00.709) 0:02:46.881 *********** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722015647.8748577, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1722015645.5659103, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 448790725, "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": 1722015645.5649104, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "2267918990", "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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:200 Friday 26 July 2024 13:41:20 -0400 (0:00:00.413) 0:02:47.294 *********** changed: [managed_node1] => (item={'backing_device': '/dev/sda', 'name': 'luks-379a7d91-36ac-4d4f-8510-0b0493e6f436', 'password': '-', 'state': 'present'}) => { "ansible_loop_var": "entry", "backup": "", "changed": true, "entry": { "backing_device": "/dev/sda", "name": "luks-379a7d91-36ac-4d4f-8510-0b0493e6f436", "password": "-", "state": "present" } } MSG: line added TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:222 Friday 26 July 2024 13:41:21 -0400 (0:00:00.435) 0:02:47.729 *********** ok: [managed_node1] TASK [Verify role results] ***************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/tests_luks_pool.yml:231 Friday 26 July 2024 13:41:22 -0400 (0:00:00.988) 0:02:48.718 *********** included: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml for managed_node1 TASK [Print out pool information] ********************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:2 Friday 26 July 2024 13:41:22 -0400 (0:00:00.048) 0:02:48.767 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:7 Friday 26 July 2024 13:41:22 -0400 (0:00:00.047) 0:02:48.814 *********** skipping: [managed_node1] => { "false_condition": "_storage_volumes_list | length > 0" } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:15 Friday 26 July 2024 13:41:22 -0400 (0:00:00.038) 0:02:48.853 *********** 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": "232775ed-0f7d-42e1-91b8-0c12aac89177" }, "/dev/mapper/luks-379a7d91-36ac-4d4f-8510-0b0493e6f436": { "fstype": "LVM2_member", "label": "", "mountpoint": "", "name": "/dev/mapper/luks-379a7d91-36ac-4d4f-8510-0b0493e6f436", "size": "10G", "type": "crypt", "uuid": "1VGDhs-SDQZ-SSrD-ejok-3PXb-lTRy-N70TDL" }, "/dev/sda": { "fstype": "crypto_LUKS", "label": "", "mountpoint": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "379a7d91-36ac-4d4f-8510-0b0493e6f436" }, "/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": "fe591198-9082-4b15-9b62-e83518524cd2" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:20 Friday 26 July 2024 13:41:22 -0400 (0:00:00.407) 0:02:49.261 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003145", "end": "2024-07-26 13:41:23.100539", "rc": 0, "start": "2024-07-26 13:41:23.097394" } STDOUT: # system_role:storage # # /etc/fstab # Created by anaconda on Wed May 29 07:43:06 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=fe591198-9082-4b15-9b62-e83518524cd2 / xfs defaults 0 0 ntap-bos-c01-eng01-nfs01b.storage.bos.redhat.com:/devops_engineering_nfs/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-bos-c01-eng01-nfs01b.storage.bos.redhat.com:/devops_engineering_nfs/devarchive/redhat/brewroot /mnt/brew nfs ro,rsize=32768,wsize=8192,bg,noauto,noatime,nosuid,nodev,intr 0 0 ntap-bos-c01-eng01-nfs01b.storage.bos.redhat.com:/devops_brew_scratch_nfs/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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:25 Friday 26 July 2024 13:41:23 -0400 (0:00:00.403) 0:02:49.664 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003003", "end": "2024-07-26 13:41:23.506498", "failed_when_result": false, "rc": 0, "start": "2024-07-26 13:41:23.503495" } STDOUT: luks-379a7d91-36ac-4d4f-8510-0b0493e6f436 /dev/sda - TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:34 Friday 26 July 2024 13:41:23 -0400 (0:00:00.405) 0:02:50.070 *********** included: /tmp/tmp.6PSxNJO0BJ/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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool.yml:5 Friday 26 July 2024 13:41:23 -0400 (0:00:00.070) 0:02:50.140 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [Get VG shared value status] ********************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool.yml:18 Friday 26 July 2024 13:41:23 -0400 (0:00:00.025) 0:02:50.165 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "vgs", "--noheadings", "--binary", "-o", "shared", "foo" ], "delta": "0:00:00.032412", "end": "2024-07-26 13:41:24.037319", "rc": 0, "start": "2024-07-26 13:41:24.004907" } STDOUT: 0 TASK [Verify that VG shared value checks out] ********************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool.yml:24 Friday 26 July 2024 13:41:24 -0400 (0:00:00.436) 0:02:50.601 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify pool subset] ****************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool.yml:34 Friday 26 July 2024 13:41:24 -0400 (0:00:00.032) 0:02:50.633 *********** included: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml for managed_node1 => (item=members) included: /tmp/tmp.6PSxNJO0BJ/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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:2 Friday 26 July 2024 13:41:24 -0400 (0:00:00.053) 0:02:50.686 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/mapper/luks-379a7d91-36ac-4d4f-8510-0b0493e6f436" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:8 Friday 26 July 2024 13:41:24 -0400 (0:00:00.053) 0:02:50.740 *********** ok: [managed_node1] => (item=/dev/mapper/luks-379a7d91-36ac-4d4f-8510-0b0493e6f436) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/mapper/luks-379a7d91-36ac-4d4f-8510-0b0493e6f436", "pv": "/dev/mapper/luks-379a7d91-36ac-4d4f-8510-0b0493e6f436" } TASK [Set pvs lvm length] ****************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:17 Friday 26 July 2024 13:41:24 -0400 (0:00:00.405) 0:02:51.146 *********** ok: [managed_node1] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [Set pool pvs] ************************************************************ task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:22 Friday 26 July 2024 13:41:24 -0400 (0:00:00.042) 0:02:51.188 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/mapper/luks-379a7d91-36ac-4d4f-8510-0b0493e6f436" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:27 Friday 26 July 2024 13:41:24 -0400 (0:00:00.048) 0:02:51.236 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Set expected pv type] **************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:36 Friday 26 July 2024 13:41:24 -0400 (0:00:00.045) 0:02:51.282 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_test_expected_pv_type": "crypt" }, "changed": false } TASK [Set expected pv type] **************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:41 Friday 26 July 2024 13:41:24 -0400 (0:00:00.028) 0:02:51.310 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:46 Friday 26 July 2024 13:41:24 -0400 (0:00:00.023) 0:02:51.334 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:51 Friday 26 July 2024 13:41:24 -0400 (0:00:00.023) 0:02:51.357 *********** ok: [managed_node1] => (item=/dev/mapper/luks-379a7d91-36ac-4d4f-8510-0b0493e6f436) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/mapper/luks-379a7d91-36ac-4d4f-8510-0b0493e6f436" } MSG: All assertions passed TASK [Check that blivet supports PV grow to fill] ****************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:64 Friday 26 July 2024 13:41:24 -0400 (0:00:00.033) 0:02:51.391 *********** ok: [managed_node1] => { "changed": false, "rc": 0 } STDOUT: False STDERR: Shared connection to 10.31.15.221 closed. TASK [Verify that PVs fill the whole devices when they should] ***************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:73 Friday 26 July 2024 13:41:25 -0400 (0:00:00.458) 0:02:51.849 *********** skipping: [managed_node1] => (item=/dev/mapper/luks-379a7d91-36ac-4d4f-8510-0b0493e6f436) => { "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-379a7d91-36ac-4d4f-8510-0b0493e6f436" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [Check MD RAID] *********************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:83 Friday 26 July 2024 13:41:25 -0400 (0:00:00.043) 0:02:51.893 *********** included: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml for managed_node1 TASK [Get information about RAID] ********************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:8 Friday 26 July 2024 13:41:25 -0400 (0:00:00.047) 0:02:51.941 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:14 Friday 26 July 2024 13:41:25 -0400 (0:00:00.023) 0:02:51.964 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:19 Friday 26 July 2024 13:41:25 -0400 (0:00:00.024) 0:02:51.989 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:24 Friday 26 July 2024 13:41:25 -0400 (0:00:00.060) 0:02:52.050 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:29 Friday 26 July 2024 13:41:25 -0400 (0:00:00.023) 0:02:52.074 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:37 Friday 26 July 2024 13:41:25 -0400 (0:00:00.022) 0:02:52.096 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:46 Friday 26 July 2024 13:41:25 -0400 (0:00:00.023) 0:02:52.120 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:55 Friday 26 July 2024 13:41:25 -0400 (0:00:00.023) 0:02:52.143 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:64 Friday 26 July 2024 13:41:25 -0400 (0:00:00.022) 0:02:52.165 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:74 Friday 26 July 2024 13:41:25 -0400 (0:00:00.025) 0:02:52.191 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:83 Friday 26 July 2024 13:41:25 -0400 (0:00:00.023) 0:02:52.214 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:86 Friday 26 July 2024 13:41:25 -0400 (0:00:00.024) 0:02:52.238 *********** included: /tmp/tmp.6PSxNJO0BJ/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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-lvmraid.yml:2 Friday 26 July 2024 13:41:25 -0400 (0:00:00.047) 0:02:52.286 *********** included: /tmp/tmp.6PSxNJO0BJ/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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-lvmraid.yml:8 Friday 26 July 2024 13:41:25 -0400 (0:00:00.047) 0:02:52.333 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-lvmraid.yml:16 Friday 26 July 2024 13:41:25 -0400 (0:00:00.029) 0:02:52.362 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-lvmraid.yml:20 Friday 26 July 2024 13:41:25 -0400 (0:00:00.029) 0:02:52.392 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-lvmraid.yml:27 Friday 26 July 2024 13:41:25 -0400 (0:00:00.029) 0:02:52.421 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-lvmraid.yml:31 Friday 26 July 2024 13:41:25 -0400 (0:00:00.028) 0:02:52.450 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-lvmraid.yml:37 Friday 26 July 2024 13:41:25 -0400 (0:00:00.031) 0:02:52.481 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-lvmraid.yml:42 Friday 26 July 2024 13:41:26 -0400 (0:00:00.029) 0:02:52.510 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:89 Friday 26 July 2024 13:41:26 -0400 (0:00:00.028) 0:02:52.538 *********** included: /tmp/tmp.6PSxNJO0BJ/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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-thin.yml:2 Friday 26 July 2024 13:41:26 -0400 (0:00:00.046) 0:02:52.585 *********** included: /tmp/tmp.6PSxNJO0BJ/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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-thin.yml:8 Friday 26 July 2024 13:41:26 -0400 (0:00:00.043) 0:02:52.628 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-thin.yml:16 Friday 26 July 2024 13:41:26 -0400 (0:00:00.022) 0:02:52.651 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-thin.yml:22 Friday 26 July 2024 13:41:26 -0400 (0:00:00.022) 0:02:52.673 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-thin.yml:26 Friday 26 July 2024 13:41:26 -0400 (0:00:00.022) 0:02:52.696 *********** ok: [managed_node1] => { "ansible_facts": { "storage_test_thin_status": null }, "changed": false } TASK [Check member encryption] ************************************************* task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:92 Friday 26 July 2024 13:41:26 -0400 (0:00:00.024) 0:02:52.721 *********** included: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-encryption.yml for managed_node1 TASK [Set test variables] ****************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-encryption.yml:5 Friday 26 July 2024 13:41:26 -0400 (0:00:00.052) 0:02:52.773 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-encryption.yml:10 Friday 26 July 2024 13:41:26 -0400 (0:00:00.041) 0:02:52.815 *********** included: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-encryption.yml for managed_node1 => (item=/dev/mapper/luks-379a7d91-36ac-4d4f-8510-0b0493e6f436) TASK [Get the backing device path] ********************************************* task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-encryption.yml:2 Friday 26 July 2024 13:41:26 -0400 (0:00:00.041) 0:02:52.856 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "realpath", "/dev/disk/by-uuid/379a7d91-36ac-4d4f-8510-0b0493e6f436" ], "delta": "0:00:00.002993", "end": "2024-07-26 13:41:26.712292", "rc": 0, "start": "2024-07-26 13:41:26.709299" } STDOUT: /dev/sda TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-encryption.yml:12 Friday 26 July 2024 13:41:26 -0400 (0:00:00.420) 0:02:53.277 *********** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this member] *************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-encryption.yml:18 Friday 26 July 2024 13:41:29 -0400 (0:00:02.685) 0:02:55.962 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "cryptsetup", "luksDump", "/dev/sda" ], "delta": "0:00:00.010829", "end": "2024-07-26 13:41:29.815707", "rc": 0, "start": "2024-07-26 13:41:29.804878" } 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: 13 2d 1a 5d fe 4e 74 e4 ea f0 e0 77 e4 5a 38 33 48 bf de 9a MK salt: e0 f9 76 3b 16 c7 c0 f8 54 24 a5 16 66 1c 5d 59 36 3c fd 06 4a 21 d3 29 3c 28 64 f0 86 99 17 e8 MK iterations: 106910 UUID: 379a7d91-36ac-4d4f-8510-0b0493e6f436 Key Slot 0: ENABLED Iterations: 1710564 Salt: ec b9 11 cf d7 dc d4 5d 12 db ca 86 73 2e b1 5c 59 50 33 d9 c6 e0 7c 70 00 61 22 e6 94 4b 69 47 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-encryption.yml:26 Friday 26 July 2024 13:41:29 -0400 (0:00:00.417) 0:02:56.380 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-encryption.yml:38 Friday 26 July 2024 13:41:29 -0400 (0:00:00.050) 0:02:56.431 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-encryption.yml:50 Friday 26 July 2024 13:41:29 -0400 (0:00:00.035) 0:02:56.467 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-encryption.yml:17 Friday 26 July 2024 13:41:30 -0400 (0:00:00.050) 0:02:56.517 *********** included: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-crypttab.yml for managed_node1 => (item=/dev/mapper/luks-379a7d91-36ac-4d4f-8510-0b0493e6f436) TASK [Set variables used by tests] ********************************************* task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-crypttab.yml:2 Friday 26 July 2024 13:41:30 -0400 (0:00:00.048) 0:02:56.565 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_test_crypttab_entries": [ "luks-379a7d91-36ac-4d4f-8510-0b0493e6f436 /dev/sda -" ] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-crypttab.yml:6 Friday 26 July 2024 13:41:30 -0400 (0:00:00.049) 0:02:56.615 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-crypttab.yml:14 Friday 26 July 2024 13:41:30 -0400 (0:00:00.045) 0:02:56.660 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-crypttab.yml:23 Friday 26 July 2024 13:41:30 -0400 (0:00:00.046) 0:02:56.706 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-crypttab.yml:32 Friday 26 July 2024 13:41:30 -0400 (0:00:00.039) 0:02:56.746 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Clear test variables] **************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-crypttab.yml:41 Friday 26 July 2024 13:41:30 -0400 (0:00:00.045) 0:02:56.792 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [Clear test variables] **************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-encryption.yml:24 Friday 26 July 2024 13:41:30 -0400 (0:00:00.025) 0:02:56.817 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:95 Friday 26 July 2024 13:41:30 -0400 (0:00:00.024) 0:02:56.842 *********** included: /tmp/tmp.6PSxNJO0BJ/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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-vdo.yml:2 Friday 26 July 2024 13:41:30 -0400 (0:00:00.049) 0:02:56.892 *********** included: /tmp/tmp.6PSxNJO0BJ/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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-vdo.yml:8 Friday 26 July 2024 13:41:30 -0400 (0:00:00.046) 0:02:56.938 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-vdo.yml:15 Friday 26 July 2024 13:41:30 -0400 (0:00:00.023) 0:02:56.962 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-vdo.yml:21 Friday 26 July 2024 13:41:30 -0400 (0:00:00.022) 0:02:56.985 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-vdo.yml:27 Friday 26 July 2024 13:41:30 -0400 (0:00:00.022) 0:02:57.007 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-vdo.yml:34 Friday 26 July 2024 13:41:30 -0400 (0:00:00.024) 0:02:57.032 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-vdo.yml:40 Friday 26 July 2024 13:41:30 -0400 (0:00:00.023) 0:02:57.056 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-vdo.yml:46 Friday 26 July 2024 13:41:30 -0400 (0:00:00.023) 0:02:57.080 *********** ok: [managed_node1] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [Check Stratis] *********************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:98 Friday 26 July 2024 13:41:30 -0400 (0:00:00.024) 0:02:57.104 *********** included: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-stratis.yml for managed_node1 TASK [Run 'stratis report'] **************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-stratis.yml:6 Friday 26 July 2024 13:41:30 -0400 (0:00:00.057) 0:02:57.162 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-stratis.yml:11 Friday 26 July 2024 13:41:30 -0400 (0:00:00.060) 0:02:57.222 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-stratis.yml:15 Friday 26 July 2024 13:41:30 -0400 (0:00:00.023) 0:02:57.246 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-stratis.yml:25 Friday 26 July 2024 13:41:30 -0400 (0:00:00.023) 0:02:57.269 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-stratis.yml:34 Friday 26 July 2024 13:41:30 -0400 (0:00:00.022) 0:02:57.292 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-stratis.yml:44 Friday 26 July 2024 13:41:30 -0400 (0:00:00.022) 0:02:57.315 *********** ok: [managed_node1] => { "ansible_facts": { "storage_test_stratis_report": null }, "changed": false } TASK [Clean up test variables] ************************************************* task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:101 Friday 26 July 2024 13:41:30 -0400 (0:00:00.024) 0:02:57.339 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-volumes.yml:3 Friday 26 July 2024 13:41:30 -0400 (0:00:00.027) 0:02:57.367 *********** included: /tmp/tmp.6PSxNJO0BJ/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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume.yml:2 Friday 26 July 2024 13:41:30 -0400 (0:00:00.040) 0:02:57.407 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume.yml:19 Friday 26 July 2024 13:41:30 -0400 (0:00:00.044) 0:02:57.451 *********** included: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml for managed_node1 => (item=mount) included: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml for managed_node1 => (item=fstab) included: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fs.yml for managed_node1 => (item=fs) included: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml for managed_node1 => (item=device) included: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml for managed_node1 => (item=encryption) included: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml for managed_node1 => (item=md) included: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml for managed_node1 => (item=size) included: /tmp/tmp.6PSxNJO0BJ/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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:7 Friday 26 July 2024 13:41:31 -0400 (0:00:00.127) 0:02:57.579 *********** ok: [managed_node1] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:11 Friday 26 July 2024 13:41:31 -0400 (0:00:00.035) 0:02:57.614 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:19 Friday 26 July 2024 13:41:31 -0400 (0:00:00.049) 0:02:57.663 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:28 Friday 26 July 2024 13:41:31 -0400 (0:00:00.023) 0:02:57.686 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify mount directory user] ********************************************* task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:36 Friday 26 July 2024 13:41:31 -0400 (0:00:00.029) 0:02:57.716 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:42 Friday 26 July 2024 13:41:31 -0400 (0:00:00.022) 0:02:57.738 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:48 Friday 26 July 2024 13:41:31 -0400 (0:00:00.022) 0:02:57.760 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:57 Friday 26 July 2024 13:41:31 -0400 (0:00:00.022) 0:02:57.782 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:63 Friday 26 July 2024 13:41:31 -0400 (0:00:00.024) 0:02:57.807 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:69 Friday 26 July 2024 13:41:31 -0400 (0:00:00.023) 0:02:57.830 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:79 Friday 26 July 2024 13:41:31 -0400 (0:00:00.022) 0:02:57.853 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml:2 Friday 26 July 2024 13:41:31 -0400 (0:00:00.024) 0:02:57.878 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml:17 Friday 26 July 2024 13:41:31 -0400 (0:00:00.066) 0:02:57.945 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml:24 Friday 26 July 2024 13:41:31 -0400 (0:00:00.044) 0:02:57.989 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml:33 Friday 26 July 2024 13:41:31 -0400 (0:00:00.051) 0:02:58.040 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml:45 Friday 26 July 2024 13:41:31 -0400 (0:00:00.038) 0:02:58.079 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Clean up variables] ****************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml:51 Friday 26 July 2024 13:41:31 -0400 (0:00:00.028) 0:02:58.107 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fs.yml:6 Friday 26 July 2024 13:41:31 -0400 (0:00:00.025) 0:02:58.132 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fs.yml:14 Friday 26 July 2024 13:41:31 -0400 (0:00:00.046) 0:02:58.179 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:3 Friday 26 July 2024 13:41:31 -0400 (0:00:00.045) 0:02:58.224 *********** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722015676.9171958, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1722015676.9171958, "dev": 6, "device_type": 64769, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 82479, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1722015676.9171958, "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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:9 Friday 26 July 2024 13:41:32 -0400 (0:00:00.404) 0:02:58.629 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:16 Friday 26 July 2024 13:41:32 -0400 (0:00:00.031) 0:02:58.660 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:23 Friday 26 July 2024 13:41:32 -0400 (0:00:00.023) 0:02:58.683 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Process volume type (set initial value) (1/2)] *************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:29 Friday 26 July 2024 13:41:32 -0400 (0:00:00.029) 0:02:58.712 *********** ok: [managed_node1] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [Process volume type (get RAID value) (2/2)] ****************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:33 Friday 26 July 2024 13:41:32 -0400 (0:00:00.026) 0:02:58.739 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:38 Friday 26 July 2024 13:41:32 -0400 (0:00:00.022) 0:02:58.761 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:3 Friday 26 July 2024 13:41:32 -0400 (0:00:00.031) 0:02:58.793 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:10 Friday 26 July 2024 13:41:32 -0400 (0:00:00.023) 0:02:58.816 *********** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:16 Friday 26 July 2024 13:41:34 -0400 (0:00:02.653) 0:03:01.470 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:22 Friday 26 July 2024 13:41:34 -0400 (0:00:00.023) 0:03:01.493 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:29 Friday 26 July 2024 13:41:35 -0400 (0:00:00.023) 0:03:01.517 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:40 Friday 26 July 2024 13:41:35 -0400 (0:00:00.046) 0:03:01.563 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:46 Friday 26 July 2024 13:41:35 -0400 (0:00:00.025) 0:03:01.589 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:51 Friday 26 July 2024 13:41:35 -0400 (0:00:00.023) 0:03:01.613 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:63 Friday 26 July 2024 13:41:35 -0400 (0:00:00.023) 0:03:01.637 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:75 Friday 26 July 2024 13:41:35 -0400 (0:00:00.023) 0:03:01.661 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:87 Friday 26 July 2024 13:41:35 -0400 (0:00:00.023) 0:03:01.684 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:93 Friday 26 July 2024 13:41:35 -0400 (0:00:00.050) 0:03:01.734 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:100 Friday 26 July 2024 13:41:35 -0400 (0:00:00.051) 0:03:01.785 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:108 Friday 26 July 2024 13:41:35 -0400 (0:00:00.038) 0:03:01.824 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:116 Friday 26 July 2024 13:41:35 -0400 (0:00:00.038) 0:03:01.862 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:124 Friday 26 July 2024 13:41:35 -0400 (0:00:00.038) 0:03:01.901 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:8 Friday 26 July 2024 13:41:35 -0400 (0:00:00.025) 0:03:01.927 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:14 Friday 26 July 2024 13:41:35 -0400 (0:00:00.023) 0:03:01.950 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:19 Friday 26 July 2024 13:41:35 -0400 (0:00:00.024) 0:03:01.975 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:24 Friday 26 July 2024 13:41:35 -0400 (0:00:00.023) 0:03:01.998 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:29 Friday 26 July 2024 13:41:35 -0400 (0:00:00.023) 0:03:02.021 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:37 Friday 26 July 2024 13:41:35 -0400 (0:00:00.022) 0:03:02.044 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:46 Friday 26 July 2024 13:41:35 -0400 (0:00:00.022) 0:03:02.067 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:54 Friday 26 July 2024 13:41:35 -0400 (0:00:00.022) 0:03:02.089 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:62 Friday 26 July 2024 13:41:35 -0400 (0:00:00.065) 0:03:02.155 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:70 Friday 26 July 2024 13:41:35 -0400 (0:00:00.023) 0:03:02.178 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:3 Friday 26 July 2024 13:41:35 -0400 (0:00:00.023) 0:03:02.202 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:11 Friday 26 July 2024 13:41:36 -0400 (0:00:00.413) 0:03:02.615 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:20 Friday 26 July 2024 13:41:36 -0400 (0:00:00.416) 0:03:03.032 *********** ok: [managed_node1] => { "ansible_facts": { "storage_test_expected_size": "4294967296" }, "changed": false } TASK [Show expected size] ****************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:28 Friday 26 July 2024 13:41:36 -0400 (0:00:00.045) 0:03:03.078 *********** ok: [managed_node1] => { "storage_test_expected_size": "4294967296" } TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:32 Friday 26 July 2024 13:41:36 -0400 (0:00:00.030) 0:03:03.108 *********** ok: [managed_node1] => { "bytes": 10715943403, "changed": false, "lvm": "9g", "parted": "9GiB", "size": "9 GiB" } TASK [Show test pool] ********************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:46 Friday 26 July 2024 13:41:37 -0400 (0:00:00.416) 0:03:03.525 *********** skipping: [managed_node1] => { "false_condition": "'%' in storage_test_volume.size | string" } TASK [Show test blockinfo] ***************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:50 Friday 26 July 2024 13:41:37 -0400 (0:00:00.041) 0:03:03.567 *********** skipping: [managed_node1] => { "false_condition": "'%' in storage_test_volume.size | string" } TASK [Show test pool size] ***************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:54 Friday 26 July 2024 13:41:37 -0400 (0:00:00.041) 0:03:03.608 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:58 Friday 26 July 2024 13:41:37 -0400 (0:00:00.040) 0:03:03.649 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:67 Friday 26 July 2024 13:41:37 -0400 (0:00:00.040) 0:03:03.689 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:71 Friday 26 July 2024 13:41:37 -0400 (0:00:00.025) 0:03:03.715 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:76 Friday 26 July 2024 13:41:37 -0400 (0:00:00.023) 0:03:03.738 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:82 Friday 26 July 2024 13:41:37 -0400 (0:00:00.022) 0:03:03.761 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:86 Friday 26 July 2024 13:41:37 -0400 (0:00:00.022) 0:03:03.783 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:91 Friday 26 July 2024 13:41:37 -0400 (0:00:00.022) 0:03:03.806 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:96 Friday 26 July 2024 13:41:37 -0400 (0:00:00.022) 0:03:03.829 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:101 Friday 26 July 2024 13:41:37 -0400 (0:00:00.024) 0:03:03.853 *********** skipping: [managed_node1] => { "false_condition": "storage_test_volume.thin" } TASK [Show volume thin pool size] ********************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:105 Friday 26 July 2024 13:41:37 -0400 (0:00:00.022) 0:03:03.876 *********** skipping: [managed_node1] => { "false_condition": "storage_test_volume.thin" } TASK [Show test volume size] *************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:109 Friday 26 July 2024 13:41:37 -0400 (0:00:00.022) 0:03:03.899 *********** skipping: [managed_node1] => { "false_condition": "storage_test_volume.thin" } TASK [Establish base value for expected thin pool size] ************************ task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:113 Friday 26 July 2024 13:41:37 -0400 (0:00:00.023) 0:03:03.922 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:120 Friday 26 July 2024 13:41:37 -0400 (0:00:00.022) 0:03:03.945 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:127 Friday 26 July 2024 13:41:37 -0400 (0:00:00.022) 0:03:03.968 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:131 Friday 26 July 2024 13:41:37 -0400 (0:00:00.026) 0:03:03.995 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:137 Friday 26 July 2024 13:41:37 -0400 (0:00:00.024) 0:03:04.019 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:143 Friday 26 July 2024 13:41:37 -0400 (0:00:00.023) 0:03:04.043 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:147 Friday 26 July 2024 13:41:37 -0400 (0:00:00.028) 0:03:04.072 *********** ok: [managed_node1] => { "storage_test_expected_size": "4294967296" } TASK [Assert expected size is actual size] ************************************* task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:151 Friday 26 July 2024 13:41:37 -0400 (0:00:00.028) 0:03:04.100 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:5 Friday 26 July 2024 13:41:37 -0400 (0:00:00.049) 0:03:04.149 *********** 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.030727", "end": "2024-07-26 13:41:38.020408", "rc": 0, "start": "2024-07-26 13:41:37.989681" } 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:13 Friday 26 July 2024 13:41:38 -0400 (0:00:00.437) 0:03:04.587 *********** ok: [managed_node1] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [Check segment type] ****************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:17 Friday 26 July 2024 13:41:38 -0400 (0:00:00.044) 0:03:04.631 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Set LV cache size] ******************************************************* task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:24 Friday 26 July 2024 13:41:38 -0400 (0:00:00.045) 0:03:04.677 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:31 Friday 26 July 2024 13:41:38 -0400 (0:00:00.038) 0:03:04.716 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:37 Friday 26 July 2024 13:41:38 -0400 (0:00:00.039) 0:03:04.755 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:42 Friday 26 July 2024 13:41:38 -0400 (0:00:00.038) 0:03:04.793 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume.yml:25 Friday 26 July 2024 13:41:38 -0400 (0:00:00.041) 0:03:04.835 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:44 Friday 26 July 2024 13:41:38 -0400 (0:00:00.026) 0:03:04.862 *********** skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:54 Friday 26 July 2024 13:41:38 -0400 (0:00:00.020) 0:03:04.882 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/create-test-file.yml:12 Friday 26 July 2024 13:41:38 -0400 (0:00:00.025) 0:03:04.907 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/tests_luks_pool.yml:237 Friday 26 July 2024 13:41:38 -0400 (0:00:00.412) 0:03:05.320 *********** TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Friday 26 July 2024 13:41:38 -0400 (0:00:00.068) 0:03:05.388 *********** included: /tmp/tmp.6PSxNJO0BJ/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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Friday 26 July 2024 13:41:38 -0400 (0:00:00.034) 0:03:05.423 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Friday 26 July 2024 13:41:38 -0400 (0:00:00.043) 0:03:05.467 *********** 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_8.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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [managed_node1] => (item=CentOS_8.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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [fedora.linux_system_roles.storage : Check if system is ostree] *********** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:25 Friday 26 July 2024 13:41:39 -0400 (0:00:00.062) 0:03:05.529 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:30 Friday 26 July 2024 13:41:39 -0400 (0:00:00.029) 0:03:05.559 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Friday 26 July 2024 13:41:39 -0400 (0:00:00.029) 0:03:05.588 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Friday 26 July 2024 13:41:39 -0400 (0:00:00.025) 0:03:05.613 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Friday 26 July 2024 13:41:39 -0400 (0:00:00.024) 0:03:05.638 *********** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmp.6PSxNJO0BJ/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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Friday 26 July 2024 13:41:39 -0400 (0:00:00.058) 0:03:05.696 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:9 Friday 26 July 2024 13:41:39 -0400 (0:00:00.029) 0:03:05.726 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:14 Friday 26 July 2024 13:41:39 -0400 (0:00:00.028) 0:03:05.755 *********** ok: [managed_node1] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined. 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : Get required packages] *************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:19 Friday 26 July 2024 13:41:39 -0400 (0:00:00.026) 0:03:05.782 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:31 Friday 26 July 2024 13:41:39 -0400 (0:00:00.028) 0:03:05.811 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:37 Friday 26 July 2024 13:41:39 -0400 (0:00:00.031) 0:03:05.842 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:51 Friday 26 July 2024 13:41:39 -0400 (0:00:00.029) 0:03:05.871 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:57 Friday 26 July 2024 13:41:39 -0400 (0:00:00.029) 0:03:05.901 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:63 Friday 26 July 2024 13:41:39 -0400 (0:00:00.057) 0:03:05.958 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:69 Friday 26 July 2024 13:41:39 -0400 (0:00:00.020) 0:03:05.978 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:83 Friday 26 July 2024 13:41:44 -0400 (0:00:04.539) 0:03:10.518 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Friday 26 July 2024 13:41:44 -0400 (0:00:00.122) 0:03:10.640 *********** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722015679.543136, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a1522684f5b6a445a50f2611a4e0757a4aec1cf1", "ctime": 1722015679.539136, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 304087257, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722015679.539136, "nlink": 1, "path": "/etc/fstab", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 1393, "uid": 0, "version": "1907617355", "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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:95 Friday 26 July 2024 13:41:44 -0400 (0:00:00.408) 0:03:11.049 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:113 Friday 26 July 2024 13:41:44 -0400 (0:00:00.029) 0:03:11.079 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:119 Friday 26 July 2024 13:41:44 -0400 (0:00:00.020) 0:03:11.100 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:128 Friday 26 July 2024 13:41:44 -0400 (0:00:00.032) 0:03:11.132 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Friday 26 July 2024 13:41:44 -0400 (0:00:00.030) 0:03:11.163 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Remove obsolete mounts] ************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Friday 26 July 2024 13:41:44 -0400 (0:00:00.029) 0:03:11.193 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:159 Friday 26 July 2024 13:41:45 -0400 (0:00:00.463) 0:03:11.656 *********** ok: [managed_node1] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : Set up new/current mounts] *********** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:164 Friday 26 July 2024 13:41:45 -0400 (0:00:00.712) 0:03:12.369 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:175 Friday 26 July 2024 13:41:46 -0400 (0:00:00.461) 0:03:12.830 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:187 Friday 26 July 2024 13:41:46 -0400 (0:00:00.050) 0:03:12.881 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:195 Friday 26 July 2024 13:41:47 -0400 (0:00:00.710) 0:03:13.592 *********** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722015683.5050457, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6860b08c6c70dd4783fca0c2715e25596d68fe18", "ctime": 1722015681.1540992, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 27263178, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722015681.1520994, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 53, "uid": 0, "version": "2807271746", "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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:200 Friday 26 July 2024 13:41:47 -0400 (0:00:00.420) 0:03:14.012 *********** skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:222 Friday 26 July 2024 13:41:47 -0400 (0:00:00.021) 0:03:14.034 *********** ok: [managed_node1] TASK [Assert to implicitly preserve encryption on existing pool] *************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/tests_luks_pool.yml:249 Friday 26 July 2024 13:41:48 -0400 (0:00:00.975) 0:03:15.010 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Stat the file] *********************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-data-preservation.yml:11 Friday 26 July 2024 13:41:48 -0400 (0:00:00.030) 0:03:15.040 *********** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722015698.7556996, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1722015698.7556996, "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": 1722015698.7556996, "nlink": 1, "path": "/opt/test2/quux", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "version": "4238974355", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Assert file presence] **************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-data-preservation.yml:16 Friday 26 July 2024 13:41:48 -0400 (0:00:00.411) 0:03:15.452 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify role results] ***************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/tests_luks_pool.yml:259 Friday 26 July 2024 13:41:48 -0400 (0:00:00.034) 0:03:15.487 *********** included: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml for managed_node1 TASK [Print out pool information] ********************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:2 Friday 26 July 2024 13:41:49 -0400 (0:00:00.051) 0:03:15.539 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:7 Friday 26 July 2024 13:41:49 -0400 (0:00:00.053) 0:03:15.592 *********** skipping: [managed_node1] => { "false_condition": "_storage_volumes_list | length > 0" } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:15 Friday 26 July 2024 13:41:49 -0400 (0:00:00.039) 0:03:15.632 *********** 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": "232775ed-0f7d-42e1-91b8-0c12aac89177" }, "/dev/mapper/luks-379a7d91-36ac-4d4f-8510-0b0493e6f436": { "fstype": "LVM2_member", "label": "", "mountpoint": "", "name": "/dev/mapper/luks-379a7d91-36ac-4d4f-8510-0b0493e6f436", "size": "10G", "type": "crypt", "uuid": "1VGDhs-SDQZ-SSrD-ejok-3PXb-lTRy-N70TDL" }, "/dev/sda": { "fstype": "crypto_LUKS", "label": "", "mountpoint": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "379a7d91-36ac-4d4f-8510-0b0493e6f436" }, "/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": "fe591198-9082-4b15-9b62-e83518524cd2" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:20 Friday 26 July 2024 13:41:49 -0400 (0:00:00.403) 0:03:16.036 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002948", "end": "2024-07-26 13:41:49.865794", "rc": 0, "start": "2024-07-26 13:41:49.862846" } STDOUT: # system_role:storage # # /etc/fstab # Created by anaconda on Wed May 29 07:43:06 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=fe591198-9082-4b15-9b62-e83518524cd2 / xfs defaults 0 0 ntap-bos-c01-eng01-nfs01b.storage.bos.redhat.com:/devops_engineering_nfs/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-bos-c01-eng01-nfs01b.storage.bos.redhat.com:/devops_engineering_nfs/devarchive/redhat/brewroot /mnt/brew nfs ro,rsize=32768,wsize=8192,bg,noauto,noatime,nosuid,nodev,intr 0 0 ntap-bos-c01-eng01-nfs01b.storage.bos.redhat.com:/devops_brew_scratch_nfs/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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:25 Friday 26 July 2024 13:41:49 -0400 (0:00:00.394) 0:03:16.430 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003021", "end": "2024-07-26 13:41:50.269082", "failed_when_result": false, "rc": 0, "start": "2024-07-26 13:41:50.266061" } STDOUT: luks-379a7d91-36ac-4d4f-8510-0b0493e6f436 /dev/sda - TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:34 Friday 26 July 2024 13:41:50 -0400 (0:00:00.402) 0:03:16.832 *********** included: /tmp/tmp.6PSxNJO0BJ/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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool.yml:5 Friday 26 July 2024 13:41:50 -0400 (0:00:00.064) 0:03:16.897 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [Get VG shared value status] ********************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool.yml:18 Friday 26 July 2024 13:41:50 -0400 (0:00:00.025) 0:03:16.922 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "vgs", "--noheadings", "--binary", "-o", "shared", "foo" ], "delta": "0:00:00.034351", "end": "2024-07-26 13:41:50.795422", "rc": 0, "start": "2024-07-26 13:41:50.761071" } STDOUT: 0 TASK [Verify that VG shared value checks out] ********************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool.yml:24 Friday 26 July 2024 13:41:50 -0400 (0:00:00.435) 0:03:17.358 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify pool subset] ****************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool.yml:34 Friday 26 July 2024 13:41:50 -0400 (0:00:00.032) 0:03:17.391 *********** included: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml for managed_node1 => (item=members) included: /tmp/tmp.6PSxNJO0BJ/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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:2 Friday 26 July 2024 13:41:50 -0400 (0:00:00.053) 0:03:17.444 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/mapper/luks-379a7d91-36ac-4d4f-8510-0b0493e6f436" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:8 Friday 26 July 2024 13:41:50 -0400 (0:00:00.053) 0:03:17.497 *********** ok: [managed_node1] => (item=/dev/mapper/luks-379a7d91-36ac-4d4f-8510-0b0493e6f436) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/mapper/luks-379a7d91-36ac-4d4f-8510-0b0493e6f436", "pv": "/dev/mapper/luks-379a7d91-36ac-4d4f-8510-0b0493e6f436" } TASK [Set pvs lvm length] ****************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:17 Friday 26 July 2024 13:41:51 -0400 (0:00:00.395) 0:03:17.893 *********** ok: [managed_node1] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [Set pool pvs] ************************************************************ task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:22 Friday 26 July 2024 13:41:51 -0400 (0:00:00.042) 0:03:17.936 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/mapper/luks-379a7d91-36ac-4d4f-8510-0b0493e6f436" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:27 Friday 26 July 2024 13:41:51 -0400 (0:00:00.045) 0:03:17.982 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Set expected pv type] **************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:36 Friday 26 July 2024 13:41:51 -0400 (0:00:00.048) 0:03:18.030 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_test_expected_pv_type": "crypt" }, "changed": false } TASK [Set expected pv type] **************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:41 Friday 26 July 2024 13:41:51 -0400 (0:00:00.030) 0:03:18.060 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:46 Friday 26 July 2024 13:41:51 -0400 (0:00:00.023) 0:03:18.084 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:51 Friday 26 July 2024 13:41:51 -0400 (0:00:00.024) 0:03:18.108 *********** ok: [managed_node1] => (item=/dev/mapper/luks-379a7d91-36ac-4d4f-8510-0b0493e6f436) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/mapper/luks-379a7d91-36ac-4d4f-8510-0b0493e6f436" } MSG: All assertions passed TASK [Check that blivet supports PV grow to fill] ****************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:64 Friday 26 July 2024 13:41:51 -0400 (0:00:00.033) 0:03:18.141 *********** ok: [managed_node1] => { "changed": false, "rc": 0 } STDOUT: False STDERR: Shared connection to 10.31.15.221 closed. TASK [Verify that PVs fill the whole devices when they should] ***************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:73 Friday 26 July 2024 13:41:52 -0400 (0:00:00.445) 0:03:18.587 *********** skipping: [managed_node1] => (item=/dev/mapper/luks-379a7d91-36ac-4d4f-8510-0b0493e6f436) => { "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-379a7d91-36ac-4d4f-8510-0b0493e6f436" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [Check MD RAID] *********************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:83 Friday 26 July 2024 13:41:52 -0400 (0:00:00.045) 0:03:18.633 *********** included: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml for managed_node1 TASK [Get information about RAID] ********************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:8 Friday 26 July 2024 13:41:52 -0400 (0:00:00.047) 0:03:18.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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:14 Friday 26 July 2024 13:41:52 -0400 (0:00:00.023) 0:03:18.704 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:19 Friday 26 July 2024 13:41:52 -0400 (0:00:00.023) 0:03:18.727 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:24 Friday 26 July 2024 13:41:52 -0400 (0:00:00.024) 0:03:18.752 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:29 Friday 26 July 2024 13:41:52 -0400 (0:00:00.023) 0:03:18.775 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:37 Friday 26 July 2024 13:41:52 -0400 (0:00:00.022) 0:03:18.798 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:46 Friday 26 July 2024 13:41:52 -0400 (0:00:00.023) 0:03:18.821 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:55 Friday 26 July 2024 13:41:52 -0400 (0:00:00.023) 0:03:18.844 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:64 Friday 26 July 2024 13:41:52 -0400 (0:00:00.022) 0:03:18.867 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:74 Friday 26 July 2024 13:41:52 -0400 (0:00:00.025) 0:03:18.893 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:83 Friday 26 July 2024 13:41:52 -0400 (0:00:00.024) 0:03:18.918 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:86 Friday 26 July 2024 13:41:52 -0400 (0:00:00.025) 0:03:18.943 *********** included: /tmp/tmp.6PSxNJO0BJ/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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-lvmraid.yml:2 Friday 26 July 2024 13:41:52 -0400 (0:00:00.045) 0:03:18.988 *********** included: /tmp/tmp.6PSxNJO0BJ/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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-lvmraid.yml:8 Friday 26 July 2024 13:41:52 -0400 (0:00:00.089) 0:03:19.078 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-lvmraid.yml:16 Friday 26 July 2024 13:41:52 -0400 (0:00:00.030) 0:03:19.108 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-lvmraid.yml:20 Friday 26 July 2024 13:41:52 -0400 (0:00:00.029) 0:03:19.138 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-lvmraid.yml:27 Friday 26 July 2024 13:41:52 -0400 (0:00:00.030) 0:03:19.169 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-lvmraid.yml:31 Friday 26 July 2024 13:41:52 -0400 (0:00:00.029) 0:03:19.199 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-lvmraid.yml:37 Friday 26 July 2024 13:41:52 -0400 (0:00:00.029) 0:03:19.228 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-lvmraid.yml:42 Friday 26 July 2024 13:41:52 -0400 (0:00:00.036) 0:03:19.265 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:89 Friday 26 July 2024 13:41:52 -0400 (0:00:00.030) 0:03:19.295 *********** included: /tmp/tmp.6PSxNJO0BJ/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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-thin.yml:2 Friday 26 July 2024 13:41:52 -0400 (0:00:00.048) 0:03:19.343 *********** included: /tmp/tmp.6PSxNJO0BJ/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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-thin.yml:8 Friday 26 July 2024 13:41:52 -0400 (0:00:00.044) 0:03:19.388 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-thin.yml:16 Friday 26 July 2024 13:41:52 -0400 (0:00:00.023) 0:03:19.411 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-thin.yml:22 Friday 26 July 2024 13:41:52 -0400 (0:00:00.022) 0:03:19.434 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-thin.yml:26 Friday 26 July 2024 13:41:52 -0400 (0:00:00.022) 0:03:19.456 *********** ok: [managed_node1] => { "ansible_facts": { "storage_test_thin_status": null }, "changed": false } TASK [Check member encryption] ************************************************* task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:92 Friday 26 July 2024 13:41:52 -0400 (0:00:00.024) 0:03:19.481 *********** included: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-encryption.yml for managed_node1 TASK [Set test variables] ****************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-encryption.yml:5 Friday 26 July 2024 13:41:53 -0400 (0:00:00.053) 0:03:19.534 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-encryption.yml:10 Friday 26 July 2024 13:41:53 -0400 (0:00:00.043) 0:03:19.577 *********** included: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-encryption.yml for managed_node1 => (item=/dev/mapper/luks-379a7d91-36ac-4d4f-8510-0b0493e6f436) TASK [Get the backing device path] ********************************************* task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-encryption.yml:2 Friday 26 July 2024 13:41:53 -0400 (0:00:00.043) 0:03:19.620 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "realpath", "/dev/disk/by-uuid/379a7d91-36ac-4d4f-8510-0b0493e6f436" ], "delta": "0:00:00.002993", "end": "2024-07-26 13:41:53.476939", "rc": 0, "start": "2024-07-26 13:41:53.473946" } STDOUT: /dev/sda TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-encryption.yml:12 Friday 26 July 2024 13:41:53 -0400 (0:00:00.419) 0:03:20.040 *********** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this member] *************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-encryption.yml:18 Friday 26 July 2024 13:41:56 -0400 (0:00:02.650) 0:03:22.690 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "cryptsetup", "luksDump", "/dev/sda" ], "delta": "0:00:00.010499", "end": "2024-07-26 13:41:56.531209", "rc": 0, "start": "2024-07-26 13:41:56.520710" } 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: 13 2d 1a 5d fe 4e 74 e4 ea f0 e0 77 e4 5a 38 33 48 bf de 9a MK salt: e0 f9 76 3b 16 c7 c0 f8 54 24 a5 16 66 1c 5d 59 36 3c fd 06 4a 21 d3 29 3c 28 64 f0 86 99 17 e8 MK iterations: 106910 UUID: 379a7d91-36ac-4d4f-8510-0b0493e6f436 Key Slot 0: ENABLED Iterations: 1710564 Salt: ec b9 11 cf d7 dc d4 5d 12 db ca 86 73 2e b1 5c 59 50 33 d9 c6 e0 7c 70 00 61 22 e6 94 4b 69 47 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-encryption.yml:26 Friday 26 July 2024 13:41:56 -0400 (0:00:00.403) 0:03:23.094 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-encryption.yml:38 Friday 26 July 2024 13:41:56 -0400 (0:00:00.051) 0:03:23.145 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-encryption.yml:50 Friday 26 July 2024 13:41:56 -0400 (0:00:00.025) 0:03:23.170 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-encryption.yml:17 Friday 26 July 2024 13:41:56 -0400 (0:00:00.023) 0:03:23.194 *********** included: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-crypttab.yml for managed_node1 => (item=/dev/mapper/luks-379a7d91-36ac-4d4f-8510-0b0493e6f436) TASK [Set variables used by tests] ********************************************* task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-crypttab.yml:2 Friday 26 July 2024 13:41:56 -0400 (0:00:00.048) 0:03:23.243 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_test_crypttab_entries": [ "luks-379a7d91-36ac-4d4f-8510-0b0493e6f436 /dev/sda -" ] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-crypttab.yml:6 Friday 26 July 2024 13:41:56 -0400 (0:00:00.050) 0:03:23.293 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-crypttab.yml:14 Friday 26 July 2024 13:41:56 -0400 (0:00:00.045) 0:03:23.339 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-crypttab.yml:23 Friday 26 July 2024 13:41:56 -0400 (0:00:00.046) 0:03:23.385 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-crypttab.yml:32 Friday 26 July 2024 13:41:56 -0400 (0:00:00.037) 0:03:23.423 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Clear test variables] **************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-crypttab.yml:41 Friday 26 July 2024 13:41:56 -0400 (0:00:00.044) 0:03:23.467 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [Clear test variables] **************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-encryption.yml:24 Friday 26 July 2024 13:41:56 -0400 (0:00:00.027) 0:03:23.495 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:95 Friday 26 July 2024 13:41:57 -0400 (0:00:00.025) 0:03:23.520 *********** included: /tmp/tmp.6PSxNJO0BJ/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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-vdo.yml:2 Friday 26 July 2024 13:41:57 -0400 (0:00:00.051) 0:03:23.571 *********** included: /tmp/tmp.6PSxNJO0BJ/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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-vdo.yml:8 Friday 26 July 2024 13:41:57 -0400 (0:00:00.047) 0:03:23.619 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-vdo.yml:15 Friday 26 July 2024 13:41:57 -0400 (0:00:00.024) 0:03:23.643 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-vdo.yml:21 Friday 26 July 2024 13:41:57 -0400 (0:00:00.023) 0:03:23.666 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-vdo.yml:27 Friday 26 July 2024 13:41:57 -0400 (0:00:00.023) 0:03:23.690 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-vdo.yml:34 Friday 26 July 2024 13:41:57 -0400 (0:00:00.023) 0:03:23.713 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-vdo.yml:40 Friday 26 July 2024 13:41:57 -0400 (0:00:00.022) 0:03:23.735 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-vdo.yml:46 Friday 26 July 2024 13:41:57 -0400 (0:00:00.024) 0:03:23.760 *********** ok: [managed_node1] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [Check Stratis] *********************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:98 Friday 26 July 2024 13:41:57 -0400 (0:00:00.025) 0:03:23.785 *********** included: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-stratis.yml for managed_node1 TASK [Run 'stratis report'] **************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-stratis.yml:6 Friday 26 July 2024 13:41:57 -0400 (0:00:00.056) 0:03:23.842 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-stratis.yml:11 Friday 26 July 2024 13:41:57 -0400 (0:00:00.022) 0:03:23.865 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-stratis.yml:15 Friday 26 July 2024 13:41:57 -0400 (0:00:00.024) 0:03:23.889 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-stratis.yml:25 Friday 26 July 2024 13:41:57 -0400 (0:00:00.022) 0:03:23.911 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-stratis.yml:34 Friday 26 July 2024 13:41:57 -0400 (0:00:00.022) 0:03:23.934 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-stratis.yml:44 Friday 26 July 2024 13:41:57 -0400 (0:00:00.022) 0:03:23.956 *********** ok: [managed_node1] => { "ansible_facts": { "storage_test_stratis_report": null }, "changed": false } TASK [Clean up test variables] ************************************************* task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:101 Friday 26 July 2024 13:41:57 -0400 (0:00:00.023) 0:03:23.980 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-volumes.yml:3 Friday 26 July 2024 13:41:57 -0400 (0:00:00.024) 0:03:24.005 *********** included: /tmp/tmp.6PSxNJO0BJ/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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume.yml:2 Friday 26 July 2024 13:41:57 -0400 (0:00:00.041) 0:03:24.046 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume.yml:19 Friday 26 July 2024 13:41:57 -0400 (0:00:00.044) 0:03:24.091 *********** included: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml for managed_node1 => (item=mount) included: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml for managed_node1 => (item=fstab) included: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fs.yml for managed_node1 => (item=fs) included: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml for managed_node1 => (item=device) included: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml for managed_node1 => (item=encryption) included: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml for managed_node1 => (item=md) included: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml for managed_node1 => (item=size) included: /tmp/tmp.6PSxNJO0BJ/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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:7 Friday 26 July 2024 13:41:57 -0400 (0:00:00.170) 0:03:24.262 *********** ok: [managed_node1] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:11 Friday 26 July 2024 13:41:57 -0400 (0:00:00.035) 0:03:24.298 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:19 Friday 26 July 2024 13:41:57 -0400 (0:00:00.047) 0:03:24.345 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:28 Friday 26 July 2024 13:41:57 -0400 (0:00:00.024) 0:03:24.369 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify mount directory user] ********************************************* task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:36 Friday 26 July 2024 13:41:57 -0400 (0:00:00.031) 0:03:24.401 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:42 Friday 26 July 2024 13:41:57 -0400 (0:00:00.023) 0:03:24.425 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:48 Friday 26 July 2024 13:41:57 -0400 (0:00:00.023) 0:03:24.449 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:57 Friday 26 July 2024 13:41:57 -0400 (0:00:00.023) 0:03:24.473 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:63 Friday 26 July 2024 13:41:57 -0400 (0:00:00.023) 0:03:24.496 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:69 Friday 26 July 2024 13:41:58 -0400 (0:00:00.023) 0:03:24.520 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:79 Friday 26 July 2024 13:41:58 -0400 (0:00:00.026) 0:03:24.546 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml:2 Friday 26 July 2024 13:41:58 -0400 (0:00:00.025) 0:03:24.571 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml:17 Friday 26 July 2024 13:41:58 -0400 (0:00:00.066) 0:03:24.638 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml:24 Friday 26 July 2024 13:41:58 -0400 (0:00:00.045) 0:03:24.683 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml:33 Friday 26 July 2024 13:41:58 -0400 (0:00:00.044) 0:03:24.728 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml:45 Friday 26 July 2024 13:41:58 -0400 (0:00:00.038) 0:03:24.766 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Clean up variables] ****************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml:51 Friday 26 July 2024 13:41:58 -0400 (0:00:00.030) 0:03:24.797 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fs.yml:6 Friday 26 July 2024 13:41:58 -0400 (0:00:00.025) 0:03:24.823 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fs.yml:14 Friday 26 July 2024 13:41:58 -0400 (0:00:00.048) 0:03:24.871 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:3 Friday 26 July 2024 13:41:58 -0400 (0:00:00.046) 0:03:24.918 *********** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722015676.9171958, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1722015676.9171958, "dev": 6, "device_type": 64769, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 82479, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1722015676.9171958, "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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:9 Friday 26 July 2024 13:41:58 -0400 (0:00:00.408) 0:03:25.326 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:16 Friday 26 July 2024 13:41:58 -0400 (0:00:00.031) 0:03:25.358 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:23 Friday 26 July 2024 13:41:58 -0400 (0:00:00.027) 0:03:25.385 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Process volume type (set initial value) (1/2)] *************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:29 Friday 26 July 2024 13:41:58 -0400 (0:00:00.031) 0:03:25.417 *********** ok: [managed_node1] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [Process volume type (get RAID value) (2/2)] ****************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:33 Friday 26 July 2024 13:41:58 -0400 (0:00:00.029) 0:03:25.446 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:38 Friday 26 July 2024 13:41:58 -0400 (0:00:00.024) 0:03:25.471 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:3 Friday 26 July 2024 13:41:58 -0400 (0:00:00.030) 0:03:25.501 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:10 Friday 26 July 2024 13:41:59 -0400 (0:00:00.023) 0:03:25.525 *********** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:16 Friday 26 July 2024 13:42:01 -0400 (0:00:02.772) 0:03:28.298 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:22 Friday 26 July 2024 13:42:01 -0400 (0:00:00.025) 0:03:28.323 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:29 Friday 26 July 2024 13:42:01 -0400 (0:00:00.024) 0:03:28.347 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:40 Friday 26 July 2024 13:42:01 -0400 (0:00:00.047) 0:03:28.395 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:46 Friday 26 July 2024 13:42:01 -0400 (0:00:00.024) 0:03:28.420 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:51 Friday 26 July 2024 13:42:01 -0400 (0:00:00.023) 0:03:28.443 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:63 Friday 26 July 2024 13:42:01 -0400 (0:00:00.027) 0:03:28.471 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:75 Friday 26 July 2024 13:42:01 -0400 (0:00:00.024) 0:03:28.496 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:87 Friday 26 July 2024 13:42:02 -0400 (0:00:00.024) 0:03:28.520 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:93 Friday 26 July 2024 13:42:02 -0400 (0:00:00.052) 0:03:28.573 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:100 Friday 26 July 2024 13:42:02 -0400 (0:00:00.045) 0:03:28.618 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:108 Friday 26 July 2024 13:42:02 -0400 (0:00:00.037) 0:03:28.656 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:116 Friday 26 July 2024 13:42:02 -0400 (0:00:00.046) 0:03:28.703 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:124 Friday 26 July 2024 13:42:02 -0400 (0:00:00.039) 0:03:28.742 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:8 Friday 26 July 2024 13:42:02 -0400 (0:00:00.026) 0:03:28.768 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:14 Friday 26 July 2024 13:42:02 -0400 (0:00:00.024) 0:03:28.793 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:19 Friday 26 July 2024 13:42:02 -0400 (0:00:00.024) 0:03:28.817 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:24 Friday 26 July 2024 13:42:02 -0400 (0:00:00.023) 0:03:28.840 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:29 Friday 26 July 2024 13:42:02 -0400 (0:00:00.027) 0:03:28.867 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:37 Friday 26 July 2024 13:42:02 -0400 (0:00:00.023) 0:03:28.891 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:46 Friday 26 July 2024 13:42:02 -0400 (0:00:00.024) 0:03:28.916 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:54 Friday 26 July 2024 13:42:02 -0400 (0:00:00.024) 0:03:28.940 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:62 Friday 26 July 2024 13:42:02 -0400 (0:00:00.023) 0:03:28.963 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:70 Friday 26 July 2024 13:42:02 -0400 (0:00:00.023) 0:03:28.986 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:3 Friday 26 July 2024 13:42:02 -0400 (0:00:00.026) 0:03:29.012 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:11 Friday 26 July 2024 13:42:02 -0400 (0:00:00.418) 0:03:29.431 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:20 Friday 26 July 2024 13:42:03 -0400 (0:00:00.425) 0:03:29.857 *********** ok: [managed_node1] => { "ansible_facts": { "storage_test_expected_size": "4294967296" }, "changed": false } TASK [Show expected size] ****************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:28 Friday 26 July 2024 13:42:03 -0400 (0:00:00.047) 0:03:29.905 *********** ok: [managed_node1] => { "storage_test_expected_size": "4294967296" } TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:32 Friday 26 July 2024 13:42:03 -0400 (0:00:00.028) 0:03:29.933 *********** ok: [managed_node1] => { "bytes": 10715943403, "changed": false, "lvm": "9g", "parted": "9GiB", "size": "9 GiB" } TASK [Show test pool] ********************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:46 Friday 26 July 2024 13:42:03 -0400 (0:00:00.416) 0:03:30.350 *********** skipping: [managed_node1] => { "false_condition": "'%' in storage_test_volume.size | string" } TASK [Show test blockinfo] ***************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:50 Friday 26 July 2024 13:42:03 -0400 (0:00:00.050) 0:03:30.401 *********** skipping: [managed_node1] => { "false_condition": "'%' in storage_test_volume.size | string" } TASK [Show test pool size] ***************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:54 Friday 26 July 2024 13:42:03 -0400 (0:00:00.042) 0:03:30.444 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:58 Friday 26 July 2024 13:42:03 -0400 (0:00:00.042) 0:03:30.486 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:67 Friday 26 July 2024 13:42:04 -0400 (0:00:00.042) 0:03:30.529 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:71 Friday 26 July 2024 13:42:04 -0400 (0:00:00.023) 0:03:30.553 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:76 Friday 26 July 2024 13:42:04 -0400 (0:00:00.023) 0:03:30.576 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:82 Friday 26 July 2024 13:42:04 -0400 (0:00:00.025) 0:03:30.602 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:86 Friday 26 July 2024 13:42:04 -0400 (0:00:00.023) 0:03:30.625 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:91 Friday 26 July 2024 13:42:04 -0400 (0:00:00.024) 0:03:30.650 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:96 Friday 26 July 2024 13:42:04 -0400 (0:00:00.023) 0:03:30.673 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:101 Friday 26 July 2024 13:42:04 -0400 (0:00:00.022) 0:03:30.696 *********** skipping: [managed_node1] => { "false_condition": "storage_test_volume.thin" } TASK [Show volume thin pool size] ********************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:105 Friday 26 July 2024 13:42:04 -0400 (0:00:00.022) 0:03:30.718 *********** skipping: [managed_node1] => { "false_condition": "storage_test_volume.thin" } TASK [Show test volume size] *************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:109 Friday 26 July 2024 13:42:04 -0400 (0:00:00.064) 0:03:30.782 *********** skipping: [managed_node1] => { "false_condition": "storage_test_volume.thin" } TASK [Establish base value for expected thin pool size] ************************ task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:113 Friday 26 July 2024 13:42:04 -0400 (0:00:00.023) 0:03:30.806 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:120 Friday 26 July 2024 13:42:04 -0400 (0:00:00.023) 0:03:30.830 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:127 Friday 26 July 2024 13:42:04 -0400 (0:00:00.023) 0:03:30.853 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:131 Friday 26 July 2024 13:42:04 -0400 (0:00:00.023) 0:03:30.877 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:137 Friday 26 July 2024 13:42:04 -0400 (0:00:00.023) 0:03:30.901 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:143 Friday 26 July 2024 13:42:04 -0400 (0:00:00.025) 0:03:30.927 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:147 Friday 26 July 2024 13:42:04 -0400 (0:00:00.029) 0:03:30.956 *********** ok: [managed_node1] => { "storage_test_expected_size": "4294967296" } TASK [Assert expected size is actual size] ************************************* task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:151 Friday 26 July 2024 13:42:04 -0400 (0:00:00.028) 0:03:30.985 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:5 Friday 26 July 2024 13:42:04 -0400 (0:00:00.049) 0:03:31.035 *********** 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.033371", "end": "2024-07-26 13:42:04.906416", "rc": 0, "start": "2024-07-26 13:42:04.873045" } 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:13 Friday 26 July 2024 13:42:04 -0400 (0:00:00.435) 0:03:31.470 *********** ok: [managed_node1] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [Check segment type] ****************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:17 Friday 26 July 2024 13:42:05 -0400 (0:00:00.044) 0:03:31.515 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Set LV cache size] ******************************************************* task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:24 Friday 26 July 2024 13:42:05 -0400 (0:00:00.049) 0:03:31.564 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:31 Friday 26 July 2024 13:42:05 -0400 (0:00:00.040) 0:03:31.604 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:37 Friday 26 July 2024 13:42:05 -0400 (0:00:00.039) 0:03:31.644 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:42 Friday 26 July 2024 13:42:05 -0400 (0:00:00.040) 0:03:31.684 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume.yml:25 Friday 26 July 2024 13:42:05 -0400 (0:00:00.038) 0:03:31.723 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:44 Friday 26 July 2024 13:42:05 -0400 (0:00:00.025) 0:03:31.748 *********** skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:54 Friday 26 July 2024 13:42:05 -0400 (0:00:00.023) 0:03:31.772 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/tests_luks_pool.yml:262 Friday 26 July 2024 13:42:05 -0400 (0:00:00.025) 0:03:31.798 *********** TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Friday 26 July 2024 13:42:05 -0400 (0:00:00.072) 0:03:31.870 *********** included: /tmp/tmp.6PSxNJO0BJ/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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Friday 26 July 2024 13:42:05 -0400 (0:00:00.036) 0:03:31.906 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Friday 26 July 2024 13:42:05 -0400 (0:00:00.044) 0:03:31.951 *********** 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_8.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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [managed_node1] => (item=CentOS_8.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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [fedora.linux_system_roles.storage : Check if system is ostree] *********** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:25 Friday 26 July 2024 13:42:05 -0400 (0:00:00.060) 0:03:32.012 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:30 Friday 26 July 2024 13:42:05 -0400 (0:00:00.028) 0:03:32.040 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Friday 26 July 2024 13:42:05 -0400 (0:00:00.028) 0:03:32.069 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Friday 26 July 2024 13:42:05 -0400 (0:00:00.027) 0:03:32.096 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Friday 26 July 2024 13:42:05 -0400 (0:00:00.025) 0:03:32.122 *********** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmp.6PSxNJO0BJ/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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Friday 26 July 2024 13:42:05 -0400 (0:00:00.057) 0:03:32.179 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:9 Friday 26 July 2024 13:42:05 -0400 (0:00:00.032) 0:03:32.212 *********** ok: [managed_node1] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined. 'storage_pools' is undefined" } TASK [fedora.linux_system_roles.storage : Show storage_volumes] **************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:14 Friday 26 July 2024 13:42:05 -0400 (0:00:00.029) 0:03:32.241 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:19 Friday 26 July 2024 13:42:05 -0400 (0:00:00.030) 0:03:32.272 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:31 Friday 26 July 2024 13:42:05 -0400 (0:00:00.030) 0:03:32.303 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:37 Friday 26 July 2024 13:42:05 -0400 (0:00:00.030) 0:03:32.333 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:51 Friday 26 July 2024 13:42:05 -0400 (0:00:00.030) 0:03:32.363 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:57 Friday 26 July 2024 13:42:05 -0400 (0:00:00.032) 0:03:32.396 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:63 Friday 26 July 2024 13:42:05 -0400 (0:00:00.058) 0:03:32.454 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:69 Friday 26 July 2024 13:42:05 -0400 (0:00:00.020) 0:03:32.475 *********** 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-379a7d91-36ac-4d4f-8510-0b0493e6f436", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/mapper/luks-379a7d91-36ac-4d4f-8510-0b0493e6f436", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "luks" } ], "changed": true, "crypts": [ { "backing_device": "/dev/sda", "name": "luks-379a7d91-36ac-4d4f-8510-0b0493e6f436", "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-379a7d91-36ac-4d4f-8510-0b0493e6f436", "_mount_id": "/dev/mapper/luks-379a7d91-36ac-4d4f-8510-0b0493e6f436", "_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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:83 Friday 26 July 2024 13:42:11 -0400 (0:00:05.180) 0:03:37.656 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Friday 26 July 2024 13:42:11 -0400 (0:00:00.039) 0:03:37.695 *********** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722015706.252533, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7cabf19be818cfae5507ca95214082d911711f1e", "ctime": 1722015706.248533, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 304087257, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722015706.248533, "nlink": 1, "path": "/etc/fstab", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 1393, "uid": 0, "version": "1907617355", "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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:95 Friday 26 July 2024 13:42:11 -0400 (0:00:00.415) 0:03:38.111 *********** ok: [managed_node1] => { "backup": "", "changed": false } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:113 Friday 26 July 2024 13:42:12 -0400 (0:00:00.420) 0:03:38.532 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:119 Friday 26 July 2024 13:42:12 -0400 (0:00:00.021) 0:03:38.553 *********** 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-379a7d91-36ac-4d4f-8510-0b0493e6f436", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/mapper/luks-379a7d91-36ac-4d4f-8510-0b0493e6f436", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "luks" } ], "changed": true, "crypts": [ { "backing_device": "/dev/sda", "name": "luks-379a7d91-36ac-4d4f-8510-0b0493e6f436", "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-379a7d91-36ac-4d4f-8510-0b0493e6f436", "_mount_id": "/dev/mapper/luks-379a7d91-36ac-4d4f-8510-0b0493e6f436", "_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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:128 Friday 26 July 2024 13:42:12 -0400 (0:00:00.032) 0:03:38.586 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Friday 26 July 2024 13:42:12 -0400 (0:00:00.028) 0:03:38.614 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/mapper/luks-379a7d91-36ac-4d4f-8510-0b0493e6f436", "_mount_id": "/dev/mapper/luks-379a7d91-36ac-4d4f-8510-0b0493e6f436", "_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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Friday 26 July 2024 13:42:12 -0400 (0:00:00.028) 0:03:38.643 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:159 Friday 26 July 2024 13:42:12 -0400 (0:00:00.437) 0:03:39.081 *********** ok: [managed_node1] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : Set up new/current mounts] *********** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:164 Friday 26 July 2024 13:42:13 -0400 (0:00:00.713) 0:03:39.795 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:175 Friday 26 July 2024 13:42:13 -0400 (0:00:00.044) 0:03:39.839 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:187 Friday 26 July 2024 13:42:13 -0400 (0:00:00.044) 0:03:39.884 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:195 Friday 26 July 2024 13:42:14 -0400 (0:00:00.706) 0:03:40.590 *********** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722015683.5050457, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6860b08c6c70dd4783fca0c2715e25596d68fe18", "ctime": 1722015681.1540992, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 27263178, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722015681.1520994, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 53, "uid": 0, "version": "2807271746", "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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:200 Friday 26 July 2024 13:42:14 -0400 (0:00:00.411) 0:03:41.002 *********** changed: [managed_node1] => (item={'backing_device': '/dev/sda', 'name': 'luks-379a7d91-36ac-4d4f-8510-0b0493e6f436', 'password': '-', 'state': 'absent'}) => { "ansible_loop_var": "entry", "backup": "", "changed": true, "entry": { "backing_device": "/dev/sda", "name": "luks-379a7d91-36ac-4d4f-8510-0b0493e6f436", "password": "-", "state": "absent" }, "found": 1 } MSG: 1 line(s) removed TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:222 Friday 26 July 2024 13:42:14 -0400 (0:00:00.430) 0:03:41.433 *********** ok: [managed_node1] TASK [Verify role results] ***************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/tests_luks_pool.yml:272 Friday 26 July 2024 13:42:15 -0400 (0:00:00.974) 0:03:42.408 *********** included: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml for managed_node1 TASK [Print out pool information] ********************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:2 Friday 26 July 2024 13:42:15 -0400 (0:00:00.054) 0:03:42.462 *********** skipping: [managed_node1] => { "false_condition": "_storage_pools_list | length > 0" } TASK [Print out volume information] ******************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:7 Friday 26 July 2024 13:42:16 -0400 (0:00:00.086) 0:03:42.549 *********** ok: [managed_node1] => { "_storage_volumes_list": [ { "_device": "/dev/mapper/luks-379a7d91-36ac-4d4f-8510-0b0493e6f436", "_mount_id": "/dev/mapper/luks-379a7d91-36ac-4d4f-8510-0b0493e6f436", "_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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:15 Friday 26 July 2024 13:42:16 -0400 (0:00:00.045) 0:03:42.594 *********** 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": "fe591198-9082-4b15-9b62-e83518524cd2" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:20 Friday 26 July 2024 13:42:16 -0400 (0:00:00.408) 0:03:43.002 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003013", "end": "2024-07-26 13:42:16.841207", "rc": 0, "start": "2024-07-26 13:42:16.838194" } STDOUT: # system_role:storage # # /etc/fstab # Created by anaconda on Wed May 29 07:43:06 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=fe591198-9082-4b15-9b62-e83518524cd2 / xfs defaults 0 0 ntap-bos-c01-eng01-nfs01b.storage.bos.redhat.com:/devops_engineering_nfs/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-bos-c01-eng01-nfs01b.storage.bos.redhat.com:/devops_engineering_nfs/devarchive/redhat/brewroot /mnt/brew nfs ro,rsize=32768,wsize=8192,bg,noauto,noatime,nosuid,nodev,intr 0 0 ntap-bos-c01-eng01-nfs01b.storage.bos.redhat.com:/devops_brew_scratch_nfs/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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:25 Friday 26 July 2024 13:42:16 -0400 (0:00:00.402) 0:03:43.405 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003042", "end": "2024-07-26 13:42:17.244629", "failed_when_result": false, "rc": 0, "start": "2024-07-26 13:42:17.241587" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:34 Friday 26 July 2024 13:42:17 -0400 (0:00:00.403) 0:03:43.808 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:44 Friday 26 July 2024 13:42:17 -0400 (0:00:00.021) 0:03:43.830 *********** included: /tmp/tmp.6PSxNJO0BJ/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-379a7d91-36ac-4d4f-8510-0b0493e6f436', '_raw_device': '/dev/sda', '_mount_id': '/dev/mapper/luks-379a7d91-36ac-4d4f-8510-0b0493e6f436'}) TASK [Set storage volume test variables] *************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume.yml:2 Friday 26 July 2024 13:42:17 -0400 (0:00:00.069) 0:03:43.899 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume.yml:19 Friday 26 July 2024 13:42:17 -0400 (0:00:00.046) 0:03:43.945 *********** included: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml for managed_node1 => (item=mount) included: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml for managed_node1 => (item=fstab) included: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fs.yml for managed_node1 => (item=fs) included: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml for managed_node1 => (item=device) included: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml for managed_node1 => (item=encryption) included: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml for managed_node1 => (item=md) included: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml for managed_node1 => (item=size) included: /tmp/tmp.6PSxNJO0BJ/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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:7 Friday 26 July 2024 13:42:17 -0400 (0:00:00.126) 0:03:44.072 *********** ok: [managed_node1] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/luks-379a7d91-36ac-4d4f-8510-0b0493e6f436" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:11 Friday 26 July 2024 13:42:17 -0400 (0:00:00.035) 0:03:44.108 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:19 Friday 26 July 2024 13:42:17 -0400 (0:00:00.047) 0:03:44.155 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:28 Friday 26 July 2024 13:42:17 -0400 (0:00:00.024) 0:03:44.180 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:36 Friday 26 July 2024 13:42:17 -0400 (0:00:00.024) 0:03:44.204 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:42 Friday 26 July 2024 13:42:17 -0400 (0:00:00.023) 0:03:44.228 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:48 Friday 26 July 2024 13:42:17 -0400 (0:00:00.024) 0:03:44.252 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:57 Friday 26 July 2024 13:42:17 -0400 (0:00:00.023) 0:03:44.276 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:63 Friday 26 July 2024 13:42:17 -0400 (0:00:00.022) 0:03:44.298 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:69 Friday 26 July 2024 13:42:17 -0400 (0:00:00.023) 0:03:44.321 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:79 Friday 26 July 2024 13:42:17 -0400 (0:00:00.025) 0:03:44.346 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml:2 Friday 26 July 2024 13:42:17 -0400 (0:00:00.025) 0:03:44.372 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml:17 Friday 26 July 2024 13:42:17 -0400 (0:00:00.065) 0:03:44.437 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml:24 Friday 26 July 2024 13:42:17 -0400 (0:00:00.037) 0:03:44.474 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml:33 Friday 26 July 2024 13:42:18 -0400 (0:00:00.044) 0:03:44.519 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml:45 Friday 26 July 2024 13:42:18 -0400 (0:00:00.038) 0:03:44.557 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Clean up variables] ****************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml:51 Friday 26 July 2024 13:42:18 -0400 (0:00:00.030) 0:03:44.588 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fs.yml:6 Friday 26 July 2024 13:42:18 -0400 (0:00:00.025) 0:03:44.614 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fs.yml:14 Friday 26 July 2024 13:42:18 -0400 (0:00:00.025) 0:03:44.640 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:3 Friday 26 July 2024 13:42:18 -0400 (0:00:00.038) 0:03:44.679 *********** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722015731.0359817, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1722015731.0359817, "dev": 6, "device_type": 2048, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 36154, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1722015731.0359817, "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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:9 Friday 26 July 2024 13:42:18 -0400 (0:00:00.409) 0:03:45.088 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:16 Friday 26 July 2024 13:42:18 -0400 (0:00:00.030) 0:03:45.119 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:23 Friday 26 July 2024 13:42:18 -0400 (0:00:00.026) 0:03:45.145 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:29 Friday 26 July 2024 13:42:18 -0400 (0:00:00.023) 0:03:45.168 *********** ok: [managed_node1] => { "ansible_facts": { "st_volume_type": "disk" }, "changed": false } TASK [Process volume type (get RAID value) (2/2)] ****************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:33 Friday 26 July 2024 13:42:18 -0400 (0:00:00.028) 0:03:45.196 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:38 Friday 26 July 2024 13:42:18 -0400 (0:00:00.023) 0:03:45.220 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:3 Friday 26 July 2024 13:42:18 -0400 (0:00:00.023) 0:03:45.243 *********** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:10 Friday 26 July 2024 13:42:19 -0400 (0:00:00.399) 0:03:45.643 *********** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:16 Friday 26 July 2024 13:42:21 -0400 (0:00:02.711) 0:03:48.355 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:22 Friday 26 July 2024 13:42:21 -0400 (0:00:00.023) 0:03:48.378 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:29 Friday 26 July 2024 13:42:21 -0400 (0:00:00.044) 0:03:48.423 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:40 Friday 26 July 2024 13:42:21 -0400 (0:00:00.022) 0:03:48.445 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:46 Friday 26 July 2024 13:42:21 -0400 (0:00:00.022) 0:03:48.468 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:51 Friday 26 July 2024 13:42:21 -0400 (0:00:00.022) 0:03:48.490 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:63 Friday 26 July 2024 13:42:22 -0400 (0:00:00.024) 0:03:48.515 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:75 Friday 26 July 2024 13:42:22 -0400 (0:00:00.022) 0:03:48.537 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:87 Friday 26 July 2024 13:42:22 -0400 (0:00:00.022) 0:03:48.560 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:93 Friday 26 July 2024 13:42:22 -0400 (0:00:00.048) 0:03:48.608 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:100 Friday 26 July 2024 13:42:22 -0400 (0:00:00.044) 0:03:48.652 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:108 Friday 26 July 2024 13:42:22 -0400 (0:00:00.037) 0:03:48.690 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:116 Friday 26 July 2024 13:42:22 -0400 (0:00:00.046) 0:03:48.737 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:124 Friday 26 July 2024 13:42:22 -0400 (0:00:00.039) 0:03:48.776 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:8 Friday 26 July 2024 13:42:22 -0400 (0:00:00.025) 0:03:48.802 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:14 Friday 26 July 2024 13:42:22 -0400 (0:00:00.022) 0:03:48.824 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:19 Friday 26 July 2024 13:42:22 -0400 (0:00:00.021) 0:03:48.846 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:24 Friday 26 July 2024 13:42:22 -0400 (0:00:00.022) 0:03:48.869 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:29 Friday 26 July 2024 13:42:22 -0400 (0:00:00.025) 0:03:48.895 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:37 Friday 26 July 2024 13:42:22 -0400 (0:00:00.023) 0:03:48.919 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:46 Friday 26 July 2024 13:42:22 -0400 (0:00:00.023) 0:03:48.943 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:54 Friday 26 July 2024 13:42:22 -0400 (0:00:00.022) 0:03:48.965 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:62 Friday 26 July 2024 13:42:22 -0400 (0:00:00.022) 0:03:48.988 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:70 Friday 26 July 2024 13:42:22 -0400 (0:00:00.022) 0:03:49.011 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:3 Friday 26 July 2024 13:42:22 -0400 (0:00:00.025) 0:03:49.037 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:11 Friday 26 July 2024 13:42:22 -0400 (0:00:00.037) 0:03:49.075 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:20 Friday 26 July 2024 13:42:22 -0400 (0:00:00.038) 0:03:49.113 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:28 Friday 26 July 2024 13:42:22 -0400 (0:00:00.037) 0:03:49.150 *********** ok: [managed_node1] => { "storage_test_expected_size": "4294967296" } TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:32 Friday 26 July 2024 13:42:22 -0400 (0:00:00.027) 0:03:49.178 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:46 Friday 26 July 2024 13:42:22 -0400 (0:00:00.036) 0:03:49.214 *********** skipping: [managed_node1] => { "false_condition": "_storage_test_volume_present | bool" } TASK [Show test blockinfo] ***************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:50 Friday 26 July 2024 13:42:22 -0400 (0:00:00.045) 0:03:49.260 *********** skipping: [managed_node1] => { "false_condition": "_storage_test_volume_present | bool" } TASK [Show test pool size] ***************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:54 Friday 26 July 2024 13:42:22 -0400 (0:00:00.038) 0:03:49.298 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:58 Friday 26 July 2024 13:42:22 -0400 (0:00:00.037) 0:03:49.336 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:67 Friday 26 July 2024 13:42:22 -0400 (0:00:00.037) 0:03:49.373 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:71 Friday 26 July 2024 13:42:22 -0400 (0:00:00.022) 0:03:49.396 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:76 Friday 26 July 2024 13:42:22 -0400 (0:00:00.022) 0:03:49.419 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:82 Friday 26 July 2024 13:42:22 -0400 (0:00:00.068) 0:03:49.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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:86 Friday 26 July 2024 13:42:23 -0400 (0:00:00.023) 0:03:49.511 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:91 Friday 26 July 2024 13:42:23 -0400 (0:00:00.023) 0:03:49.534 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:96 Friday 26 July 2024 13:42:23 -0400 (0:00:00.022) 0:03:49.557 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:101 Friday 26 July 2024 13:42:23 -0400 (0:00:00.022) 0:03:49.579 *********** skipping: [managed_node1] => { "false_condition": "storage_test_volume.thin" } TASK [Show volume thin pool size] ********************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:105 Friday 26 July 2024 13:42:23 -0400 (0:00:00.022) 0:03:49.602 *********** skipping: [managed_node1] => { "false_condition": "storage_test_volume.thin" } TASK [Show test volume size] *************************************************** task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:109 Friday 26 July 2024 13:42:23 -0400 (0:00:00.026) 0:03:49.628 *********** skipping: [managed_node1] => { "false_condition": "storage_test_volume.thin" } TASK [Establish base value for expected thin pool size] ************************ task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:113 Friday 26 July 2024 13:42:23 -0400 (0:00:00.023) 0:03:49.652 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:120 Friday 26 July 2024 13:42:23 -0400 (0:00:00.023) 0:03:49.676 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:127 Friday 26 July 2024 13:42:23 -0400 (0:00:00.023) 0:03:49.699 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:131 Friday 26 July 2024 13:42:23 -0400 (0:00:00.023) 0:03:49.723 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:137 Friday 26 July 2024 13:42:23 -0400 (0:00:00.023) 0:03:49.746 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:143 Friday 26 July 2024 13:42:23 -0400 (0:00:00.026) 0:03:49.772 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:147 Friday 26 July 2024 13:42:23 -0400 (0:00:00.027) 0:03:49.800 *********** ok: [managed_node1] => { "storage_test_expected_size": "4294967296" } TASK [Assert expected size is actual size] ************************************* task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:151 Friday 26 July 2024 13:42:23 -0400 (0:00:00.028) 0:03:49.828 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:5 Friday 26 July 2024 13:42:23 -0400 (0:00:00.037) 0:03:49.866 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:13 Friday 26 July 2024 13:42:23 -0400 (0:00:00.022) 0:03:49.889 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:17 Friday 26 July 2024 13:42:23 -0400 (0:00:00.022) 0:03:49.911 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:24 Friday 26 July 2024 13:42:23 -0400 (0:00:00.025) 0:03:49.937 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:31 Friday 26 July 2024 13:42:23 -0400 (0:00:00.023) 0:03:49.960 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:37 Friday 26 July 2024 13:42:23 -0400 (0:00:00.024) 0:03:49.984 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:42 Friday 26 July 2024 13:42:23 -0400 (0:00:00.023) 0:03:50.007 *********** 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.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume.yml:25 Friday 26 July 2024 13:42:23 -0400 (0:00:00.023) 0:03:50.031 *********** ok: [managed_node1] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:54 Friday 26 July 2024 13:42:23 -0400 (0:00:00.024) 0:03:50.056 *********** ok: [managed_node1] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } PLAY RECAP ********************************************************************* managed_node1 : ok=574 changed=21 unreachable=0 failed=0 skipped=558 rescued=6 ignored=0 Friday 26 July 2024 13:42:23 -0400 (0:00:00.048) 0:03:50.104 *********** =============================================================================== fedora.linux_system_roles.storage : Make sure blivet is available ------ 51.39s /tmp/tmp.6PSxNJO0BJ/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 -- 12.73s /tmp/tmp.6PSxNJO0BJ/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 -- 11.18s /tmp/tmp.6PSxNJO0BJ/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 --- 5.67s /tmp/tmp.6PSxNJO0BJ/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 --- 5.18s /tmp/tmp.6PSxNJO0BJ/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 --- 4.54s /tmp/tmp.6PSxNJO0BJ/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 --- 4.39s /tmp/tmp.6PSxNJO0BJ/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 --- 4.37s /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:69 fedora.linux_system_roles.storage : Get required packages --------------- 4.34s /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:19 fedora.linux_system_roles.storage : Manage the pools and volumes to match the specified state --- 4.12s /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:69 fedora.linux_system_roles.storage : Make sure required packages are installed --- 2.81s /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:37 Ensure cryptsetup is present -------------------------------------------- 2.77s /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:10 Ensure cryptsetup is present -------------------------------------------- 2.71s /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:10 Ensure cryptsetup is present -------------------------------------------- 2.69s /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-encryption.yml:12 Ensure cryptsetup is present -------------------------------------------- 2.67s /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-encryption.yml:12 Ensure cryptsetup is present -------------------------------------------- 2.67s /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:10 Ensure test packages ---------------------------------------------------- 2.67s /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/get_unused_disk.yml:2 Ensure cryptsetup is present -------------------------------------------- 2.65s /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:10 Ensure cryptsetup is present -------------------------------------------- 2.65s /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-encryption.yml:12 fedora.linux_system_roles.storage : Make sure required packages are installed --- 2.65s /tmp/tmp.6PSxNJO0BJ/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:37