ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Nov 14 2023, 16:14:06) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] Using /etc/ansible/ansible.cfg as config file [WARNING]: running playbook inside collection fedora.linux_system_roles statically imported: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/create-test-file.yml statically imported: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-data-preservation.yml statically imported: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/create-test-file.yml statically imported: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-data-preservation.yml statically imported: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/create-test-file.yml statically imported: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-data-preservation.yml Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_luks_pool.yml ************************************************** 1 plays in /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/tests_luks_pool.yml PLAY [Test LUKS pool] ********************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/tests_luks_pool.yml:2 Monday 19 August 2024 17:18:14 -0400 (0:00:00.042) 0:00:00.042 ********* ok: [managed_node2] META: ran handlers TASK [Enable FIPS mode] ******************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/tests_luks_pool.yml:23 Monday 19 August 2024 17:18:15 -0400 (0:00:01.362) 0:00:01.405 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Reboot] ****************************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/tests_luks_pool.yml:27 Monday 19 August 2024 17:18:15 -0400 (0:00:00.091) 0:00:01.496 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure dracut-fips] ****************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/tests_luks_pool.yml:37 Monday 19 August 2024 17:18:15 -0400 (0:00:00.093) 0:00:01.590 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Configure boot for FIPS] ************************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/tests_luks_pool.yml:43 Monday 19 August 2024 17:18:15 -0400 (0:00:00.086) 0:00:01.676 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Reboot] ****************************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/tests_luks_pool.yml:52 Monday 19 August 2024 17:18:15 -0400 (0:00:00.082) 0:00:01.759 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run the role] ************************************************************ task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/tests_luks_pool.yml:56 Monday 19 August 2024 17:18:16 -0400 (0:00:00.088) 0:00:01.848 ********* TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Monday 19 August 2024 17:18:16 -0400 (0:00:00.079) 0:00:01.927 ********* included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for managed_node2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Monday 19 August 2024 17:18:16 -0400 (0:00:00.103) 0:00:02.031 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Monday 19 August 2024 17:18:16 -0400 (0:00:00.118) 0:00:02.150 ********* skipping: [managed_node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed_node2] => (item=CentOS_7.yml) => { "ansible_facts": { "__storage_blivet_diskvolume_mkfs_option_map": { "ext2": "-F", "ext3": "-F", "ext4": "-F" }, "blivet_package_list": [ "python-enum34", "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "{{ 'libblockdev-s390' if ansible_architecture == 's390x' else 'libblockdev' }}" ] }, "ansible_included_var_files": [ "/tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed_node2] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Check if system is ostree] *********** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:25 Monday 19 August 2024 17:18:16 -0400 (0:00:00.138) 0:00:02.288 ********* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.storage : Set flag to indicate system is ostree] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:30 Monday 19 August 2024 17:18:17 -0400 (0:00:00.941) 0:00:03.229 ********* ok: [managed_node2] => { "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/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Monday 19 August 2024 17:18:17 -0400 (0:00:00.132) 0:00:03.362 ********* ok: [managed_node2] => { "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/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Monday 19 August 2024 17:18:17 -0400 (0:00:00.042) 0:00:03.405 ********* ok: [managed_node2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Include the appropriate provider tasks] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Monday 19 August 2024 17:18:17 -0400 (0:00:00.082) 0:00:03.487 ********* included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for managed_node2 TASK [fedora.linux_system_roles.storage : Make sure blivet is available] ******* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Monday 19 August 2024 17:18:17 -0400 (0:00:00.149) 0:00:03.637 ********* ok: [managed_node2] => { "changed": false, "rc": 0, "results": [ "python-enum34-1.0.4-1.el7.noarch providing python-enum34 is already installed", "1:python2-blivet3-3.1.3-3.el7.noarch providing python-blivet3 is already installed", "libblockdev-crypto-2.18-5.el7.x86_64 providing libblockdev-crypto is already installed", "libblockdev-dm-2.18-5.el7.x86_64 providing libblockdev-dm is already installed", "libblockdev-lvm-2.18-5.el7.x86_64 providing libblockdev-lvm is already installed", "libblockdev-mdraid-2.18-5.el7.x86_64 providing libblockdev-mdraid is already installed", "libblockdev-swap-2.18-5.el7.x86_64 providing libblockdev-swap is already installed", "libblockdev-2.18-5.el7.x86_64 providing libblockdev is already installed" ] } TASK [fedora.linux_system_roles.storage : Show storage_pools] ****************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:9 Monday 19 August 2024 17:18:19 -0400 (0:00:01.770) 0:00:05.408 ********* ok: [managed_node2] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [fedora.linux_system_roles.storage : Show storage_volumes] **************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:14 Monday 19 August 2024 17:18:19 -0400 (0:00:00.081) 0:00:05.489 ********* ok: [managed_node2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : Get required packages] *************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:19 Monday 19 August 2024 17:18:19 -0400 (0:00:00.110) 0:00:05.599 ********* ok: [managed_node2] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } TASK [fedora.linux_system_roles.storage : Enable copr repositories if needed] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:31 Monday 19 August 2024 17:18:20 -0400 (0:00:01.052) 0:00:06.652 ********* included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml for managed_node2 TASK [fedora.linux_system_roles.storage : Check if the COPR support packages should be installed] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:2 Monday 19 August 2024 17:18:20 -0400 (0:00:00.107) 0:00:06.760 ********* TASK [fedora.linux_system_roles.storage : Make sure COPR support packages are present] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:13 Monday 19 August 2024 17:18:20 -0400 (0:00:00.038) 0:00:06.799 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Enable COPRs] ************************ task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:19 Monday 19 August 2024 17:18:21 -0400 (0:00:00.039) 0:00:06.839 ********* TASK [fedora.linux_system_roles.storage : Make sure required packages are installed] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:37 Monday 19 August 2024 17:18:21 -0400 (0:00:00.036) 0:00:06.875 ********* ok: [managed_node2] => { "changed": false, "rc": 0, "results": [ "kpartx-0.4.9-136.el7_9.x86_64 providing kpartx is already installed" ] } TASK [fedora.linux_system_roles.storage : Get service facts] ******************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:51 Monday 19 August 2024 17:18:22 -0400 (0:00:01.049) 0:00:07.925 ********* ok: [managed_node2] => { "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" }, "arp-ethers.service": { "name": "arp-ethers.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "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" }, "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": "inactive", "status": "disabled" }, "brandbot.service": { "name": "brandbot.service", "source": "systemd", "state": "inactive", "status": "static" }, "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-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" }, "console-shell.service": { "name": "console-shell.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.import1.service": { "name": "dbus-org.freedesktop.import1.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.machine1.service": { "name": "dbus-org.freedesktop.machine1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.nm-dispatcher.service": { "name": "dbus-org.freedesktop.nm-dispatcher.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "dbus-org.freedesktop.timedate1.service": { "name": "dbus-org.freedesktop.timedate1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus.service": { "name": "dbus.service", "source": "systemd", "state": "running", "status": "static" }, "debug-shell.service": { "name": "debug-shell.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "dm-event.service": { "name": "dm-event.service", "source": "systemd", "state": "stopped", "status": "static" }, "dmraid-activation.service": { "name": "dmraid-activation.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "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.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" }, "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": "unknown" }, "gssproxy.service": { "name": "gssproxy.service", "source": "systemd", "state": "running", "status": "disabled" }, "halt-local.service": { "name": "halt-local.service", "source": "systemd", "state": "inactive", "status": "static" }, "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" }, "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" }, "lvm2-lvmetad.service": { "name": "lvm2-lvmetad.service", "source": "systemd", "state": "running", "status": "static" }, "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" }, "lvm2-pvscan@8:48.service": { "name": "lvm2-pvscan@8:48.service", "source": "systemd", "state": "stopped", "status": "unknown" }, "lvm2-pvscan@8:64.service": { "name": "lvm2-pvscan@8:64.service", "source": "systemd", "state": "stopped", "status": "unknown" }, "lvm2-pvscan@8:96.service": { "name": "lvm2-pvscan@8:96.service", "source": "systemd", "state": "stopped", "status": "unknown" }, "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" }, "netconsole": { "name": "netconsole", "source": "sysv", "state": "stopped", "status": "disabled" }, "network": { "name": "network", "source": "sysv", "state": "running", "status": "enabled" }, "network.service": { "name": "network.service", "source": "systemd", "state": "stopped", "status": "unknown" }, "nfs-blkmap.service": { "name": "nfs-blkmap.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfs-config.service": { "name": "nfs-config.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-idmap.service": { "name": "nfs-idmap.service", "source": "systemd", "state": "inactive", "status": "static" }, "nfs-idmapd.service": { "name": "nfs-idmapd.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-lock.service": { "name": "nfs-lock.service", "source": "systemd", "state": "inactive", "status": "static" }, "nfs-mountd.service": { "name": "nfs-mountd.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-rquotad.service": { "name": "nfs-rquotad.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfs-secure.service": { "name": "nfs-secure.service", "source": "systemd", "state": "inactive", "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" }, "nfs.service": { "name": "nfs.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfslock.service": { "name": "nfslock.service", "source": "systemd", "state": "inactive", "status": "static" }, "plymouth-halt.service": { "name": "plymouth-halt.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "plymouth-kexec.service": { "name": "plymouth-kexec.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "plymouth-poweroff.service": { "name": "plymouth-poweroff.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "plymouth-quit-wait.service": { "name": "plymouth-quit-wait.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "plymouth-quit.service": { "name": "plymouth-quit.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "plymouth-read-write.service": { "name": "plymouth-read-write.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "plymouth-reboot.service": { "name": "plymouth-reboot.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "plymouth-start.service": { "name": "plymouth-start.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "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" }, "postfix.service": { "name": "postfix.service", "source": "systemd", "state": "running", "status": "enabled" }, "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" }, "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" }, "rhel-autorelabel-mark.service": { "name": "rhel-autorelabel-mark.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-autorelabel.service": { "name": "rhel-autorelabel.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-configure.service": { "name": "rhel-configure.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-dmesg.service": { "name": "rhel-dmesg.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-domainname.service": { "name": "rhel-domainname.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-import-state.service": { "name": "rhel-import-state.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-loadmodules.service": { "name": "rhel-loadmodules.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-readonly.service": { "name": "rhel-readonly.service", "source": "systemd", "state": "stopped", "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-rquotad.service": { "name": "rpc-rquotad.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "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" }, "rpcgssd.service": { "name": "rpcgssd.service", "source": "systemd", "state": "inactive", "status": "static" }, "rpcidmapd.service": { "name": "rpcidmapd.service", "source": "systemd", "state": "inactive", "status": "static" }, "rsyncd.service": { "name": "rsyncd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rsyncd@.service": { "name": "rsyncd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "rsyslog.service": { "name": "rsyslog.service", "source": "systemd", "state": "running", "status": "enabled" }, "selinux-policy-migrate-local-changes@.service": { "name": "selinux-policy-migrate-local-changes@.service", "source": "systemd", "state": "unknown", "status": "static" }, "selinux-policy-migrate-local-changes@targeted.service": { "name": "selinux-policy-migrate-local-changes@targeted.service", "source": "systemd", "state": "stopped", "status": "unknown" }, "serial-getty@.service": { "name": "serial-getty@.service", "source": "systemd", "state": "unknown", "status": "disabled" }, "serial-getty@ttyS0.service": { "name": "serial-getty@ttyS0.service", "source": "systemd", "state": "running", "status": "unknown" }, "sshd-keygen.service": { "name": "sshd-keygen.service", "source": "systemd", "state": "stopped", "status": "static" }, "sshd.service": { "name": "sshd.service", "source": "systemd", "state": "running", "status": "enabled" }, "sshd@.service": { "name": "sshd@.service", "source": "systemd", "state": "unknown", "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-bootchart.service": { "name": "systemd-bootchart.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "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-importd.service": { "name": "systemd-importd.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-machined.service": { "name": "systemd-machined.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-modules-load.service": { "name": "systemd-modules-load.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-nspawn@.service": { "name": "systemd-nspawn@.service", "source": "systemd", "state": "unknown", "status": "disabled" }, "systemd-poweroff.service": { "name": "systemd-poweroff.service", "source": "systemd", "state": "inactive", "status": "static" }, "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-readahead-collect.service": { "name": "systemd-readahead-collect.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "systemd-readahead-done.service": { "name": "systemd-readahead-done.service", "source": "systemd", "state": "stopped", "status": "indirect" }, "systemd-readahead-drop.service": { "name": "systemd-readahead-drop.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "systemd-readahead-replay.service": { "name": "systemd-readahead-replay.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "systemd-reboot.service": { "name": "systemd-reboot.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-remount-fs.service": { "name": "systemd-remount-fs.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-rfkill@.service": { "name": "systemd-rfkill@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-shutdownd.service": { "name": "systemd-shutdownd.service", "source": "systemd", "state": "stopped", "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-timedated.service": { "name": "systemd-timedated.service", "source": "systemd", "state": "inactive", "status": "static" }, "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" }, "target.service": { "name": "target.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "targetclid.service": { "name": "targetclid.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "teamd@.service": { "name": "teamd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "tuned.service": { "name": "tuned.service", "source": "systemd", "state": "running", "status": "enabled" }, "wpa_supplicant.service": { "name": "wpa_supplicant.service", "source": "systemd", "state": "inactive", "status": "disabled" } } }, "changed": false } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:57 Monday 19 August 2024 17:18:23 -0400 (0:00:01.482) 0:00:09.407 ********* ok: [managed_node2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:63 Monday 19 August 2024 17:18:23 -0400 (0:00:00.086) 0:00:09.494 ********* TASK [fedora.linux_system_roles.storage : Manage the pools and volumes to match the specified state] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:69 Monday 19 August 2024 17:18:23 -0400 (0:00:00.058) 0:00:09.553 ********* ok: [managed_node2] => { "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/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:83 Monday 19 August 2024 17:18:24 -0400 (0:00:00.496) 0:00:10.049 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Check if /etc/fstab is present] ****** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Monday 19 August 2024 17:18:24 -0400 (0:00:00.052) 0:00:10.102 ********* ok: [managed_node2] => { "changed": false, "stat": { "atime": 1724102134.8884592, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "9ef8d5f6195389432b67e410bb91009eee83ce33", "ctime": 1724102134.253453, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 263550, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1724102134.253453, "nlink": 1, "path": "/etc/fstab", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 1279, "uid": 0, "version": "18446744072489218370", "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/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:95 Monday 19 August 2024 17:18:24 -0400 (0:00:00.385) 0:00:10.488 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:113 Monday 19 August 2024 17:18:24 -0400 (0:00:00.058) 0:00:10.546 ********* TASK [fedora.linux_system_roles.storage : Show blivet_output] ****************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:119 Monday 19 August 2024 17:18:24 -0400 (0:00:00.055) 0:00:10.602 ********* ok: [managed_node2] => { "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/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:128 Monday 19 August 2024 17:18:24 -0400 (0:00:00.060) 0:00:10.663 ********* ok: [managed_node2] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Set the list of volumes for test verification] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Monday 19 August 2024 17:18:24 -0400 (0:00:00.056) 0:00:10.719 ********* ok: [managed_node2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Remove obsolete mounts] ************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Monday 19 August 2024 17:18:24 -0400 (0:00:00.057) 0:00:10.777 ********* TASK [fedora.linux_system_roles.storage : Tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:159 Monday 19 August 2024 17:18:25 -0400 (0:00:00.054) 0:00:10.831 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set up new/current mounts] *********** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:164 Monday 19 August 2024 17:18:25 -0400 (0:00:00.052) 0:00:10.884 ********* TASK [fedora.linux_system_roles.storage : Manage mount ownership/permissions] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:175 Monday 19 August 2024 17:18:25 -0400 (0:00:00.050) 0:00:10.934 ********* TASK [fedora.linux_system_roles.storage : Tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:187 Monday 19 August 2024 17:18:25 -0400 (0:00:00.054) 0:00:10.988 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Retrieve facts for the /etc/crypttab file] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:195 Monday 19 August 2024 17:18:25 -0400 (0:00:00.055) 0:00:11.044 ********* ok: [managed_node2] => { "changed": false, "stat": { "atime": 1724099364.1450117, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1718879272.062, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 131079, "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": 1718879026.308, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "18446744072852913879", "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/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:200 Monday 19 August 2024 17:18:25 -0400 (0:00:00.342) 0:00:11.386 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:222 Monday 19 August 2024 17:18:25 -0400 (0:00:00.048) 0:00:11.435 ********* ok: [managed_node2] TASK [Mark tasks to be skipped] ************************************************ task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/tests_luks_pool.yml:60 Monday 19 August 2024 17:18:26 -0400 (0:00:00.846) 0:00:12.281 ********* ok: [managed_node2] => { "ansible_facts": { "storage_skip_checks": [ "blivet_available", "service_facts" ] }, "changed": false } TASK [Get unused disks] ******************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/tests_luks_pool.yml:66 Monday 19 August 2024 17:18:26 -0400 (0:00:00.055) 0:00:12.337 ********* included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/get_unused_disk.yml for managed_node2 TASK [Ensure test packages] **************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/get_unused_disk.yml:2 Monday 19 August 2024 17:18:26 -0400 (0:00:00.089) 0:00:12.427 ********* ok: [managed_node2] => { "changed": false, "rc": 0, "results": [ "util-linux-2.23.2-65.el7_9.1.x86_64 providing util-linux is already installed" ] } TASK [Find unused disks in the system] ***************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/get_unused_disk.yml:11 Monday 19 August 2024 17:18:27 -0400 (0:00:00.719) 0:00:13.147 ********* ok: [managed_node2] => { "changed": false, "disks": [ "sdg" ], "info": [ "Line: NAME=\"/dev/sda\" TYPE=\"disk\" SIZE=\"10737418240\" FSTYPE=\"\" LOG-SEC=\"512\"", "Line: NAME=\"/dev/sda1\" TYPE=\"part\" SIZE=\"10733223936\" FSTYPE=\"linux_raid_member\" LOG-SEC=\"512\"", "Line type [part] is not disk: NAME=\"/dev/sda1\" TYPE=\"part\" SIZE=\"10733223936\" FSTYPE=\"linux_raid_member\" LOG-SEC=\"512\"", "Line: NAME=\"/dev/md127\" TYPE=\"raid1\" SIZE=\"10733092864\" FSTYPE=\"xfs\" LOG-SEC=\"512\"", "Line type [raid1] is not disk: NAME=\"/dev/md127\" TYPE=\"raid1\" SIZE=\"10733092864\" FSTYPE=\"xfs\" LOG-SEC=\"512\"", "Line: NAME=\"/dev/sdb\" TYPE=\"disk\" SIZE=\"10737418240\" FSTYPE=\"\" LOG-SEC=\"512\"", "Line: NAME=\"/dev/sdb1\" TYPE=\"part\" SIZE=\"10733223936\" FSTYPE=\"linux_raid_member\" LOG-SEC=\"512\"", "Line type [part] is not disk: NAME=\"/dev/sdb1\" TYPE=\"part\" SIZE=\"10733223936\" FSTYPE=\"linux_raid_member\" LOG-SEC=\"512\"", "Line: NAME=\"/dev/md127\" TYPE=\"raid1\" SIZE=\"10733092864\" FSTYPE=\"xfs\" LOG-SEC=\"512\"", "Line type [raid1] is not disk: NAME=\"/dev/md127\" TYPE=\"raid1\" SIZE=\"10733092864\" FSTYPE=\"xfs\" LOG-SEC=\"512\"", "Line: NAME=\"/dev/sdc\" TYPE=\"disk\" SIZE=\"10737418240\" FSTYPE=\"\" LOG-SEC=\"512\"", "Line: NAME=\"/dev/sdc1\" TYPE=\"part\" SIZE=\"10733223936\" FSTYPE=\"linux_raid_member\" LOG-SEC=\"512\"", "Line type [part] is not disk: NAME=\"/dev/sdc1\" TYPE=\"part\" SIZE=\"10733223936\" FSTYPE=\"linux_raid_member\" LOG-SEC=\"512\"", "Line: NAME=\"/dev/md127\" TYPE=\"raid1\" SIZE=\"10733092864\" FSTYPE=\"xfs\" LOG-SEC=\"512\"", "Line type [raid1] is not disk: NAME=\"/dev/md127\" TYPE=\"raid1\" SIZE=\"10733092864\" FSTYPE=\"xfs\" LOG-SEC=\"512\"", "Line: NAME=\"/dev/sdd\" TYPE=\"disk\" SIZE=\"1099511627776\" FSTYPE=\"LVM2_member\" LOG-SEC=\"512\"", "Line: NAME=\"/dev/mapper/phi-test2\" TYPE=\"lvm\" SIZE=\"4294967296\" FSTYPE=\"xfs\" LOG-SEC=\"512\"", "Line type [lvm] is not disk: NAME=\"/dev/mapper/phi-test2\" TYPE=\"lvm\" SIZE=\"4294967296\" FSTYPE=\"xfs\" LOG-SEC=\"512\"", "Line: NAME=\"/dev/mapper/phi-test1\" TYPE=\"lvm\" SIZE=\"4294967296\" FSTYPE=\"xfs\" LOG-SEC=\"512\"", "Line type [lvm] is not disk: NAME=\"/dev/mapper/phi-test1\" TYPE=\"lvm\" SIZE=\"4294967296\" FSTYPE=\"xfs\" LOG-SEC=\"512\"", "Line: NAME=\"/dev/sde\" TYPE=\"disk\" SIZE=\"1099511627776\" FSTYPE=\"LVM2_member\" LOG-SEC=\"512\"", "Line: NAME=\"/dev/sdf\" TYPE=\"disk\" SIZE=\"10737418240\" FSTYPE=\"\" LOG-SEC=\"512\"", "Line: NAME=\"/dev/sdf1\" TYPE=\"part\" SIZE=\"10733223936\" FSTYPE=\"ext4\" LOG-SEC=\"512\"", "Line type [part] is not disk: NAME=\"/dev/sdf1\" TYPE=\"part\" SIZE=\"10733223936\" FSTYPE=\"ext4\" 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=\"ext4\" LOG-SEC=\"512\"", "Line type [part] is not disk: NAME=\"/dev/xvda1\" TYPE=\"part\" SIZE=\"268434390528\" FSTYPE=\"ext4\" LOG-SEC=\"512\"", "filename [xvda1] is a partition", "Disk [/dev/xvda] attrs [{'fstype': '', 'type': 'disk', 'ssize': '512', 'size': '268435456000'}] has partitions", "filename [sdf1] is a partition", "Disk [/dev/sdf] attrs [{'fstype': '', 'type': 'disk', 'ssize': '512', 'size': '10737418240'}] has partitions", "Disk [/dev/sdd] attrs [{'fstype': 'LVM2_member', 'type': 'disk', 'ssize': '512', 'size': '1099511627776'}] has fstype", "Disk [/dev/sde] attrs [{'fstype': 'LVM2_member', 'type': 'disk', 'ssize': '512', 'size': '1099511627776'}] has fstype", "filename [sdb1] is a partition", "Disk [/dev/sdb] attrs [{'fstype': '', 'type': 'disk', 'ssize': '512', 'size': '10737418240'}] has partitions", "filename [sdc1] is a partition", "Disk [/dev/sdc] attrs [{'fstype': '', 'type': 'disk', 'ssize': '512', 'size': '10737418240'}] has partitions", "filename [sda1] is a partition", "Disk [/dev/sda] attrs [{'fstype': '', 'type': 'disk', 'ssize': '512', 'size': '10737418240'}] has partitions" ] } TASK [Debug why there are no unused disks] ************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/get_unused_disk.yml:20 Monday 19 August 2024 17:18:28 -0400 (0:00:01.493) 0:00:14.640 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set unused_disks if necessary] ******************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/get_unused_disk.yml:29 Monday 19 August 2024 17:18:28 -0400 (0:00:00.052) 0:00:14.693 ********* ok: [managed_node2] => { "ansible_facts": { "unused_disks": [ "sdg" ] }, "changed": false } TASK [Exit playbook when there's not enough unused disks in the system] ******** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/get_unused_disk.yml:34 Monday 19 August 2024 17:18:28 -0400 (0:00:00.060) 0:00:14.754 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Print unused disks] ****************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/get_unused_disk.yml:39 Monday 19 August 2024 17:18:29 -0400 (0:00:00.082) 0:00:14.836 ********* ok: [managed_node2] => { "unused_disks": [ "sdg" ] } TASK [Test for correct handling of new encrypted pool w/ no key] *************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/tests_luks_pool.yml:76 Monday 19 August 2024 17:18:29 -0400 (0:00:00.056) 0:00:14.893 ********* included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml for managed_node2 TASK [Store global variable value copy] **************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:4 Monday 19 August 2024 17:18:29 -0400 (0:00:00.082) 0:00:14.975 ********* ok: [managed_node2] => { "ansible_facts": { "storage_pools_global": [], "storage_safe_mode_global": true, "storage_volumes_global": [] }, "changed": false } TASK [Verify role raises correct error] **************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:10 Monday 19 August 2024 17:18:29 -0400 (0:00:00.052) 0:00:15.028 ********* TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Monday 19 August 2024 17:18:29 -0400 (0:00:00.074) 0:00:15.102 ********* included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for managed_node2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Monday 19 August 2024 17:18:29 -0400 (0:00:00.063) 0:00:15.166 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Monday 19 August 2024 17:18:29 -0400 (0:00:00.042) 0:00:15.209 ********* skipping: [managed_node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed_node2] => (item=CentOS_7.yml) => { "ansible_facts": { "__storage_blivet_diskvolume_mkfs_option_map": { "ext2": "-F", "ext3": "-F", "ext4": "-F" }, "blivet_package_list": [ "python-enum34", "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "{{ 'libblockdev-s390' if ansible_architecture == 's390x' else 'libblockdev' }}" ] }, "ansible_included_var_files": [ "/tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed_node2] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Check if system is ostree] *********** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:25 Monday 19 August 2024 17:18:29 -0400 (0:00:00.107) 0:00:15.316 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set flag to indicate system is ostree] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:30 Monday 19 August 2024 17:18:29 -0400 (0:00:00.052) 0:00:15.369 ********* skipping: [managed_node2] => { "changed": false, "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/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Monday 19 August 2024 17:18:29 -0400 (0:00:00.041) 0:00:15.410 ********* ok: [managed_node2] => { "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/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Monday 19 August 2024 17:18:29 -0400 (0:00:00.045) 0:00:15.456 ********* ok: [managed_node2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Include the appropriate provider tasks] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Monday 19 August 2024 17:18:29 -0400 (0:00:00.047) 0:00:15.503 ********* included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for managed_node2 TASK [fedora.linux_system_roles.storage : Make sure blivet is available] ******* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Monday 19 August 2024 17:18:29 -0400 (0:00:00.097) 0:00:15.601 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Show storage_pools] ****************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:9 Monday 19 August 2024 17:18:29 -0400 (0:00:00.035) 0:00:15.636 ********* ok: [managed_node2] => { "storage_pools": [ { "disks": [ "sdg" ], "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/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:14 Monday 19 August 2024 17:18:29 -0400 (0:00:00.045) 0:00:15.682 ********* ok: [managed_node2] => { "storage_volumes": [] } TASK [fedora.linux_system_roles.storage : Get required packages] *************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:19 Monday 19 August 2024 17:18:29 -0400 (0:00:00.042) 0:00:15.724 ********* ok: [managed_node2] => { "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/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:31 Monday 19 August 2024 17:18:34 -0400 (0:00:04.766) 0:00:20.491 ********* included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml for managed_node2 TASK [fedora.linux_system_roles.storage : Check if the COPR support packages should be installed] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:2 Monday 19 August 2024 17:18:34 -0400 (0:00:00.120) 0:00:20.612 ********* TASK [fedora.linux_system_roles.storage : Make sure COPR support packages are present] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:13 Monday 19 August 2024 17:18:34 -0400 (0:00:00.078) 0:00:20.690 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Enable COPRs] ************************ task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:19 Monday 19 August 2024 17:18:34 -0400 (0:00:00.063) 0:00:20.754 ********* TASK [fedora.linux_system_roles.storage : Make sure required packages are installed] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:37 Monday 19 August 2024 17:18:34 -0400 (0:00:00.050) 0:00:20.805 ********* ok: [managed_node2] => { "changed": false, "rc": 0, "results": [ "cryptsetup-2.0.3-6.el7.x86_64 providing cryptsetup is already installed", "7:lvm2-2.02.187-6.el7_9.5.x86_64 providing lvm2 is already installed", "kpartx-0.4.9-136.el7_9.x86_64 providing kpartx is already installed" ] } TASK [fedora.linux_system_roles.storage : Get service facts] ******************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:51 Monday 19 August 2024 17:18:35 -0400 (0:00:00.796) 0:00:21.601 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:57 Monday 19 August 2024 17:18:35 -0400 (0:00:00.059) 0:00:21.661 ********* ok: [managed_node2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:63 Monday 19 August 2024 17:18:35 -0400 (0:00:00.105) 0:00:21.767 ********* TASK [fedora.linux_system_roles.storage : Manage the pools and volumes to match the specified state] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:69 Monday 19 August 2024 17:18:36 -0400 (0:00:00.053) 0:00:21.820 ********* fatal: [managed_node2]: 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/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:109 Monday 19 August 2024 17:18:41 -0400 (0:00:05.145) 0:00:26.965 ********* fatal: [managed_node2]: FAILED! => { "changed": false } MSG: {u'_ansible_no_log': False, u'crypts': [], u'pools': [], u'leaves': [], u'changed': False, u'actions': [], u'failed': True, u'volumes': [], u'invocation': {u'module_args': {u'packages_only': False, u'disklabel_type': None, u'diskvolume_mkfs_option_map': {u'ext4': u'-F', u'ext3': u'-F', u'ext2': u'-F'}, u'safe_mode': True, u'pools': [{u'raid_metadata_version': None, u'encryption_key_size': None, u'encryption_key': None, u'encryption_luks_version': None, u'encryption_tang_url': None, u'raid_spare_count': None, u'grow_to_fill': False, u'encryption_tang_thumbprint': None, u'name': u'foo', u'encryption_password': None, u'encryption': True, u'disks': [u'sdg'], u'raid_level': None, u'raid_device_count': None, u'state': u'present', u'volumes': [{u'thin': False, u'encryption_key_size': None, u'encryption_key': None, u'fs_label': None, u'encryption_luks_version': None, u'raid_stripe_size': None, u'fs_type': None, u'mount_options': None, u'type': None, u'mount_user': None, u'raid_disks': [], u'size': u'4g', u'cache_mode': None, u'mount_point': u'/opt/test1', u'compression': None, u'encryption_password': None, u'mount_group': None, u'encryption': None, u'raid_level': None, u'name': u'test1', u'cached': None, u'state': u'present', u'vdo_pool_size': None, u'mount_mode': None, u'cache_size': None, u'thin_pool_name': None, u'cache_devices': [], u'thin_pool_size': None, u'encryption_cipher': None, u'fs_create_options': None, u'deduplication': None}], u'shared': False, u'encryption_clevis_pin': None, u'type': u'lvm', u'encryption_cipher': None, u'raid_chunk_size': None}], u'volumes': [], u'pool_defaults': {u'raid_metadata_version': None, u'encryption_cipher': None, u'encryption_key': None, u'encryption_luks_version': None, u'raid_spare_count': None, u'grow_to_fill': False, u'encryption_password': None, u'encryption': False, u'disks': [], u'raid_level': None, u'raid_device_count': None, u'state': u'present', u'volumes': [], u'shared': False, u'type': u'lvm', u'encryption_key_size': None, u'raid_chunk_size': None}, u'volume_defaults': {u'raid_metadata_version': None, u'raid_level': None, u'fs_type': u'xfs', u'mount_options': u'defaults', u'size': 0, u'mount_point': u'', u'compression': None, u'encryption_password': None, u'encryption': False, u'mount_device_identifier': u'uuid', u'raid_device_count': None, u'state': u'present', u'vdo_pool_size': None, u'thin_pool_name': None, u'type': u'lvm', u'encryption_key_size': None, u'encryption_cipher': None, u'encryption_key': None, u'fs_label': u'', u'encryption_luks_version': None, u'raid_stripe_size': None, u'cache_size': 0, u'raid_spare_count': None, u'cache_mode': None, u'deduplication': None, u'cached': False, u'fs_overwrite_existing': True, u'disks': [], u'thin_pool_size': None, u'thin': None, u'mount_check': 0, u'mount_passno': 0, u'raid_chunk_size': None, u'cache_devices': [], u'fs_create_options': u''}, u'use_partitions': None}}, u'mounts': [], u'packages': [], u'msg': u"encrypted pool 'foo' missing key/password"} TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:113 Monday 19 August 2024 17:18:41 -0400 (0:00:00.145) 0:00:27.111 ********* TASK [Check that we failed in the role] **************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:23 Monday 19 August 2024 17:18:41 -0400 (0:00:00.069) 0:00:27.180 ********* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify the blivet output and error message are correct] ****************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:28 Monday 19 August 2024 17:18:41 -0400 (0:00:00.071) 0:00:27.252 ********* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify correct exception or error message] ******************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:39 Monday 19 August 2024 17:18:41 -0400 (0:00:00.080) 0:00:27.332 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Mark tasks to be skipped] ************************************************ task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/tests_luks_pool.yml:93 Monday 19 August 2024 17:18:41 -0400 (0:00:00.059) 0:00:27.392 ********* ok: [managed_node2] => { "ansible_facts": { "storage_skip_checks": [ "blivet_available", "packages_installed", "service_facts" ] }, "changed": false } TASK [Create a key file] ******************************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/tests_luks_pool.yml:102 Monday 19 August 2024 17:18:41 -0400 (0:00:00.114) 0:00:27.506 ********* ok: [managed_node2] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/storage_testnvDvvrlukskey", "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/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/tests_luks_pool.yml:109 Monday 19 August 2024 17:18:42 -0400 (0:00:00.935) 0:00:28.442 ********* ok: [managed_node2] => { "changed": false, "checksum": "7a4dff3752e2baf5617c57eaac048e2b95e8af91", "dest": "/tmp/storage_testnvDvvrlukskey", "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-1724102322.71-5847-2431329901089/source", "state": "file", "uid": 0 } TASK [Create an encrypted lvm pool using a key file] *************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/tests_luks_pool.yml:116 Monday 19 August 2024 17:18:44 -0400 (0:00:01.451) 0:00:29.893 ********* TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Monday 19 August 2024 17:18:44 -0400 (0:00:00.105) 0:00:29.998 ********* included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for managed_node2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Monday 19 August 2024 17:18:44 -0400 (0:00:00.090) 0:00:30.089 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Monday 19 August 2024 17:18:44 -0400 (0:00:00.063) 0:00:30.153 ********* skipping: [managed_node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed_node2] => (item=CentOS_7.yml) => { "ansible_facts": { "__storage_blivet_diskvolume_mkfs_option_map": { "ext2": "-F", "ext3": "-F", "ext4": "-F" }, "blivet_package_list": [ "python-enum34", "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "{{ 'libblockdev-s390' if ansible_architecture == 's390x' else 'libblockdev' }}" ] }, "ansible_included_var_files": [ "/tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed_node2] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Check if system is ostree] *********** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:25 Monday 19 August 2024 17:18:44 -0400 (0:00:00.130) 0:00:30.283 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set flag to indicate system is ostree] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:30 Monday 19 August 2024 17:18:44 -0400 (0:00:00.056) 0:00:30.339 ********* skipping: [managed_node2] => { "changed": false, "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/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Monday 19 August 2024 17:18:44 -0400 (0:00:00.055) 0:00:30.395 ********* ok: [managed_node2] => { "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/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Monday 19 August 2024 17:18:44 -0400 (0:00:00.056) 0:00:30.451 ********* ok: [managed_node2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Include the appropriate provider tasks] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Monday 19 August 2024 17:18:44 -0400 (0:00:00.058) 0:00:30.509 ********* included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for managed_node2 TASK [fedora.linux_system_roles.storage : Make sure blivet is available] ******* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Monday 19 August 2024 17:18:44 -0400 (0:00:00.191) 0:00:30.701 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Show storage_pools] ****************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:9 Monday 19 August 2024 17:18:44 -0400 (0:00:00.064) 0:00:30.765 ********* ok: [managed_node2] => { "storage_pools": [ { "disks": [ "sdg" ], "encryption": true, "encryption_key": "/tmp/storage_testnvDvvrlukskey", "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/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:14 Monday 19 August 2024 17:18:45 -0400 (0:00:00.127) 0:00:30.892 ********* ok: [managed_node2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : Get required packages] *************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:19 Monday 19 August 2024 17:18:45 -0400 (0:00:00.109) 0:00:31.002 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Enable copr repositories if needed] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:31 Monday 19 August 2024 17:18:45 -0400 (0:00:00.105) 0:00:31.107 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Make sure required packages are installed] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:37 Monday 19 August 2024 17:18:45 -0400 (0:00:00.112) 0:00:31.220 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Get service facts] ******************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:51 Monday 19 August 2024 17:18:45 -0400 (0:00:00.075) 0:00:31.296 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:57 Monday 19 August 2024 17:18:45 -0400 (0:00:00.053) 0:00:31.350 ********* ok: [managed_node2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:63 Monday 19 August 2024 17:18:45 -0400 (0:00:00.111) 0:00:31.461 ********* TASK [fedora.linux_system_roles.storage : Manage the pools and volumes to match the specified state] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:69 Monday 19 August 2024 17:18:45 -0400 (0:00:00.083) 0:00:31.545 ********* changed: [managed_node2] => { "actions": [ { "action": "create format", "device": "/dev/sdg", "fs_type": "luks" }, { "action": "create device", "device": "/dev/mapper/luks-fa51944b-f040-43d5-bd20-44971ea2193d", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/luks-fa51944b-f040-43d5-bd20-44971ea2193d", "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/sdg", "name": "luks-fa51944b-f040-43d5-bd20-44971ea2193d", "password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "state": "present" } ], "leaves": [ "/dev/md/test1", "/dev/mapper/phi-test2", "/dev/mapper/phi-test1", "/dev/sdf1", "/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": [ "cryptsetup", "mdadm", "xfsprogs", "e2fsprogs", "lvm2" ], "pools": [ { "disks": [ "sdg" ], "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-3", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-3", "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/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:83 Monday 19 August 2024 17:18:57 -0400 (0:00:11.493) 0:00:43.039 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Check if /etc/fstab is present] ****** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Monday 19 August 2024 17:18:57 -0400 (0:00:00.077) 0:00:43.116 ********* ok: [managed_node2] => { "changed": false, "stat": { "atime": 1724102134.8884592, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "9ef8d5f6195389432b67e410bb91009eee83ce33", "ctime": 1724102134.253453, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 263550, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1724102134.253453, "nlink": 1, "path": "/etc/fstab", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 1279, "uid": 0, "version": "18446744072489218370", "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/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:95 Monday 19 August 2024 17:18:57 -0400 (0:00:00.389) 0:00:43.506 ********* ok: [managed_node2] => { "backup": "", "changed": false } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:113 Monday 19 August 2024 17:18:58 -0400 (0:00:00.597) 0:00:44.103 ********* TASK [fedora.linux_system_roles.storage : Show blivet_output] ****************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:119 Monday 19 August 2024 17:18:58 -0400 (0:00:00.052) 0:00:44.155 ********* ok: [managed_node2] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sdg", "fs_type": "luks" }, { "action": "create device", "device": "/dev/mapper/luks-fa51944b-f040-43d5-bd20-44971ea2193d", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/luks-fa51944b-f040-43d5-bd20-44971ea2193d", "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/sdg", "name": "luks-fa51944b-f040-43d5-bd20-44971ea2193d", "password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "state": "present" } ], "failed": false, "leaves": [ "/dev/md/test1", "/dev/mapper/phi-test2", "/dev/mapper/phi-test1", "/dev/sdf1", "/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": [ "cryptsetup", "mdadm", "xfsprogs", "e2fsprogs", "lvm2" ], "pools": [ { "disks": [ "sdg" ], "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-3", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-3", "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/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:128 Monday 19 August 2024 17:18:58 -0400 (0:00:00.106) 0:00:44.262 ********* ok: [managed_node2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sdg" ], "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-3", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-3", "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/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Monday 19 August 2024 17:18:58 -0400 (0:00:00.069) 0:00:44.331 ********* ok: [managed_node2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Remove obsolete mounts] ************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Monday 19 August 2024 17:18:58 -0400 (0:00:00.049) 0:00:44.381 ********* TASK [fedora.linux_system_roles.storage : Tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:159 Monday 19 August 2024 17:18:58 -0400 (0:00:00.043) 0:00:44.425 ********* ok: [managed_node2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : Set up new/current mounts] *********** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:164 Monday 19 August 2024 17:18:59 -0400 (0:00:00.841) 0:00:45.266 ********* changed: [managed_node2] => (item={u'src': u'/dev/mapper/foo-test1', u'group': None, u'dump': 0, u'passno': 0, u'fstype': u'xfs', u'state': u'mounted', u'mode': None, u'owner': None, u'path': u'/opt/test1', u'opts': u'defaults'}) => { "ansible_loop_var": "mount_info", "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/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:175 Monday 19 August 2024 17:19:00 -0400 (0:00:00.587) 0:00:45.854 ********* skipping: [managed_node2] => (item={u'src': u'/dev/mapper/foo-test1', u'group': None, u'dump': 0, u'passno': 0, u'fstype': u'xfs', u'state': u'mounted', u'mode': None, u'owner': None, u'path': u'/opt/test1', u'opts': u'defaults'}) => { "ansible_loop_var": "mount_info", "changed": false, "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" } TASK [fedora.linux_system_roles.storage : Tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:187 Monday 19 August 2024 17:19:00 -0400 (0:00:00.045) 0:00:45.899 ********* ok: [managed_node2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : Retrieve facts for the /etc/crypttab file] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:195 Monday 19 August 2024 17:19:00 -0400 (0:00:00.474) 0:00:46.374 ********* ok: [managed_node2] => { "changed": false, "stat": { "atime": 1724099364.1450117, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1718879272.062, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 131079, "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": 1718879026.308, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "18446744072852913879", "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/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:200 Monday 19 August 2024 17:19:00 -0400 (0:00:00.369) 0:00:46.744 ********* changed: [managed_node2] => (item={u'state': u'present', u'password': u'VALUE_SPECIFIED_IN_NO_LOG_PARAMETER', u'name': u'luks-fa51944b-f040-43d5-bd20-44971ea2193d', u'backing_device': u'/dev/sdg'}) => { "ansible_loop_var": "entry", "backup": "", "changed": true, "entry": { "backing_device": "/dev/sdg", "name": "luks-fa51944b-f040-43d5-bd20-44971ea2193d", "password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "state": "present" } } MSG: line added TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:222 Monday 19 August 2024 17:19:01 -0400 (0:00:00.383) 0:00:47.127 ********* ok: [managed_node2] TASK [Verify role results] ***************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/tests_luks_pool.yml:131 Monday 19 August 2024 17:19:02 -0400 (0:00:00.759) 0:00:47.887 ********* included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml for managed_node2 TASK [Print out pool information] ********************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:2 Monday 19 August 2024 17:19:02 -0400 (0:00:00.061) 0:00:47.949 ********* ok: [managed_node2] => { "_storage_pools_list": [ { "disks": [ "sdg" ], "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-3", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-3", "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/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:7 Monday 19 August 2024 17:19:02 -0400 (0:00:00.050) 0:00:48.000 ********* skipping: [managed_node2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:15 Monday 19 August 2024 17:19:02 -0400 (0:00:00.037) 0:00:48.038 ********* ok: [managed_node2] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "mountpoint": "/opt/test1", "name": "/dev/mapper/foo-test1", "size": "4G", "type": "lvm", "uuid": "0d0c1170-29ee-416b-a69f-738827aef110" }, "/dev/mapper/luks-fa51944b-f040-43d5-bd20-44971ea2193d": { "fstype": "LVM2_member", "label": "", "mountpoint": "", "name": "/dev/mapper/luks-fa51944b-f040-43d5-bd20-44971ea2193d", "size": "1024G", "type": "crypt", "uuid": "kOmnVN-K5B6-Lqlx-ZMEe-11wu-iJ4l-a7Cci8" }, "/dev/mapper/phi-test1": { "fstype": "xfs", "label": "", "mountpoint": "", "name": "/dev/mapper/phi-test1", "size": "4G", "type": "lvm", "uuid": "946e4fbf-01d3-4168-bbda-77fbe9febc84" }, "/dev/mapper/phi-test2": { "fstype": "xfs", "label": "", "mountpoint": "/opt/test2", "name": "/dev/mapper/phi-test2", "size": "4G", "type": "lvm", "uuid": "35df4df6-db0e-4482-ac77-3c113c469601" }, "/dev/md/test1": { "fstype": "xfs", "label": "", "mountpoint": "", "name": "/dev/md/test1", "size": "10G", "type": "raid1", "uuid": "7fce493b-7163-4839-9759-0f0a8ab57c8d" }, "/dev/sda": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda1": { "fstype": "linux_raid_member", "label": "test1", "mountpoint": "", "name": "/dev/sda1", "size": "10G", "type": "partition", "uuid": "96bf62ee-d24b-cfb8-bae7-17b87498342b" }, "/dev/sdb": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb1": { "fstype": "linux_raid_member", "label": "test1", "mountpoint": "", "name": "/dev/sdb1", "size": "10G", "type": "partition", "uuid": "96bf62ee-d24b-cfb8-bae7-17b87498342b" }, "/dev/sdc": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc1": { "fstype": "linux_raid_member", "label": "test1", "mountpoint": "", "name": "/dev/sdc1", "size": "10G", "type": "partition", "uuid": "96bf62ee-d24b-cfb8-bae7-17b87498342b" }, "/dev/sdd": { "fstype": "LVM2_member", "label": "", "mountpoint": "", "name": "/dev/sdd", "size": "1T", "type": "disk", "uuid": "30zcDe-REhP-8FX0-wxHJ-Vqdn-aSz3-BWzjOq" }, "/dev/sde": { "fstype": "LVM2_member", "label": "", "mountpoint": "", "name": "/dev/sde", "size": "1T", "type": "disk", "uuid": "Hh5AHy-KA1I-zqxb-01pl-jZEO-PNR5-hSqsNN" }, "/dev/sdf": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sdf", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdf1": { "fstype": "ext4", "label": "", "mountpoint": "", "name": "/dev/sdf1", "size": "10G", "type": "partition", "uuid": "d020be2f-3457-4b2c-8fb2-e3244b37d21b" }, "/dev/sdg": { "fstype": "crypto_LUKS", "label": "", "mountpoint": "", "name": "/dev/sdg", "size": "1T", "type": "disk", "uuid": "fa51944b-f040-43d5-bd20-44971ea2193d" }, "/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": "ext4", "label": "", "mountpoint": "/", "name": "/dev/xvda1", "size": "250G", "type": "partition", "uuid": "c7b7d6a5-fd01-4b9b-bcca-153eaff9d312" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:20 Monday 19 August 2024 17:19:02 -0400 (0:00:00.575) 0:00:48.613 ********* ok: [managed_node2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002633", "end": "2024-08-19 17:19:03.256299", "rc": 0, "start": "2024-08-19 17:19:03.253666" } STDOUT: # system_role:storage # # /etc/fstab # Created by anaconda on Thu Jun 20 10:23:46 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 # UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 / ext4 defaults 1 1 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/phi-test2 /opt/test2 xfs defaults 0 0 /dev/mapper/foo-test1 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:25 Monday 19 August 2024 17:19:03 -0400 (0:00:00.553) 0:00:49.167 ********* ok: [managed_node2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002485", "end": "2024-08-19 17:19:03.694748", "failed_when_result": false, "rc": 0, "start": "2024-08-19 17:19:03.692263" } STDOUT: luks-fa51944b-f040-43d5-bd20-44971ea2193d /dev/sdg VALUE_SPECIFIED_IN_NO_LOG_PARAMETER TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:34 Monday 19 August 2024 17:19:03 -0400 (0:00:00.429) 0:00:49.596 ********* included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool.yml for managed_node2 TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool.yml:5 Monday 19 August 2024 17:19:03 -0400 (0:00:00.125) 0:00:49.722 ********* ok: [managed_node2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [Get VG shared value status] ********************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool.yml:18 Monday 19 August 2024 17:19:03 -0400 (0:00:00.054) 0:00:49.777 ********* ok: [managed_node2] => { "changed": false, "cmd": [ "vgs", "--noheadings", "--binary", "-o", "shared", "foo" ], "delta": "0:00:00.019448", "end": "2024-08-19 17:19:04.381134", "rc": 0, "start": "2024-08-19 17:19:04.361686" } STDOUT: 0 TASK [Verify that VG shared value checks out] ********************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool.yml:24 Monday 19 August 2024 17:19:04 -0400 (0:00:00.587) 0:00:50.364 ********* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify pool subset] ****************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool.yml:34 Monday 19 August 2024 17:19:04 -0400 (0:00:00.171) 0:00:50.536 ********* included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml for managed_node2 included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-volumes.yml for managed_node2 TASK [Set test variables] ****************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:2 Monday 19 August 2024 17:19:04 -0400 (0:00:00.163) 0:00:50.699 ********* ok: [managed_node2] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/mapper/luks-fa51944b-f040-43d5-bd20-44971ea2193d" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:8 Monday 19 August 2024 17:19:04 -0400 (0:00:00.087) 0:00:50.787 ********* ok: [managed_node2] => (item=/dev/mapper/luks-fa51944b-f040-43d5-bd20-44971ea2193d) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/mapper/luks-fa51944b-f040-43d5-bd20-44971ea2193d", "pv": "/dev/mapper/luks-fa51944b-f040-43d5-bd20-44971ea2193d" } TASK [Set pvs lvm length] ****************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:17 Monday 19 August 2024 17:19:05 -0400 (0:00:00.680) 0:00:51.468 ********* ok: [managed_node2] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [Set pool pvs] ************************************************************ task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:22 Monday 19 August 2024 17:19:05 -0400 (0:00:00.099) 0:00:51.567 ********* ok: [managed_node2] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/mapper/luks-fa51944b-f040-43d5-bd20-44971ea2193d" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:27 Monday 19 August 2024 17:19:05 -0400 (0:00:00.075) 0:00:51.642 ********* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Set expected pv type] **************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:36 Monday 19 August 2024 17:19:05 -0400 (0:00:00.088) 0:00:51.730 ********* ok: [managed_node2] => { "ansible_facts": { "_storage_test_expected_pv_type": "crypt" }, "changed": false } TASK [Set expected pv type] **************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:41 Monday 19 August 2024 17:19:05 -0400 (0:00:00.066) 0:00:51.797 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set expected pv type] **************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:46 Monday 19 August 2024 17:19:06 -0400 (0:00:00.066) 0:00:51.863 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:51 Monday 19 August 2024 17:19:06 -0400 (0:00:00.091) 0:00:51.955 ********* ok: [managed_node2] => (item=/dev/mapper/luks-fa51944b-f040-43d5-bd20-44971ea2193d) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/mapper/luks-fa51944b-f040-43d5-bd20-44971ea2193d" } MSG: All assertions passed TASK [Check that blivet supports PV grow to fill] ****************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:64 Monday 19 August 2024 17:19:06 -0400 (0:00:00.131) 0:00:52.086 ********* ok: [managed_node2] => { "changed": false, "rc": 0 } STDOUT: False STDERR: Shared connection to 10.31.45.109 closed. TASK [Verify that PVs fill the whole devices when they should] ***************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:73 Monday 19 August 2024 17:19:06 -0400 (0:00:00.381) 0:00:52.468 ********* skipping: [managed_node2] => (item=/dev/mapper/luks-fa51944b-f040-43d5-bd20-44971ea2193d) => { "ansible_loop_var": "st_pool_pv", "changed": false, "skip_reason": "Conditional result was False", "st_pool_pv": "/dev/mapper/luks-fa51944b-f040-43d5-bd20-44971ea2193d" } TASK [Check MD RAID] *********************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:83 Monday 19 August 2024 17:19:06 -0400 (0:00:00.069) 0:00:52.537 ********* included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml for managed_node2 TASK [Get information about RAID] ********************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:8 Monday 19 August 2024 17:19:06 -0400 (0:00:00.159) 0:00:52.697 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set active devices regex] ************************************************ task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:14 Monday 19 August 2024 17:19:06 -0400 (0:00:00.069) 0:00:52.766 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set spare devices regex] ************************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:19 Monday 19 August 2024 17:19:07 -0400 (0:00:00.069) 0:00:52.836 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set md version regex] **************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:24 Monday 19 August 2024 17:19:07 -0400 (0:00:00.070) 0:00:52.906 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set md chunk size regex] ************************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:29 Monday 19 August 2024 17:19:07 -0400 (0:00:00.119) 0:00:53.026 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Parse the chunk size] **************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:37 Monday 19 August 2024 17:19:07 -0400 (0:00:00.076) 0:00:53.102 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID active devices count] ***************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:46 Monday 19 August 2024 17:19:07 -0400 (0:00:00.071) 0:00:53.173 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID spare devices count] ****************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:55 Monday 19 August 2024 17:19:07 -0400 (0:00:00.057) 0:00:53.231 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID metadata version] ********************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:64 Monday 19 August 2024 17:19:07 -0400 (0:00:00.075) 0:00:53.306 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID chunk size] *************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:74 Monday 19 August 2024 17:19:07 -0400 (0:00:00.069) 0:00:53.376 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Reset variables used by tests] ******************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:83 Monday 19 August 2024 17:19:07 -0400 (0:00:00.059) 0:00:53.435 ********* ok: [managed_node2] => { "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/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:86 Monday 19 August 2024 17:19:07 -0400 (0:00:00.063) 0:00:53.498 ********* included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-lvmraid.yml for managed_node2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-lvmraid.yml:2 Monday 19 August 2024 17:19:07 -0400 (0:00:00.192) 0:00:53.691 ********* included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-lvmraid.yml for managed_node2 TASK [Get information about the LV] ******************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-lvmraid.yml:8 Monday 19 August 2024 17:19:08 -0400 (0:00:00.131) 0:00:53.823 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set LV segment type] ***************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-lvmraid.yml:16 Monday 19 August 2024 17:19:08 -0400 (0:00:00.056) 0:00:53.879 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check segment type] ****************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-lvmraid.yml:20 Monday 19 August 2024 17:19:08 -0400 (0:00:00.056) 0:00:53.936 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set LV stripe size] ****************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-lvmraid.yml:27 Monday 19 August 2024 17:19:08 -0400 (0:00:00.058) 0:00:53.994 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Parse the requested stripe size] ***************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-lvmraid.yml:31 Monday 19 August 2024 17:19:08 -0400 (0:00:00.060) 0:00:54.055 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set expected stripe size] ************************************************ task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-lvmraid.yml:37 Monday 19 August 2024 17:19:08 -0400 (0:00:00.057) 0:00:54.112 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check stripe size] ******************************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-lvmraid.yml:42 Monday 19 August 2024 17:19:08 -0400 (0:00:00.057) 0:00:54.170 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:89 Monday 19 August 2024 17:19:08 -0400 (0:00:00.057) 0:00:54.227 ********* included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-thin.yml for managed_node2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-thin.yml:2 Monday 19 August 2024 17:19:08 -0400 (0:00:00.152) 0:00:54.379 ********* included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-thin.yml for managed_node2 TASK [Get information about thinpool] ****************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-thin.yml:8 Monday 19 August 2024 17:19:08 -0400 (0:00:00.205) 0:00:54.585 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-thin.yml:16 Monday 19 August 2024 17:19:08 -0400 (0:00:00.120) 0:00:54.706 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-thin.yml:22 Monday 19 August 2024 17:19:09 -0400 (0:00:00.124) 0:00:54.830 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Reset variable used by test] ********************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-thin.yml:26 Monday 19 August 2024 17:19:09 -0400 (0:00:00.118) 0:00:54.949 ********* ok: [managed_node2] => { "ansible_facts": { "storage_test_thin_status": null }, "changed": false } TASK [Check member encryption] ************************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:92 Monday 19 August 2024 17:19:09 -0400 (0:00:00.092) 0:00:55.041 ********* included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-encryption.yml for managed_node2 TASK [Set test variables] ****************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-encryption.yml:5 Monday 19 August 2024 17:19:09 -0400 (0:00:00.141) 0:00:55.183 ********* ok: [managed_node2] => { "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/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-encryption.yml:10 Monday 19 August 2024 17:19:09 -0400 (0:00:00.109) 0:00:55.292 ********* included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-encryption.yml for managed_node2 TASK [Get the backing device path] ********************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-encryption.yml:2 Monday 19 August 2024 17:19:09 -0400 (0:00:00.162) 0:00:55.455 ********* ok: [managed_node2] => { "changed": false, "cmd": [ "realpath", "/dev/disk/by-uuid/fa51944b-f040-43d5-bd20-44971ea2193d" ], "delta": "0:00:00.003598", "end": "2024-08-19 17:19:09.995864", "rc": 0, "start": "2024-08-19 17:19:09.992266" } STDOUT: /dev/sdg TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-encryption.yml:12 Monday 19 August 2024 17:19:10 -0400 (0:00:00.510) 0:00:55.965 ********* ok: [managed_node2] => { "changed": false, "rc": 0, "results": [ "cryptsetup-2.0.3-6.el7.x86_64 providing cryptsetup is already installed" ] } TASK [Collect LUKS info for this member] *************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-encryption.yml:18 Monday 19 August 2024 17:19:11 -0400 (0:00:00.852) 0:00:56.818 ********* ok: [managed_node2] => { "changed": false, "cmd": [ "cryptsetup", "luksDump", "/dev/sdg" ], "delta": "0:00:02.943060", "end": "2024-08-19 17:19:14.300932", "rc": 0, "start": "2024-08-19 17:19:11.357872" } STDOUT: LUKS header information for /dev/sdg Version: 1 Cipher name: aes Cipher mode: xts-plain64 Hash spec: sha256 Payload offset: 8192 MK bits: 512 MK digest: b3 01 e1 f4 9d f2 8d 81 8f e4 2c e8 4a 8f 42 4b 74 a8 33 1d MK salt: 61 ad 43 95 9d b6 85 6a 79 95 35 ff 18 41 c4 ea f4 48 79 d1 65 d8 36 b0 31 75 8a 75 29 17 7d 89 MK iterations: 24094 UUID: fa51944b-f040-43d5-bd20-44971ea2193d Key Slot 0: ENABLED Iterations: 384938 Salt: b5 e1 bc 12 0e 7f a8 f1 50 27 56 a0 25 95 12 56 9d 41 91 f4 8b 0b 83 e9 95 97 be 86 56 31 c7 6d 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/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-encryption.yml:26 Monday 19 August 2024 17:19:14 -0400 (0:00:03.401) 0:01:00.220 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-encryption.yml:38 Monday 19 August 2024 17:19:14 -0400 (0:00:00.071) 0:01:00.291 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-encryption.yml:50 Monday 19 August 2024 17:19:14 -0400 (0:00:00.064) 0:01:00.355 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-encryption.yml:17 Monday 19 August 2024 17:19:14 -0400 (0:00:00.066) 0:01:00.422 ********* included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-crypttab.yml for managed_node2 TASK [Set variables used by tests] ********************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-crypttab.yml:2 Monday 19 August 2024 17:19:14 -0400 (0:00:00.187) 0:01:00.610 ********* ok: [managed_node2] => { "ansible_facts": { "_storage_test_crypttab_entries": [ "luks-fa51944b-f040-43d5-bd20-44971ea2193d /dev/sdg VALUE_SPECIFIED_IN_NO_LOG_PARAMETER" ] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-crypttab.yml:6 Monday 19 August 2024 17:19:14 -0400 (0:00:00.110) 0:01:00.721 ********* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-crypttab.yml:14 Monday 19 August 2024 17:19:15 -0400 (0:00:00.120) 0:01:00.841 ********* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-crypttab.yml:23 Monday 19 August 2024 17:19:15 -0400 (0:00:00.127) 0:01:00.969 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-crypttab.yml:32 Monday 19 August 2024 17:19:15 -0400 (0:00:00.098) 0:01:01.067 ********* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Clear test variables] **************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-crypttab.yml:41 Monday 19 August 2024 17:19:15 -0400 (0:00:00.075) 0:01:01.142 ********* ok: [managed_node2] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [Clear test variables] **************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-encryption.yml:24 Monday 19 August 2024 17:19:15 -0400 (0:00:00.108) 0:01:01.251 ********* ok: [managed_node2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:95 Monday 19 August 2024 17:19:15 -0400 (0:00:00.086) 0:01:01.338 ********* included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-vdo.yml for managed_node2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-vdo.yml:2 Monday 19 August 2024 17:19:15 -0400 (0:00:00.238) 0:01:01.577 ********* included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-vdo.yml for managed_node2 TASK [Get information about VDO deduplication] ********************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-vdo.yml:8 Monday 19 August 2024 17:19:15 -0400 (0:00:00.147) 0:01:01.724 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if VDO deduplication is off] *************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-vdo.yml:15 Monday 19 August 2024 17:19:15 -0400 (0:00:00.059) 0:01:01.784 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if VDO deduplication is on] **************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-vdo.yml:21 Monday 19 August 2024 17:19:16 -0400 (0:00:00.059) 0:01:01.844 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about VDO compression] *********************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-vdo.yml:27 Monday 19 August 2024 17:19:16 -0400 (0:00:00.093) 0:01:01.937 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if VDO deduplication is off] *************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-vdo.yml:34 Monday 19 August 2024 17:19:16 -0400 (0:00:00.062) 0:01:01.999 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if VDO deduplication is on] **************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-vdo.yml:40 Monday 19 August 2024 17:19:16 -0400 (0:00:00.063) 0:01:02.063 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clear test variables] **************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-vdo.yml:46 Monday 19 August 2024 17:19:16 -0400 (0:00:00.071) 0:01:02.134 ********* ok: [managed_node2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [Check Stratis] *********************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:98 Monday 19 August 2024 17:19:16 -0400 (0:00:00.061) 0:01:02.195 ********* included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-stratis.yml for managed_node2 TASK [Run 'stratis report'] **************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-stratis.yml:6 Monday 19 August 2024 17:19:16 -0400 (0:00:00.190) 0:01:02.386 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about Stratis] ******************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-stratis.yml:11 Monday 19 August 2024 17:19:16 -0400 (0:00:00.090) 0:01:02.477 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the pools was created] *************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-stratis.yml:15 Monday 19 August 2024 17:19:16 -0400 (0:00:00.058) 0:01:02.535 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that encryption is correctly set] ********************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-stratis.yml:25 Monday 19 August 2024 17:19:16 -0400 (0:00:00.105) 0:01:02.641 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that Clevis/Tang encryption is correctly set] ********************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-stratis.yml:34 Monday 19 August 2024 17:19:16 -0400 (0:00:00.102) 0:01:02.743 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Reset variable used by test] ********************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-stratis.yml:44 Monday 19 August 2024 17:19:16 -0400 (0:00:00.060) 0:01:02.804 ********* ok: [managed_node2] => { "ansible_facts": { "storage_test_stratis_report": null }, "changed": false } TASK [Clean up test variables] ************************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:101 Monday 19 August 2024 17:19:17 -0400 (0:00:00.053) 0:01:02.858 ********* ok: [managed_node2] => { "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/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-volumes.yml:3 Monday 19 August 2024 17:19:17 -0400 (0:00:00.116) 0:01:02.974 ********* included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume.yml for managed_node2 TASK [Set storage volume test variables] *************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume.yml:2 Monday 19 August 2024 17:19:17 -0400 (0:00:00.129) 0:01:03.104 ********* ok: [managed_node2] => { "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/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume.yml:19 Monday 19 August 2024 17:19:17 -0400 (0:00:00.066) 0:01:03.170 ********* included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml for managed_node2 included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml for managed_node2 included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fs.yml for managed_node2 included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml for managed_node2 included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml for managed_node2 included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml for managed_node2 included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml for managed_node2 included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml for managed_node2 TASK [Get expected mount device based on device type] ************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:7 Monday 19 August 2024 17:19:17 -0400 (0:00:00.319) 0:01:03.490 ********* ok: [managed_node2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:11 Monday 19 August 2024 17:19:17 -0400 (0:00:00.066) 0:01:03.556 ********* ok: [managed_node2] => { "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/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:19 Monday 19 August 2024 17:19:17 -0400 (0:00:00.074) 0:01:03.631 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by device] ******************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:28 Monday 19 August 2024 17:19:17 -0400 (0:00:00.060) 0:01:03.691 ********* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify mount directory user] ********************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:36 Monday 19 August 2024 17:19:17 -0400 (0:00:00.070) 0:01:03.761 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify mount directory group] ******************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:42 Monday 19 August 2024 17:19:18 -0400 (0:00:00.059) 0:01:03.821 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify mount directory permissions] ************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:48 Monday 19 August 2024 17:19:18 -0400 (0:00:00.061) 0:01:03.883 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get path of test volume device] ****************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:57 Monday 19 August 2024 17:19:18 -0400 (0:00:00.058) 0:01:03.941 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:63 Monday 19 August 2024 17:19:18 -0400 (0:00:00.057) 0:01:03.999 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:69 Monday 19 August 2024 17:19:18 -0400 (0:00:00.097) 0:01:04.097 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:79 Monday 19 August 2024 17:19:18 -0400 (0:00:00.056) 0:01:04.153 ********* ok: [managed_node2] => { "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/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml:2 Monday 19 August 2024 17:19:18 -0400 (0:00:00.057) 0:01:04.211 ********* ok: [managed_node2] => { "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/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml:17 Monday 19 August 2024 17:19:18 -0400 (0:00:00.169) 0:01:04.380 ********* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml:24 Monday 19 August 2024 17:19:18 -0400 (0:00:00.157) 0:01:04.538 ********* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml:33 Monday 19 August 2024 17:19:18 -0400 (0:00:00.064) 0:01:04.602 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fingerprint] ****************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml:45 Monday 19 August 2024 17:19:18 -0400 (0:00:00.055) 0:01:04.658 ********* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Clean up variables] ****************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml:51 Monday 19 August 2024 17:19:18 -0400 (0:00:00.061) 0:01:04.719 ********* ok: [managed_node2] => { "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/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fs.yml:6 Monday 19 August 2024 17:19:18 -0400 (0:00:00.065) 0:01:04.784 ********* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fs.yml:14 Monday 19 August 2024 17:19:19 -0400 (0:00:00.245) 0:01:05.030 ********* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:3 Monday 19 August 2024 17:19:19 -0400 (0:00:00.115) 0:01:05.145 ********* ok: [managed_node2] => { "changed": false, "stat": { "atime": 1724102337.0864258, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1724102337.0864258, "dev": 5, "device_type": 64771, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 569612, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1724102337.0864258, "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/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:9 Monday 19 August 2024 17:19:19 -0400 (0:00:00.643) 0:01:05.788 ********* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:16 Monday 19 August 2024 17:19:20 -0400 (0:00:00.091) 0:01:05.880 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about this volume] ********************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:23 Monday 19 August 2024 17:19:20 -0400 (0:00:00.073) 0:01:05.953 ********* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Process volume type (set initial value) (1/2)] *************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:29 Monday 19 August 2024 17:19:20 -0400 (0:00:00.075) 0:01:06.029 ********* ok: [managed_node2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [Process volume type (get RAID value) (2/2)] ****************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:33 Monday 19 August 2024 17:19:20 -0400 (0:00:00.073) 0:01:06.102 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:38 Monday 19 August 2024 17:19:20 -0400 (0:00:00.055) 0:01:06.158 ********* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:3 Monday 19 August 2024 17:19:20 -0400 (0:00:00.065) 0:01:06.224 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:10 Monday 19 August 2024 17:19:20 -0400 (0:00:00.055) 0:01:06.280 ********* ok: [managed_node2] => { "changed": false, "rc": 0, "results": [ "cryptsetup-2.0.3-6.el7.x86_64 providing cryptsetup is already installed" ] } TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:16 Monday 19 August 2024 17:19:21 -0400 (0:00:00.896) 0:01:07.176 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:22 Monday 19 August 2024 17:19:21 -0400 (0:00:00.127) 0:01:07.303 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:29 Monday 19 August 2024 17:19:21 -0400 (0:00:00.122) 0:01:07.425 ********* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:40 Monday 19 August 2024 17:19:21 -0400 (0:00:00.121) 0:01:07.547 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:46 Monday 19 August 2024 17:19:21 -0400 (0:00:00.067) 0:01:07.615 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:51 Monday 19 August 2024 17:19:21 -0400 (0:00:00.075) 0:01:07.691 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:63 Monday 19 August 2024 17:19:21 -0400 (0:00:00.101) 0:01:07.792 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:75 Monday 19 August 2024 17:19:22 -0400 (0:00:00.078) 0:01:07.871 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set test variables] ****************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:87 Monday 19 August 2024 17:19:22 -0400 (0:00:00.093) 0:01:07.964 ********* ok: [managed_node2] => { "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/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:93 Monday 19 August 2024 17:19:22 -0400 (0:00:00.176) 0:01:08.141 ********* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:100 Monday 19 August 2024 17:19:22 -0400 (0:00:00.074) 0:01:08.215 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:108 Monday 19 August 2024 17:19:22 -0400 (0:00:00.056) 0:01:08.272 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:116 Monday 19 August 2024 17:19:22 -0400 (0:00:00.074) 0:01:08.346 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clear test variables] **************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:124 Monday 19 August 2024 17:19:22 -0400 (0:00:00.084) 0:01:08.430 ********* ok: [managed_node2] => { "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/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:8 Monday 19 August 2024 17:19:22 -0400 (0:00:00.073) 0:01:08.504 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set active devices regex] ************************************************ task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:14 Monday 19 August 2024 17:19:22 -0400 (0:00:00.056) 0:01:08.560 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set spare devices regex] ************************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:19 Monday 19 August 2024 17:19:22 -0400 (0:00:00.060) 0:01:08.620 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set md version regex] **************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:24 Monday 19 August 2024 17:19:22 -0400 (0:00:00.059) 0:01:08.680 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set chunk size regex] **************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:29 Monday 19 August 2024 17:19:22 -0400 (0:00:00.073) 0:01:08.753 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Parse the chunk size] **************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:37 Monday 19 August 2024 17:19:23 -0400 (0:00:00.061) 0:01:08.815 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID active devices count] ***************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:46 Monday 19 August 2024 17:19:23 -0400 (0:00:00.059) 0:01:08.875 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID spare devices count] ****************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:54 Monday 19 August 2024 17:19:23 -0400 (0:00:00.060) 0:01:08.935 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID metadata version] ********************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:62 Monday 19 August 2024 17:19:23 -0400 (0:00:00.109) 0:01:09.044 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID chunk size] *************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:70 Monday 19 August 2024 17:19:23 -0400 (0:00:00.063) 0:01:09.108 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Parse the actual size of the volume] ************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:3 Monday 19 August 2024 17:19:23 -0400 (0:00:00.060) 0:01:09.168 ********* ok: [managed_node2] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [Parse the requested size of the volume] ********************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:11 Monday 19 August 2024 17:19:23 -0400 (0:00:00.636) 0:01:09.804 ********* ok: [managed_node2] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:20 Monday 19 August 2024 17:19:24 -0400 (0:00:00.371) 0:01:10.176 ********* ok: [managed_node2] => { "ansible_facts": { "storage_test_expected_size": "4294967296" }, "changed": false } TASK [Show expected size] ****************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:28 Monday 19 August 2024 17:19:24 -0400 (0:00:00.083) 0:01:10.259 ********* ok: [managed_node2] => { "storage_test_expected_size": "4294967296" } TASK [Get the size of parent/pool device] ************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:32 Monday 19 August 2024 17:19:24 -0400 (0:00:00.069) 0:01:10.329 ********* ok: [managed_node2] => { "bytes": 1099500890357, "changed": false, "lvm": "1023g", "parted": "1023GiB", "size": "1023 GiB" } TASK [Show test pool] ********************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:46 Monday 19 August 2024 17:19:24 -0400 (0:00:00.376) 0:01:10.705 ********* skipping: [managed_node2] => {} TASK [Show test blockinfo] ***************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:50 Monday 19 August 2024 17:19:24 -0400 (0:00:00.053) 0:01:10.759 ********* skipping: [managed_node2] => {} TASK [Show test pool size] ***************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:54 Monday 19 August 2024 17:19:24 -0400 (0:00:00.042) 0:01:10.802 ********* skipping: [managed_node2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:58 Monday 19 August 2024 17:19:25 -0400 (0:00:00.042) 0:01:10.844 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Default thin pool reserved space values] ********************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:67 Monday 19 August 2024 17:19:25 -0400 (0:00:00.052) 0:01:10.897 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Default minimal thin pool reserved space size] *************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:71 Monday 19 August 2024 17:19:25 -0400 (0:00:00.037) 0:01:10.935 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Default maximal thin pool reserved space size] *************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:76 Monday 19 August 2024 17:19:25 -0400 (0:00:00.040) 0:01:10.975 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Calculate maximum usable space in thin pool] ***************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:82 Monday 19 August 2024 17:19:25 -0400 (0:00:00.037) 0:01:11.013 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply upper size limit to max usable thin pool space] ******************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:86 Monday 19 August 2024 17:19:25 -0400 (0:00:00.037) 0:01:11.050 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply lower size limit to max usable thin pool space] ******************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:91 Monday 19 August 2024 17:19:25 -0400 (0:00:00.037) 0:01:11.087 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Convert maximum usable thin pool space from int to Size] ***************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:96 Monday 19 August 2024 17:19:25 -0400 (0:00:00.037) 0:01:11.124 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Show max thin pool size] ************************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:101 Monday 19 August 2024 17:19:25 -0400 (0:00:00.037) 0:01:11.162 ********* skipping: [managed_node2] => {} TASK [Show volume thin pool size] ********************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:105 Monday 19 August 2024 17:19:25 -0400 (0:00:00.039) 0:01:11.201 ********* skipping: [managed_node2] => {} TASK [Show test volume size] *************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:109 Monday 19 August 2024 17:19:25 -0400 (0:00:00.037) 0:01:11.239 ********* skipping: [managed_node2] => {} TASK [Establish base value for expected thin pool size] ************************ task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:113 Monday 19 August 2024 17:19:25 -0400 (0:00:00.037) 0:01:11.277 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:120 Monday 19 August 2024 17:19:25 -0400 (0:00:00.036) 0:01:11.314 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected thin pool volume size] ***************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:127 Monday 19 August 2024 17:19:25 -0400 (0:00:00.038) 0:01:11.352 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Calculate the expected thin pool volume size based on percentage value] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:131 Monday 19 August 2024 17:19:25 -0400 (0:00:00.037) 0:01:11.390 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Replace expected volume size with calculated value] ********************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:137 Monday 19 August 2024 17:19:25 -0400 (0:00:00.084) 0:01:11.475 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Show actual size] ******************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:143 Monday 19 August 2024 17:19:25 -0400 (0:00:00.037) 0:01:11.512 ********* ok: [managed_node2] => { "storage_test_actual_size": { "bytes": 4294967296, "changed": false, "failed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } } TASK [Show expected size] ****************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:147 Monday 19 August 2024 17:19:25 -0400 (0:00:00.042) 0:01:11.555 ********* ok: [managed_node2] => { "storage_test_expected_size": "4294967296" } TASK [Assert expected size is actual size] ************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:151 Monday 19 August 2024 17:19:25 -0400 (0:00:00.040) 0:01:11.596 ********* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:5 Monday 19 August 2024 17:19:25 -0400 (0:00:00.050) 0:01:11.646 ********* ok: [managed_node2] => { "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.023160", "end": "2024-08-19 17:19:26.152051", "rc": 0, "start": "2024-08-19 17:19:26.128891" } 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/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:13 Monday 19 August 2024 17:19:26 -0400 (0:00:00.409) 0:01:12.056 ********* ok: [managed_node2] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [Check segment type] ****************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:17 Monday 19 August 2024 17:19:26 -0400 (0:00:00.068) 0:01:12.125 ********* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Set LV cache size] ******************************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:24 Monday 19 August 2024 17:19:26 -0400 (0:00:00.072) 0:01:12.197 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Parse the requested cache size] ****************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:31 Monday 19 August 2024 17:19:26 -0400 (0:00:00.055) 0:01:12.253 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set expected cache size] ************************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:37 Monday 19 August 2024 17:19:26 -0400 (0:00:00.056) 0:01:12.309 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:42 Monday 19 August 2024 17:19:26 -0400 (0:00:00.043) 0:01:12.352 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume.yml:25 Monday 19 August 2024 17:19:26 -0400 (0:00:00.039) 0:01:12.392 ********* ok: [managed_node2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:44 Monday 19 August 2024 17:19:26 -0400 (0:00:00.038) 0:01:12.430 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:54 Monday 19 August 2024 17:19:26 -0400 (0:00:00.037) 0:01:12.468 ********* ok: [managed_node2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Remove the key file] ***************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/tests_luks_pool.yml:134 Monday 19 August 2024 17:19:26 -0400 (0:00:00.038) 0:01:12.506 ********* ok: [managed_node2] => { "changed": false, "path": "/tmp/storage_testnvDvvrlukskey", "state": "absent" } TASK [Create a file] *********************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/create-test-file.yml:12 Monday 19 August 2024 17:19:27 -0400 (0:00:00.518) 0:01:13.025 ********* changed: [managed_node2] => { "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/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/tests_luks_pool.yml:143 Monday 19 August 2024 17:19:27 -0400 (0:00:00.336) 0:01:13.362 ********* included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml for managed_node2 TASK [Store global variable value copy] **************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:4 Monday 19 August 2024 17:19:27 -0400 (0:00:00.063) 0:01:13.426 ********* ok: [managed_node2] => { "ansible_facts": { "storage_pools_global": [], "storage_safe_mode_global": true, "storage_volumes_global": [] }, "changed": false } TASK [Verify role raises correct error] **************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:10 Monday 19 August 2024 17:19:27 -0400 (0:00:00.052) 0:01:13.478 ********* TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Monday 19 August 2024 17:19:27 -0400 (0:00:00.083) 0:01:13.561 ********* included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for managed_node2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Monday 19 August 2024 17:19:27 -0400 (0:00:00.092) 0:01:13.654 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Monday 19 August 2024 17:19:27 -0400 (0:00:00.073) 0:01:13.727 ********* skipping: [managed_node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed_node2] => (item=CentOS_7.yml) => { "ansible_facts": { "__storage_blivet_diskvolume_mkfs_option_map": { "ext2": "-F", "ext3": "-F", "ext4": "-F" }, "blivet_package_list": [ "python-enum34", "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "{{ 'libblockdev-s390' if ansible_architecture == 's390x' else 'libblockdev' }}" ] }, "ansible_included_var_files": [ "/tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed_node2] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Check if system is ostree] *********** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:25 Monday 19 August 2024 17:19:28 -0400 (0:00:00.120) 0:01:13.848 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set flag to indicate system is ostree] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:30 Monday 19 August 2024 17:19:28 -0400 (0:00:00.044) 0:01:13.892 ********* skipping: [managed_node2] => { "changed": false, "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/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Monday 19 August 2024 17:19:28 -0400 (0:00:00.040) 0:01:13.932 ********* ok: [managed_node2] => { "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/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Monday 19 August 2024 17:19:28 -0400 (0:00:00.046) 0:01:13.979 ********* ok: [managed_node2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Include the appropriate provider tasks] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Monday 19 August 2024 17:19:28 -0400 (0:00:00.044) 0:01:14.023 ********* included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for managed_node2 TASK [fedora.linux_system_roles.storage : Make sure blivet is available] ******* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Monday 19 August 2024 17:19:28 -0400 (0:00:00.088) 0:01:14.112 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Show storage_pools] ****************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:9 Monday 19 August 2024 17:19:28 -0400 (0:00:00.038) 0:01:14.150 ********* ok: [managed_node2] => { "storage_pools": [ { "disks": [ "sdg" ], "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/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:14 Monday 19 August 2024 17:19:28 -0400 (0:00:00.050) 0:01:14.200 ********* ok: [managed_node2] => { "storage_volumes": [] } TASK [fedora.linux_system_roles.storage : Get required packages] *************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:19 Monday 19 August 2024 17:19:28 -0400 (0:00:00.048) 0:01:14.248 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Enable copr repositories if needed] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:31 Monday 19 August 2024 17:19:28 -0400 (0:00:00.038) 0:01:14.287 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Make sure required packages are installed] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:37 Monday 19 August 2024 17:19:28 -0400 (0:00:00.037) 0:01:14.324 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Get service facts] ******************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:51 Monday 19 August 2024 17:19:28 -0400 (0:00:00.036) 0:01:14.361 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:57 Monday 19 August 2024 17:19:28 -0400 (0:00:00.039) 0:01:14.401 ********* ok: [managed_node2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:63 Monday 19 August 2024 17:19:28 -0400 (0:00:00.054) 0:01:14.455 ********* TASK [fedora.linux_system_roles.storage : Manage the pools and volumes to match the specified state] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:69 Monday 19 August 2024 17:19:28 -0400 (0:00:00.034) 0:01:14.489 ********* fatal: [managed_node2]: 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/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:109 Monday 19 August 2024 17:19:33 -0400 (0:00:04.734) 0:01:19.224 ********* fatal: [managed_node2]: FAILED! => { "changed": false } MSG: {u'_ansible_no_log': False, u'crypts': [], u'pools': [], u'leaves': [], u'changed': False, u'actions': [], u'failed': True, u'volumes': [], u'invocation': {u'module_args': {u'packages_only': False, u'disklabel_type': None, u'diskvolume_mkfs_option_map': {u'ext4': u'-F', u'ext3': u'-F', u'ext2': u'-F'}, u'safe_mode': True, u'pools': [{u'raid_metadata_version': None, u'encryption_key_size': 0, u'encryption_key': None, u'encryption_luks_version': u'luks1', u'encryption_tang_url': None, u'raid_spare_count': None, u'grow_to_fill': False, u'encryption_tang_thumbprint': None, u'name': u'foo', u'encryption_password': u'VALUE_SPECIFIED_IN_NO_LOG_PARAMETER', u'encryption': False, u'disks': [u'sdg'], u'raid_level': None, u'raid_device_count': None, u'state': u'present', u'volumes': [{u'thin': False, u'encryption_key_size': None, u'encryption_key': None, u'fs_label': None, u'encryption_luks_version': None, u'raid_stripe_size': None, u'fs_type': None, u'mount_options': None, u'type': None, u'mount_user': None, u'raid_disks': [], u'size': u'4g', u'cache_mode': None, u'mount_point': u'/opt/test1', u'compression': None, u'encryption_password': None, u'mount_group': None, u'encryption': None, u'raid_level': None, u'name': u'test1', u'cached': None, u'state': u'present', u'vdo_pool_size': None, u'mount_mode': None, u'cache_size': None, u'thin_pool_name': None, u'cache_devices': [], u'thin_pool_size': None, u'encryption_cipher': None, u'fs_create_options': None, u'deduplication': None}], u'shared': False, u'encryption_clevis_pin': None, u'type': u'lvm', u'encryption_cipher': None, u'raid_chunk_size': None}], u'volumes': [], u'pool_defaults': {u'raid_metadata_version': None, u'encryption_cipher': None, u'encryption_key': None, u'encryption_luks_version': None, u'raid_spare_count': None, u'grow_to_fill': False, u'encryption_password': None, u'encryption': False, u'disks': [], u'raid_level': None, u'raid_device_count': None, u'state': u'present', u'volumes': [], u'shared': False, u'type': u'lvm', u'encryption_key_size': None, u'raid_chunk_size': None}, u'volume_defaults': {u'raid_metadata_version': None, u'raid_level': None, u'fs_type': u'xfs', u'mount_options': u'defaults', u'size': 0, u'mount_point': u'', u'compression': None, u'encryption_password': None, u'encryption': False, u'mount_device_identifier': u'uuid', u'raid_device_count': None, u'state': u'present', u'vdo_pool_size': None, u'thin_pool_name': None, u'type': u'lvm', u'encryption_key_size': None, u'encryption_cipher': None, u'encryption_key': None, u'fs_label': u'', u'encryption_luks_version': None, u'raid_stripe_size': None, u'cache_size': 0, u'raid_spare_count': None, u'cache_mode': None, u'deduplication': None, u'cached': False, u'fs_overwrite_existing': True, u'disks': [], u'thin_pool_size': None, u'thin': None, u'mount_check': 0, u'mount_passno': 0, u'raid_chunk_size': None, u'cache_devices': [], u'fs_create_options': u''}, u'use_partitions': None}}, u'mounts': [], u'packages': [], u'msg': u"cannot remove and recreate existing pool 'foo' in safe mode"} TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:113 Monday 19 August 2024 17:19:33 -0400 (0:00:00.098) 0:01:19.322 ********* TASK [Check that we failed in the role] **************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:23 Monday 19 August 2024 17:19:33 -0400 (0:00:00.056) 0:01:19.379 ********* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify the blivet output and error message are correct] ****************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:28 Monday 19 August 2024 17:19:33 -0400 (0:00:00.080) 0:01:19.460 ********* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify correct exception or error message] ******************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:39 Monday 19 August 2024 17:19:33 -0400 (0:00:00.087) 0:01:19.548 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the file] *********************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-data-preservation.yml:11 Monday 19 August 2024 17:19:33 -0400 (0:00:00.054) 0:01:19.602 ********* ok: [managed_node2] => { "changed": false, "stat": { "atime": 1724102367.4847214, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1724102367.4847214, "dev": 64771, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 67, "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": 1724102367.4847214, "nlink": 1, "path": "/opt/test1/quux", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "version": "1398000077", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Assert file presence] **************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-data-preservation.yml:16 Monday 19 August 2024 17:19:34 -0400 (0:00:00.373) 0:01:19.976 ********* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Remove the encryption layer] ********************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/tests_luks_pool.yml:165 Monday 19 August 2024 17:19:34 -0400 (0:00:00.065) 0:01:20.041 ********* TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Monday 19 August 2024 17:19:34 -0400 (0:00:00.121) 0:01:20.163 ********* included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for managed_node2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Monday 19 August 2024 17:19:34 -0400 (0:00:00.102) 0:01:20.266 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Monday 19 August 2024 17:19:34 -0400 (0:00:00.057) 0:01:20.323 ********* skipping: [managed_node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed_node2] => (item=CentOS_7.yml) => { "ansible_facts": { "__storage_blivet_diskvolume_mkfs_option_map": { "ext2": "-F", "ext3": "-F", "ext4": "-F" }, "blivet_package_list": [ "python-enum34", "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "{{ 'libblockdev-s390' if ansible_architecture == 's390x' else 'libblockdev' }}" ] }, "ansible_included_var_files": [ "/tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed_node2] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Check if system is ostree] *********** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:25 Monday 19 August 2024 17:19:34 -0400 (0:00:00.111) 0:01:20.435 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set flag to indicate system is ostree] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:30 Monday 19 August 2024 17:19:34 -0400 (0:00:00.039) 0:01:20.474 ********* skipping: [managed_node2] => { "changed": false, "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/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Monday 19 August 2024 17:19:34 -0400 (0:00:00.037) 0:01:20.512 ********* ok: [managed_node2] => { "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/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Monday 19 August 2024 17:19:34 -0400 (0:00:00.037) 0:01:20.549 ********* ok: [managed_node2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Include the appropriate provider tasks] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Monday 19 August 2024 17:19:34 -0400 (0:00:00.048) 0:01:20.598 ********* included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for managed_node2 TASK [fedora.linux_system_roles.storage : Make sure blivet is available] ******* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Monday 19 August 2024 17:19:34 -0400 (0:00:00.119) 0:01:20.718 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Show storage_pools] ****************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:9 Monday 19 August 2024 17:19:34 -0400 (0:00:00.045) 0:01:20.763 ********* ok: [managed_node2] => { "storage_pools": [ { "disks": [ "sdg" ], "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/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:14 Monday 19 August 2024 17:19:35 -0400 (0:00:00.052) 0:01:20.816 ********* ok: [managed_node2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : Get required packages] *************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:19 Monday 19 August 2024 17:19:35 -0400 (0:00:00.047) 0:01:20.863 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Enable copr repositories if needed] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:31 Monday 19 August 2024 17:19:35 -0400 (0:00:00.036) 0:01:20.900 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Make sure required packages are installed] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:37 Monday 19 August 2024 17:19:35 -0400 (0:00:00.041) 0:01:20.941 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Get service facts] ******************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:51 Monday 19 August 2024 17:19:35 -0400 (0:00:00.051) 0:01:20.993 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:57 Monday 19 August 2024 17:19:35 -0400 (0:00:00.059) 0:01:21.053 ********* ok: [managed_node2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:63 Monday 19 August 2024 17:19:35 -0400 (0:00:00.070) 0:01:21.123 ********* TASK [fedora.linux_system_roles.storage : Manage the pools and volumes to match the specified state] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:69 Monday 19 August 2024 17:19:35 -0400 (0:00:00.045) 0:01:21.168 ********* changed: [managed_node2] => { "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-fa51944b-f040-43d5-bd20-44971ea2193d", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/mapper/luks-fa51944b-f040-43d5-bd20-44971ea2193d", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdg", "fs_type": "luks" }, { "action": "create format", "device": "/dev/sdg", "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/sdg", "name": "luks-fa51944b-f040-43d5-bd20-44971ea2193d", "password": "-", "state": "absent" } ], "leaves": [ "/dev/md/test1", "/dev/mapper/phi-test2", "/dev/mapper/phi-test1", "/dev/sdf1", "/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": [ "mdadm", "xfsprogs", "e2fsprogs", "lvm2" ], "pools": [ { "disks": [ "sdg" ], "encryption": false, "encryption_cipher": null, "encryption_clevis_pin": null, "encryption_key": null, "encryption_key_size": 0, "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-2", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-2", "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/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:83 Monday 19 August 2024 17:19:41 -0400 (0:00:05.774) 0:01:26.943 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Check if /etc/fstab is present] ****** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Monday 19 August 2024 17:19:41 -0400 (0:00:00.056) 0:01:27.000 ********* ok: [managed_node2] => { "changed": false, "stat": { "atime": 1724102339.9604537, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "415242c954ab4bc21da4abceaeec181dc017f4be", "ctime": 1724102339.9564536, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 263550, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1724102339.9564536, "nlink": 1, "path": "/etc/fstab", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 1329, "uid": 0, "version": "18446744072489218370", "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/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:95 Monday 19 August 2024 17:19:41 -0400 (0:00:00.491) 0:01:27.492 ********* ok: [managed_node2] => { "backup": "", "changed": false } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:113 Monday 19 August 2024 17:19:42 -0400 (0:00:00.455) 0:01:27.947 ********* TASK [fedora.linux_system_roles.storage : Show blivet_output] ****************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:119 Monday 19 August 2024 17:19:42 -0400 (0:00:00.034) 0:01:27.982 ********* ok: [managed_node2] => { "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-fa51944b-f040-43d5-bd20-44971ea2193d", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/mapper/luks-fa51944b-f040-43d5-bd20-44971ea2193d", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdg", "fs_type": "luks" }, { "action": "create format", "device": "/dev/sdg", "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/sdg", "name": "luks-fa51944b-f040-43d5-bd20-44971ea2193d", "password": "-", "state": "absent" } ], "failed": false, "leaves": [ "/dev/md/test1", "/dev/mapper/phi-test2", "/dev/mapper/phi-test1", "/dev/sdf1", "/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": [ "mdadm", "xfsprogs", "e2fsprogs", "lvm2" ], "pools": [ { "disks": [ "sdg" ], "encryption": false, "encryption_cipher": null, "encryption_clevis_pin": null, "encryption_key": null, "encryption_key_size": 0, "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-2", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-2", "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/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:128 Monday 19 August 2024 17:19:42 -0400 (0:00:00.055) 0:01:28.037 ********* ok: [managed_node2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sdg" ], "encryption": false, "encryption_cipher": null, "encryption_clevis_pin": null, "encryption_key": null, "encryption_key_size": 0, "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-2", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-2", "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/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Monday 19 August 2024 17:19:42 -0400 (0:00:00.048) 0:01:28.086 ********* ok: [managed_node2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Remove obsolete mounts] ************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Monday 19 August 2024 17:19:42 -0400 (0:00:00.043) 0:01:28.129 ********* changed: [managed_node2] => (item={u'src': u'/dev/mapper/foo-test1', u'state': u'absent', u'fstype': u'xfs', u'path': u'/opt/test1'}) => { "ansible_loop_var": "mount_info", "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/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:159 Monday 19 August 2024 17:19:42 -0400 (0:00:00.362) 0:01:28.492 ********* ok: [managed_node2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : Set up new/current mounts] *********** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:164 Monday 19 August 2024 17:19:43 -0400 (0:00:00.515) 0:01:29.007 ********* changed: [managed_node2] => (item={u'src': u'/dev/mapper/foo-test1', u'group': None, u'dump': 0, u'passno': 0, u'fstype': u'xfs', u'state': u'mounted', u'mode': None, u'owner': None, u'path': u'/opt/test1', u'opts': u'defaults'}) => { "ansible_loop_var": "mount_info", "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/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:175 Monday 19 August 2024 17:19:43 -0400 (0:00:00.405) 0:01:29.413 ********* skipping: [managed_node2] => (item={u'src': u'/dev/mapper/foo-test1', u'group': None, u'dump': 0, u'passno': 0, u'fstype': u'xfs', u'state': u'mounted', u'mode': None, u'owner': None, u'path': u'/opt/test1', u'opts': u'defaults'}) => { "ansible_loop_var": "mount_info", "changed": false, "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" } TASK [fedora.linux_system_roles.storage : Tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:187 Monday 19 August 2024 17:19:43 -0400 (0:00:00.058) 0:01:29.471 ********* ok: [managed_node2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : Retrieve facts for the /etc/crypttab file] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:195 Monday 19 August 2024 17:19:44 -0400 (0:00:00.478) 0:01:29.950 ********* ok: [managed_node2] => { "changed": false, "stat": { "atime": 1724102343.69349, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87b168b2e05d268b8bbec732f4c3e3a959e95c32", "ctime": 1724102341.207466, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 1048583, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1724102341.2064657, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 87, "uid": 0, "version": "18446744072489227956", "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/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:200 Monday 19 August 2024 17:19:44 -0400 (0:00:00.368) 0:01:30.319 ********* changed: [managed_node2] => (item={u'state': u'absent', u'password': u'-', u'name': u'luks-fa51944b-f040-43d5-bd20-44971ea2193d', u'backing_device': u'/dev/sdg'}) => { "ansible_loop_var": "entry", "backup": "", "changed": true, "entry": { "backing_device": "/dev/sdg", "name": "luks-fa51944b-f040-43d5-bd20-44971ea2193d", "password": "-", "state": "absent" }, "found": 1 } MSG: 1 line(s) removed TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:222 Monday 19 August 2024 17:19:44 -0400 (0:00:00.383) 0:01:30.702 ********* ok: [managed_node2] TASK [Verify role results] ***************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/tests_luks_pool.yml:181 Monday 19 August 2024 17:19:45 -0400 (0:00:00.863) 0:01:31.566 ********* included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml for managed_node2 TASK [Print out pool information] ********************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:2 Monday 19 August 2024 17:19:45 -0400 (0:00:00.098) 0:01:31.664 ********* ok: [managed_node2] => { "_storage_pools_list": [ { "disks": [ "sdg" ], "encryption": false, "encryption_cipher": null, "encryption_clevis_pin": null, "encryption_key": null, "encryption_key_size": 0, "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-2", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-2", "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/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:7 Monday 19 August 2024 17:19:45 -0400 (0:00:00.108) 0:01:31.773 ********* skipping: [managed_node2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:15 Monday 19 August 2024 17:19:46 -0400 (0:00:00.058) 0:01:31.831 ********* ok: [managed_node2] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "mountpoint": "/opt/test1", "name": "/dev/mapper/foo-test1", "size": "4G", "type": "lvm", "uuid": "f55968a2-420d-40e3-b348-4acc0bd66cc5" }, "/dev/mapper/phi-test1": { "fstype": "xfs", "label": "", "mountpoint": "", "name": "/dev/mapper/phi-test1", "size": "4G", "type": "lvm", "uuid": "946e4fbf-01d3-4168-bbda-77fbe9febc84" }, "/dev/mapper/phi-test2": { "fstype": "xfs", "label": "", "mountpoint": "/opt/test2", "name": "/dev/mapper/phi-test2", "size": "4G", "type": "lvm", "uuid": "35df4df6-db0e-4482-ac77-3c113c469601" }, "/dev/md/test1": { "fstype": "xfs", "label": "", "mountpoint": "", "name": "/dev/md/test1", "size": "10G", "type": "raid1", "uuid": "7fce493b-7163-4839-9759-0f0a8ab57c8d" }, "/dev/sda": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda1": { "fstype": "linux_raid_member", "label": "test1", "mountpoint": "", "name": "/dev/sda1", "size": "10G", "type": "partition", "uuid": "96bf62ee-d24b-cfb8-bae7-17b87498342b" }, "/dev/sdb": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb1": { "fstype": "linux_raid_member", "label": "test1", "mountpoint": "", "name": "/dev/sdb1", "size": "10G", "type": "partition", "uuid": "96bf62ee-d24b-cfb8-bae7-17b87498342b" }, "/dev/sdc": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc1": { "fstype": "linux_raid_member", "label": "test1", "mountpoint": "", "name": "/dev/sdc1", "size": "10G", "type": "partition", "uuid": "96bf62ee-d24b-cfb8-bae7-17b87498342b" }, "/dev/sdd": { "fstype": "LVM2_member", "label": "", "mountpoint": "", "name": "/dev/sdd", "size": "1T", "type": "disk", "uuid": "30zcDe-REhP-8FX0-wxHJ-Vqdn-aSz3-BWzjOq" }, "/dev/sde": { "fstype": "LVM2_member", "label": "", "mountpoint": "", "name": "/dev/sde", "size": "1T", "type": "disk", "uuid": "Hh5AHy-KA1I-zqxb-01pl-jZEO-PNR5-hSqsNN" }, "/dev/sdf": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sdf", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdf1": { "fstype": "ext4", "label": "", "mountpoint": "", "name": "/dev/sdf1", "size": "10G", "type": "partition", "uuid": "d020be2f-3457-4b2c-8fb2-e3244b37d21b" }, "/dev/sdg": { "fstype": "LVM2_member", "label": "", "mountpoint": "", "name": "/dev/sdg", "size": "1T", "type": "disk", "uuid": "SjMGWM-cW4v-WB8Z-hnhw-IJXF-9PI8-PBqZAx" }, "/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": "ext4", "label": "", "mountpoint": "/", "name": "/dev/xvda1", "size": "250G", "type": "partition", "uuid": "c7b7d6a5-fd01-4b9b-bcca-153eaff9d312" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:20 Monday 19 August 2024 17:19:46 -0400 (0:00:00.388) 0:01:32.220 ********* ok: [managed_node2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002659", "end": "2024-08-19 17:19:46.707814", "rc": 0, "start": "2024-08-19 17:19:46.705155" } STDOUT: # system_role:storage # # /etc/fstab # Created by anaconda on Thu Jun 20 10:23:46 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 # UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 / ext4 defaults 1 1 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/phi-test2 /opt/test2 xfs defaults 0 0 /dev/mapper/foo-test1 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:25 Monday 19 August 2024 17:19:46 -0400 (0:00:00.391) 0:01:32.611 ********* ok: [managed_node2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002429", "end": "2024-08-19 17:19:47.090740", "failed_when_result": false, "rc": 0, "start": "2024-08-19 17:19:47.088311" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:34 Monday 19 August 2024 17:19:47 -0400 (0:00:00.372) 0:01:32.984 ********* included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool.yml for managed_node2 TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool.yml:5 Monday 19 August 2024 17:19:47 -0400 (0:00:00.126) 0:01:33.110 ********* ok: [managed_node2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [Get VG shared value status] ********************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool.yml:18 Monday 19 August 2024 17:19:47 -0400 (0:00:00.058) 0:01:33.169 ********* ok: [managed_node2] => { "changed": false, "cmd": [ "vgs", "--noheadings", "--binary", "-o", "shared", "foo" ], "delta": "0:00:00.017486", "end": "2024-08-19 17:19:47.680154", "rc": 0, "start": "2024-08-19 17:19:47.662668" } STDOUT: 0 TASK [Verify that VG shared value checks out] ********************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool.yml:24 Monday 19 August 2024 17:19:47 -0400 (0:00:00.411) 0:01:33.580 ********* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify pool subset] ****************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool.yml:34 Monday 19 August 2024 17:19:47 -0400 (0:00:00.078) 0:01:33.658 ********* included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml for managed_node2 included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-volumes.yml for managed_node2 TASK [Set test variables] ****************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:2 Monday 19 August 2024 17:19:47 -0400 (0:00:00.133) 0:01:33.792 ********* ok: [managed_node2] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sdg" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:8 Monday 19 August 2024 17:19:48 -0400 (0:00:00.082) 0:01:33.875 ********* ok: [managed_node2] => (item=/dev/sdg) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sdg", "pv": "/dev/sdg" } TASK [Set pvs lvm length] ****************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:17 Monday 19 August 2024 17:19:48 -0400 (0:00:00.411) 0:01:34.286 ********* ok: [managed_node2] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [Set pool pvs] ************************************************************ task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:22 Monday 19 August 2024 17:19:48 -0400 (0:00:00.066) 0:01:34.352 ********* ok: [managed_node2] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sdg" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:27 Monday 19 August 2024 17:19:48 -0400 (0:00:00.072) 0:01:34.424 ********* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Set expected pv type] **************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:36 Monday 19 August 2024 17:19:48 -0400 (0:00:00.073) 0:01:34.498 ********* ok: [managed_node2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [Set expected pv type] **************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:41 Monday 19 August 2024 17:19:48 -0400 (0:00:00.065) 0:01:34.563 ********* ok: [managed_node2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [Set expected pv type] **************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:46 Monday 19 August 2024 17:19:48 -0400 (0:00:00.063) 0:01:34.627 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:51 Monday 19 August 2024 17:19:48 -0400 (0:00:00.061) 0:01:34.689 ********* ok: [managed_node2] => (item=/dev/sdg) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sdg" } MSG: All assertions passed TASK [Check that blivet supports PV grow to fill] ****************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:64 Monday 19 August 2024 17:19:48 -0400 (0:00:00.077) 0:01:34.766 ********* ok: [managed_node2] => { "changed": false, "rc": 0 } STDOUT: False STDERR: Shared connection to 10.31.45.109 closed. TASK [Verify that PVs fill the whole devices when they should] ***************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:73 Monday 19 August 2024 17:19:49 -0400 (0:00:00.316) 0:01:35.083 ********* skipping: [managed_node2] => (item=/dev/sdg) => { "ansible_loop_var": "st_pool_pv", "changed": false, "skip_reason": "Conditional result was False", "st_pool_pv": "/dev/sdg" } TASK [Check MD RAID] *********************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:83 Monday 19 August 2024 17:19:49 -0400 (0:00:00.065) 0:01:35.148 ********* included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml for managed_node2 TASK [Get information about RAID] ********************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:8 Monday 19 August 2024 17:19:49 -0400 (0:00:00.120) 0:01:35.269 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set active devices regex] ************************************************ task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:14 Monday 19 August 2024 17:19:49 -0400 (0:00:00.055) 0:01:35.324 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set spare devices regex] ************************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:19 Monday 19 August 2024 17:19:49 -0400 (0:00:00.057) 0:01:35.381 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set md version regex] **************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:24 Monday 19 August 2024 17:19:49 -0400 (0:00:00.057) 0:01:35.439 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set md chunk size regex] ************************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:29 Monday 19 August 2024 17:19:49 -0400 (0:00:00.059) 0:01:35.498 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Parse the chunk size] **************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:37 Monday 19 August 2024 17:19:49 -0400 (0:00:00.056) 0:01:35.554 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID active devices count] ***************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:46 Monday 19 August 2024 17:19:49 -0400 (0:00:00.055) 0:01:35.609 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID spare devices count] ****************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:55 Monday 19 August 2024 17:19:49 -0400 (0:00:00.054) 0:01:35.664 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID metadata version] ********************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:64 Monday 19 August 2024 17:19:49 -0400 (0:00:00.056) 0:01:35.720 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID chunk size] *************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:74 Monday 19 August 2024 17:19:49 -0400 (0:00:00.056) 0:01:35.777 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Reset variables used by tests] ******************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:83 Monday 19 August 2024 17:19:50 -0400 (0:00:00.060) 0:01:35.837 ********* ok: [managed_node2] => { "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/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:86 Monday 19 August 2024 17:19:50 -0400 (0:00:00.056) 0:01:35.894 ********* included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-lvmraid.yml for managed_node2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-lvmraid.yml:2 Monday 19 August 2024 17:19:50 -0400 (0:00:00.122) 0:01:36.016 ********* included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-lvmraid.yml for managed_node2 TASK [Get information about the LV] ******************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-lvmraid.yml:8 Monday 19 August 2024 17:19:50 -0400 (0:00:00.183) 0:01:36.200 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set LV segment type] ***************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-lvmraid.yml:16 Monday 19 August 2024 17:19:50 -0400 (0:00:00.097) 0:01:36.298 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check segment type] ****************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-lvmraid.yml:20 Monday 19 August 2024 17:19:50 -0400 (0:00:00.057) 0:01:36.355 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set LV stripe size] ****************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-lvmraid.yml:27 Monday 19 August 2024 17:19:50 -0400 (0:00:00.068) 0:01:36.423 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Parse the requested stripe size] ***************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-lvmraid.yml:31 Monday 19 August 2024 17:19:50 -0400 (0:00:00.074) 0:01:36.498 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set expected stripe size] ************************************************ task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-lvmraid.yml:37 Monday 19 August 2024 17:19:50 -0400 (0:00:00.056) 0:01:36.555 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check stripe size] ******************************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-lvmraid.yml:42 Monday 19 August 2024 17:19:50 -0400 (0:00:00.117) 0:01:36.672 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:89 Monday 19 August 2024 17:19:50 -0400 (0:00:00.068) 0:01:36.740 ********* included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-thin.yml for managed_node2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-thin.yml:2 Monday 19 August 2024 17:19:51 -0400 (0:00:00.153) 0:01:36.894 ********* included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-thin.yml for managed_node2 TASK [Get information about thinpool] ****************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-thin.yml:8 Monday 19 August 2024 17:19:51 -0400 (0:00:00.121) 0:01:37.016 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-thin.yml:16 Monday 19 August 2024 17:19:51 -0400 (0:00:00.050) 0:01:37.067 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-thin.yml:22 Monday 19 August 2024 17:19:51 -0400 (0:00:00.052) 0:01:37.120 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Reset variable used by test] ********************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-thin.yml:26 Monday 19 August 2024 17:19:51 -0400 (0:00:00.042) 0:01:37.162 ********* ok: [managed_node2] => { "ansible_facts": { "storage_test_thin_status": null }, "changed": false } TASK [Check member encryption] ************************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:92 Monday 19 August 2024 17:19:51 -0400 (0:00:00.059) 0:01:37.221 ********* included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-encryption.yml for managed_node2 TASK [Set test variables] ****************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-encryption.yml:5 Monday 19 August 2024 17:19:51 -0400 (0:00:00.177) 0:01:37.399 ********* ok: [managed_node2] => { "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/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-encryption.yml:10 Monday 19 August 2024 17:19:51 -0400 (0:00:00.065) 0:01:37.465 ********* skipping: [managed_node2] => (item=/dev/sdg) => { "_storage_test_pool_member_path": "/dev/sdg", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-encryption.yml:17 Monday 19 August 2024 17:19:51 -0400 (0:00:00.095) 0:01:37.561 ********* included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-crypttab.yml for managed_node2 TASK [Set variables used by tests] ********************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-crypttab.yml:2 Monday 19 August 2024 17:19:51 -0400 (0:00:00.191) 0:01:37.752 ********* ok: [managed_node2] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-crypttab.yml:6 Monday 19 August 2024 17:19:52 -0400 (0:00:00.069) 0:01:37.822 ********* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-crypttab.yml:14 Monday 19 August 2024 17:19:52 -0400 (0:00:00.100) 0:01:37.923 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-crypttab.yml:23 Monday 19 August 2024 17:19:52 -0400 (0:00:00.063) 0:01:37.986 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-crypttab.yml:32 Monday 19 August 2024 17:19:52 -0400 (0:00:00.077) 0:01:38.064 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clear test variables] **************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-crypttab.yml:41 Monday 19 August 2024 17:19:52 -0400 (0:00:00.059) 0:01:38.124 ********* ok: [managed_node2] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [Clear test variables] **************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-encryption.yml:24 Monday 19 August 2024 17:19:52 -0400 (0:00:00.068) 0:01:38.192 ********* ok: [managed_node2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:95 Monday 19 August 2024 17:19:52 -0400 (0:00:00.062) 0:01:38.255 ********* included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-vdo.yml for managed_node2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-vdo.yml:2 Monday 19 August 2024 17:19:52 -0400 (0:00:00.114) 0:01:38.369 ********* included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-vdo.yml for managed_node2 TASK [Get information about VDO deduplication] ********************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-vdo.yml:8 Monday 19 August 2024 17:19:52 -0400 (0:00:00.108) 0:01:38.478 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if VDO deduplication is off] *************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-vdo.yml:15 Monday 19 August 2024 17:19:52 -0400 (0:00:00.047) 0:01:38.525 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if VDO deduplication is on] **************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-vdo.yml:21 Monday 19 August 2024 17:19:52 -0400 (0:00:00.042) 0:01:38.567 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about VDO compression] *********************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-vdo.yml:27 Monday 19 August 2024 17:19:52 -0400 (0:00:00.058) 0:01:38.625 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if VDO deduplication is off] *************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-vdo.yml:34 Monday 19 August 2024 17:19:52 -0400 (0:00:00.059) 0:01:38.685 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if VDO deduplication is on] **************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-vdo.yml:40 Monday 19 August 2024 17:19:52 -0400 (0:00:00.053) 0:01:38.739 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clear test variables] **************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-vdo.yml:46 Monday 19 August 2024 17:19:53 -0400 (0:00:00.105) 0:01:38.845 ********* ok: [managed_node2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [Check Stratis] *********************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:98 Monday 19 August 2024 17:19:53 -0400 (0:00:00.101) 0:01:38.946 ********* included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-stratis.yml for managed_node2 TASK [Run 'stratis report'] **************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-stratis.yml:6 Monday 19 August 2024 17:19:53 -0400 (0:00:00.160) 0:01:39.107 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about Stratis] ******************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-stratis.yml:11 Monday 19 August 2024 17:19:53 -0400 (0:00:00.055) 0:01:39.163 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the pools was created] *************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-stratis.yml:15 Monday 19 August 2024 17:19:53 -0400 (0:00:00.094) 0:01:39.257 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that encryption is correctly set] ********************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-stratis.yml:25 Monday 19 August 2024 17:19:53 -0400 (0:00:00.057) 0:01:39.315 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that Clevis/Tang encryption is correctly set] ********************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-stratis.yml:34 Monday 19 August 2024 17:19:53 -0400 (0:00:00.056) 0:01:39.371 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Reset variable used by test] ********************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-stratis.yml:44 Monday 19 August 2024 17:19:53 -0400 (0:00:00.066) 0:01:39.438 ********* ok: [managed_node2] => { "ansible_facts": { "storage_test_stratis_report": null }, "changed": false } TASK [Clean up test variables] ************************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:101 Monday 19 August 2024 17:19:53 -0400 (0:00:00.115) 0:01:39.553 ********* ok: [managed_node2] => { "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/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-volumes.yml:3 Monday 19 August 2024 17:19:53 -0400 (0:00:00.128) 0:01:39.682 ********* included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume.yml for managed_node2 TASK [Set storage volume test variables] *************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume.yml:2 Monday 19 August 2024 17:19:54 -0400 (0:00:00.139) 0:01:39.822 ********* ok: [managed_node2] => { "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/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume.yml:19 Monday 19 August 2024 17:19:54 -0400 (0:00:00.087) 0:01:39.910 ********* included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml for managed_node2 included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml for managed_node2 included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fs.yml for managed_node2 included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml for managed_node2 included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml for managed_node2 included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml for managed_node2 included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml for managed_node2 included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml for managed_node2 TASK [Get expected mount device based on device type] ************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:7 Monday 19 August 2024 17:19:54 -0400 (0:00:00.296) 0:01:40.207 ********* ok: [managed_node2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:11 Monday 19 August 2024 17:19:54 -0400 (0:00:00.056) 0:01:40.263 ********* ok: [managed_node2] => { "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/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:19 Monday 19 August 2024 17:19:54 -0400 (0:00:00.096) 0:01:40.360 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by device] ******************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:28 Monday 19 August 2024 17:19:54 -0400 (0:00:00.068) 0:01:40.428 ********* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify mount directory user] ********************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:36 Monday 19 August 2024 17:19:54 -0400 (0:00:00.068) 0:01:40.497 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify mount directory group] ******************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:42 Monday 19 August 2024 17:19:54 -0400 (0:00:00.143) 0:01:40.640 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify mount directory permissions] ************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:48 Monday 19 August 2024 17:19:54 -0400 (0:00:00.051) 0:01:40.692 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get path of test volume device] ****************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:57 Monday 19 August 2024 17:19:54 -0400 (0:00:00.038) 0:01:40.730 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:63 Monday 19 August 2024 17:19:54 -0400 (0:00:00.039) 0:01:40.770 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:69 Monday 19 August 2024 17:19:55 -0400 (0:00:00.047) 0:01:40.817 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:79 Monday 19 August 2024 17:19:55 -0400 (0:00:00.057) 0:01:40.875 ********* ok: [managed_node2] => { "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/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml:2 Monday 19 August 2024 17:19:55 -0400 (0:00:00.051) 0:01:40.926 ********* ok: [managed_node2] => { "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/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml:17 Monday 19 August 2024 17:19:55 -0400 (0:00:00.078) 0:01:41.004 ********* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml:24 Monday 19 August 2024 17:19:55 -0400 (0:00:00.053) 0:01:41.058 ********* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml:33 Monday 19 August 2024 17:19:55 -0400 (0:00:00.052) 0:01:41.110 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fingerprint] ****************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml:45 Monday 19 August 2024 17:19:55 -0400 (0:00:00.039) 0:01:41.150 ********* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Clean up variables] ****************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml:51 Monday 19 August 2024 17:19:55 -0400 (0:00:00.052) 0:01:41.202 ********* ok: [managed_node2] => { "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/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fs.yml:6 Monday 19 August 2024 17:19:55 -0400 (0:00:00.060) 0:01:41.263 ********* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fs.yml:14 Monday 19 August 2024 17:19:55 -0400 (0:00:00.077) 0:01:41.340 ********* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:3 Monday 19 August 2024 17:19:55 -0400 (0:00:00.088) 0:01:41.429 ********* ok: [managed_node2] => { "changed": false, "stat": { "atime": 1724102380.9718525, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1724102380.9718525, "dev": 5, "device_type": 64770, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 579763, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1724102380.9718525, "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/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:9 Monday 19 August 2024 17:19:55 -0400 (0:00:00.362) 0:01:41.792 ********* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:16 Monday 19 August 2024 17:19:56 -0400 (0:00:00.073) 0:01:41.865 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about this volume] ********************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:23 Monday 19 August 2024 17:19:56 -0400 (0:00:00.055) 0:01:41.921 ********* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Process volume type (set initial value) (1/2)] *************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:29 Monday 19 August 2024 17:19:56 -0400 (0:00:00.067) 0:01:41.988 ********* ok: [managed_node2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [Process volume type (get RAID value) (2/2)] ****************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:33 Monday 19 August 2024 17:19:56 -0400 (0:00:00.065) 0:01:42.053 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:38 Monday 19 August 2024 17:19:56 -0400 (0:00:00.060) 0:01:42.114 ********* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:3 Monday 19 August 2024 17:19:56 -0400 (0:00:00.067) 0:01:42.182 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:10 Monday 19 August 2024 17:19:56 -0400 (0:00:00.058) 0:01:42.241 ********* ok: [managed_node2] => { "changed": false, "rc": 0, "results": [ "cryptsetup-2.0.3-6.el7.x86_64 providing cryptsetup is already installed" ] } TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:16 Monday 19 August 2024 17:19:57 -0400 (0:00:00.718) 0:01:42.959 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:22 Monday 19 August 2024 17:19:57 -0400 (0:00:00.051) 0:01:43.010 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:29 Monday 19 August 2024 17:19:57 -0400 (0:00:00.047) 0:01:43.058 ********* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:40 Monday 19 August 2024 17:19:57 -0400 (0:00:00.059) 0:01:43.118 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:46 Monday 19 August 2024 17:19:57 -0400 (0:00:00.038) 0:01:43.156 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:51 Monday 19 August 2024 17:19:57 -0400 (0:00:00.038) 0:01:43.195 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:63 Monday 19 August 2024 17:19:57 -0400 (0:00:00.039) 0:01:43.235 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:75 Monday 19 August 2024 17:19:57 -0400 (0:00:00.046) 0:01:43.281 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set test variables] ****************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:87 Monday 19 August 2024 17:19:57 -0400 (0:00:00.063) 0:01:43.344 ********* ok: [managed_node2] => { "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/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:93 Monday 19 August 2024 17:19:57 -0400 (0:00:00.077) 0:01:43.422 ********* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:100 Monday 19 August 2024 17:19:57 -0400 (0:00:00.077) 0:01:43.500 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:108 Monday 19 August 2024 17:19:57 -0400 (0:00:00.072) 0:01:43.573 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:116 Monday 19 August 2024 17:19:57 -0400 (0:00:00.055) 0:01:43.628 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clear test variables] **************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:124 Monday 19 August 2024 17:19:57 -0400 (0:00:00.060) 0:01:43.689 ********* ok: [managed_node2] => { "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/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:8 Monday 19 August 2024 17:19:57 -0400 (0:00:00.059) 0:01:43.749 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set active devices regex] ************************************************ task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:14 Monday 19 August 2024 17:19:57 -0400 (0:00:00.061) 0:01:43.810 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set spare devices regex] ************************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:19 Monday 19 August 2024 17:19:58 -0400 (0:00:00.059) 0:01:43.870 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set md version regex] **************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:24 Monday 19 August 2024 17:19:58 -0400 (0:00:00.060) 0:01:43.931 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set chunk size regex] **************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:29 Monday 19 August 2024 17:19:58 -0400 (0:00:00.059) 0:01:43.991 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Parse the chunk size] **************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:37 Monday 19 August 2024 17:19:58 -0400 (0:00:00.057) 0:01:44.049 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID active devices count] ***************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:46 Monday 19 August 2024 17:19:58 -0400 (0:00:00.054) 0:01:44.103 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID spare devices count] ****************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:54 Monday 19 August 2024 17:19:58 -0400 (0:00:00.061) 0:01:44.164 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID metadata version] ********************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:62 Monday 19 August 2024 17:19:58 -0400 (0:00:00.057) 0:01:44.222 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID chunk size] *************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:70 Monday 19 August 2024 17:19:58 -0400 (0:00:00.057) 0:01:44.279 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Parse the actual size of the volume] ************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:3 Monday 19 August 2024 17:19:58 -0400 (0:00:00.059) 0:01:44.339 ********* ok: [managed_node2] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [Parse the requested size of the volume] ********************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:11 Monday 19 August 2024 17:19:58 -0400 (0:00:00.389) 0:01:44.729 ********* ok: [managed_node2] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:20 Monday 19 August 2024 17:19:59 -0400 (0:00:00.369) 0:01:45.099 ********* ok: [managed_node2] => { "ansible_facts": { "storage_test_expected_size": "4294967296" }, "changed": false } TASK [Show expected size] ****************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:28 Monday 19 August 2024 17:19:59 -0400 (0:00:00.062) 0:01:45.161 ********* ok: [managed_node2] => { "storage_test_expected_size": "4294967296" } TASK [Get the size of parent/pool device] ************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:32 Monday 19 August 2024 17:19:59 -0400 (0:00:00.088) 0:01:45.250 ********* ok: [managed_node2] => { "bytes": 1099511627776, "changed": false, "lvm": "1t", "parted": "1TiB", "size": "1 TiB" } TASK [Show test pool] ********************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:46 Monday 19 August 2024 17:19:59 -0400 (0:00:00.315) 0:01:45.566 ********* skipping: [managed_node2] => {} TASK [Show test blockinfo] ***************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:50 Monday 19 August 2024 17:19:59 -0400 (0:00:00.052) 0:01:45.618 ********* skipping: [managed_node2] => {} TASK [Show test pool size] ***************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:54 Monday 19 August 2024 17:19:59 -0400 (0:00:00.047) 0:01:45.666 ********* skipping: [managed_node2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:58 Monday 19 August 2024 17:19:59 -0400 (0:00:00.043) 0:01:45.709 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Default thin pool reserved space values] ********************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:67 Monday 19 August 2024 17:19:59 -0400 (0:00:00.047) 0:01:45.757 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Default minimal thin pool reserved space size] *************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:71 Monday 19 August 2024 17:19:59 -0400 (0:00:00.039) 0:01:45.796 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Default maximal thin pool reserved space size] *************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:76 Monday 19 August 2024 17:20:00 -0400 (0:00:00.037) 0:01:45.834 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Calculate maximum usable space in thin pool] ***************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:82 Monday 19 August 2024 17:20:00 -0400 (0:00:00.041) 0:01:45.876 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply upper size limit to max usable thin pool space] ******************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:86 Monday 19 August 2024 17:20:00 -0400 (0:00:00.041) 0:01:45.917 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply lower size limit to max usable thin pool space] ******************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:91 Monday 19 August 2024 17:20:00 -0400 (0:00:00.042) 0:01:45.959 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Convert maximum usable thin pool space from int to Size] ***************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:96 Monday 19 August 2024 17:20:00 -0400 (0:00:00.056) 0:01:46.016 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Show max thin pool size] ************************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:101 Monday 19 August 2024 17:20:00 -0400 (0:00:00.057) 0:01:46.073 ********* skipping: [managed_node2] => {} TASK [Show volume thin pool size] ********************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:105 Monday 19 August 2024 17:20:00 -0400 (0:00:00.044) 0:01:46.117 ********* skipping: [managed_node2] => {} TASK [Show test volume size] *************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:109 Monday 19 August 2024 17:20:00 -0400 (0:00:00.053) 0:01:46.171 ********* skipping: [managed_node2] => {} TASK [Establish base value for expected thin pool size] ************************ task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:113 Monday 19 August 2024 17:20:00 -0400 (0:00:00.051) 0:01:46.222 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:120 Monday 19 August 2024 17:20:00 -0400 (0:00:00.042) 0:01:46.265 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected thin pool volume size] ***************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:127 Monday 19 August 2024 17:20:00 -0400 (0:00:00.037) 0:01:46.303 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Calculate the expected thin pool volume size based on percentage value] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:131 Monday 19 August 2024 17:20:00 -0400 (0:00:00.037) 0:01:46.341 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Replace expected volume size with calculated value] ********************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:137 Monday 19 August 2024 17:20:00 -0400 (0:00:00.037) 0:01:46.378 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Show actual size] ******************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:143 Monday 19 August 2024 17:20:00 -0400 (0:00:00.040) 0:01:46.418 ********* ok: [managed_node2] => { "storage_test_actual_size": { "bytes": 4294967296, "changed": false, "failed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } } TASK [Show expected size] ****************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:147 Monday 19 August 2024 17:20:00 -0400 (0:00:00.043) 0:01:46.461 ********* ok: [managed_node2] => { "storage_test_expected_size": "4294967296" } TASK [Assert expected size is actual size] ************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:151 Monday 19 August 2024 17:20:00 -0400 (0:00:00.040) 0:01:46.502 ********* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:5 Monday 19 August 2024 17:20:00 -0400 (0:00:00.050) 0:01:46.552 ********* ok: [managed_node2] => { "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.019161", "end": "2024-08-19 17:20:01.048163", "rc": 0, "start": "2024-08-19 17:20:01.029002" } 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/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:13 Monday 19 August 2024 17:20:01 -0400 (0:00:00.406) 0:01:46.959 ********* ok: [managed_node2] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [Check segment type] ****************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:17 Monday 19 August 2024 17:20:01 -0400 (0:00:00.056) 0:01:47.016 ********* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Set LV cache size] ******************************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:24 Monday 19 August 2024 17:20:01 -0400 (0:00:00.059) 0:01:47.075 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Parse the requested cache size] ****************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:31 Monday 19 August 2024 17:20:01 -0400 (0:00:00.051) 0:01:47.127 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set expected cache size] ************************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:37 Monday 19 August 2024 17:20:01 -0400 (0:00:00.047) 0:01:47.175 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:42 Monday 19 August 2024 17:20:01 -0400 (0:00:00.039) 0:01:47.215 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume.yml:25 Monday 19 August 2024 17:20:01 -0400 (0:00:00.040) 0:01:47.255 ********* ok: [managed_node2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:44 Monday 19 August 2024 17:20:01 -0400 (0:00:00.044) 0:01:47.299 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:54 Monday 19 August 2024 17:20:01 -0400 (0:00:00.039) 0:01:47.339 ********* ok: [managed_node2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Create a file] *********************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/create-test-file.yml:12 Monday 19 August 2024 17:20:01 -0400 (0:00:00.063) 0:01:47.403 ********* changed: [managed_node2] => { "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/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/tests_luks_pool.yml:187 Monday 19 August 2024 17:20:01 -0400 (0:00:00.380) 0:01:47.784 ********* included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml for managed_node2 TASK [Store global variable value copy] **************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:4 Monday 19 August 2024 17:20:02 -0400 (0:00:00.089) 0:01:47.873 ********* ok: [managed_node2] => { "ansible_facts": { "storage_pools_global": [], "storage_safe_mode_global": true, "storage_volumes_global": [] }, "changed": false } TASK [Verify role raises correct error] **************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:10 Monday 19 August 2024 17:20:02 -0400 (0:00:00.058) 0:01:47.932 ********* TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Monday 19 August 2024 17:20:02 -0400 (0:00:00.065) 0:01:47.997 ********* included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for managed_node2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Monday 19 August 2024 17:20:02 -0400 (0:00:00.062) 0:01:48.059 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Monday 19 August 2024 17:20:02 -0400 (0:00:00.054) 0:01:48.114 ********* skipping: [managed_node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed_node2] => (item=CentOS_7.yml) => { "ansible_facts": { "__storage_blivet_diskvolume_mkfs_option_map": { "ext2": "-F", "ext3": "-F", "ext4": "-F" }, "blivet_package_list": [ "python-enum34", "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "{{ 'libblockdev-s390' if ansible_architecture == 's390x' else 'libblockdev' }}" ] }, "ansible_included_var_files": [ "/tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed_node2] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Check if system is ostree] *********** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:25 Monday 19 August 2024 17:20:02 -0400 (0:00:00.125) 0:01:48.239 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set flag to indicate system is ostree] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:30 Monday 19 August 2024 17:20:02 -0400 (0:00:00.059) 0:01:48.299 ********* skipping: [managed_node2] => { "changed": false, "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/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Monday 19 August 2024 17:20:02 -0400 (0:00:00.053) 0:01:48.352 ********* ok: [managed_node2] => { "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/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Monday 19 August 2024 17:20:02 -0400 (0:00:00.055) 0:01:48.408 ********* ok: [managed_node2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Include the appropriate provider tasks] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Monday 19 August 2024 17:20:02 -0400 (0:00:00.054) 0:01:48.462 ********* included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for managed_node2 TASK [fedora.linux_system_roles.storage : Make sure blivet is available] ******* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Monday 19 August 2024 17:20:02 -0400 (0:00:00.197) 0:01:48.660 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Show storage_pools] ****************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:9 Monday 19 August 2024 17:20:02 -0400 (0:00:00.057) 0:01:48.717 ********* ok: [managed_node2] => { "storage_pools": [ { "disks": [ "sdg" ], "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/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:14 Monday 19 August 2024 17:20:03 -0400 (0:00:00.101) 0:01:48.819 ********* ok: [managed_node2] => { "storage_volumes": [] } TASK [fedora.linux_system_roles.storage : Get required packages] *************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:19 Monday 19 August 2024 17:20:03 -0400 (0:00:00.078) 0:01:48.898 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Enable copr repositories if needed] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:31 Monday 19 August 2024 17:20:03 -0400 (0:00:00.056) 0:01:48.954 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Make sure required packages are installed] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:37 Monday 19 August 2024 17:20:03 -0400 (0:00:00.057) 0:01:49.012 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Get service facts] ******************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:51 Monday 19 August 2024 17:20:03 -0400 (0:00:00.075) 0:01:49.087 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:57 Monday 19 August 2024 17:20:03 -0400 (0:00:00.082) 0:01:49.169 ********* ok: [managed_node2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:63 Monday 19 August 2024 17:20:03 -0400 (0:00:00.108) 0:01:49.277 ********* TASK [fedora.linux_system_roles.storage : Manage the pools and volumes to match the specified state] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:69 Monday 19 August 2024 17:20:03 -0400 (0:00:00.071) 0:01:49.349 ********* fatal: [managed_node2]: 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/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:109 Monday 19 August 2024 17:20:08 -0400 (0:00:05.083) 0:01:54.433 ********* fatal: [managed_node2]: FAILED! => { "changed": false } MSG: {u'_ansible_no_log': False, u'crypts': [], u'pools': [], u'leaves': [], u'changed': False, u'actions': [], u'failed': True, u'volumes': [], u'invocation': {u'module_args': {u'packages_only': False, u'disklabel_type': None, u'diskvolume_mkfs_option_map': {u'ext4': u'-F', u'ext3': u'-F', u'ext2': u'-F'}, u'safe_mode': True, u'pools': [{u'raid_metadata_version': None, u'encryption_key_size': 512, u'encryption_key': None, u'encryption_luks_version': u'luks1', u'encryption_tang_url': None, u'raid_spare_count': None, u'grow_to_fill': False, u'encryption_tang_thumbprint': None, u'name': u'foo', u'encryption_password': u'VALUE_SPECIFIED_IN_NO_LOG_PARAMETER', u'encryption': True, u'disks': [u'sdg'], u'raid_level': None, u'raid_device_count': None, u'state': u'present', u'volumes': [{u'thin': False, u'encryption_key_size': None, u'encryption_key': None, u'fs_label': None, u'encryption_luks_version': None, u'raid_stripe_size': None, u'fs_type': None, u'mount_options': None, u'type': None, u'mount_user': None, u'raid_disks': [], u'size': u'4g', u'cache_mode': None, u'mount_point': u'/opt/test1', u'compression': None, u'encryption_password': None, u'mount_group': None, u'encryption': None, u'raid_level': None, u'name': u'test1', u'cached': None, u'state': u'present', u'vdo_pool_size': None, u'mount_mode': None, u'cache_size': None, u'thin_pool_name': None, u'cache_devices': [], u'thin_pool_size': None, u'encryption_cipher': None, u'fs_create_options': None, u'deduplication': None}], u'shared': False, u'encryption_clevis_pin': None, u'type': u'lvm', u'encryption_cipher': u'aes-xts-plain64', u'raid_chunk_size': None}], u'volumes': [], u'pool_defaults': {u'raid_metadata_version': None, u'encryption_cipher': None, u'encryption_key': None, u'encryption_luks_version': None, u'raid_spare_count': None, u'grow_to_fill': False, u'encryption_password': None, u'encryption': False, u'disks': [], u'raid_level': None, u'raid_device_count': None, u'state': u'present', u'volumes': [], u'shared': False, u'type': u'lvm', u'encryption_key_size': None, u'raid_chunk_size': None}, u'volume_defaults': {u'raid_metadata_version': None, u'raid_level': None, u'fs_type': u'xfs', u'mount_options': u'defaults', u'size': 0, u'mount_point': u'', u'compression': None, u'encryption_password': None, u'encryption': False, u'mount_device_identifier': u'uuid', u'raid_device_count': None, u'state': u'present', u'vdo_pool_size': None, u'thin_pool_name': None, u'type': u'lvm', u'encryption_key_size': None, u'encryption_cipher': None, u'encryption_key': None, u'fs_label': u'', u'encryption_luks_version': None, u'raid_stripe_size': None, u'cache_size': 0, u'raid_spare_count': None, u'cache_mode': None, u'deduplication': None, u'cached': False, u'fs_overwrite_existing': True, u'disks': [], u'thin_pool_size': None, u'thin': None, u'mount_check': 0, u'mount_passno': 0, u'raid_chunk_size': None, u'cache_devices': [], u'fs_create_options': u''}, u'use_partitions': None}}, u'mounts': [], u'packages': [], u'msg': u"cannot remove and recreate existing pool 'foo' in safe mode"} TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:113 Monday 19 August 2024 17:20:08 -0400 (0:00:00.103) 0:01:54.536 ********* TASK [Check that we failed in the role] **************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:23 Monday 19 August 2024 17:20:08 -0400 (0:00:00.054) 0:01:54.591 ********* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify the blivet output and error message are correct] ****************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:28 Monday 19 August 2024 17:20:08 -0400 (0:00:00.080) 0:01:54.671 ********* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify correct exception or error message] ******************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:39 Monday 19 August 2024 17:20:08 -0400 (0:00:00.101) 0:01:54.773 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the file] *********************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-data-preservation.yml:11 Monday 19 August 2024 17:20:09 -0400 (0:00:00.054) 0:01:54.827 ********* ok: [managed_node2] => { "changed": false, "stat": { "atime": 1724102401.888057, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1724102401.888057, "dev": 64770, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 67, "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": 1724102401.888057, "nlink": 1, "path": "/opt/test1/quux", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "version": "18446744071826060716", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Assert file presence] **************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-data-preservation.yml:16 Monday 19 August 2024 17:20:09 -0400 (0:00:00.521) 0:01:55.349 ********* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Add encryption to the pool] ********************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/tests_luks_pool.yml:212 Monday 19 August 2024 17:20:09 -0400 (0:00:00.065) 0:01:55.414 ********* TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Monday 19 August 2024 17:20:09 -0400 (0:00:00.115) 0:01:55.530 ********* included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for managed_node2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Monday 19 August 2024 17:20:09 -0400 (0:00:00.062) 0:01:55.592 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Monday 19 August 2024 17:20:09 -0400 (0:00:00.060) 0:01:55.653 ********* skipping: [managed_node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed_node2] => (item=CentOS_7.yml) => { "ansible_facts": { "__storage_blivet_diskvolume_mkfs_option_map": { "ext2": "-F", "ext3": "-F", "ext4": "-F" }, "blivet_package_list": [ "python-enum34", "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "{{ 'libblockdev-s390' if ansible_architecture == 's390x' else 'libblockdev' }}" ] }, "ansible_included_var_files": [ "/tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed_node2] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Check if system is ostree] *********** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:25 Monday 19 August 2024 17:20:09 -0400 (0:00:00.129) 0:01:55.782 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set flag to indicate system is ostree] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:30 Monday 19 August 2024 17:20:10 -0400 (0:00:00.059) 0:01:55.841 ********* skipping: [managed_node2] => { "changed": false, "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/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Monday 19 August 2024 17:20:10 -0400 (0:00:00.056) 0:01:55.897 ********* ok: [managed_node2] => { "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/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Monday 19 August 2024 17:20:10 -0400 (0:00:00.057) 0:01:55.955 ********* ok: [managed_node2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Include the appropriate provider tasks] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Monday 19 August 2024 17:20:10 -0400 (0:00:00.056) 0:01:56.011 ********* included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for managed_node2 TASK [fedora.linux_system_roles.storage : Make sure blivet is available] ******* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Monday 19 August 2024 17:20:10 -0400 (0:00:00.135) 0:01:56.147 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Show storage_pools] ****************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:9 Monday 19 August 2024 17:20:10 -0400 (0:00:00.076) 0:01:56.224 ********* ok: [managed_node2] => { "storage_pools": [ { "disks": [ "sdg" ], "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/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:14 Monday 19 August 2024 17:20:10 -0400 (0:00:00.082) 0:01:56.307 ********* ok: [managed_node2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : Get required packages] *************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:19 Monday 19 August 2024 17:20:10 -0400 (0:00:00.055) 0:01:56.362 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Enable copr repositories if needed] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:31 Monday 19 August 2024 17:20:10 -0400 (0:00:00.043) 0:01:56.405 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Make sure required packages are installed] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:37 Monday 19 August 2024 17:20:10 -0400 (0:00:00.044) 0:01:56.450 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Get service facts] ******************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:51 Monday 19 August 2024 17:20:10 -0400 (0:00:00.101) 0:01:56.551 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:57 Monday 19 August 2024 17:20:10 -0400 (0:00:00.059) 0:01:56.611 ********* ok: [managed_node2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:63 Monday 19 August 2024 17:20:10 -0400 (0:00:00.085) 0:01:56.696 ********* TASK [fedora.linux_system_roles.storage : Manage the pools and volumes to match the specified state] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:69 Monday 19 August 2024 17:20:10 -0400 (0:00:00.054) 0:01:56.751 ********* changed: [managed_node2] => { "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/sdg", "fs_type": "lvmpv" }, { "action": "create format", "device": "/dev/sdg", "fs_type": "luks" }, { "action": "create device", "device": "/dev/mapper/luks-ffb783fa-5c16-43cd-a308-bf171a0fa88f", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/luks-ffb783fa-5c16-43cd-a308-bf171a0fa88f", "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/sdg", "name": "luks-ffb783fa-5c16-43cd-a308-bf171a0fa88f", "password": "-", "state": "present" } ], "leaves": [ "/dev/md/test1", "/dev/mapper/phi-test2", "/dev/mapper/phi-test1", "/dev/sdf1", "/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", "mdadm", "xfsprogs", "e2fsprogs", "lvm2" ], "pools": [ { "disks": [ "sdg" ], "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-3", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-3", "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/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:83 Monday 19 August 2024 17:20:22 -0400 (0:00:11.921) 0:02:08.672 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Check if /etc/fstab is present] ****** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Monday 19 August 2024 17:20:22 -0400 (0:00:00.057) 0:02:08.730 ********* ok: [managed_node2] => { "changed": false, "stat": { "atime": 1724102383.5028772, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "415242c954ab4bc21da4abceaeec181dc017f4be", "ctime": 1724102383.5008771, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 263550, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1724102383.5008771, "nlink": 1, "path": "/etc/fstab", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 1329, "uid": 0, "version": "18446744072489218370", "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/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:95 Monday 19 August 2024 17:20:23 -0400 (0:00:00.429) 0:02:09.160 ********* ok: [managed_node2] => { "backup": "", "changed": false } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:113 Monday 19 August 2024 17:20:23 -0400 (0:00:00.398) 0:02:09.558 ********* TASK [fedora.linux_system_roles.storage : Show blivet_output] ****************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:119 Monday 19 August 2024 17:20:23 -0400 (0:00:00.059) 0:02:09.618 ********* ok: [managed_node2] => { "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/sdg", "fs_type": "lvmpv" }, { "action": "create format", "device": "/dev/sdg", "fs_type": "luks" }, { "action": "create device", "device": "/dev/mapper/luks-ffb783fa-5c16-43cd-a308-bf171a0fa88f", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/luks-ffb783fa-5c16-43cd-a308-bf171a0fa88f", "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/sdg", "name": "luks-ffb783fa-5c16-43cd-a308-bf171a0fa88f", "password": "-", "state": "present" } ], "failed": false, "leaves": [ "/dev/md/test1", "/dev/mapper/phi-test2", "/dev/mapper/phi-test1", "/dev/sdf1", "/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", "mdadm", "xfsprogs", "e2fsprogs", "lvm2" ], "pools": [ { "disks": [ "sdg" ], "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-3", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-3", "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/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:128 Monday 19 August 2024 17:20:23 -0400 (0:00:00.077) 0:02:09.696 ********* ok: [managed_node2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sdg" ], "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-3", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-3", "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/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Monday 19 August 2024 17:20:23 -0400 (0:00:00.070) 0:02:09.766 ********* ok: [managed_node2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Remove obsolete mounts] ************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Monday 19 August 2024 17:20:24 -0400 (0:00:00.076) 0:02:09.843 ********* changed: [managed_node2] => (item={u'src': u'/dev/mapper/foo-test1', u'state': u'absent', u'fstype': u'xfs', u'path': u'/opt/test1'}) => { "ansible_loop_var": "mount_info", "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/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:159 Monday 19 August 2024 17:20:24 -0400 (0:00:00.419) 0:02:10.262 ********* ok: [managed_node2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : Set up new/current mounts] *********** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:164 Monday 19 August 2024 17:20:24 -0400 (0:00:00.543) 0:02:10.806 ********* changed: [managed_node2] => (item={u'src': u'/dev/mapper/foo-test1', u'group': None, u'dump': 0, u'passno': 0, u'fstype': u'xfs', u'state': u'mounted', u'mode': None, u'owner': None, u'path': u'/opt/test1', u'opts': u'defaults'}) => { "ansible_loop_var": "mount_info", "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/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:175 Monday 19 August 2024 17:20:25 -0400 (0:00:00.437) 0:02:11.244 ********* skipping: [managed_node2] => (item={u'src': u'/dev/mapper/foo-test1', u'group': None, u'dump': 0, u'passno': 0, u'fstype': u'xfs', u'state': u'mounted', u'mode': None, u'owner': None, u'path': u'/opt/test1', u'opts': u'defaults'}) => { "ansible_loop_var": "mount_info", "changed": false, "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" } TASK [fedora.linux_system_roles.storage : Tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:187 Monday 19 August 2024 17:20:25 -0400 (0:00:00.085) 0:02:11.329 ********* ok: [managed_node2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : Retrieve facts for the /etc/crypttab file] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:195 Monday 19 August 2024 17:20:26 -0400 (0:00:00.634) 0:02:11.964 ********* ok: [managed_node2] => { "changed": false, "stat": { "atime": 1724102387.0899122, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1724102384.7868896, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 1048582, "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": 1724102384.7858896, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "18446744072489228125", "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/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:200 Monday 19 August 2024 17:20:26 -0400 (0:00:00.441) 0:02:12.406 ********* changed: [managed_node2] => (item={u'state': u'present', u'password': u'-', u'name': u'luks-ffb783fa-5c16-43cd-a308-bf171a0fa88f', u'backing_device': u'/dev/sdg'}) => { "ansible_loop_var": "entry", "backup": "", "changed": true, "entry": { "backing_device": "/dev/sdg", "name": "luks-ffb783fa-5c16-43cd-a308-bf171a0fa88f", "password": "-", "state": "present" } } MSG: line added TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:222 Monday 19 August 2024 17:20:26 -0400 (0:00:00.380) 0:02:12.786 ********* ok: [managed_node2] TASK [Verify role results] ***************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/tests_luks_pool.yml:231 Monday 19 August 2024 17:20:27 -0400 (0:00:00.726) 0:02:13.512 ********* included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml for managed_node2 TASK [Print out pool information] ********************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:2 Monday 19 August 2024 17:20:27 -0400 (0:00:00.085) 0:02:13.597 ********* ok: [managed_node2] => { "_storage_pools_list": [ { "disks": [ "sdg" ], "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-3", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-3", "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/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:7 Monday 19 August 2024 17:20:27 -0400 (0:00:00.126) 0:02:13.724 ********* skipping: [managed_node2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:15 Monday 19 August 2024 17:20:27 -0400 (0:00:00.047) 0:02:13.772 ********* ok: [managed_node2] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "mountpoint": "/opt/test1", "name": "/dev/mapper/foo-test1", "size": "4G", "type": "lvm", "uuid": "601ef63e-442b-4500-a630-1f4132af00d8" }, "/dev/mapper/luks-ffb783fa-5c16-43cd-a308-bf171a0fa88f": { "fstype": "LVM2_member", "label": "", "mountpoint": "", "name": "/dev/mapper/luks-ffb783fa-5c16-43cd-a308-bf171a0fa88f", "size": "1024G", "type": "crypt", "uuid": "vCf8lu-UIxO-DNGs-5oUj-TrfV-MYJe-2fRPtB" }, "/dev/mapper/phi-test1": { "fstype": "xfs", "label": "", "mountpoint": "", "name": "/dev/mapper/phi-test1", "size": "4G", "type": "lvm", "uuid": "946e4fbf-01d3-4168-bbda-77fbe9febc84" }, "/dev/mapper/phi-test2": { "fstype": "xfs", "label": "", "mountpoint": "/opt/test2", "name": "/dev/mapper/phi-test2", "size": "4G", "type": "lvm", "uuid": "35df4df6-db0e-4482-ac77-3c113c469601" }, "/dev/md/test1": { "fstype": "xfs", "label": "", "mountpoint": "", "name": "/dev/md/test1", "size": "10G", "type": "raid1", "uuid": "7fce493b-7163-4839-9759-0f0a8ab57c8d" }, "/dev/sda": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda1": { "fstype": "linux_raid_member", "label": "test1", "mountpoint": "", "name": "/dev/sda1", "size": "10G", "type": "partition", "uuid": "96bf62ee-d24b-cfb8-bae7-17b87498342b" }, "/dev/sdb": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb1": { "fstype": "linux_raid_member", "label": "test1", "mountpoint": "", "name": "/dev/sdb1", "size": "10G", "type": "partition", "uuid": "96bf62ee-d24b-cfb8-bae7-17b87498342b" }, "/dev/sdc": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc1": { "fstype": "linux_raid_member", "label": "test1", "mountpoint": "", "name": "/dev/sdc1", "size": "10G", "type": "partition", "uuid": "96bf62ee-d24b-cfb8-bae7-17b87498342b" }, "/dev/sdd": { "fstype": "LVM2_member", "label": "", "mountpoint": "", "name": "/dev/sdd", "size": "1T", "type": "disk", "uuid": "30zcDe-REhP-8FX0-wxHJ-Vqdn-aSz3-BWzjOq" }, "/dev/sde": { "fstype": "LVM2_member", "label": "", "mountpoint": "", "name": "/dev/sde", "size": "1T", "type": "disk", "uuid": "Hh5AHy-KA1I-zqxb-01pl-jZEO-PNR5-hSqsNN" }, "/dev/sdf": { "fstype": "", "label": "", "mountpoint": "", "name": "/dev/sdf", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdf1": { "fstype": "ext4", "label": "", "mountpoint": "", "name": "/dev/sdf1", "size": "10G", "type": "partition", "uuid": "d020be2f-3457-4b2c-8fb2-e3244b37d21b" }, "/dev/sdg": { "fstype": "crypto_LUKS", "label": "", "mountpoint": "", "name": "/dev/sdg", "size": "1T", "type": "disk", "uuid": "ffb783fa-5c16-43cd-a308-bf171a0fa88f" }, "/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": "ext4", "label": "", "mountpoint": "/", "name": "/dev/xvda1", "size": "250G", "type": "partition", "uuid": "c7b7d6a5-fd01-4b9b-bcca-153eaff9d312" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:20 Monday 19 August 2024 17:20:28 -0400 (0:00:00.356) 0:02:14.128 ********* ok: [managed_node2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002543", "end": "2024-08-19 17:20:28.589723", "rc": 0, "start": "2024-08-19 17:20:28.587180" } STDOUT: # system_role:storage # # /etc/fstab # Created by anaconda on Thu Jun 20 10:23:46 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 # UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 / ext4 defaults 1 1 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/phi-test2 /opt/test2 xfs defaults 0 0 /dev/mapper/foo-test1 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:25 Monday 19 August 2024 17:20:28 -0400 (0:00:00.339) 0:02:14.468 ********* ok: [managed_node2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002535", "end": "2024-08-19 17:20:28.902904", "failed_when_result": false, "rc": 0, "start": "2024-08-19 17:20:28.900369" } STDOUT: luks-ffb783fa-5c16-43cd-a308-bf171a0fa88f /dev/sdg - TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:34 Monday 19 August 2024 17:20:28 -0400 (0:00:00.319) 0:02:14.788 ********* included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool.yml for managed_node2 TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool.yml:5 Monday 19 August 2024 17:20:29 -0400 (0:00:00.117) 0:02:14.905 ********* ok: [managed_node2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [Get VG shared value status] ********************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool.yml:18 Monday 19 August 2024 17:20:29 -0400 (0:00:00.057) 0:02:14.963 ********* ok: [managed_node2] => { "changed": false, "cmd": [ "vgs", "--noheadings", "--binary", "-o", "shared", "foo" ], "delta": "0:00:00.020397", "end": "2024-08-19 17:20:29.490157", "rc": 0, "start": "2024-08-19 17:20:29.469760" } STDOUT: 0 TASK [Verify that VG shared value checks out] ********************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool.yml:24 Monday 19 August 2024 17:20:29 -0400 (0:00:00.406) 0:02:15.370 ********* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify pool subset] ****************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool.yml:34 Monday 19 August 2024 17:20:29 -0400 (0:00:00.052) 0:02:15.422 ********* included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml for managed_node2 included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-volumes.yml for managed_node2 TASK [Set test variables] ****************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:2 Monday 19 August 2024 17:20:29 -0400 (0:00:00.116) 0:02:15.538 ********* ok: [managed_node2] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/mapper/luks-ffb783fa-5c16-43cd-a308-bf171a0fa88f" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:8 Monday 19 August 2024 17:20:29 -0400 (0:00:00.057) 0:02:15.596 ********* ok: [managed_node2] => (item=/dev/mapper/luks-ffb783fa-5c16-43cd-a308-bf171a0fa88f) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/mapper/luks-ffb783fa-5c16-43cd-a308-bf171a0fa88f", "pv": "/dev/mapper/luks-ffb783fa-5c16-43cd-a308-bf171a0fa88f" } TASK [Set pvs lvm length] ****************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:17 Monday 19 August 2024 17:20:30 -0400 (0:00:00.389) 0:02:15.986 ********* ok: [managed_node2] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [Set pool pvs] ************************************************************ task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:22 Monday 19 August 2024 17:20:30 -0400 (0:00:00.054) 0:02:16.041 ********* ok: [managed_node2] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/mapper/luks-ffb783fa-5c16-43cd-a308-bf171a0fa88f" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:27 Monday 19 August 2024 17:20:30 -0400 (0:00:00.078) 0:02:16.119 ********* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Set expected pv type] **************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:36 Monday 19 August 2024 17:20:30 -0400 (0:00:00.070) 0:02:16.190 ********* ok: [managed_node2] => { "ansible_facts": { "_storage_test_expected_pv_type": "crypt" }, "changed": false } TASK [Set expected pv type] **************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:41 Monday 19 August 2024 17:20:30 -0400 (0:00:00.059) 0:02:16.250 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set expected pv type] **************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:46 Monday 19 August 2024 17:20:30 -0400 (0:00:00.066) 0:02:16.316 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:51 Monday 19 August 2024 17:20:30 -0400 (0:00:00.074) 0:02:16.390 ********* ok: [managed_node2] => (item=/dev/mapper/luks-ffb783fa-5c16-43cd-a308-bf171a0fa88f) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/mapper/luks-ffb783fa-5c16-43cd-a308-bf171a0fa88f" } MSG: All assertions passed TASK [Check that blivet supports PV grow to fill] ****************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:64 Monday 19 August 2024 17:20:30 -0400 (0:00:00.093) 0:02:16.484 ********* ok: [managed_node2] => { "changed": false, "rc": 0 } STDOUT: False STDERR: Shared connection to 10.31.45.109 closed. TASK [Verify that PVs fill the whole devices when they should] ***************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:73 Monday 19 August 2024 17:20:31 -0400 (0:00:00.349) 0:02:16.833 ********* skipping: [managed_node2] => (item=/dev/mapper/luks-ffb783fa-5c16-43cd-a308-bf171a0fa88f) => { "ansible_loop_var": "st_pool_pv", "changed": false, "skip_reason": "Conditional result was False", "st_pool_pv": "/dev/mapper/luks-ffb783fa-5c16-43cd-a308-bf171a0fa88f" } TASK [Check MD RAID] *********************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:83 Monday 19 August 2024 17:20:31 -0400 (0:00:00.067) 0:02:16.901 ********* included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml for managed_node2 TASK [Get information about RAID] ********************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:8 Monday 19 August 2024 17:20:31 -0400 (0:00:00.168) 0:02:17.070 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set active devices regex] ************************************************ task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:14 Monday 19 August 2024 17:20:31 -0400 (0:00:00.110) 0:02:17.180 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set spare devices regex] ************************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:19 Monday 19 August 2024 17:20:31 -0400 (0:00:00.083) 0:02:17.264 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set md version regex] **************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:24 Monday 19 August 2024 17:20:31 -0400 (0:00:00.054) 0:02:17.318 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set md chunk size regex] ************************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:29 Monday 19 August 2024 17:20:31 -0400 (0:00:00.044) 0:02:17.363 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Parse the chunk size] **************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:37 Monday 19 August 2024 17:20:31 -0400 (0:00:00.047) 0:02:17.410 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID active devices count] ***************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:46 Monday 19 August 2024 17:20:31 -0400 (0:00:00.058) 0:02:17.468 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID spare devices count] ****************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:55 Monday 19 August 2024 17:20:31 -0400 (0:00:00.066) 0:02:17.535 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID metadata version] ********************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:64 Monday 19 August 2024 17:20:31 -0400 (0:00:00.044) 0:02:17.580 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID chunk size] *************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:74 Monday 19 August 2024 17:20:31 -0400 (0:00:00.045) 0:02:17.625 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Reset variables used by tests] ******************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-md.yml:83 Monday 19 August 2024 17:20:31 -0400 (0:00:00.066) 0:02:17.692 ********* ok: [managed_node2] => { "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/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:86 Monday 19 August 2024 17:20:31 -0400 (0:00:00.070) 0:02:17.762 ********* included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-lvmraid.yml for managed_node2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-lvmraid.yml:2 Monday 19 August 2024 17:20:32 -0400 (0:00:00.137) 0:02:17.900 ********* included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-lvmraid.yml for managed_node2 TASK [Get information about the LV] ******************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-lvmraid.yml:8 Monday 19 August 2024 17:20:32 -0400 (0:00:00.195) 0:02:18.095 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set LV segment type] ***************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-lvmraid.yml:16 Monday 19 August 2024 17:20:32 -0400 (0:00:00.087) 0:02:18.183 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check segment type] ****************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-lvmraid.yml:20 Monday 19 August 2024 17:20:32 -0400 (0:00:00.155) 0:02:18.338 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set LV stripe size] ****************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-lvmraid.yml:27 Monday 19 August 2024 17:20:32 -0400 (0:00:00.045) 0:02:18.383 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Parse the requested stripe size] ***************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-lvmraid.yml:31 Monday 19 August 2024 17:20:32 -0400 (0:00:00.046) 0:02:18.429 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set expected stripe size] ************************************************ task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-lvmraid.yml:37 Monday 19 August 2024 17:20:32 -0400 (0:00:00.044) 0:02:18.474 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check stripe size] ******************************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-lvmraid.yml:42 Monday 19 August 2024 17:20:32 -0400 (0:00:00.058) 0:02:18.532 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:89 Monday 19 August 2024 17:20:32 -0400 (0:00:00.060) 0:02:18.592 ********* included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-thin.yml for managed_node2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-thin.yml:2 Monday 19 August 2024 17:20:32 -0400 (0:00:00.175) 0:02:18.768 ********* included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-thin.yml for managed_node2 TASK [Get information about thinpool] ****************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-thin.yml:8 Monday 19 August 2024 17:20:33 -0400 (0:00:00.139) 0:02:18.908 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-thin.yml:16 Monday 19 August 2024 17:20:33 -0400 (0:00:00.059) 0:02:18.967 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-thin.yml:22 Monday 19 August 2024 17:20:33 -0400 (0:00:00.073) 0:02:19.040 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Reset variable used by test] ********************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-thin.yml:26 Monday 19 August 2024 17:20:33 -0400 (0:00:00.072) 0:02:19.113 ********* ok: [managed_node2] => { "ansible_facts": { "storage_test_thin_status": null }, "changed": false } TASK [Check member encryption] ************************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:92 Monday 19 August 2024 17:20:33 -0400 (0:00:00.059) 0:02:19.173 ********* included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-encryption.yml for managed_node2 TASK [Set test variables] ****************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-encryption.yml:5 Monday 19 August 2024 17:20:33 -0400 (0:00:00.156) 0:02:19.329 ********* ok: [managed_node2] => { "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/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-encryption.yml:10 Monday 19 August 2024 17:20:33 -0400 (0:00:00.089) 0:02:19.419 ********* included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-encryption.yml for managed_node2 TASK [Get the backing device path] ********************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-encryption.yml:2 Monday 19 August 2024 17:20:33 -0400 (0:00:00.146) 0:02:19.565 ********* ok: [managed_node2] => { "changed": false, "cmd": [ "realpath", "/dev/disk/by-uuid/ffb783fa-5c16-43cd-a308-bf171a0fa88f" ], "delta": "0:00:00.002460", "end": "2024-08-19 17:20:34.115124", "rc": 0, "start": "2024-08-19 17:20:34.112664" } STDOUT: /dev/sdg TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-encryption.yml:12 Monday 19 August 2024 17:20:34 -0400 (0:00:00.459) 0:02:20.025 ********* ok: [managed_node2] => { "changed": false, "rc": 0, "results": [ "cryptsetup-2.0.3-6.el7.x86_64 providing cryptsetup is already installed" ] } TASK [Collect LUKS info for this member] *************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-encryption.yml:18 Monday 19 August 2024 17:20:35 -0400 (0:00:00.794) 0:02:20.819 ********* ok: [managed_node2] => { "changed": false, "cmd": [ "cryptsetup", "luksDump", "/dev/sdg" ], "delta": "0:00:00.026855", "end": "2024-08-19 17:20:35.346249", "rc": 0, "start": "2024-08-19 17:20:35.319394" } STDOUT: LUKS header information for /dev/sdg Version: 1 Cipher name: aes Cipher mode: xts-plain64 Hash spec: sha256 Payload offset: 8192 MK bits: 512 MK digest: 2a 03 a2 f5 da b3 2f 60 91 2e 47 58 ba e6 85 db e6 7c 35 fa MK salt: c9 ac 21 8a 1c e5 a6 21 27 09 e3 85 0e 7d 73 ca af b6 ec de af 0c 6f d3 6e 58 b4 b9 cd b8 05 f7 MK iterations: 23848 UUID: ffb783fa-5c16-43cd-a308-bf171a0fa88f Key Slot 0: ENABLED Iterations: 381576 Salt: 6e 91 df fc 08 59 ef 93 36 57 19 25 c5 85 95 57 29 2a 21 65 56 80 b3 53 e3 cc e5 aa 54 24 a4 78 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/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-encryption.yml:26 Monday 19 August 2024 17:20:35 -0400 (0:00:00.429) 0:02:21.248 ********* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Check LUKS key size] ***************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-encryption.yml:38 Monday 19 August 2024 17:20:35 -0400 (0:00:00.078) 0:02:21.327 ********* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Check LUKS cipher] ******************************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-encryption.yml:50 Monday 19 August 2024 17:20:35 -0400 (0:00:00.102) 0:02:21.429 ********* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-encryption.yml:17 Monday 19 August 2024 17:20:35 -0400 (0:00:00.129) 0:02:21.559 ********* included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-crypttab.yml for managed_node2 TASK [Set variables used by tests] ********************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-crypttab.yml:2 Monday 19 August 2024 17:20:35 -0400 (0:00:00.143) 0:02:21.702 ********* ok: [managed_node2] => { "ansible_facts": { "_storage_test_crypttab_entries": [ "luks-ffb783fa-5c16-43cd-a308-bf171a0fa88f /dev/sdg -" ] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-crypttab.yml:6 Monday 19 August 2024 17:20:35 -0400 (0:00:00.070) 0:02:21.773 ********* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-crypttab.yml:14 Monday 19 August 2024 17:20:36 -0400 (0:00:00.072) 0:02:21.845 ********* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-crypttab.yml:23 Monday 19 August 2024 17:20:36 -0400 (0:00:00.115) 0:02:21.961 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-crypttab.yml:32 Monday 19 August 2024 17:20:36 -0400 (0:00:00.095) 0:02:22.056 ********* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Clear test variables] **************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-crypttab.yml:41 Monday 19 August 2024 17:20:36 -0400 (0:00:00.077) 0:02:22.134 ********* ok: [managed_node2] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [Clear test variables] **************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-encryption.yml:24 Monday 19 August 2024 17:20:36 -0400 (0:00:00.075) 0:02:22.209 ********* ok: [managed_node2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:95 Monday 19 August 2024 17:20:36 -0400 (0:00:00.074) 0:02:22.284 ********* included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-vdo.yml for managed_node2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-members-vdo.yml:2 Monday 19 August 2024 17:20:36 -0400 (0:00:00.137) 0:02:22.422 ********* included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-vdo.yml for managed_node2 TASK [Get information about VDO deduplication] ********************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-vdo.yml:8 Monday 19 August 2024 17:20:36 -0400 (0:00:00.167) 0:02:22.589 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if VDO deduplication is off] *************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-vdo.yml:15 Monday 19 August 2024 17:20:36 -0400 (0:00:00.100) 0:02:22.689 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if VDO deduplication is on] **************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-vdo.yml:21 Monday 19 August 2024 17:20:36 -0400 (0:00:00.057) 0:02:22.747 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about VDO compression] *********************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-vdo.yml:27 Monday 19 August 2024 17:20:37 -0400 (0:00:00.067) 0:02:22.815 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if VDO deduplication is off] *************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-vdo.yml:34 Monday 19 August 2024 17:20:37 -0400 (0:00:00.065) 0:02:22.881 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if VDO deduplication is on] **************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-vdo.yml:40 Monday 19 August 2024 17:20:37 -0400 (0:00:00.064) 0:02:22.946 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clear test variables] **************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-vdo.yml:46 Monday 19 August 2024 17:20:37 -0400 (0:00:00.061) 0:02:23.007 ********* ok: [managed_node2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [Check Stratis] *********************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:98 Monday 19 August 2024 17:20:37 -0400 (0:00:00.071) 0:02:23.079 ********* included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-stratis.yml for managed_node2 TASK [Run 'stratis report'] **************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-stratis.yml:6 Monday 19 August 2024 17:20:37 -0400 (0:00:00.189) 0:02:23.269 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about Stratis] ******************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-stratis.yml:11 Monday 19 August 2024 17:20:37 -0400 (0:00:00.061) 0:02:23.331 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the pools was created] *************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-stratis.yml:15 Monday 19 August 2024 17:20:37 -0400 (0:00:00.082) 0:02:23.414 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that encryption is correctly set] ********************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-stratis.yml:25 Monday 19 August 2024 17:20:37 -0400 (0:00:00.140) 0:02:23.554 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that Clevis/Tang encryption is correctly set] ********************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-stratis.yml:34 Monday 19 August 2024 17:20:37 -0400 (0:00:00.058) 0:02:23.613 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Reset variable used by test] ********************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-stratis.yml:44 Monday 19 August 2024 17:20:37 -0400 (0:00:00.072) 0:02:23.685 ********* ok: [managed_node2] => { "ansible_facts": { "storage_test_stratis_report": null }, "changed": false } TASK [Clean up test variables] ************************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-members.yml:101 Monday 19 August 2024 17:20:37 -0400 (0:00:00.087) 0:02:23.772 ********* ok: [managed_node2] => { "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/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-pool-volumes.yml:3 Monday 19 August 2024 17:20:38 -0400 (0:00:00.112) 0:02:23.885 ********* included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume.yml for managed_node2 TASK [Set storage volume test variables] *************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume.yml:2 Monday 19 August 2024 17:20:38 -0400 (0:00:00.130) 0:02:24.015 ********* ok: [managed_node2] => { "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/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume.yml:19 Monday 19 August 2024 17:20:38 -0400 (0:00:00.072) 0:02:24.088 ********* included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml for managed_node2 included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml for managed_node2 included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fs.yml for managed_node2 included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml for managed_node2 included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml for managed_node2 included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml for managed_node2 included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml for managed_node2 included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml for managed_node2 TASK [Get expected mount device based on device type] ************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:7 Monday 19 August 2024 17:20:38 -0400 (0:00:00.348) 0:02:24.436 ********* ok: [managed_node2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:11 Monday 19 August 2024 17:20:38 -0400 (0:00:00.134) 0:02:24.571 ********* ok: [managed_node2] => { "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/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:19 Monday 19 August 2024 17:20:38 -0400 (0:00:00.152) 0:02:24.723 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by device] ******************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:28 Monday 19 August 2024 17:20:39 -0400 (0:00:00.127) 0:02:24.851 ********* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify mount directory user] ********************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:36 Monday 19 August 2024 17:20:39 -0400 (0:00:00.117) 0:02:24.969 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify mount directory group] ******************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:42 Monday 19 August 2024 17:20:39 -0400 (0:00:00.064) 0:02:25.034 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify mount directory permissions] ************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:48 Monday 19 August 2024 17:20:39 -0400 (0:00:00.062) 0:02:25.096 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get path of test volume device] ****************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:57 Monday 19 August 2024 17:20:39 -0400 (0:00:00.073) 0:02:25.169 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:63 Monday 19 August 2024 17:20:39 -0400 (0:00:00.086) 0:02:25.255 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:69 Monday 19 August 2024 17:20:39 -0400 (0:00:00.056) 0:02:25.312 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-mount.yml:79 Monday 19 August 2024 17:20:39 -0400 (0:00:00.050) 0:02:25.362 ********* ok: [managed_node2] => { "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/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml:2 Monday 19 August 2024 17:20:39 -0400 (0:00:00.049) 0:02:25.412 ********* ok: [managed_node2] => { "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/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml:17 Monday 19 August 2024 17:20:39 -0400 (0:00:00.102) 0:02:25.515 ********* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml:24 Monday 19 August 2024 17:20:39 -0400 (0:00:00.070) 0:02:25.585 ********* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml:33 Monday 19 August 2024 17:20:39 -0400 (0:00:00.076) 0:02:25.662 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fingerprint] ****************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml:45 Monday 19 August 2024 17:20:39 -0400 (0:00:00.102) 0:02:25.764 ********* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Clean up variables] ****************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fstab.yml:51 Monday 19 August 2024 17:20:40 -0400 (0:00:00.080) 0:02:25.845 ********* ok: [managed_node2] => { "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/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fs.yml:6 Monday 19 August 2024 17:20:40 -0400 (0:00:00.092) 0:02:25.937 ********* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-fs.yml:14 Monday 19 August 2024 17:20:40 -0400 (0:00:00.097) 0:02:26.034 ********* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:3 Monday 19 August 2024 17:20:40 -0400 (0:00:00.088) 0:02:26.122 ********* ok: [managed_node2] => { "changed": false, "stat": { "atime": 1724102422.7102623, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1724102422.7102623, "dev": 5, "device_type": 64771, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 587721, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1724102422.7102623, "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/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:9 Monday 19 August 2024 17:20:40 -0400 (0:00:00.404) 0:02:26.527 ********* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:16 Monday 19 August 2024 17:20:40 -0400 (0:00:00.071) 0:02:26.598 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about this volume] ********************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:23 Monday 19 August 2024 17:20:40 -0400 (0:00:00.059) 0:02:26.658 ********* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Process volume type (set initial value) (1/2)] *************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:29 Monday 19 August 2024 17:20:40 -0400 (0:00:00.115) 0:02:26.773 ********* ok: [managed_node2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [Process volume type (get RAID value) (2/2)] ****************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:33 Monday 19 August 2024 17:20:41 -0400 (0:00:00.064) 0:02:26.838 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-device.yml:38 Monday 19 August 2024 17:20:41 -0400 (0:00:00.100) 0:02:26.939 ********* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:3 Monday 19 August 2024 17:20:41 -0400 (0:00:00.103) 0:02:27.043 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:10 Monday 19 August 2024 17:20:41 -0400 (0:00:00.056) 0:02:27.099 ********* ok: [managed_node2] => { "changed": false, "rc": 0, "results": [ "cryptsetup-2.0.3-6.el7.x86_64 providing cryptsetup is already installed" ] } TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:16 Monday 19 August 2024 17:20:42 -0400 (0:00:00.896) 0:02:27.996 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:22 Monday 19 August 2024 17:20:42 -0400 (0:00:00.100) 0:02:28.096 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:29 Monday 19 August 2024 17:20:42 -0400 (0:00:00.062) 0:02:28.158 ********* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:40 Monday 19 August 2024 17:20:42 -0400 (0:00:00.095) 0:02:28.253 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:46 Monday 19 August 2024 17:20:42 -0400 (0:00:00.075) 0:02:28.329 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:51 Monday 19 August 2024 17:20:42 -0400 (0:00:00.095) 0:02:28.425 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:63 Monday 19 August 2024 17:20:42 -0400 (0:00:00.056) 0:02:28.482 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:75 Monday 19 August 2024 17:20:42 -0400 (0:00:00.046) 0:02:28.528 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set test variables] ****************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:87 Monday 19 August 2024 17:20:42 -0400 (0:00:00.048) 0:02:28.577 ********* ok: [managed_node2] => { "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/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:93 Monday 19 August 2024 17:20:42 -0400 (0:00:00.053) 0:02:28.631 ********* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:100 Monday 19 August 2024 17:20:42 -0400 (0:00:00.048) 0:02:28.679 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:108 Monday 19 August 2024 17:20:42 -0400 (0:00:00.046) 0:02:28.725 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:116 Monday 19 August 2024 17:20:43 -0400 (0:00:00.094) 0:02:28.820 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clear test variables] **************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:124 Monday 19 August 2024 17:20:43 -0400 (0:00:00.073) 0:02:28.894 ********* ok: [managed_node2] => { "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/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:8 Monday 19 August 2024 17:20:43 -0400 (0:00:00.078) 0:02:28.972 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set active devices regex] ************************************************ task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:14 Monday 19 August 2024 17:20:43 -0400 (0:00:00.060) 0:02:29.033 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set spare devices regex] ************************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:19 Monday 19 August 2024 17:20:43 -0400 (0:00:00.080) 0:02:29.113 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set md version regex] **************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:24 Monday 19 August 2024 17:20:43 -0400 (0:00:00.152) 0:02:29.266 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set chunk size regex] **************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:29 Monday 19 August 2024 17:20:43 -0400 (0:00:00.067) 0:02:29.333 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Parse the chunk size] **************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:37 Monday 19 August 2024 17:20:43 -0400 (0:00:00.096) 0:02:29.430 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID active devices count] ***************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:46 Monday 19 August 2024 17:20:43 -0400 (0:00:00.115) 0:02:29.545 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID spare devices count] ****************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:54 Monday 19 August 2024 17:20:43 -0400 (0:00:00.096) 0:02:29.642 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID metadata version] ********************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:62 Monday 19 August 2024 17:20:43 -0400 (0:00:00.108) 0:02:29.751 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check RAID chunk size] *************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-md.yml:70 Monday 19 August 2024 17:20:44 -0400 (0:00:00.081) 0:02:29.832 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Parse the actual size of the volume] ************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:3 Monday 19 August 2024 17:20:44 -0400 (0:00:00.061) 0:02:29.893 ********* ok: [managed_node2] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [Parse the requested size of the volume] ********************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:11 Monday 19 August 2024 17:20:44 -0400 (0:00:00.511) 0:02:30.405 ********* ok: [managed_node2] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:20 Monday 19 August 2024 17:20:45 -0400 (0:00:00.599) 0:02:31.005 ********* ok: [managed_node2] => { "ansible_facts": { "storage_test_expected_size": "4294967296" }, "changed": false } TASK [Show expected size] ****************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:28 Monday 19 August 2024 17:20:45 -0400 (0:00:00.125) 0:02:31.130 ********* ok: [managed_node2] => { "storage_test_expected_size": "4294967296" } TASK [Get the size of parent/pool device] ************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:32 Monday 19 August 2024 17:20:45 -0400 (0:00:00.096) 0:02:31.226 ********* ok: [managed_node2] => { "bytes": 1099500890357, "changed": false, "lvm": "1023g", "parted": "1023GiB", "size": "1023 GiB" } TASK [Show test pool] ********************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:46 Monday 19 August 2024 17:20:46 -0400 (0:00:00.625) 0:02:31.851 ********* skipping: [managed_node2] => {} TASK [Show test blockinfo] ***************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:50 Monday 19 August 2024 17:20:46 -0400 (0:00:00.078) 0:02:31.930 ********* skipping: [managed_node2] => {} TASK [Show test pool size] ***************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:54 Monday 19 August 2024 17:20:46 -0400 (0:00:00.074) 0:02:32.004 ********* skipping: [managed_node2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:58 Monday 19 August 2024 17:20:46 -0400 (0:00:00.069) 0:02:32.074 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Default thin pool reserved space values] ********************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:67 Monday 19 August 2024 17:20:46 -0400 (0:00:00.064) 0:02:32.138 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Default minimal thin pool reserved space size] *************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:71 Monday 19 August 2024 17:20:46 -0400 (0:00:00.055) 0:02:32.194 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Default maximal thin pool reserved space size] *************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:76 Monday 19 August 2024 17:20:46 -0400 (0:00:00.068) 0:02:32.263 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Calculate maximum usable space in thin pool] ***************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:82 Monday 19 August 2024 17:20:46 -0400 (0:00:00.114) 0:02:32.378 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply upper size limit to max usable thin pool space] ******************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:86 Monday 19 August 2024 17:20:46 -0400 (0:00:00.084) 0:02:32.463 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply lower size limit to max usable thin pool space] ******************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:91 Monday 19 August 2024 17:20:46 -0400 (0:00:00.112) 0:02:32.576 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Convert maximum usable thin pool space from int to Size] ***************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:96 Monday 19 August 2024 17:20:46 -0400 (0:00:00.113) 0:02:32.690 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Show max thin pool size] ************************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:101 Monday 19 August 2024 17:20:46 -0400 (0:00:00.116) 0:02:32.806 ********* skipping: [managed_node2] => {} TASK [Show volume thin pool size] ********************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:105 Monday 19 August 2024 17:20:47 -0400 (0:00:00.129) 0:02:32.935 ********* skipping: [managed_node2] => {} TASK [Show test volume size] *************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:109 Monday 19 August 2024 17:20:47 -0400 (0:00:00.122) 0:02:33.058 ********* skipping: [managed_node2] => {} TASK [Establish base value for expected thin pool size] ************************ task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:113 Monday 19 August 2024 17:20:47 -0400 (0:00:00.095) 0:02:33.153 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:120 Monday 19 August 2024 17:20:47 -0400 (0:00:00.101) 0:02:33.255 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected thin pool volume size] ***************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:127 Monday 19 August 2024 17:20:47 -0400 (0:00:00.132) 0:02:33.387 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Calculate the expected thin pool volume size based on percentage value] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:131 Monday 19 August 2024 17:20:47 -0400 (0:00:00.098) 0:02:33.485 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Replace expected volume size with calculated value] ********************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:137 Monday 19 August 2024 17:20:47 -0400 (0:00:00.128) 0:02:33.614 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Show actual size] ******************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:143 Monday 19 August 2024 17:20:47 -0400 (0:00:00.061) 0:02:33.675 ********* ok: [managed_node2] => { "storage_test_actual_size": { "bytes": 4294967296, "changed": false, "failed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } } TASK [Show expected size] ****************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:147 Monday 19 August 2024 17:20:48 -0400 (0:00:00.143) 0:02:33.819 ********* ok: [managed_node2] => { "storage_test_expected_size": "4294967296" } TASK [Assert expected size is actual size] ************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-size.yml:151 Monday 19 August 2024 17:20:48 -0400 (0:00:00.120) 0:02:33.939 ********* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:5 Monday 19 August 2024 17:20:48 -0400 (0:00:00.127) 0:02:34.067 ********* ok: [managed_node2] => { "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.020850", "end": "2024-08-19 17:20:48.678142", "rc": 0, "start": "2024-08-19 17:20:48.657292" } 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/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:13 Monday 19 August 2024 17:20:48 -0400 (0:00:00.516) 0:02:34.583 ********* ok: [managed_node2] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [Check segment type] ****************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:17 Monday 19 August 2024 17:20:48 -0400 (0:00:00.068) 0:02:34.652 ********* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Set LV cache size] ******************************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:24 Monday 19 August 2024 17:20:48 -0400 (0:00:00.073) 0:02:34.726 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Parse the requested cache size] ****************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:31 Monday 19 August 2024 17:20:48 -0400 (0:00:00.060) 0:02:34.786 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set expected cache size] ************************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:37 Monday 19 August 2024 17:20:49 -0400 (0:00:00.064) 0:02:34.851 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-cache.yml:42 Monday 19 August 2024 17:20:49 -0400 (0:00:00.055) 0:02:34.906 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume.yml:25 Monday 19 August 2024 17:20:49 -0400 (0:00:00.051) 0:02:34.958 ********* ok: [managed_node2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:44 Monday 19 August 2024 17:20:49 -0400 (0:00:00.048) 0:02:35.006 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-results.yml:54 Monday 19 August 2024 17:20:49 -0400 (0:00:00.040) 0:02:35.047 ********* ok: [managed_node2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Create a file] *********************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/create-test-file.yml:12 Monday 19 August 2024 17:20:49 -0400 (0:00:00.037) 0:02:35.084 ********* changed: [managed_node2] => { "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/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/tests_luks_pool.yml:237 Monday 19 August 2024 17:20:49 -0400 (0:00:00.340) 0:02:35.425 ********* TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Monday 19 August 2024 17:20:49 -0400 (0:00:00.113) 0:02:35.538 ********* included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for managed_node2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Monday 19 August 2024 17:20:49 -0400 (0:00:00.058) 0:02:35.597 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Monday 19 August 2024 17:20:49 -0400 (0:00:00.048) 0:02:35.646 ********* skipping: [managed_node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed_node2] => (item=CentOS_7.yml) => { "ansible_facts": { "__storage_blivet_diskvolume_mkfs_option_map": { "ext2": "-F", "ext3": "-F", "ext4": "-F" }, "blivet_package_list": [ "python-enum34", "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "{{ 'libblockdev-s390' if ansible_architecture == 's390x' else 'libblockdev' }}" ] }, "ansible_included_var_files": [ "/tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed_node2] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Check if system is ostree] *********** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:25 Monday 19 August 2024 17:20:50 -0400 (0:00:00.168) 0:02:35.814 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set flag to indicate system is ostree] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:30 Monday 19 August 2024 17:20:50 -0400 (0:00:00.036) 0:02:35.851 ********* skipping: [managed_node2] => { "changed": false, "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/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Monday 19 August 2024 17:20:50 -0400 (0:00:00.036) 0:02:35.887 ********* ok: [managed_node2] => { "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/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Monday 19 August 2024 17:20:50 -0400 (0:00:00.037) 0:02:35.925 ********* ok: [managed_node2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Include the appropriate provider tasks] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Monday 19 August 2024 17:20:50 -0400 (0:00:00.037) 0:02:35.963 ********* included: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for managed_node2 TASK [fedora.linux_system_roles.storage : Make sure blivet is available] ******* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Monday 19 August 2024 17:20:50 -0400 (0:00:00.084) 0:02:36.047 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Show storage_pools] ****************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:9 Monday 19 August 2024 17:20:50 -0400 (0:00:00.037) 0:02:36.085 ********* ok: [managed_node2] => { "storage_pools": [ { "disks": [ "sdg" ], "name": "foo", "type": "lvm", "volumes": [ { "mount_point": "/opt/test2", "name": "test1" } ] } ] } TASK [fedora.linux_system_roles.storage : Show storage_volumes] **************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:14 Monday 19 August 2024 17:20:50 -0400 (0:00:00.044) 0:02:36.129 ********* ok: [managed_node2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : Get required packages] *************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:19 Monday 19 August 2024 17:20:50 -0400 (0:00:00.042) 0:02:36.171 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Enable copr repositories if needed] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:31 Monday 19 August 2024 17:20:50 -0400 (0:00:00.038) 0:02:36.210 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Make sure required packages are installed] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:37 Monday 19 August 2024 17:20:50 -0400 (0:00:00.038) 0:02:36.248 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Get service facts] ******************* task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:51 Monday 19 August 2024 17:20:50 -0400 (0:00:00.036) 0:02:36.285 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:57 Monday 19 August 2024 17:20:50 -0400 (0:00:00.036) 0:02:36.321 ********* ok: [managed_node2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:63 Monday 19 August 2024 17:20:50 -0400 (0:00:00.056) 0:02:36.378 ********* TASK [fedora.linux_system_roles.storage : Manage the pools and volumes to match the specified state] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:69 Monday 19 August 2024 17:20:50 -0400 (0:00:00.035) 0:02:36.413 ********* ok: [managed_node2] => { "actions": [], "changed": false, "crypts": [], "leaves": [ "/dev/md/test1", "/dev/mapper/phi-test2", "/dev/mapper/phi-test1", "/dev/sdf1", "/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", "mdadm", "xfsprogs", "e2fsprogs", "lvm2" ], "pools": [ { "disks": [ "sdg" ], "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-3", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-3", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdg" ], "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/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:83 Monday 19 August 2024 17:20:55 -0400 (0:00:04.934) 0:02:41.348 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Check if /etc/fstab is present] ****** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Monday 19 August 2024 17:20:55 -0400 (0:00:00.054) 0:02:41.403 ********* ok: [managed_node2] => { "changed": false, "stat": { "atime": 1724102425.3232882, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "415242c954ab4bc21da4abceaeec181dc017f4be", "ctime": 1724102425.3202882, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 263550, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1724102425.3202882, "nlink": 1, "path": "/etc/fstab", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 1329, "uid": 0, "version": "18446744072489218370", "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/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:95 Monday 19 August 2024 17:20:56 -0400 (0:00:00.427) 0:02:41.830 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:113 Monday 19 August 2024 17:20:56 -0400 (0:00:00.065) 0:02:41.895 ********* TASK [fedora.linux_system_roles.storage : Show blivet_output] ****************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:119 Monday 19 August 2024 17:20:56 -0400 (0:00:00.044) 0:02:41.939 ********* ok: [managed_node2] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/md/test1", "/dev/mapper/phi-test2", "/dev/mapper/phi-test1", "/dev/sdf1", "/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", "mdadm", "xfsprogs", "e2fsprogs", "lvm2" ], "pools": [ { "disks": [ "sdg" ], "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-3", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-3", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdg" ], "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/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:128 Monday 19 August 2024 17:20:56 -0400 (0:00:00.068) 0:02:42.008 ********* ok: [managed_node2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sdg" ], "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-3", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-3", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdg" ], "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/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Monday 19 August 2024 17:20:56 -0400 (0:00:00.055) 0:02:42.064 ********* ok: [managed_node2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Remove obsolete mounts] ************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Monday 19 August 2024 17:20:56 -0400 (0:00:00.042) 0:02:42.106 ********* changed: [managed_node2] => (item={u'path': u'/opt/test1', u'state': u'absent'}) => { "ansible_loop_var": "mount_info", "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/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:159 Monday 19 August 2024 17:20:56 -0400 (0:00:00.521) 0:02:42.628 ********* ok: [managed_node2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : Set up new/current mounts] *********** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:164 Monday 19 August 2024 17:20:57 -0400 (0:00:00.647) 0:02:43.275 ********* changed: [managed_node2] => (item={u'src': u'/dev/mapper/foo-test1', u'group': None, u'dump': 0, u'passno': 0, u'fstype': u'xfs', u'state': u'mounted', u'mode': None, u'owner': None, u'path': u'/opt/test2', u'opts': u'defaults'}) => { "ansible_loop_var": "mount_info", "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/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:175 Monday 19 August 2024 17:20:57 -0400 (0:00:00.381) 0:02:43.657 ********* skipping: [managed_node2] => (item={u'src': u'/dev/mapper/foo-test1', u'group': None, u'dump': 0, u'passno': 0, u'fstype': u'xfs', u'state': u'mounted', u'mode': None, u'owner': None, u'path': u'/opt/test2', u'opts': u'defaults'}) => { "ansible_loop_var": "mount_info", "changed": false, "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" } TASK [fedora.linux_system_roles.storage : Tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:187 Monday 19 August 2024 17:20:57 -0400 (0:00:00.080) 0:02:43.738 ********* ok: [managed_node2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : Retrieve facts for the /etc/crypttab file] *** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:195 Monday 19 August 2024 17:20:58 -0400 (0:00:00.539) 0:02:44.278 ********* ok: [managed_node2] => { "changed": false, "stat": { "atime": 1724102428.9013233, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "39518e90248850b64164580a465e124713885658", "ctime": 1724102426.8663032, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 1048583, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1724102426.8653033, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 53, "uid": 0, "version": "18446744072489228269", "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/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:200 Monday 19 August 2024 17:20:58 -0400 (0:00:00.473) 0:02:44.751 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:222 Monday 19 August 2024 17:20:58 -0400 (0:00:00.056) 0:02:44.808 ********* ok: [managed_node2] TASK [Assert to implicitly preserve encryption on existing pool] *************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/tests_luks_pool.yml:249 Monday 19 August 2024 17:20:59 -0400 (0:00:00.874) 0:02:45.683 ********* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Stat the file] *********************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-data-preservation.yml:11 Monday 19 August 2024 17:20:59 -0400 (0:00:00.079) 0:02:45.762 ********* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert file presence] **************************************************** task path: /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-data-preservation.yml:16 Monday 19 August 2024 17:21:00 -0400 (0:00:00.513) 0:02:46.275 ********* fatal: [managed_node2]: FAILED! => { "assertion": "stat_r.stat.isreg is defined and stat_r.stat.isreg", "changed": false, "evaluated_to": false } MSG: data lost! PLAY RECAP ********************************************************************* managed_node2 : ok=427 changed=16 unreachable=0 failed=4 skipped=383 rescued=3 ignored=0 Monday 19 August 2024 17:21:00 -0400 (0:00:00.035) 0:02:46.311 ********* =============================================================================== fedora.linux_system_roles.storage : Manage the pools and volumes to match the specified state -- 11.92s /tmp/collections-LGs/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.49s /tmp/collections-LGs/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.77s /tmp/collections-LGs/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.15s /tmp/collections-LGs/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.08s /tmp/collections-LGs/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.93s /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:69 fedora.linux_system_roles.storage : Get required packages --------------- 4.77s /tmp/collections-LGs/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.73s /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:69 Collect LUKS info for this member --------------------------------------- 3.40s /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/verify-pool-member-encryption.yml:18 fedora.linux_system_roles.storage : Make sure blivet is available ------- 1.77s /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Find unused disks in the system ----------------------------------------- 1.49s /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/get_unused_disk.yml:11 fedora.linux_system_roles.storage : Get service facts ------------------- 1.48s /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:51 Write the key into the key file ----------------------------------------- 1.45s /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/tests_luks_pool.yml:109 Gathering Facts --------------------------------------------------------- 1.36s /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/tests_luks_pool.yml:2 fedora.linux_system_roles.storage : Get required packages --------------- 1.05s /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:19 fedora.linux_system_roles.storage : Make sure required packages are installed --- 1.05s /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:37 fedora.linux_system_roles.storage : Check if system is ostree ----------- 0.94s /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:25 Create a key file ------------------------------------------------------- 0.94s /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/tests_luks_pool.yml:102 Ensure cryptsetup is present -------------------------------------------- 0.90s /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:10 Ensure cryptsetup is present -------------------------------------------- 0.90s /tmp/collections-LGs/ansible_collections/fedora/linux_system_roles/tests/storage/test-verify-volume-encryption.yml:10