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 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_lvm_errors.yml ************************************************* 1 plays in /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/tests/storage/tests_lvm_errors.yml PLAY [Test lvm errors] ********************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/tests/storage/tests_lvm_errors.yml:2 Tuesday 27 August 2024 10:57:09 -0400 (0:00:00.024) 0:00:00.024 ******** ok: [managed_node1] META: ran handlers TASK [Run the role] ************************************************************ task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/tests/storage/tests_lvm_errors.yml:18 Tuesday 27 August 2024 10:57:10 -0400 (0:00:00.997) 0:00:01.022 ******** TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Tuesday 27 August 2024 10:57:10 -0400 (0:00:00.041) 0:00:01.064 ******** included: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Tuesday 27 August 2024 10:57:10 -0400 (0:00:00.094) 0:00:01.158 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Tuesday 27 August 2024 10:57:10 -0400 (0:00:00.047) 0:00:01.205 ******** skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed_node1] => (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-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed_node1] => (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-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:25 Tuesday 27 August 2024 10:57:10 -0400 (0:00:00.082) 0:00:01.287 ******** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.storage : Set flag to indicate system is ostree] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:30 Tuesday 27 August 2024 10:57:11 -0400 (0:00:00.455) 0:00:01.743 ******** ok: [managed_node1] => { "ansible_facts": { "__storage_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.storage : Define an empty list of pools to be used in testing] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Tuesday 27 August 2024 10:57:11 -0400 (0:00:00.050) 0:00:01.793 ******** ok: [managed_node1] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Define an empty list of volumes to be used in testing] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Tuesday 27 August 2024 10:57:11 -0400 (0:00:00.023) 0:00:01.816 ******** ok: [managed_node1] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Include the appropriate provider tasks] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Tuesday 27 August 2024 10:57:11 -0400 (0:00:00.022) 0:00:01.839 ******** included: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for managed_node1 TASK [fedora.linux_system_roles.storage : Make sure blivet is available] ******* task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Tuesday 27 August 2024 10:57:11 -0400 (0:00:00.087) 0:00:01.927 ******** ok: [managed_node1] => { "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-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:9 Tuesday 27 August 2024 10:57:13 -0400 (0:00:01.605) 0:00:03.533 ******** ok: [managed_node1] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [fedora.linux_system_roles.storage : Show storage_volumes] **************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:14 Tuesday 27 August 2024 10:57:13 -0400 (0:00:00.076) 0:00:03.610 ******** ok: [managed_node1] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : Get required packages] *************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:19 Tuesday 27 August 2024 10:57:13 -0400 (0:00:00.096) 0:00:03.706 ******** ok: [managed_node1] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } TASK [fedora.linux_system_roles.storage : Enable copr repositories if needed] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:31 Tuesday 27 August 2024 10:57:14 -0400 (0:00:00.777) 0:00:04.483 ******** included: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml for managed_node1 TASK [fedora.linux_system_roles.storage : Check if the COPR support packages should be installed] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:2 Tuesday 27 August 2024 10:57:14 -0400 (0:00:00.172) 0:00:04.656 ******** TASK [fedora.linux_system_roles.storage : Make sure COPR support packages are present] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:13 Tuesday 27 August 2024 10:57:14 -0400 (0:00:00.032) 0:00:04.688 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Enable COPRs] ************************ task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:19 Tuesday 27 August 2024 10:57:14 -0400 (0:00:00.031) 0:00:04.720 ******** TASK [fedora.linux_system_roles.storage : Make sure required packages are installed] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:37 Tuesday 27 August 2024 10:57:14 -0400 (0:00:00.031) 0:00:04.751 ******** ok: [managed_node1] => { "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-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:51 Tuesday 27 August 2024 10:57:15 -0400 (0:00:00.712) 0:00:05.463 ******** ok: [managed_node1] => { "ansible_facts": { "services": { "NetworkManager-dispatcher.service": { "name": "NetworkManager-dispatcher.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "NetworkManager-wait-online.service": { "name": "NetworkManager-wait-online.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "NetworkManager.service": { "name": "NetworkManager.service", "source": "systemd", "state": "running", "status": "enabled" }, "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": "running", "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" }, "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-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:57 Tuesday 27 August 2024 10:57:16 -0400 (0:00:01.185) 0:00:06.649 ******** ok: [managed_node1] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:63 Tuesday 27 August 2024 10:57:16 -0400 (0:00:00.058) 0:00:06.707 ******** TASK [fedora.linux_system_roles.storage : Manage the pools and volumes to match the specified state] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:69 Tuesday 27 August 2024 10:57:16 -0400 (0:00:00.043) 0:00:06.751 ******** ok: [managed_node1] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:83 Tuesday 27 August 2024 10:57:16 -0400 (0:00:00.591) 0:00:07.343 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Check if /etc/fstab is present] ****** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Tuesday 27 August 2024 10:57:16 -0400 (0:00:00.046) 0:00:07.389 ******** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1724770600.9798481, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "72884e3f126482c2d28276ff7c57744fa95eff91", "ctime": 1724770600.127848, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 263551, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1724770600.127848, "nlink": 1, "path": "/etc/fstab", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 1229, "uid": 0, "version": "1668822276", "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-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:95 Tuesday 27 August 2024 10:57:17 -0400 (0:00:00.472) 0:00:07.862 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:113 Tuesday 27 August 2024 10:57:17 -0400 (0:00:00.079) 0:00:07.941 ******** TASK [fedora.linux_system_roles.storage : Show blivet_output] ****************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:119 Tuesday 27 August 2024 10:57:17 -0400 (0:00:00.072) 0:00:08.013 ******** ok: [managed_node1] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } } TASK [fedora.linux_system_roles.storage : Set the list of pools for test verification] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:128 Tuesday 27 August 2024 10:57:17 -0400 (0:00:00.062) 0:00:08.076 ******** ok: [managed_node1] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Set the list of volumes for test verification] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Tuesday 27 August 2024 10:57:17 -0400 (0:00:00.058) 0:00:08.134 ******** ok: [managed_node1] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Remove obsolete mounts] ************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Tuesday 27 August 2024 10:57:17 -0400 (0:00:00.090) 0:00:08.224 ******** TASK [fedora.linux_system_roles.storage : Tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:159 Tuesday 27 August 2024 10:57:17 -0400 (0:00:00.103) 0:00:08.328 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set up new/current mounts] *********** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:164 Tuesday 27 August 2024 10:57:17 -0400 (0:00:00.087) 0:00:08.416 ******** TASK [fedora.linux_system_roles.storage : Manage mount ownership/permissions] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:175 Tuesday 27 August 2024 10:57:18 -0400 (0:00:00.056) 0:00:08.473 ******** TASK [fedora.linux_system_roles.storage : Tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:187 Tuesday 27 August 2024 10:57:18 -0400 (0:00:00.053) 0:00:08.526 ******** skipping: [managed_node1] => { "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-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:195 Tuesday 27 August 2024 10:57:18 -0400 (0:00:00.053) 0:00:08.579 ******** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1724769009.570098, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1724769006.4530969, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 917633, "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": 1724769006.452097, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "1668828693", "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-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:200 Tuesday 27 August 2024 10:57:18 -0400 (0:00:00.481) 0:00:09.060 ******** TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:222 Tuesday 27 August 2024 10:57:18 -0400 (0:00:00.096) 0:00:09.157 ******** ok: [managed_node1] TASK [Mark tasks to be skipped] ************************************************ task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/tests/storage/tests_lvm_errors.yml:22 Tuesday 27 August 2024 10:57:19 -0400 (0:00:00.875) 0:00:10.033 ******** ok: [managed_node1] => { "ansible_facts": { "storage_skip_checks": [ "blivet_available", "packages_installed", "service_facts" ] }, "changed": false } TASK [Get unused disks] ******************************************************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/tests/storage/tests_lvm_errors.yml:29 Tuesday 27 August 2024 10:57:19 -0400 (0:00:00.121) 0:00:10.154 ******** included: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/tests/storage/get_unused_disk.yml for managed_node1 TASK [Ensure test packages] **************************************************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/tests/storage/get_unused_disk.yml:2 Tuesday 27 August 2024 10:57:19 -0400 (0:00:00.106) 0:00:10.261 ******** ok: [managed_node1] => { "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-Jz4/ansible_collections/fedora/linux_system_roles/tests/storage/get_unused_disk.yml:11 Tuesday 27 August 2024 10:57:20 -0400 (0:00:00.799) 0:00:11.060 ******** ok: [managed_node1] => { "changed": false, "disks": [ "sda" ], "info": [ "Line: NAME=\"/dev/sda\" TYPE=\"disk\" SIZE=\"10737418240\" FSTYPE=\"\" LOG-SEC=\"512\"", "Line: NAME=\"/dev/sdb\" TYPE=\"disk\" SIZE=\"10737418240\" FSTYPE=\"\" LOG-SEC=\"512\"", "Line: NAME=\"/dev/sdc\" TYPE=\"disk\" SIZE=\"10737418240\" FSTYPE=\"\" LOG-SEC=\"512\"", "Line: NAME=\"/dev/sdd\" TYPE=\"disk\" SIZE=\"1099511627776\" FSTYPE=\"\" LOG-SEC=\"512\"", "Line: NAME=\"/dev/sde\" TYPE=\"disk\" SIZE=\"1099511627776\" FSTYPE=\"\" LOG-SEC=\"512\"", "Line: NAME=\"/dev/sdf\" TYPE=\"disk\" SIZE=\"10737418240\" FSTYPE=\"\" LOG-SEC=\"512\"", "Line: NAME=\"/dev/sdg\" TYPE=\"disk\" SIZE=\"1099511627776\" FSTYPE=\"\" LOG-SEC=\"512\"", "Line: NAME=\"/dev/sdh\" TYPE=\"disk\" SIZE=\"10737418240\" FSTYPE=\"\" LOG-SEC=\"512\"", "Line: NAME=\"/dev/sdi\" TYPE=\"disk\" SIZE=\"10737418240\" FSTYPE=\"\" LOG-SEC=\"512\"", "Line: NAME=\"/dev/xvda\" TYPE=\"disk\" SIZE=\"268435456000\" FSTYPE=\"\" LOG-SEC=\"512\"", "Line: NAME=\"/dev/xvda1\" TYPE=\"part\" SIZE=\"268434390528\" FSTYPE=\"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" ] } TASK [Debug why there are no unused disks] ************************************* task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/tests/storage/get_unused_disk.yml:20 Tuesday 27 August 2024 10:57:21 -0400 (0:00:00.688) 0:00:11.748 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set unused_disks if necessary] ******************************************* task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/tests/storage/get_unused_disk.yml:29 Tuesday 27 August 2024 10:57:21 -0400 (0:00:00.047) 0:00:11.796 ******** ok: [managed_node1] => { "ansible_facts": { "unused_disks": [ "sda" ] }, "changed": false } TASK [Exit playbook when there's not enough unused disks in the system] ******** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/tests/storage/get_unused_disk.yml:34 Tuesday 27 August 2024 10:57:21 -0400 (0:00:00.084) 0:00:11.880 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Print unused disks] ****************************************************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/tests/storage/get_unused_disk.yml:39 Tuesday 27 August 2024 10:57:21 -0400 (0:00:00.059) 0:00:11.939 ******** ok: [managed_node1] => { "unused_disks": [ "sda" ] } TASK [Test for correct handling of invalid disk specifications.] *************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/tests/storage/tests_lvm_errors.yml:35 Tuesday 27 August 2024 10:57:21 -0400 (0:00:00.069) 0:00:12.009 ******** included: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml for managed_node1 TASK [Store global variable value copy] **************************************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:4 Tuesday 27 August 2024 10:57:21 -0400 (0:00:00.087) 0:00:12.097 ******** ok: [managed_node1] => { "ansible_facts": { "storage_pools_global": [], "storage_safe_mode_global": true, "storage_volumes_global": [] }, "changed": false } TASK [Verify role raises correct error] **************************************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:10 Tuesday 27 August 2024 10:57:21 -0400 (0:00:00.054) 0:00:12.152 ******** TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Tuesday 27 August 2024 10:57:21 -0400 (0:00:00.091) 0:00:12.244 ******** included: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Tuesday 27 August 2024 10:57:21 -0400 (0:00:00.078) 0:00:12.322 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Tuesday 27 August 2024 10:57:21 -0400 (0:00:00.077) 0:00:12.400 ******** skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed_node1] => (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-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed_node1] => (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-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:25 Tuesday 27 August 2024 10:57:22 -0400 (0:00:00.129) 0:00:12.530 ******** skipping: [managed_node1] => { "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-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:30 Tuesday 27 August 2024 10:57:22 -0400 (0:00:00.054) 0:00:12.584 ******** skipping: [managed_node1] => { "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-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Tuesday 27 August 2024 10:57:22 -0400 (0:00:00.047) 0:00:12.631 ******** ok: [managed_node1] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Define an empty list of volumes to be used in testing] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Tuesday 27 August 2024 10:57:22 -0400 (0:00:00.059) 0:00:12.691 ******** ok: [managed_node1] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Include the appropriate provider tasks] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Tuesday 27 August 2024 10:57:22 -0400 (0:00:00.055) 0:00:12.747 ******** included: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for managed_node1 TASK [fedora.linux_system_roles.storage : Make sure blivet is available] ******* task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Tuesday 27 August 2024 10:57:22 -0400 (0:00:00.117) 0:00:12.864 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Show storage_pools] ****************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:9 Tuesday 27 August 2024 10:57:22 -0400 (0:00:00.049) 0:00:12.914 ******** ok: [managed_node1] => { "storage_pools": [ { "disks": [ "/non/existent/disk" ], "name": "foo", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "5g" } ] } ] } TASK [fedora.linux_system_roles.storage : Show storage_volumes] **************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:14 Tuesday 27 August 2024 10:57:22 -0400 (0:00:00.063) 0:00:12.977 ******** ok: [managed_node1] => { "storage_volumes": [] } TASK [fedora.linux_system_roles.storage : Get required packages] *************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:19 Tuesday 27 August 2024 10:57:22 -0400 (0:00:00.059) 0:00:13.036 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Enable copr repositories if needed] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:31 Tuesday 27 August 2024 10:57:22 -0400 (0:00:00.068) 0:00:13.105 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Make sure required packages are installed] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:37 Tuesday 27 August 2024 10:57:22 -0400 (0:00:00.049) 0:00:13.155 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Get service facts] ******************* task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:51 Tuesday 27 August 2024 10:57:22 -0400 (0:00:00.055) 0:00:13.210 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:57 Tuesday 27 August 2024 10:57:22 -0400 (0:00:00.058) 0:00:13.269 ******** ok: [managed_node1] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:63 Tuesday 27 August 2024 10:57:22 -0400 (0:00:00.097) 0:00:13.367 ******** TASK [fedora.linux_system_roles.storage : Manage the pools and volumes to match the specified state] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:69 Tuesday 27 August 2024 10:57:22 -0400 (0:00:00.046) 0:00:13.413 ******** fatal: [managed_node1]: FAILED! => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } MSG: unable to resolve any disks specified for pool 'foo' (['/non/existent/disk']) TASK [fedora.linux_system_roles.storage : Failed message] ********************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:109 Tuesday 27 August 2024 10:57:26 -0400 (0:00:03.766) 0:00:17.180 ******** fatal: [managed_node1]: 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': False, u'disks': [u'/non/existent/disk'], 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'5g', 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"unable to resolve any disks specified for pool 'foo' (['/non/existent/disk'])"} TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:113 Tuesday 27 August 2024 10:57:26 -0400 (0:00:00.103) 0:00:17.283 ******** TASK [Check that we failed in the role] **************************************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:23 Tuesday 27 August 2024 10:57:26 -0400 (0:00:00.075) 0:00:17.359 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the blivet output and error message are correct] ****************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:28 Tuesday 27 August 2024 10:57:27 -0400 (0:00:00.130) 0:00:17.489 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify correct exception or error message] ******************************* task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:39 Tuesday 27 August 2024 10:57:27 -0400 (0:00:00.081) 0:00:17.571 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Test for correct handling of invalid size specification.] **************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/tests/storage/tests_lvm_errors.yml:49 Tuesday 27 August 2024 10:57:27 -0400 (0:00:00.066) 0:00:17.637 ******** included: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml for managed_node1 TASK [Store global variable value copy] **************************************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:4 Tuesday 27 August 2024 10:57:27 -0400 (0:00:00.134) 0:00:17.772 ******** ok: [managed_node1] => { "ansible_facts": { "storage_pools_global": [], "storage_safe_mode_global": true, "storage_volumes_global": [] }, "changed": false } TASK [Verify role raises correct error] **************************************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:10 Tuesday 27 August 2024 10:57:27 -0400 (0:00:00.092) 0:00:17.864 ******** TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Tuesday 27 August 2024 10:57:27 -0400 (0:00:00.115) 0:00:17.979 ******** included: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Tuesday 27 August 2024 10:57:27 -0400 (0:00:00.154) 0:00:18.134 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Tuesday 27 August 2024 10:57:27 -0400 (0:00:00.232) 0:00:18.366 ******** skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed_node1] => (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-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed_node1] => (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-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:25 Tuesday 27 August 2024 10:57:28 -0400 (0:00:00.197) 0:00:18.564 ******** skipping: [managed_node1] => { "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-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:30 Tuesday 27 August 2024 10:57:28 -0400 (0:00:00.072) 0:00:18.637 ******** skipping: [managed_node1] => { "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-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Tuesday 27 August 2024 10:57:28 -0400 (0:00:00.055) 0:00:18.693 ******** ok: [managed_node1] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Define an empty list of volumes to be used in testing] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Tuesday 27 August 2024 10:57:28 -0400 (0:00:00.061) 0:00:18.755 ******** ok: [managed_node1] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Include the appropriate provider tasks] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Tuesday 27 August 2024 10:57:28 -0400 (0:00:00.065) 0:00:18.820 ******** included: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for managed_node1 TASK [fedora.linux_system_roles.storage : Make sure blivet is available] ******* task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Tuesday 27 August 2024 10:57:28 -0400 (0:00:00.189) 0:00:19.010 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Show storage_pools] ****************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:9 Tuesday 27 August 2024 10:57:28 -0400 (0:00:00.049) 0:00:19.060 ******** ok: [managed_node1] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "xyz GiB" } ] } ] } TASK [fedora.linux_system_roles.storage : Show storage_volumes] **************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:14 Tuesday 27 August 2024 10:57:28 -0400 (0:00:00.062) 0:00:19.122 ******** ok: [managed_node1] => { "storage_volumes": [] } TASK [fedora.linux_system_roles.storage : Get required packages] *************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:19 Tuesday 27 August 2024 10:57:28 -0400 (0:00:00.059) 0:00:19.182 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Enable copr repositories if needed] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:31 Tuesday 27 August 2024 10:57:28 -0400 (0:00:00.052) 0:00:19.234 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Make sure required packages are installed] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:37 Tuesday 27 August 2024 10:57:28 -0400 (0:00:00.049) 0:00:19.284 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Get service facts] ******************* task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:51 Tuesday 27 August 2024 10:57:28 -0400 (0:00:00.049) 0:00:19.333 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:57 Tuesday 27 August 2024 10:57:28 -0400 (0:00:00.048) 0:00:19.382 ******** ok: [managed_node1] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:63 Tuesday 27 August 2024 10:57:29 -0400 (0:00:00.071) 0:00:19.454 ******** TASK [fedora.linux_system_roles.storage : Manage the pools and volumes to match the specified state] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:69 Tuesday 27 August 2024 10:57:29 -0400 (0:00:00.044) 0:00:19.498 ******** fatal: [managed_node1]: FAILED! => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } MSG: invalid size specification 'xyz GiB' in pool 'foo' TASK [fedora.linux_system_roles.storage : Failed message] ********************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:109 Tuesday 27 August 2024 10:57:33 -0400 (0:00:04.016) 0:00:23.515 ******** fatal: [managed_node1]: 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': False, u'disks': [u'sda'], 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'xyz GiB', 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"invalid size specification 'xyz GiB' in pool 'foo'"} TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:113 Tuesday 27 August 2024 10:57:33 -0400 (0:00:00.086) 0:00:23.602 ******** TASK [Check that we failed in the role] **************************************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:23 Tuesday 27 August 2024 10:57:33 -0400 (0:00:00.046) 0:00:23.649 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the blivet output and error message are correct] ****************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:28 Tuesday 27 August 2024 10:57:33 -0400 (0:00:00.055) 0:00:23.704 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify correct exception or error message] ******************************* task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:39 Tuesday 27 August 2024 10:57:33 -0400 (0:00:00.070) 0:00:23.775 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Test for correct handling of missing disk specification.] **************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/tests/storage/tests_lvm_errors.yml:63 Tuesday 27 August 2024 10:57:33 -0400 (0:00:00.054) 0:00:23.829 ******** included: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml for managed_node1 TASK [Store global variable value copy] **************************************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:4 Tuesday 27 August 2024 10:57:33 -0400 (0:00:00.097) 0:00:23.927 ******** ok: [managed_node1] => { "ansible_facts": { "storage_pools_global": [], "storage_safe_mode_global": true, "storage_volumes_global": [] }, "changed": false } TASK [Verify role raises correct error] **************************************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:10 Tuesday 27 August 2024 10:57:33 -0400 (0:00:00.054) 0:00:23.981 ******** TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Tuesday 27 August 2024 10:57:33 -0400 (0:00:00.065) 0:00:24.047 ******** included: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Tuesday 27 August 2024 10:57:33 -0400 (0:00:00.061) 0:00:24.108 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Tuesday 27 August 2024 10:57:33 -0400 (0:00:00.071) 0:00:24.180 ******** skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed_node1] => (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-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed_node1] => (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-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:25 Tuesday 27 August 2024 10:57:33 -0400 (0:00:00.124) 0:00:24.304 ******** skipping: [managed_node1] => { "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-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:30 Tuesday 27 August 2024 10:57:33 -0400 (0:00:00.048) 0:00:24.353 ******** skipping: [managed_node1] => { "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-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Tuesday 27 August 2024 10:57:33 -0400 (0:00:00.048) 0:00:24.401 ******** ok: [managed_node1] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Define an empty list of volumes to be used in testing] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Tuesday 27 August 2024 10:57:34 -0400 (0:00:00.050) 0:00:24.452 ******** ok: [managed_node1] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Include the appropriate provider tasks] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Tuesday 27 August 2024 10:57:34 -0400 (0:00:00.070) 0:00:24.523 ******** included: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for managed_node1 TASK [fedora.linux_system_roles.storage : Make sure blivet is available] ******* task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Tuesday 27 August 2024 10:57:34 -0400 (0:00:00.243) 0:00:24.766 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Show storage_pools] ****************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:9 Tuesday 27 August 2024 10:57:34 -0400 (0:00:00.063) 0:00:24.830 ******** ok: [managed_node1] => { "storage_pools": [ { "disks": [], "name": "foo", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "5g" } ] } ] } TASK [fedora.linux_system_roles.storage : Show storage_volumes] **************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:14 Tuesday 27 August 2024 10:57:34 -0400 (0:00:00.061) 0:00:24.892 ******** ok: [managed_node1] => { "storage_volumes": [] } TASK [fedora.linux_system_roles.storage : Get required packages] *************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:19 Tuesday 27 August 2024 10:57:34 -0400 (0:00:00.067) 0:00:24.960 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Enable copr repositories if needed] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:31 Tuesday 27 August 2024 10:57:34 -0400 (0:00:00.064) 0:00:25.025 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Make sure required packages are installed] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:37 Tuesday 27 August 2024 10:57:34 -0400 (0:00:00.054) 0:00:25.079 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Get service facts] ******************* task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:51 Tuesday 27 August 2024 10:57:34 -0400 (0:00:00.123) 0:00:25.202 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:57 Tuesday 27 August 2024 10:57:34 -0400 (0:00:00.060) 0:00:25.263 ******** ok: [managed_node1] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:63 Tuesday 27 August 2024 10:57:34 -0400 (0:00:00.079) 0:00:25.342 ******** TASK [fedora.linux_system_roles.storage : Manage the pools and volumes to match the specified state] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:69 Tuesday 27 August 2024 10:57:34 -0400 (0:00:00.073) 0:00:25.416 ******** fatal: [managed_node1]: FAILED! => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } MSG: no disks specified for pool 'foo' TASK [fedora.linux_system_roles.storage : Failed message] ********************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:109 Tuesday 27 August 2024 10:57:38 -0400 (0:00:03.837) 0:00:29.253 ******** fatal: [managed_node1]: 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': False, u'disks': [], 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'5g', 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"no disks specified for pool 'foo'"} TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:113 Tuesday 27 August 2024 10:57:38 -0400 (0:00:00.070) 0:00:29.324 ******** TASK [Check that we failed in the role] **************************************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:23 Tuesday 27 August 2024 10:57:38 -0400 (0:00:00.049) 0:00:29.373 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the blivet output and error message are correct] ****************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:28 Tuesday 27 August 2024 10:57:38 -0400 (0:00:00.060) 0:00:29.434 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify correct exception or error message] ******************************* task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:39 Tuesday 27 August 2024 10:57:39 -0400 (0:00:00.093) 0:00:29.528 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Test for correct handling of LVM volume not defined within a pool.] ****** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/tests/storage/tests_lvm_errors.yml:77 Tuesday 27 August 2024 10:57:39 -0400 (0:00:00.078) 0:00:29.606 ******** included: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml for managed_node1 TASK [Store global variable value copy] **************************************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:4 Tuesday 27 August 2024 10:57:39 -0400 (0:00:00.111) 0:00:29.718 ******** ok: [managed_node1] => { "ansible_facts": { "storage_pools_global": [], "storage_safe_mode_global": true, "storage_volumes_global": [] }, "changed": false } TASK [Verify role raises correct error] **************************************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:10 Tuesday 27 August 2024 10:57:39 -0400 (0:00:00.057) 0:00:29.775 ******** TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Tuesday 27 August 2024 10:57:39 -0400 (0:00:00.082) 0:00:29.857 ******** included: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Tuesday 27 August 2024 10:57:39 -0400 (0:00:00.089) 0:00:29.947 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Tuesday 27 August 2024 10:57:39 -0400 (0:00:00.058) 0:00:30.005 ******** skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed_node1] => (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-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed_node1] => (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-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:25 Tuesday 27 August 2024 10:57:39 -0400 (0:00:00.120) 0:00:30.126 ******** skipping: [managed_node1] => { "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-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:30 Tuesday 27 August 2024 10:57:39 -0400 (0:00:00.060) 0:00:30.186 ******** skipping: [managed_node1] => { "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-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Tuesday 27 August 2024 10:57:39 -0400 (0:00:00.052) 0:00:30.239 ******** ok: [managed_node1] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Define an empty list of volumes to be used in testing] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Tuesday 27 August 2024 10:57:39 -0400 (0:00:00.052) 0:00:30.292 ******** ok: [managed_node1] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Include the appropriate provider tasks] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Tuesday 27 August 2024 10:57:39 -0400 (0:00:00.051) 0:00:30.343 ******** included: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for managed_node1 TASK [fedora.linux_system_roles.storage : Make sure blivet is available] ******* task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Tuesday 27 August 2024 10:57:40 -0400 (0:00:00.126) 0:00:30.470 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Show storage_pools] ****************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:9 Tuesday 27 August 2024 10:57:40 -0400 (0:00:00.060) 0:00:30.530 ******** ok: [managed_node1] => { "storage_pools": [] } TASK [fedora.linux_system_roles.storage : Show storage_volumes] **************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:14 Tuesday 27 August 2024 10:57:40 -0400 (0:00:00.062) 0:00:30.593 ******** ok: [managed_node1] => { "storage_volumes": [ { "disks": [], "mount_point": "/opt/test1", "name": "test1", "size": "5g", "type": "lvm" } ] } TASK [fedora.linux_system_roles.storage : Get required packages] *************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:19 Tuesday 27 August 2024 10:57:40 -0400 (0:00:00.064) 0:00:30.657 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Enable copr repositories if needed] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:31 Tuesday 27 August 2024 10:57:40 -0400 (0:00:00.126) 0:00:30.783 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Make sure required packages are installed] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:37 Tuesday 27 August 2024 10:57:40 -0400 (0:00:00.090) 0:00:30.873 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Get service facts] ******************* task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:51 Tuesday 27 August 2024 10:57:40 -0400 (0:00:00.057) 0:00:30.931 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:57 Tuesday 27 August 2024 10:57:40 -0400 (0:00:00.060) 0:00:30.992 ******** ok: [managed_node1] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:63 Tuesday 27 August 2024 10:57:40 -0400 (0:00:00.073) 0:00:31.065 ******** TASK [fedora.linux_system_roles.storage : Manage the pools and volumes to match the specified state] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:69 Tuesday 27 August 2024 10:57:40 -0400 (0:00:00.066) 0:00:31.131 ******** fatal: [managed_node1]: FAILED! => { "changed": false, "rc": 1 } MSG: MODULE FAILURE See stdout/stderr for the exact error MODULE_STDOUT: ** (process:7050): WARNING **: 10:57:41.124: failed to load module btrfs: libbd_btrfs.so.2: cannot open shared object file: No such file or directory ** (process:7050): WARNING **: 10:57:41.124: failed to load module loop: libbd_loop.so.2: cannot open shared object file: No such file or directory ** (process:7050): WARNING **: 10:57:41.125: failed to load module mpath: libbd_mpath.so.2: cannot open shared object file: No such file or directory ** (process:7050): WARNING **: 10:57:41.126: failed to load module nvdimm: libbd_nvdimm.so.2: cannot open shared object file: No such file or directory Traceback (most recent call last): File "/root/.ansible/tmp/ansible-tmp-1724770660.78-6287-143582927505369/AnsiballZ_blivet.py", line 102, in _ansiballz_main() File "/root/.ansible/tmp/ansible-tmp-1724770660.78-6287-143582927505369/AnsiballZ_blivet.py", line 94, in _ansiballz_main invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS) File "/root/.ansible/tmp/ansible-tmp-1724770660.78-6287-143582927505369/AnsiballZ_blivet.py", line 40, in invoke_module runpy.run_module(mod_name='ansible_collections.fedora.linux_system_roles.plugins.modules.blivet', init_globals=None, run_name='__main__', alter_sys=True) File "/usr/lib64/python2.7/runpy.py", line 176, in run_module fname, loader, pkg_name) File "/usr/lib64/python2.7/runpy.py", line 82, in _run_module_code mod_name, mod_fname, mod_loader, pkg_name) File "/usr/lib64/python2.7/runpy.py", line 72, in _run_code exec code in run_globals File "/tmp/ansible_fedora.linux_system_roles.blivet_payload_v8__aT/ansible_fedora.linux_system_roles.blivet_payload.zip/ansible_collections/fedora/linux_system_roles/plugins/modules/blivet.py", line 2531, in File "/tmp/ansible_fedora.linux_system_roles.blivet_payload_v8__aT/ansible_fedora.linux_system_roles.blivet_payload.zip/ansible_collections/fedora/linux_system_roles/plugins/modules/blivet.py", line 2527, in main File "/tmp/ansible_fedora.linux_system_roles.blivet_payload_v8__aT/ansible_fedora.linux_system_roles.blivet_payload.zip/ansible_collections/fedora/linux_system_roles/plugins/modules/blivet.py", line 2488, in run_module File "/tmp/ansible_fedora.linux_system_roles.blivet_payload_v8__aT/ansible_fedora.linux_system_roles.blivet_payload.zip/ansible_collections/fedora/linux_system_roles/plugins/modules/blivet.py", line 2059, in manage_volume File "/tmp/ansible_fedora.linux_system_roles.blivet_payload_v8__aT/ansible_fedora.linux_system_roles.blivet_payload.zip/ansible_collections/fedora/linux_system_roles/plugins/modules/blivet.py", line 868, in manage File "/tmp/ansible_fedora.linux_system_roles.blivet_payload_v8__aT/ansible_fedora.linux_system_roles.blivet_payload.zip/ansible_collections/fedora/linux_system_roles/plugins/modules/blivet.py", line 629, in _look_up_device File "/tmp/ansible_fedora.linux_system_roles.blivet_payload_v8__aT/ansible_fedora.linux_system_roles.blivet_payload.zip/ansible_collections/fedora/linux_system_roles/plugins/modules/blivet.py", line 995, in _get_device_id AttributeError: 'NoneType' object has no attribute '_device' MODULE_STDERR: Shared connection to 10.31.9.136 closed. TASK [fedora.linux_system_roles.storage : Failed message] ********************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:109 Tuesday 27 August 2024 10:57:44 -0400 (0:00:04.013) 0:00:35.144 ******** fatal: [managed_node1]: FAILED! => { "changed": false } MSG: {u'_ansible_no_log': False, u'module_stderr': u'Shared connection to 10.31.9.136 closed.\r\n', u'changed': False, u'module_stdout': u'\r\n** (process:7050): \x1b[1;33mWARNING\x1b[0m **: \x1b[34m10:57:41.124\x1b[0m: failed to load module btrfs: libbd_btrfs.so.2: cannot open shared object file: No such file or directory\r\n\r\n** (process:7050): \x1b[1;33mWARNING\x1b[0m **: \x1b[34m10:57:41.124\x1b[0m: failed to load module loop: libbd_loop.so.2: cannot open shared object file: No such file or directory\r\n\r\n** (process:7050): \x1b[1;33mWARNING\x1b[0m **: \x1b[34m10:57:41.125\x1b[0m: failed to load module mpath: libbd_mpath.so.2: cannot open shared object file: No such file or directory\r\n\r\n** (process:7050): \x1b[1;33mWARNING\x1b[0m **: \x1b[34m10:57:41.126\x1b[0m: failed to load module nvdimm: libbd_nvdimm.so.2: cannot open shared object file: No such file or directory\r\nTraceback (most recent call last):\r\n File "/root/.ansible/tmp/ansible-tmp-1724770660.78-6287-143582927505369/AnsiballZ_blivet.py", line 102, in \r\n _ansiballz_main()\r\n File "/root/.ansible/tmp/ansible-tmp-1724770660.78-6287-143582927505369/AnsiballZ_blivet.py", line 94, in _ansiballz_main\r\n invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\r\n File "/root/.ansible/tmp/ansible-tmp-1724770660.78-6287-143582927505369/AnsiballZ_blivet.py", line 40, in invoke_module\r\n runpy.run_module(mod_name=\'ansible_collections.fedora.linux_system_roles.plugins.modules.blivet\', init_globals=None, run_name=\'__main__\', alter_sys=True)\r\n File "/usr/lib64/python2.7/runpy.py", line 176, in run_module\r\n fname, loader, pkg_name)\r\n File "/usr/lib64/python2.7/runpy.py", line 82, in _run_module_code\r\n mod_name, mod_fname, mod_loader, pkg_name)\r\n File "/usr/lib64/python2.7/runpy.py", line 72, in _run_code\r\n exec code in run_globals\r\n File "/tmp/ansible_fedora.linux_system_roles.blivet_payload_v8__aT/ansible_fedora.linux_system_roles.blivet_payload.zip/ansible_collections/fedora/linux_system_roles/plugins/modules/blivet.py", line 2531, in \r\n File "/tmp/ansible_fedora.linux_system_roles.blivet_payload_v8__aT/ansible_fedora.linux_system_roles.blivet_payload.zip/ansible_collections/fedora/linux_system_roles/plugins/modules/blivet.py", line 2527, in main\r\n File "/tmp/ansible_fedora.linux_system_roles.blivet_payload_v8__aT/ansible_fedora.linux_system_roles.blivet_payload.zip/ansible_collections/fedora/linux_system_roles/plugins/modules/blivet.py", line 2488, in run_module\r\n File "/tmp/ansible_fedora.linux_system_roles.blivet_payload_v8__aT/ansible_fedora.linux_system_roles.blivet_payload.zip/ansible_collections/fedora/linux_system_roles/plugins/modules/blivet.py", line 2059, in manage_volume\r\n File "/tmp/ansible_fedora.linux_system_roles.blivet_payload_v8__aT/ansible_fedora.linux_system_roles.blivet_payload.zip/ansible_collections/fedora/linux_system_roles/plugins/modules/blivet.py", line 868, in manage\r\n File "/tmp/ansible_fedora.linux_system_roles.blivet_payload_v8__aT/ansible_fedora.linux_system_roles.blivet_payload.zip/ansible_collections/fedora/linux_system_roles/plugins/modules/blivet.py", line 629, in _look_up_device\r\n File "/tmp/ansible_fedora.linux_system_roles.blivet_payload_v8__aT/ansible_fedora.linux_system_roles.blivet_payload.zip/ansible_collections/fedora/linux_system_roles/plugins/modules/blivet.py", line 995, in _get_device_id\r\nAttributeError: \'NoneType\' object has no attribute \'_device\'\r\n', u'failed': True, u'rc': 1, u'msg': u'MODULE FAILURE\nSee stdout/stderr for the exact error'} TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:113 Tuesday 27 August 2024 10:57:44 -0400 (0:00:00.091) 0:00:35.236 ******** TASK [Check that we failed in the role] **************************************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:23 Tuesday 27 August 2024 10:57:44 -0400 (0:00:00.117) 0:00:35.353 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the blivet output and error message are correct] ****************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:28 Tuesday 27 August 2024 10:57:45 -0400 (0:00:00.137) 0:00:35.491 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify correct exception or error message] ******************************* task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:39 Tuesday 27 August 2024 10:57:45 -0400 (0:00:00.049) 0:00:35.540 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Test for correct handling of duplicate pool names] *********************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/tests/storage/tests_lvm_errors.yml:90 Tuesday 27 August 2024 10:57:45 -0400 (0:00:00.069) 0:00:35.610 ******** included: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml for managed_node1 TASK [Store global variable value copy] **************************************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:4 Tuesday 27 August 2024 10:57:45 -0400 (0:00:00.111) 0:00:35.721 ******** ok: [managed_node1] => { "ansible_facts": { "storage_pools_global": [], "storage_safe_mode_global": true, "storage_volumes_global": [] }, "changed": false } TASK [Verify role raises correct error] **************************************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:10 Tuesday 27 August 2024 10:57:45 -0400 (0:00:00.057) 0:00:35.778 ******** TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Tuesday 27 August 2024 10:57:45 -0400 (0:00:00.071) 0:00:35.850 ******** included: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Tuesday 27 August 2024 10:57:45 -0400 (0:00:00.103) 0:00:35.953 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Tuesday 27 August 2024 10:57:45 -0400 (0:00:00.064) 0:00:36.017 ******** skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed_node1] => (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-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed_node1] => (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-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:25 Tuesday 27 August 2024 10:57:45 -0400 (0:00:00.130) 0:00:36.147 ******** skipping: [managed_node1] => { "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-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:30 Tuesday 27 August 2024 10:57:45 -0400 (0:00:00.073) 0:00:36.220 ******** skipping: [managed_node1] => { "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-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Tuesday 27 August 2024 10:57:45 -0400 (0:00:00.079) 0:00:36.300 ******** ok: [managed_node1] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Define an empty list of volumes to be used in testing] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Tuesday 27 August 2024 10:57:45 -0400 (0:00:00.055) 0:00:36.356 ******** ok: [managed_node1] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Include the appropriate provider tasks] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Tuesday 27 August 2024 10:57:45 -0400 (0:00:00.062) 0:00:36.418 ******** included: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for managed_node1 TASK [fedora.linux_system_roles.storage : Make sure blivet is available] ******* task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Tuesday 27 August 2024 10:57:46 -0400 (0:00:00.143) 0:00:36.562 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Show storage_pools] ****************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:9 Tuesday 27 August 2024 10:57:46 -0400 (0:00:00.057) 0:00:36.619 ******** ok: [managed_node1] => { "storage_pools": [ { "disks": [ "sda" ], "name": "pool1", "type": "lvm" }, { "disks": [ "sda" ], "name": "pool1", "type": "lvm" } ] } TASK [fedora.linux_system_roles.storage : Show storage_volumes] **************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:14 Tuesday 27 August 2024 10:57:46 -0400 (0:00:00.080) 0:00:36.700 ******** ok: [managed_node1] => { "storage_volumes": [] } TASK [fedora.linux_system_roles.storage : Get required packages] *************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:19 Tuesday 27 August 2024 10:57:46 -0400 (0:00:00.064) 0:00:36.765 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Enable copr repositories if needed] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:31 Tuesday 27 August 2024 10:57:46 -0400 (0:00:00.056) 0:00:36.821 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Make sure required packages are installed] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:37 Tuesday 27 August 2024 10:57:46 -0400 (0:00:00.049) 0:00:36.870 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Get service facts] ******************* task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:51 Tuesday 27 August 2024 10:57:46 -0400 (0:00:00.036) 0:00:36.906 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:57 Tuesday 27 August 2024 10:57:46 -0400 (0:00:00.040) 0:00:36.946 ******** ok: [managed_node1] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:63 Tuesday 27 August 2024 10:57:46 -0400 (0:00:00.060) 0:00:37.007 ******** TASK [fedora.linux_system_roles.storage : Manage the pools and volumes to match the specified state] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:69 Tuesday 27 August 2024 10:57:46 -0400 (0:00:00.035) 0:00:37.043 ******** fatal: [managed_node1]: FAILED! => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } MSG: multiple pools with the same name: pool1 TASK [fedora.linux_system_roles.storage : Failed message] ********************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:109 Tuesday 27 August 2024 10:57:50 -0400 (0:00:03.908) 0:00:40.952 ******** fatal: [managed_node1]: 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': None, u'encryption_tang_thumbprint': None, u'name': u'pool1', u'encryption_password': None, u'encryption': None, u'disks': [u'sda'], u'raid_level': None, u'raid_device_count': None, u'state': u'present', u'volumes': [], u'shared': None, u'encryption_clevis_pin': None, u'type': u'lvm', u'encryption_cipher': None, u'raid_chunk_size': None}, {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': None, u'encryption_tang_thumbprint': None, u'name': u'pool1', u'encryption_password': None, u'encryption': None, u'disks': [u'sda'], u'raid_level': None, u'raid_device_count': None, u'state': u'present', u'volumes': [], u'shared': None, 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'multiple pools with the same name: pool1'} TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:113 Tuesday 27 August 2024 10:57:50 -0400 (0:00:00.045) 0:00:40.997 ******** TASK [Check that we failed in the role] **************************************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:23 Tuesday 27 August 2024 10:57:50 -0400 (0:00:00.036) 0:00:41.033 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the blivet output and error message are correct] ****************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:28 Tuesday 27 August 2024 10:57:50 -0400 (0:00:00.051) 0:00:41.085 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify correct exception or error message] ******************************* task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:39 Tuesday 27 August 2024 10:57:50 -0400 (0:00:00.068) 0:00:41.154 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Test for correct handling of duplicate volume names within a pool] ******* task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/tests/storage/tests_lvm_errors.yml:105 Tuesday 27 August 2024 10:57:50 -0400 (0:00:00.059) 0:00:41.214 ******** included: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml for managed_node1 TASK [Store global variable value copy] **************************************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:4 Tuesday 27 August 2024 10:57:50 -0400 (0:00:00.218) 0:00:41.432 ******** ok: [managed_node1] => { "ansible_facts": { "storage_pools_global": [], "storage_safe_mode_global": true, "storage_volumes_global": [] }, "changed": false } TASK [Verify role raises correct error] **************************************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:10 Tuesday 27 August 2024 10:57:51 -0400 (0:00:00.087) 0:00:41.519 ******** TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Tuesday 27 August 2024 10:57:51 -0400 (0:00:00.141) 0:00:41.661 ******** included: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Tuesday 27 August 2024 10:57:51 -0400 (0:00:00.090) 0:00:41.751 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Tuesday 27 August 2024 10:57:51 -0400 (0:00:00.148) 0:00:41.899 ******** skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed_node1] => (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-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed_node1] => (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-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:25 Tuesday 27 August 2024 10:57:51 -0400 (0:00:00.139) 0:00:42.038 ******** skipping: [managed_node1] => { "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-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:30 Tuesday 27 August 2024 10:57:51 -0400 (0:00:00.050) 0:00:42.089 ******** skipping: [managed_node1] => { "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-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Tuesday 27 August 2024 10:57:51 -0400 (0:00:00.050) 0:00:42.140 ******** ok: [managed_node1] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Define an empty list of volumes to be used in testing] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Tuesday 27 August 2024 10:57:51 -0400 (0:00:00.056) 0:00:42.196 ******** ok: [managed_node1] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Include the appropriate provider tasks] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Tuesday 27 August 2024 10:57:51 -0400 (0:00:00.052) 0:00:42.248 ******** included: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for managed_node1 TASK [fedora.linux_system_roles.storage : Make sure blivet is available] ******* task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Tuesday 27 August 2024 10:57:51 -0400 (0:00:00.141) 0:00:42.389 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Show storage_pools] ****************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:9 Tuesday 27 August 2024 10:57:52 -0400 (0:00:00.056) 0:00:42.446 ******** ok: [managed_node1] => { "storage_pools": [ { "disks": [ "sda" ], "name": "pool1", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "5g", "type": "lvm" }, { "mount_point": "/opt/test2", "name": "test1", "size": "2g", "type": "lvm" } ] } ] } TASK [fedora.linux_system_roles.storage : Show storage_volumes] **************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:14 Tuesday 27 August 2024 10:57:52 -0400 (0:00:00.099) 0:00:42.546 ******** ok: [managed_node1] => { "storage_volumes": [] } TASK [fedora.linux_system_roles.storage : Get required packages] *************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:19 Tuesday 27 August 2024 10:57:52 -0400 (0:00:00.137) 0:00:42.684 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Enable copr repositories if needed] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:31 Tuesday 27 August 2024 10:57:52 -0400 (0:00:00.093) 0:00:42.778 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Make sure required packages are installed] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:37 Tuesday 27 August 2024 10:57:52 -0400 (0:00:00.068) 0:00:42.846 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Get service facts] ******************* task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:51 Tuesday 27 August 2024 10:57:52 -0400 (0:00:00.050) 0:00:42.897 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:57 Tuesday 27 August 2024 10:57:52 -0400 (0:00:00.059) 0:00:42.956 ******** ok: [managed_node1] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:63 Tuesday 27 August 2024 10:57:52 -0400 (0:00:00.068) 0:00:43.025 ******** TASK [fedora.linux_system_roles.storage : Manage the pools and volumes to match the specified state] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:69 Tuesday 27 August 2024 10:57:52 -0400 (0:00:00.057) 0:00:43.082 ******** fatal: [managed_node1]: FAILED! => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } MSG: multiple volumes in pool 'pool1' with the same name: test1 TASK [fedora.linux_system_roles.storage : Failed message] ********************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:109 Tuesday 27 August 2024 10:57:56 -0400 (0:00:03.700) 0:00:46.783 ******** fatal: [managed_node1]: 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': None, u'encryption_tang_thumbprint': None, u'name': u'pool1', u'encryption_password': None, u'encryption': None, u'disks': [u'sda'], 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': u'lvm', u'mount_user': None, u'raid_disks': [], u'size': u'5g', 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'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': u'lvm', u'mount_user': None, u'raid_disks': [], u'size': u'2g', u'cache_mode': None, u'mount_point': u'/opt/test2', 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': None, 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"multiple volumes in pool 'pool1' with the same name: test1"} TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:113 Tuesday 27 August 2024 10:57:56 -0400 (0:00:00.046) 0:00:46.830 ******** TASK [Check that we failed in the role] **************************************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:23 Tuesday 27 August 2024 10:57:56 -0400 (0:00:00.029) 0:00:46.859 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the blivet output and error message are correct] ****************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:28 Tuesday 27 August 2024 10:57:56 -0400 (0:00:00.040) 0:00:46.899 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify correct exception or error message] ******************************* task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:39 Tuesday 27 August 2024 10:57:56 -0400 (0:00:00.047) 0:00:46.946 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create a pool] *********************************************************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/tests/storage/tests_lvm_errors.yml:126 Tuesday 27 August 2024 10:57:56 -0400 (0:00:00.032) 0:00:46.979 ******** TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Tuesday 27 August 2024 10:57:56 -0400 (0:00:00.092) 0:00:47.072 ******** included: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Tuesday 27 August 2024 10:57:56 -0400 (0:00:00.050) 0:00:47.123 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Tuesday 27 August 2024 10:57:56 -0400 (0:00:00.047) 0:00:47.170 ******** skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed_node1] => (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-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed_node1] => (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-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:25 Tuesday 27 August 2024 10:57:56 -0400 (0:00:00.109) 0:00:47.280 ******** skipping: [managed_node1] => { "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-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:30 Tuesday 27 August 2024 10:57:56 -0400 (0:00:00.041) 0:00:47.322 ******** skipping: [managed_node1] => { "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-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Tuesday 27 August 2024 10:57:56 -0400 (0:00:00.053) 0:00:47.376 ******** ok: [managed_node1] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Define an empty list of volumes to be used in testing] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Tuesday 27 August 2024 10:57:56 -0400 (0:00:00.053) 0:00:47.429 ******** ok: [managed_node1] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Include the appropriate provider tasks] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Tuesday 27 August 2024 10:57:57 -0400 (0:00:00.059) 0:00:47.489 ******** included: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for managed_node1 TASK [fedora.linux_system_roles.storage : Make sure blivet is available] ******* task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Tuesday 27 August 2024 10:57:57 -0400 (0:00:00.120) 0:00:47.609 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Show storage_pools] ****************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:9 Tuesday 27 August 2024 10:57:57 -0400 (0:00:00.109) 0:00:47.719 ******** ok: [managed_node1] => { "storage_pools": [ { "disks": [ "sda" ], "name": "testpool1", "type": "lvm", "volumes": [ { "fs_type": "ext4", "name": "testvol1", "size": "1g" } ] } ] } TASK [fedora.linux_system_roles.storage : Show storage_volumes] **************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:14 Tuesday 27 August 2024 10:57:57 -0400 (0:00:00.058) 0:00:47.778 ******** ok: [managed_node1] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : Get required packages] *************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:19 Tuesday 27 August 2024 10:57:57 -0400 (0:00:00.051) 0:00:47.829 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Enable copr repositories if needed] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:31 Tuesday 27 August 2024 10:57:57 -0400 (0:00:00.050) 0:00:47.880 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Make sure required packages are installed] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:37 Tuesday 27 August 2024 10:57:57 -0400 (0:00:00.053) 0:00:47.933 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Get service facts] ******************* task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:51 Tuesday 27 August 2024 10:57:57 -0400 (0:00:00.051) 0:00:47.985 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:57 Tuesday 27 August 2024 10:57:57 -0400 (0:00:00.055) 0:00:48.041 ******** ok: [managed_node1] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:63 Tuesday 27 August 2024 10:57:57 -0400 (0:00:00.106) 0:00:48.147 ******** TASK [fedora.linux_system_roles.storage : Manage the pools and volumes to match the specified state] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:69 Tuesday 27 August 2024 10:57:57 -0400 (0:00:00.080) 0:00:48.228 ******** changed: [managed_node1] => { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/testpool1", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/testpool1-testvol1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/testpool1-testvol1", "fs_type": "ext4" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sdb", "/dev/sdc", "/dev/sdd", "/dev/sde", "/dev/sdf", "/dev/sdg", "/dev/sdh", "/dev/sdi", "/dev/xvda1", "/dev/mapper/testpool1-testvol1" ], "mounts": [], "packages": [ "e2fsprogs", "lvm2" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_clevis_pin": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "encryption_tang_thumbprint": null, "encryption_tang_url": null, "grow_to_fill": false, "name": "testpool1", "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/testpool1-testvol1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/testpool1-testvol1", "_raw_device": "/dev/mapper/testpool1-testvol1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_group": null, "mount_mode": null, "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "mount_user": null, "name": "testvol1", "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": "1g", "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-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:83 Tuesday 27 August 2024 10:58:02 -0400 (0:00:04.469) 0:00:52.697 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Check if /etc/fstab is present] ****** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Tuesday 27 August 2024 10:58:02 -0400 (0:00:00.037) 0:00:52.734 ******** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1724770600.9798481, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "72884e3f126482c2d28276ff7c57744fa95eff91", "ctime": 1724770600.127848, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 263551, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1724770600.127848, "nlink": 1, "path": "/etc/fstab", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 1229, "uid": 0, "version": "1668822276", "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-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:95 Tuesday 27 August 2024 10:58:02 -0400 (0:00:00.335) 0:00:53.070 ******** ok: [managed_node1] => { "backup": "", "changed": false } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:113 Tuesday 27 August 2024 10:58:03 -0400 (0:00:00.510) 0:00:53.580 ******** TASK [fedora.linux_system_roles.storage : Show blivet_output] ****************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:119 Tuesday 27 August 2024 10:58:03 -0400 (0:00:00.049) 0:00:53.630 ******** ok: [managed_node1] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/testpool1", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/testpool1-testvol1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/testpool1-testvol1", "fs_type": "ext4" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sdb", "/dev/sdc", "/dev/sdd", "/dev/sde", "/dev/sdf", "/dev/sdg", "/dev/sdh", "/dev/sdi", "/dev/xvda1", "/dev/mapper/testpool1-testvol1" ], "mounts": [], "packages": [ "e2fsprogs", "lvm2" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_clevis_pin": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "encryption_tang_thumbprint": null, "encryption_tang_url": null, "grow_to_fill": false, "name": "testpool1", "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/testpool1-testvol1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/testpool1-testvol1", "_raw_device": "/dev/mapper/testpool1-testvol1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_group": null, "mount_mode": null, "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "mount_user": null, "name": "testvol1", "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": "1g", "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-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:128 Tuesday 27 August 2024 10:58:03 -0400 (0:00:00.077) 0:00:53.707 ******** ok: [managed_node1] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_clevis_pin": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "encryption_tang_thumbprint": null, "encryption_tang_url": null, "grow_to_fill": false, "name": "testpool1", "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/testpool1-testvol1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/testpool1-testvol1", "_raw_device": "/dev/mapper/testpool1-testvol1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_group": null, "mount_mode": null, "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "mount_user": null, "name": "testvol1", "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": "1g", "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-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Tuesday 27 August 2024 10:58:03 -0400 (0:00:00.092) 0:00:53.800 ******** ok: [managed_node1] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Remove obsolete mounts] ************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Tuesday 27 August 2024 10:58:03 -0400 (0:00:00.120) 0:00:53.921 ******** TASK [fedora.linux_system_roles.storage : Tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:159 Tuesday 27 August 2024 10:58:03 -0400 (0:00:00.069) 0:00:53.990 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set up new/current mounts] *********** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:164 Tuesday 27 August 2024 10:58:03 -0400 (0:00:00.109) 0:00:54.100 ******** TASK [fedora.linux_system_roles.storage : Manage mount ownership/permissions] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:175 Tuesday 27 August 2024 10:58:03 -0400 (0:00:00.052) 0:00:54.152 ******** TASK [fedora.linux_system_roles.storage : Tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:187 Tuesday 27 August 2024 10:58:03 -0400 (0:00:00.053) 0:00:54.205 ******** skipping: [managed_node1] => { "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-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:195 Tuesday 27 August 2024 10:58:03 -0400 (0:00:00.046) 0:00:54.252 ******** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1724769009.570098, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1724769006.4530969, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 917633, "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": 1724769006.452097, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "1668828693", "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-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:200 Tuesday 27 August 2024 10:58:04 -0400 (0:00:00.475) 0:00:54.728 ******** TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:222 Tuesday 27 August 2024 10:58:04 -0400 (0:00:00.116) 0:00:54.845 ******** ok: [managed_node1] TASK [Test for correct handling of safe_mode] ********************************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/tests/storage/tests_lvm_errors.yml:139 Tuesday 27 August 2024 10:58:05 -0400 (0:00:00.838) 0:00:55.683 ******** included: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml for managed_node1 TASK [Store global variable value copy] **************************************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:4 Tuesday 27 August 2024 10:58:05 -0400 (0:00:00.114) 0:00:55.797 ******** ok: [managed_node1] => { "ansible_facts": { "storage_pools_global": [], "storage_safe_mode_global": true, "storage_volumes_global": [] }, "changed": false } TASK [Verify role raises correct error] **************************************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:10 Tuesday 27 August 2024 10:58:05 -0400 (0:00:00.056) 0:00:55.854 ******** TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Tuesday 27 August 2024 10:58:05 -0400 (0:00:00.081) 0:00:55.936 ******** included: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Tuesday 27 August 2024 10:58:05 -0400 (0:00:00.081) 0:00:56.017 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Tuesday 27 August 2024 10:58:05 -0400 (0:00:00.070) 0:00:56.088 ******** skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed_node1] => (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-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed_node1] => (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-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:25 Tuesday 27 August 2024 10:58:05 -0400 (0:00:00.120) 0:00:56.208 ******** skipping: [managed_node1] => { "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-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:30 Tuesday 27 August 2024 10:58:05 -0400 (0:00:00.048) 0:00:56.257 ******** skipping: [managed_node1] => { "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-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Tuesday 27 August 2024 10:58:05 -0400 (0:00:00.047) 0:00:56.305 ******** ok: [managed_node1] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Define an empty list of volumes to be used in testing] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Tuesday 27 August 2024 10:58:05 -0400 (0:00:00.047) 0:00:56.352 ******** ok: [managed_node1] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Include the appropriate provider tasks] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Tuesday 27 August 2024 10:58:05 -0400 (0:00:00.050) 0:00:56.403 ******** included: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for managed_node1 TASK [fedora.linux_system_roles.storage : Make sure blivet is available] ******* task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Tuesday 27 August 2024 10:58:06 -0400 (0:00:00.174) 0:00:56.578 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Show storage_pools] ****************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:9 Tuesday 27 August 2024 10:58:06 -0400 (0:00:00.093) 0:00:56.672 ******** ok: [managed_node1] => { "storage_pools": [ { "disks": [ "sda" ], "name": "testpool1", "type": "lvm", "volumes": [ { "fs_type": "ext3", "name": "testvol1", "size": "1g" } ] } ] } TASK [fedora.linux_system_roles.storage : Show storage_volumes] **************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:14 Tuesday 27 August 2024 10:58:06 -0400 (0:00:00.067) 0:00:56.740 ******** ok: [managed_node1] => { "storage_volumes": [] } TASK [fedora.linux_system_roles.storage : Get required packages] *************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:19 Tuesday 27 August 2024 10:58:06 -0400 (0:00:00.071) 0:00:56.811 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Enable copr repositories if needed] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:31 Tuesday 27 August 2024 10:58:06 -0400 (0:00:00.094) 0:00:56.906 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Make sure required packages are installed] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:37 Tuesday 27 August 2024 10:58:06 -0400 (0:00:00.117) 0:00:57.024 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Get service facts] ******************* task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:51 Tuesday 27 August 2024 10:58:06 -0400 (0:00:00.106) 0:00:57.131 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:57 Tuesday 27 August 2024 10:58:06 -0400 (0:00:00.075) 0:00:57.207 ******** ok: [managed_node1] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:63 Tuesday 27 August 2024 10:58:06 -0400 (0:00:00.113) 0:00:57.321 ******** TASK [fedora.linux_system_roles.storage : Manage the pools and volumes to match the specified state] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:69 Tuesday 27 August 2024 10:58:06 -0400 (0:00:00.116) 0:00:57.437 ******** fatal: [managed_node1]: FAILED! => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } MSG: cannot remove existing formatting on volume 'testvol1' in safe mode TASK [fedora.linux_system_roles.storage : Failed message] ********************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:109 Tuesday 27 August 2024 10:58:11 -0400 (0:00:04.087) 0:01:01.524 ******** fatal: [managed_node1]: 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'testpool1', u'encryption_password': None, u'encryption': False, u'disks': [u'sda'], u'raid_level': None, u'raid_device_count': None, u'state': u'present', u'volumes': [{u'raid_metadata_version': None, u'mount_device_identifier': u'uuid', u'fs_type': u'ext3', u'mount_options': u'defaults', u'size': u'1g', u'mount_point': None, u'compression': None, u'encryption_password': None, u'encryption': False, u'raid_level': None, u'raid_device_count': None, u'state': u'present', u'vdo_pool_size': None, u'mount_mode': None, u'thin_pool_name': None, u'type': u'lvm', u'encryption_key_size': None, u'deduplication': None, u'encryption_cipher': None, u'encryption_key': None, u'fs_label': u'', u'encryption_luks_version': None, u'raid_stripe_size': None, u'mount_passno': 0, u'mount_user': None, u'raid_spare_count': None, u'name': u'testvol1', u'cache_mode': None, u'raid_disks': [], u'mount_group': None, u'fs_overwrite_existing': True, u'disks': [u'sda'], u'cached': False, u'thin_pool_size': None, u'thin': False, u'mount_check': 0, u'cache_size': 0, u'raid_chunk_size': None, u'cache_devices': [], u'fs_create_options': u''}], 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 existing formatting on volume 'testvol1' in safe mode"} TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:113 Tuesday 27 August 2024 10:58:11 -0400 (0:00:00.069) 0:01:01.594 ******** TASK [Check that we failed in the role] **************************************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:23 Tuesday 27 August 2024 10:58:11 -0400 (0:00:00.045) 0:01:01.639 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the blivet output and error message are correct] ****************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:28 Tuesday 27 August 2024 10:58:11 -0400 (0:00:00.057) 0:01:01.696 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify correct exception or error message] ******************************* task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:39 Tuesday 27 August 2024 10:58:11 -0400 (0:00:00.066) 0:01:01.763 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Test for correct handling of safe_mode with existing pool] *************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/tests/storage/tests_lvm_errors.yml:156 Tuesday 27 August 2024 10:58:11 -0400 (0:00:00.047) 0:01:01.811 ******** included: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml for managed_node1 TASK [Store global variable value copy] **************************************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:4 Tuesday 27 August 2024 10:58:11 -0400 (0:00:00.146) 0:01:01.957 ******** ok: [managed_node1] => { "ansible_facts": { "storage_pools_global": [], "storage_safe_mode_global": true, "storage_volumes_global": [] }, "changed": false } TASK [Verify role raises correct error] **************************************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:10 Tuesday 27 August 2024 10:58:11 -0400 (0:00:00.057) 0:01:02.014 ******** TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Tuesday 27 August 2024 10:58:11 -0400 (0:00:00.078) 0:01:02.093 ******** included: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Tuesday 27 August 2024 10:58:11 -0400 (0:00:00.087) 0:01:02.180 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Tuesday 27 August 2024 10:58:11 -0400 (0:00:00.058) 0:01:02.239 ******** skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed_node1] => (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-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed_node1] => (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-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:25 Tuesday 27 August 2024 10:58:11 -0400 (0:00:00.112) 0:01:02.351 ******** skipping: [managed_node1] => { "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-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:30 Tuesday 27 August 2024 10:58:11 -0400 (0:00:00.048) 0:01:02.400 ******** skipping: [managed_node1] => { "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-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Tuesday 27 August 2024 10:58:12 -0400 (0:00:00.056) 0:01:02.456 ******** ok: [managed_node1] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Define an empty list of volumes to be used in testing] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Tuesday 27 August 2024 10:58:12 -0400 (0:00:00.083) 0:01:02.540 ******** ok: [managed_node1] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Include the appropriate provider tasks] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Tuesday 27 August 2024 10:58:12 -0400 (0:00:00.075) 0:01:02.616 ******** included: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for managed_node1 TASK [fedora.linux_system_roles.storage : Make sure blivet is available] ******* task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Tuesday 27 August 2024 10:58:12 -0400 (0:00:00.124) 0:01:02.740 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Show storage_pools] ****************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:9 Tuesday 27 August 2024 10:58:12 -0400 (0:00:00.048) 0:01:02.789 ******** ok: [managed_node1] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "lvm" } ] } TASK [fedora.linux_system_roles.storage : Show storage_volumes] **************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:14 Tuesday 27 August 2024 10:58:12 -0400 (0:00:00.070) 0:01:02.859 ******** ok: [managed_node1] => { "storage_volumes": [] } TASK [fedora.linux_system_roles.storage : Get required packages] *************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:19 Tuesday 27 August 2024 10:58:12 -0400 (0:00:00.140) 0:01:03.000 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Enable copr repositories if needed] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:31 Tuesday 27 August 2024 10:58:12 -0400 (0:00:00.053) 0:01:03.053 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Make sure required packages are installed] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:37 Tuesday 27 August 2024 10:58:12 -0400 (0:00:00.055) 0:01:03.108 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Get service facts] ******************* task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:51 Tuesday 27 August 2024 10:58:12 -0400 (0:00:00.061) 0:01:03.170 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:57 Tuesday 27 August 2024 10:58:12 -0400 (0:00:00.060) 0:01:03.230 ******** ok: [managed_node1] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:63 Tuesday 27 August 2024 10:58:12 -0400 (0:00:00.093) 0:01:03.324 ******** TASK [fedora.linux_system_roles.storage : Manage the pools and volumes to match the specified state] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:69 Tuesday 27 August 2024 10:58:12 -0400 (0:00:00.046) 0:01:03.371 ******** fatal: [managed_node1]: FAILED! => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } MSG: cannot remove existing formatting (lvmpv) and/or devices on disk 'sda' (pool 'foo') in safe mode TASK [fedora.linux_system_roles.storage : Failed message] ********************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:109 Tuesday 27 August 2024 10:58:17 -0400 (0:00:04.205) 0:01:07.576 ******** fatal: [managed_node1]: 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': False, u'disks': [u'sda'], u'raid_level': None, u'raid_device_count': None, u'state': u'present', u'volumes': [], 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 existing formatting (lvmpv) and/or devices on disk 'sda' (pool 'foo') in safe mode"} TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:113 Tuesday 27 August 2024 10:58:17 -0400 (0:00:00.063) 0:01:07.640 ******** TASK [Check that we failed in the role] **************************************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:23 Tuesday 27 August 2024 10:58:17 -0400 (0:00:00.059) 0:01:07.699 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the blivet output and error message are correct] ****************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:28 Tuesday 27 August 2024 10:58:17 -0400 (0:00:00.052) 0:01:07.752 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify correct exception or error message] ******************************* task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:39 Tuesday 27 August 2024 10:58:17 -0400 (0:00:00.046) 0:01:07.799 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Test for correct handling of safe_mode] ********************************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/tests/storage/tests_lvm_errors.yml:170 Tuesday 27 August 2024 10:58:17 -0400 (0:00:00.033) 0:01:07.832 ******** included: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml for managed_node1 TASK [Store global variable value copy] **************************************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:4 Tuesday 27 August 2024 10:58:17 -0400 (0:00:00.078) 0:01:07.910 ******** ok: [managed_node1] => { "ansible_facts": { "storage_pools_global": [], "storage_safe_mode_global": true, "storage_volumes_global": [] }, "changed": false } TASK [Verify role raises correct error] **************************************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:10 Tuesday 27 August 2024 10:58:17 -0400 (0:00:00.060) 0:01:07.971 ******** TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Tuesday 27 August 2024 10:58:17 -0400 (0:00:00.094) 0:01:08.065 ******** included: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Tuesday 27 August 2024 10:58:17 -0400 (0:00:00.088) 0:01:08.154 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Tuesday 27 August 2024 10:58:17 -0400 (0:00:00.088) 0:01:08.243 ******** skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed_node1] => (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-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed_node1] => (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-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:25 Tuesday 27 August 2024 10:58:17 -0400 (0:00:00.163) 0:01:08.406 ******** skipping: [managed_node1] => { "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-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:30 Tuesday 27 August 2024 10:58:18 -0400 (0:00:00.099) 0:01:08.506 ******** skipping: [managed_node1] => { "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-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Tuesday 27 August 2024 10:58:18 -0400 (0:00:00.090) 0:01:08.597 ******** ok: [managed_node1] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Define an empty list of volumes to be used in testing] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Tuesday 27 August 2024 10:58:18 -0400 (0:00:00.080) 0:01:08.678 ******** ok: [managed_node1] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Include the appropriate provider tasks] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Tuesday 27 August 2024 10:58:18 -0400 (0:00:00.061) 0:01:08.739 ******** included: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for managed_node1 TASK [fedora.linux_system_roles.storage : Make sure blivet is available] ******* task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Tuesday 27 August 2024 10:58:18 -0400 (0:00:00.165) 0:01:08.904 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Show storage_pools] ****************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:9 Tuesday 27 August 2024 10:58:18 -0400 (0:00:00.059) 0:01:08.964 ******** ok: [managed_node1] => { "storage_pools": [] } TASK [fedora.linux_system_roles.storage : Show storage_volumes] **************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:14 Tuesday 27 August 2024 10:58:18 -0400 (0:00:00.069) 0:01:09.034 ******** ok: [managed_node1] => { "storage_volumes": [ { "disks": [ "sda" ], "fs_type": "ext3", "name": "test1", "type": "disk" } ] } TASK [fedora.linux_system_roles.storage : Get required packages] *************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:19 Tuesday 27 August 2024 10:58:18 -0400 (0:00:00.062) 0:01:09.097 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Enable copr repositories if needed] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:31 Tuesday 27 August 2024 10:58:18 -0400 (0:00:00.051) 0:01:09.148 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Make sure required packages are installed] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:37 Tuesday 27 August 2024 10:58:18 -0400 (0:00:00.052) 0:01:09.201 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Get service facts] ******************* task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:51 Tuesday 27 August 2024 10:58:18 -0400 (0:00:00.060) 0:01:09.261 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:57 Tuesday 27 August 2024 10:58:18 -0400 (0:00:00.052) 0:01:09.314 ******** ok: [managed_node1] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:63 Tuesday 27 August 2024 10:58:18 -0400 (0:00:00.104) 0:01:09.418 ******** TASK [fedora.linux_system_roles.storage : Manage the pools and volumes to match the specified state] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:69 Tuesday 27 August 2024 10:58:19 -0400 (0:00:00.090) 0:01:09.508 ******** fatal: [managed_node1]: FAILED! => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } MSG: cannot remove existing formatting on volume 'test1' in safe mode TASK [fedora.linux_system_roles.storage : Failed message] ********************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:109 Tuesday 27 August 2024 10:58:23 -0400 (0:00:04.386) 0:01:13.894 ******** fatal: [managed_node1]: 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'volumes': [{u'raid_metadata_version': None, u'raid_level': None, u'fs_type': u'ext3', u'mount_options': u'defaults', u'size': 10737418240, u'mount_point': None, 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'mount_mode': None, u'thin_pool_name': None, u'fs_overwrite_existing': True, u'encryption_key_size': None, u'deduplication': 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'mount_user': None, u'raid_spare_count': None, u'cache_mode': None, u'name': u'test1', u'mount_group': None, u'type': u'disk', u'disks': [u'sda'], u'cached': False, 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'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 existing formatting on volume 'test1' in safe mode"} TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:113 Tuesday 27 August 2024 10:58:23 -0400 (0:00:00.069) 0:01:13.964 ******** TASK [Check that we failed in the role] **************************************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:23 Tuesday 27 August 2024 10:58:23 -0400 (0:00:00.103) 0:01:14.068 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the blivet output and error message are correct] ****************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:28 Tuesday 27 August 2024 10:58:23 -0400 (0:00:00.063) 0:01:14.131 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify correct exception or error message] ******************************* task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:39 Tuesday 27 August 2024 10:58:23 -0400 (0:00:00.070) 0:01:14.201 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up] **************************************************************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/tests/storage/tests_lvm_errors.yml:185 Tuesday 27 August 2024 10:58:23 -0400 (0:00:00.049) 0:01:14.251 ******** TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Tuesday 27 August 2024 10:58:23 -0400 (0:00:00.173) 0:01:14.424 ******** included: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Tuesday 27 August 2024 10:58:24 -0400 (0:00:00.104) 0:01:14.529 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Tuesday 27 August 2024 10:58:24 -0400 (0:00:00.063) 0:01:14.592 ******** skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed_node1] => (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-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed_node1] => (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-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:25 Tuesday 27 August 2024 10:58:24 -0400 (0:00:00.118) 0:01:14.712 ******** skipping: [managed_node1] => { "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-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:30 Tuesday 27 August 2024 10:58:24 -0400 (0:00:00.048) 0:01:14.760 ******** skipping: [managed_node1] => { "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-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Tuesday 27 August 2024 10:58:24 -0400 (0:00:00.049) 0:01:14.809 ******** ok: [managed_node1] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Define an empty list of volumes to be used in testing] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Tuesday 27 August 2024 10:58:24 -0400 (0:00:00.049) 0:01:14.858 ******** ok: [managed_node1] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Include the appropriate provider tasks] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Tuesday 27 August 2024 10:58:24 -0400 (0:00:00.048) 0:01:14.907 ******** included: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for managed_node1 TASK [fedora.linux_system_roles.storage : Make sure blivet is available] ******* task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Tuesday 27 August 2024 10:58:24 -0400 (0:00:00.110) 0:01:15.018 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Show storage_pools] ****************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:9 Tuesday 27 August 2024 10:58:24 -0400 (0:00:00.042) 0:01:15.060 ******** ok: [managed_node1] => { "storage_pools": [ { "disks": [ "sda" ], "name": "testpool1", "state": "absent", "type": "lvm" } ] } TASK [fedora.linux_system_roles.storage : Show storage_volumes] **************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:14 Tuesday 27 August 2024 10:58:24 -0400 (0:00:00.047) 0:01:15.108 ******** ok: [managed_node1] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : Get required packages] *************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:19 Tuesday 27 August 2024 10:58:24 -0400 (0:00:00.039) 0:01:15.148 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Enable copr repositories if needed] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:31 Tuesday 27 August 2024 10:58:24 -0400 (0:00:00.034) 0:01:15.182 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Make sure required packages are installed] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:37 Tuesday 27 August 2024 10:58:24 -0400 (0:00:00.031) 0:01:15.213 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Get service facts] ******************* task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:51 Tuesday 27 August 2024 10:58:24 -0400 (0:00:00.031) 0:01:15.245 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:57 Tuesday 27 August 2024 10:58:24 -0400 (0:00:00.039) 0:01:15.284 ******** ok: [managed_node1] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:63 Tuesday 27 August 2024 10:58:24 -0400 (0:00:00.070) 0:01:15.355 ******** TASK [fedora.linux_system_roles.storage : Manage the pools and volumes to match the specified state] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:69 Tuesday 27 August 2024 10:58:24 -0400 (0:00:00.049) 0:01:15.405 ******** changed: [managed_node1] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/testpool1-testvol1", "fs_type": "ext4" }, { "action": "destroy device", "device": "/dev/mapper/testpool1-testvol1", "fs_type": null }, { "action": "destroy device", "device": "/dev/testpool1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/sdd", "/dev/sde", "/dev/sdf", "/dev/sdg", "/dev/sdh", "/dev/sdi", "/dev/xvda1" ], "mounts": [], "packages": [ "e2fsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_clevis_pin": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "encryption_tang_thumbprint": null, "encryption_tang_url": null, "grow_to_fill": false, "name": "testpool1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "shared": false, "state": "absent", "type": "lvm", "volumes": [] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:83 Tuesday 27 August 2024 10:58:29 -0400 (0:00:04.497) 0:01:19.902 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Check if /etc/fstab is present] ****** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Tuesday 27 August 2024 10:58:29 -0400 (0:00:00.040) 0:01:19.943 ******** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1724770600.9798481, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "72884e3f126482c2d28276ff7c57744fa95eff91", "ctime": 1724770600.127848, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 263551, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1724770600.127848, "nlink": 1, "path": "/etc/fstab", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 1229, "uid": 0, "version": "1668822276", "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-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:95 Tuesday 27 August 2024 10:58:29 -0400 (0:00:00.327) 0:01:20.271 ******** ok: [managed_node1] => { "backup": "", "changed": false } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:113 Tuesday 27 August 2024 10:58:30 -0400 (0:00:00.339) 0:01:20.611 ******** TASK [fedora.linux_system_roles.storage : Show blivet_output] ****************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:119 Tuesday 27 August 2024 10:58:30 -0400 (0:00:00.074) 0:01:20.685 ******** ok: [managed_node1] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/testpool1-testvol1", "fs_type": "ext4" }, { "action": "destroy device", "device": "/dev/mapper/testpool1-testvol1", "fs_type": null }, { "action": "destroy device", "device": "/dev/testpool1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/sdd", "/dev/sde", "/dev/sdf", "/dev/sdg", "/dev/sdh", "/dev/sdi", "/dev/xvda1" ], "mounts": [], "packages": [ "e2fsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_clevis_pin": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "encryption_tang_thumbprint": null, "encryption_tang_url": null, "grow_to_fill": false, "name": "testpool1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "shared": false, "state": "absent", "type": "lvm", "volumes": [] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : Set the list of pools for test verification] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:128 Tuesday 27 August 2024 10:58:30 -0400 (0:00:00.059) 0:01:20.744 ******** ok: [managed_node1] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_clevis_pin": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "encryption_tang_thumbprint": null, "encryption_tang_url": null, "grow_to_fill": false, "name": "testpool1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "shared": false, "state": "absent", "type": "lvm", "volumes": [] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : Set the list of volumes for test verification] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Tuesday 27 August 2024 10:58:30 -0400 (0:00:00.061) 0:01:20.806 ******** ok: [managed_node1] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Remove obsolete mounts] ************** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Tuesday 27 August 2024 10:58:30 -0400 (0:00:00.055) 0:01:20.862 ******** TASK [fedora.linux_system_roles.storage : Tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:159 Tuesday 27 August 2024 10:58:30 -0400 (0:00:00.051) 0:01:20.914 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set up new/current mounts] *********** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:164 Tuesday 27 August 2024 10:58:30 -0400 (0:00:00.054) 0:01:20.968 ******** TASK [fedora.linux_system_roles.storage : Manage mount ownership/permissions] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:175 Tuesday 27 August 2024 10:58:30 -0400 (0:00:00.050) 0:01:21.019 ******** TASK [fedora.linux_system_roles.storage : Tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:187 Tuesday 27 August 2024 10:58:30 -0400 (0:00:00.049) 0:01:21.069 ******** skipping: [managed_node1] => { "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-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:195 Tuesday 27 August 2024 10:58:30 -0400 (0:00:00.055) 0:01:21.124 ******** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1724769009.570098, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1724769006.4530969, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 917633, "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": 1724769006.452097, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "1668828693", "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-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:200 Tuesday 27 August 2024 10:58:31 -0400 (0:00:00.425) 0:01:21.549 ******** TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:222 Tuesday 27 August 2024 10:58:31 -0400 (0:00:00.048) 0:01:21.597 ******** ok: [managed_node1] META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed_node1 : ok=169 changed=2 unreachable=0 failed=9 skipped=149 rescued=9 ignored=0 Tuesday 27 August 2024 10:58:31 -0400 (0:00:00.728) 0:01:22.326 ******** =============================================================================== fedora.linux_system_roles.storage : Manage the pools and volumes to match the specified state --- 4.50s /tmp/collections-Jz4/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.47s /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:69 fedora.linux_system_roles.storage : Manage the pools and volumes to match the specified state --- 4.39s /tmp/collections-Jz4/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.21s /tmp/collections-Jz4/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.09s /tmp/collections-Jz4/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.02s /tmp/collections-Jz4/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.01s /tmp/collections-Jz4/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 --- 3.91s /tmp/collections-Jz4/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 --- 3.84s /tmp/collections-Jz4/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 --- 3.77s /tmp/collections-Jz4/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 --- 3.70s /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:69 fedora.linux_system_roles.storage : Make sure blivet is available ------- 1.61s /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 fedora.linux_system_roles.storage : Get service facts ------------------- 1.19s /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:51 Gathering Facts --------------------------------------------------------- 1.00s /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/tests/storage/tests_lvm_errors.yml:2 fedora.linux_system_roles.storage : Update facts ------------------------ 0.88s /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:222 fedora.linux_system_roles.storage : Update facts ------------------------ 0.84s /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:222 Ensure test packages ---------------------------------------------------- 0.80s /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/tests/storage/get_unused_disk.yml:2 fedora.linux_system_roles.storage : Get required packages --------------- 0.78s /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:19 fedora.linux_system_roles.storage : Update facts ------------------------ 0.73s /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:222 fedora.linux_system_roles.storage : Make sure required packages are installed --- 0.71s /tmp/collections-Jz4/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:37