ansible-playbook 2.9.27 config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.9/site-packages/ansible executable location = /usr/local/bin/ansible-playbook python version = 3.9.19 (main, May 16 2024, 11:40:09) [GCC 8.5.0 20210514 (Red Hat 8.5.0-22)] No config file found; using defaults [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-6ei/ansible_collections/fedora/linux_system_roles/tests/storage/tests_lvm_errors.yml PLAY [Test lvm errors] ********************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/tests/storage/tests_lvm_errors.yml:2 Friday 20 September 2024 22:48:43 -0400 (0:00:00.020) 0:00:00.020 ****** ok: [managed_node2] META: ran handlers TASK [Run the role] ************************************************************ task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/tests/storage/tests_lvm_errors.yml:18 Friday 20 September 2024 22:48:44 -0400 (0:00:01.004) 0:00:01.024 ****** TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Friday 20 September 2024 22:48:45 -0400 (0:00:00.034) 0:00:01.058 ****** included: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for managed_node2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Friday 20 September 2024 22:48:45 -0400 (0:00:00.045) 0:00:01.103 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Friday 20 September 2024 22:48:45 -0400 (0:00:00.059) 0:00:01.163 ****** skipping: [managed_node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed_node2] => (item=CentOS_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs", "stratisd", "stratis-cli", "{{ 'libblockdev-s390' if ansible_architecture == 's390x' else 'libblockdev' }}" ] }, "ansible_included_var_files": [ "/tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [managed_node2] => (item=CentOS_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs", "stratisd", "stratis-cli", "{{ 'libblockdev-s390' if ansible_architecture == 's390x' else 'libblockdev' }}" ] }, "ansible_included_var_files": [ "/tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [fedora.linux_system_roles.storage : Check if system is ostree] *********** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:25 Friday 20 September 2024 22:48:45 -0400 (0:00:00.093) 0:00:01.256 ****** ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.storage : Set flag to indicate system is ostree] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:30 Friday 20 September 2024 22:48:45 -0400 (0:00:00.600) 0:00:01.857 ****** ok: [managed_node2] => { "ansible_facts": { "__storage_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.storage : Define an empty list of pools to be used in testing] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Friday 20 September 2024 22:48:45 -0400 (0:00:00.082) 0:00:01.939 ****** ok: [managed_node2] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Define an empty list of volumes to be used in testing] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Friday 20 September 2024 22:48:45 -0400 (0:00:00.025) 0:00:01.964 ****** ok: [managed_node2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Include the appropriate provider tasks] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Friday 20 September 2024 22:48:45 -0400 (0:00:00.057) 0:00:02.022 ****** included: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for managed_node2 TASK [fedora.linux_system_roles.storage : Make sure blivet is available] ******* task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Friday 20 September 2024 22:48:46 -0400 (0:00:00.097) 0:00:02.119 ****** ok: [managed_node2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.storage : Show storage_pools] ****************** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:9 Friday 20 September 2024 22:48:49 -0400 (0:00:03.001) 0:00:05.121 ****** ok: [managed_node2] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [fedora.linux_system_roles.storage : Show storage_volumes] **************** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:14 Friday 20 September 2024 22:48:49 -0400 (0:00:00.045) 0:00:05.166 ****** ok: [managed_node2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : Get required packages] *************** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:19 Friday 20 September 2024 22:48:49 -0400 (0:00:00.038) 0:00:05.205 ****** ok: [managed_node2] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } TASK [fedora.linux_system_roles.storage : Enable copr repositories if needed] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:31 Friday 20 September 2024 22:48:49 -0400 (0:00:00.655) 0:00:05.860 ****** included: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml for managed_node2 TASK [fedora.linux_system_roles.storage : Check if the COPR support packages should be installed] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:2 Friday 20 September 2024 22:48:49 -0400 (0:00:00.069) 0:00:05.930 ****** TASK [fedora.linux_system_roles.storage : Make sure COPR support packages are present] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:13 Friday 20 September 2024 22:48:49 -0400 (0:00:00.016) 0:00:05.946 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Enable COPRs] ************************ task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:19 Friday 20 September 2024 22:48:49 -0400 (0:00:00.018) 0:00:05.965 ****** TASK [fedora.linux_system_roles.storage : Make sure required packages are installed] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:37 Friday 20 September 2024 22:48:49 -0400 (0:00:00.015) 0:00:05.981 ****** ok: [managed_node2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.storage : Get service facts] ******************* task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:51 Friday 20 September 2024 22:48:52 -0400 (0:00:02.764) 0:00:08.745 ****** ok: [managed_node2] => { "ansible_facts": { "services": { "NetworkManager-dispatcher.service": { "name": "NetworkManager-dispatcher.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "NetworkManager-wait-online.service": { "name": "NetworkManager-wait-online.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "NetworkManager.service": { "name": "NetworkManager.service", "source": "systemd", "state": "running", "status": "enabled" }, "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": "stopped", "status": "disabled" }, "chrony-dnssrv@.service": { "name": "chrony-dnssrv@.service", "source": "systemd", "state": "unknown", "status": "static" }, "chrony-wait.service": { "name": "chrony-wait.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "chronyd.service": { "name": "chronyd.service", "source": "systemd", "state": "running", "status": "enabled" }, "cloud-config.service": { "name": "cloud-config.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-final.service": { "name": "cloud-final.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init-hotplugd.service": { "name": "cloud-init-hotplugd.service", "source": "systemd", "state": "inactive", "status": "static" }, "cloud-init-local.service": { "name": "cloud-init-local.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init.service": { "name": "cloud-init.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "console-getty.service": { "name": "console-getty.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "container-getty@.service": { "name": "container-getty@.service", "source": "systemd", "state": "unknown", "status": "static" }, "cpupower.service": { "name": "cpupower.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "crond.service": { "name": "crond.service", "source": "systemd", "state": "running", "status": "enabled" }, "dbus-org.freedesktop.hostname1.service": { "name": "dbus-org.freedesktop.hostname1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.locale1.service": { "name": "dbus-org.freedesktop.locale1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.login1.service": { "name": "dbus-org.freedesktop.login1.service", "source": "systemd", "state": "active", "status": "static" }, "dbus-org.freedesktop.nm-dispatcher.service": { "name": "dbus-org.freedesktop.nm-dispatcher.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "dbus-org.freedesktop.portable1.service": { "name": "dbus-org.freedesktop.portable1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.timedate1.service": { "name": "dbus-org.freedesktop.timedate1.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "dbus.service": { "name": "dbus.service", "source": "systemd", "state": "running", "status": "static" }, "debug-shell.service": { "name": "debug-shell.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "dm-event.service": { "name": "dm-event.service", "source": "systemd", "state": "running", "status": "static" }, "dnf-makecache.service": { "name": "dnf-makecache.service", "source": "systemd", "state": "stopped", "status": "static" }, "dnf-system-upgrade-cleanup.service": { "name": "dnf-system-upgrade-cleanup.service", "source": "systemd", "state": "inactive", "status": "static" }, "dnf-system-upgrade.service": { "name": "dnf-system-upgrade.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "dracut-cmdline.service": { "name": "dracut-cmdline.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-initqueue.service": { "name": "dracut-initqueue.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-mount.service": { "name": "dracut-mount.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-mount.service": { "name": "dracut-pre-mount.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-pivot.service": { "name": "dracut-pre-pivot.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-trigger.service": { "name": "dracut-pre-trigger.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-udev.service": { "name": "dracut-pre-udev.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-shutdown-onfailure.service": { "name": "dracut-shutdown-onfailure.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-shutdown.service": { "name": "dracut-shutdown.service", "source": "systemd", "state": "stopped", "status": "static" }, "ebtables.service": { "name": "ebtables.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "emergency.service": { "name": "emergency.service", "source": "systemd", "state": "stopped", "status": "static" }, "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" }, "grub-boot-indeterminate.service": { "name": "grub-boot-indeterminate.service", "source": "systemd", "state": "inactive", "status": "static" }, "gssproxy.service": { "name": "gssproxy.service", "source": "systemd", "state": "running", "status": "disabled" }, "halt-local.service": { "name": "halt-local.service", "source": "systemd", "state": "inactive", "status": "static" }, "import-state.service": { "name": "import-state.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "initrd-cleanup.service": { "name": "initrd-cleanup.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-parse-etc.service": { "name": "initrd-parse-etc.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-switch-root.service": { "name": "initrd-switch-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-udevadm-cleanup-db.service": { "name": "initrd-udevadm-cleanup-db.service", "source": "systemd", "state": "stopped", "status": "static" }, "iprdump.service": { "name": "iprdump.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "iprinit.service": { "name": "iprinit.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "iprupdate.service": { "name": "iprupdate.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "irqbalance.service": { "name": "irqbalance.service", "source": "systemd", "state": "running", "status": "enabled" }, "kdump.service": { "name": "kdump.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "kmod-static-nodes.service": { "name": "kmod-static-nodes.service", "source": "systemd", "state": "stopped", "status": "static" }, "kvm_stat.service": { "name": "kvm_stat.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "ldconfig.service": { "name": "ldconfig.service", "source": "systemd", "state": "stopped", "status": "static" }, "loadmodules.service": { "name": "loadmodules.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "lvm2-lvmpolld.service": { "name": "lvm2-lvmpolld.service", "source": "systemd", "state": "stopped", "status": "static" }, "lvm2-monitor.service": { "name": "lvm2-monitor.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "lvm2-pvscan@.service": { "name": "lvm2-pvscan@.service", "source": "systemd", "state": "unknown", "status": "static" }, "lvm2-pvscan@8:0.service": { "name": "lvm2-pvscan@8:0.service", "source": "systemd", "state": "stopped", "status": "unknown" }, "lvm2-pvscan@9:127.service": { "name": "lvm2-pvscan@9:127.service", "source": "systemd", "state": "stopped", "status": "unknown" }, "man-db-cache-update.service": { "name": "man-db-cache-update.service", "source": "systemd", "state": "inactive", "status": "static" }, "man-db-restart-cache-update.service": { "name": "man-db-restart-cache-update.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "mdadm-grow-continue@.service": { "name": "mdadm-grow-continue@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdadm-last-resort@.service": { "name": "mdadm-last-resort@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdcheck_continue.service": { "name": "mdcheck_continue.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdcheck_start.service": { "name": "mdcheck_start.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdmon@.service": { "name": "mdmon@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdmonitor-oneshot.service": { "name": "mdmonitor-oneshot.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdmonitor.service": { "name": "mdmonitor.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "messagebus.service": { "name": "messagebus.service", "source": "systemd", "state": "active", "status": "static" }, "microcode.service": { "name": "microcode.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "multipathd.service": { "name": "multipathd.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "ndctl-monitor.service": { "name": "ndctl-monitor.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfs-blkmap.service": { "name": "nfs-blkmap.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfs-convert.service": { "name": "nfs-convert.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfs-idmapd.service": { "name": "nfs-idmapd.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-mountd.service": { "name": "nfs-mountd.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-server.service": { "name": "nfs-server.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "nfs-utils.service": { "name": "nfs-utils.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfsdcld.service": { "name": "nfsdcld.service", "source": "systemd", "state": "stopped", "status": "static" }, "nftables.service": { "name": "nftables.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nis-domainname.service": { "name": "nis-domainname.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "oddjobd.service": { "name": "oddjobd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "plymouth-halt.service": { "name": "plymouth-halt.service", "source": "systemd", "state": "inactive", "status": "static" }, "plymouth-kexec.service": { "name": "plymouth-kexec.service", "source": "systemd", "state": "inactive", "status": "static" }, "plymouth-poweroff.service": { "name": "plymouth-poweroff.service", "source": "systemd", "state": "inactive", "status": "static" }, "plymouth-quit-wait.service": { "name": "plymouth-quit-wait.service", "source": "systemd", "state": "stopped", "status": "static" }, "plymouth-quit.service": { "name": "plymouth-quit.service", "source": "systemd", "state": "stopped", "status": "static" }, "plymouth-read-write.service": { "name": "plymouth-read-write.service", "source": "systemd", "state": "stopped", "status": "static" }, "plymouth-reboot.service": { "name": "plymouth-reboot.service", "source": "systemd", "state": "inactive", "status": "static" }, "plymouth-start.service": { "name": "plymouth-start.service", "source": "systemd", "state": "stopped", "status": "static" }, "plymouth-switch-root-initramfs.service": { "name": "plymouth-switch-root-initramfs.service", "source": "systemd", "state": "inactive", "status": "static" }, "plymouth-switch-root.service": { "name": "plymouth-switch-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "polkit.service": { "name": "polkit.service", "source": "systemd", "state": "running", "status": "static" }, "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" }, "rngd.service": { "name": "rngd.service", "source": "systemd", "state": "running", "status": "enabled" }, "rpc-gssd.service": { "name": "rpc-gssd.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-statd-notify.service": { "name": "rpc-statd-notify.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-statd.service": { "name": "rpc-statd.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpcbind.service": { "name": "rpcbind.service", "source": "systemd", "state": "running", "status": "enabled" }, "rsyslog.service": { "name": "rsyslog.service", "source": "systemd", "state": "running", "status": "enabled" }, "selinux-autorelabel-mark.service": { "name": "selinux-autorelabel-mark.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "selinux-autorelabel.service": { "name": "selinux-autorelabel.service", "source": "systemd", "state": "inactive", "status": "static" }, "serial-getty@.service": { "name": "serial-getty@.service", "source": "systemd", "state": "unknown", "status": "disabled" }, "sshd-keygen@.service": { "name": "sshd-keygen@.service", "source": "systemd", "state": "unknown", "status": "disabled" }, "sshd-keygen@ecdsa.service": { "name": "sshd-keygen@ecdsa.service", "source": "systemd", "state": "stopped", "status": "unknown" }, "sshd-keygen@ed25519.service": { "name": "sshd-keygen@ed25519.service", "source": "systemd", "state": "stopped", "status": "unknown" }, "sshd-keygen@rsa.service": { "name": "sshd-keygen@rsa.service", "source": "systemd", "state": "stopped", "status": "unknown" }, "sshd.service": { "name": "sshd.service", "source": "systemd", "state": "running", "status": "enabled" }, "sshd@.service": { "name": "sshd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "sssd-autofs.service": { "name": "sssd-autofs.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-kcm.service": { "name": "sssd-kcm.service", "source": "systemd", "state": "stopped", "status": "indirect" }, "sssd-nss.service": { "name": "sssd-nss.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-pac.service": { "name": "sssd-pac.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-pam.service": { "name": "sssd-pam.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-ssh.service": { "name": "sssd-ssh.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-sudo.service": { "name": "sssd-sudo.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd.service": { "name": "sssd.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "stratis-fstab-setup@.service": { "name": "stratis-fstab-setup@.service", "source": "systemd", "state": "unknown", "status": "static" }, "stratisd-min-postinitrd.service": { "name": "stratisd-min-postinitrd.service", "source": "systemd", "state": "inactive", "status": "static" }, "stratisd.service": { "name": "stratisd.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "syslog.service": { "name": "syslog.service", "source": "systemd", "state": "active", "status": "enabled" }, "system-update-cleanup.service": { "name": "system-update-cleanup.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-ask-password-console.service": { "name": "systemd-ask-password-console.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-ask-password-plymouth.service": { "name": "systemd-ask-password-plymouth.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-ask-password-wall.service": { "name": "systemd-ask-password-wall.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-backlight@.service": { "name": "systemd-backlight@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-binfmt.service": { "name": "systemd-binfmt.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-coredump@.service": { "name": "systemd-coredump@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-exit.service": { "name": "systemd-exit.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-firstboot.service": { "name": "systemd-firstboot.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-fsck-root.service": { "name": "systemd-fsck-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-fsck@.service": { "name": "systemd-fsck@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-halt.service": { "name": "systemd-halt.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-hibernate-resume@.service": { "name": "systemd-hibernate-resume@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-hibernate.service": { "name": "systemd-hibernate.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-hostnamed.service": { "name": "systemd-hostnamed.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-hwdb-update.service": { "name": "systemd-hwdb-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-hybrid-sleep.service": { "name": "systemd-hybrid-sleep.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-initctl.service": { "name": "systemd-initctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-catalog-update.service": { "name": "systemd-journal-catalog-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-flush.service": { "name": "systemd-journal-flush.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journald.service": { "name": "systemd-journald.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-kexec.service": { "name": "systemd-kexec.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-localed.service": { "name": "systemd-localed.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-logind.service": { "name": "systemd-logind.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-machine-id-commit.service": { "name": "systemd-machine-id-commit.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-modules-load.service": { "name": "systemd-modules-load.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-portabled.service": { "name": "systemd-portabled.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-poweroff.service": { "name": "systemd-poweroff.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-pstore.service": { "name": "systemd-pstore.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "systemd-quotacheck.service": { "name": "systemd-quotacheck.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-random-seed.service": { "name": "systemd-random-seed.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-reboot.service": { "name": "systemd-reboot.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-remount-fs.service": { "name": "systemd-remount-fs.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-resolved.service": { "name": "systemd-resolved.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-rfkill.service": { "name": "systemd-rfkill.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-suspend-then-hibernate.service": { "name": "systemd-suspend-then-hibernate.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-suspend.service": { "name": "systemd-suspend.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-sysctl.service": { "name": "systemd-sysctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-sysusers.service": { "name": "systemd-sysusers.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-timedated.service": { "name": "systemd-timedated.service", "source": "systemd", "state": "inactive", "status": "masked" }, "systemd-tmpfiles-clean.service": { "name": "systemd-tmpfiles-clean.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup-dev.service": { "name": "systemd-tmpfiles-setup-dev.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup.service": { "name": "systemd-tmpfiles-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udev-settle.service": { "name": "systemd-udev-settle.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udev-trigger.service": { "name": "systemd-udev-trigger.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udevd.service": { "name": "systemd-udevd.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-update-done.service": { "name": "systemd-update-done.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-update-utmp-runlevel.service": { "name": "systemd-update-utmp-runlevel.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-update-utmp.service": { "name": "systemd-update-utmp.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-user-sessions.service": { "name": "systemd-user-sessions.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-vconsole-setup.service": { "name": "systemd-vconsole-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-volatile-root.service": { "name": "systemd-volatile-root.service", "source": "systemd", "state": "inactive", "status": "static" }, "target.service": { "name": "target.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "targetclid.service": { "name": "targetclid.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "tcsd.service": { "name": "tcsd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "teamd@.service": { "name": "teamd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "timedatex.service": { "name": "timedatex.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "tuned.service": { "name": "tuned.service", "source": "systemd", "state": "running", "status": "enabled" }, "unbound-anchor.service": { "name": "unbound-anchor.service", "source": "systemd", "state": "stopped", "status": "static" }, "user-runtime-dir@.service": { "name": "user-runtime-dir@.service", "source": "systemd", "state": "unknown", "status": "static" }, "user-runtime-dir@0.service": { "name": "user-runtime-dir@0.service", "source": "systemd", "state": "stopped", "status": "unknown" }, "user@.service": { "name": "user@.service", "source": "systemd", "state": "unknown", "status": "static" }, "user@0.service": { "name": "user@0.service", "source": "systemd", "state": "running", "status": "unknown" }, "vdo-start-by-dev@.service": { "name": "vdo-start-by-dev@.service", "source": "systemd", "state": "unknown", "status": "static" }, "vdo.service": { "name": "vdo.service", "source": "systemd", "state": "stopped", "status": "enabled" } } }, "changed": false } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:57 Friday 20 September 2024 22:48:54 -0400 (0:00:01.761) 0:00:10.506 ****** ok: [managed_node2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:63 Friday 20 September 2024 22:48:54 -0400 (0:00:00.031) 0:00:10.538 ****** TASK [fedora.linux_system_roles.storage : Manage the pools and volumes to match the specified state] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:69 Friday 20 September 2024 22:48:54 -0400 (0:00:00.018) 0:00:10.556 ****** ok: [managed_node2] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:83 Friday 20 September 2024 22:48:55 -0400 (0:00:00.539) 0:00:11.096 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Check if /etc/fstab is present] ****** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Friday 20 September 2024 22:48:55 -0400 (0:00:00.035) 0:00:11.132 ****** ok: [managed_node2] => { "changed": false, "stat": { "atime": 1726886754.6247222, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "ab8070345774adad92683e9645714452be7be474", "ctime": 1726886754.1137192, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 278921456, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1726886754.1137192, "nlink": 1, "path": "/etc/fstab", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 1343, "uid": 0, "version": "549583310", "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-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:95 Friday 20 September 2024 22:48:55 -0400 (0:00:00.362) 0:00:11.494 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:113 Friday 20 September 2024 22:48:55 -0400 (0:00:00.022) 0:00:11.516 ****** TASK [fedora.linux_system_roles.storage : Show blivet_output] ****************** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:119 Friday 20 September 2024 22:48:55 -0400 (0:00:00.018) 0:00:11.535 ****** ok: [managed_node2] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } } TASK [fedora.linux_system_roles.storage : Set the list of pools for test verification] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:128 Friday 20 September 2024 22:48:55 -0400 (0:00:00.022) 0:00:11.557 ****** ok: [managed_node2] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Set the list of volumes for test verification] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Friday 20 September 2024 22:48:55 -0400 (0:00:00.021) 0:00:11.579 ****** ok: [managed_node2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Remove obsolete mounts] ************** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Friday 20 September 2024 22:48:55 -0400 (0:00:00.022) 0:00:11.601 ****** TASK [fedora.linux_system_roles.storage : Tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:159 Friday 20 September 2024 22:48:55 -0400 (0:00:00.019) 0:00:11.621 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set up new/current mounts] *********** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:164 Friday 20 September 2024 22:48:55 -0400 (0:00:00.020) 0:00:11.642 ****** TASK [fedora.linux_system_roles.storage : Manage mount ownership/permissions] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:175 Friday 20 September 2024 22:48:55 -0400 (0:00:00.020) 0:00:11.662 ****** TASK [fedora.linux_system_roles.storage : Tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:187 Friday 20 September 2024 22:48:55 -0400 (0:00:00.041) 0:00:11.704 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Retrieve facts for the /etc/crypttab file] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:195 Friday 20 September 2024 22:48:55 -0400 (0:00:00.019) 0:00:11.723 ****** ok: [managed_node2] => { "changed": false, "stat": { "atime": 1726886758.452745, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1726886756.281732, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 883897, "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": 1726886756.281732, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "567611302", "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-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:200 Friday 20 September 2024 22:48:56 -0400 (0:00:00.361) 0:00:12.085 ****** TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:222 Friday 20 September 2024 22:48:56 -0400 (0:00:00.018) 0:00:12.104 ****** ok: [managed_node2] TASK [Mark tasks to be skipped] ************************************************ task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/tests/storage/tests_lvm_errors.yml:22 Friday 20 September 2024 22:48:56 -0400 (0:00:00.730) 0:00:12.834 ****** ok: [managed_node2] => { "ansible_facts": { "storage_skip_checks": [ "blivet_available", "packages_installed", "service_facts" ] }, "changed": false } TASK [Get unused disks] ******************************************************** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/tests/storage/tests_lvm_errors.yml:29 Friday 20 September 2024 22:48:56 -0400 (0:00:00.034) 0:00:12.868 ****** included: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/tests/storage/get_unused_disk.yml for managed_node2 TASK [Ensure test packages] **************************************************** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/tests/storage/get_unused_disk.yml:2 Friday 20 September 2024 22:48:56 -0400 (0:00:00.034) 0:00:12.902 ****** ok: [managed_node2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Find unused disks in the system] ***************************************** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/tests/storage/get_unused_disk.yml:11 Friday 20 September 2024 22:48:59 -0400 (0:00:02.799) 0:00:15.702 ****** ok: [managed_node2] => { "changed": false, "disks": [ "sda" ], "info": [ "Line: NAME=\"/dev/sda\" TYPE=\"disk\" SIZE=\"10737418240\" FSTYPE=\"\" LOG-SEC=\"512\"", "Line: NAME=\"/dev/sdb\" TYPE=\"disk\" SIZE=\"10737418240\" FSTYPE=\"\" LOG-SEC=\"512\"", "Line: NAME=\"/dev/sdc\" TYPE=\"disk\" SIZE=\"10737418240\" FSTYPE=\"\" LOG-SEC=\"512\"", "Line: NAME=\"/dev/sdd\" TYPE=\"disk\" SIZE=\"1099511627776\" FSTYPE=\"\" LOG-SEC=\"512\"", "Line: NAME=\"/dev/sde\" TYPE=\"disk\" SIZE=\"1099511627776\" FSTYPE=\"\" LOG-SEC=\"512\"", "Line: NAME=\"/dev/sdf\" TYPE=\"disk\" SIZE=\"10737418240\" FSTYPE=\"\" LOG-SEC=\"512\"", "Line: NAME=\"/dev/sdg\" TYPE=\"disk\" SIZE=\"1099511627776\" FSTYPE=\"\" LOG-SEC=\"512\"", "Line: NAME=\"/dev/sdh\" TYPE=\"disk\" SIZE=\"10737418240\" FSTYPE=\"\" LOG-SEC=\"512\"", "Line: NAME=\"/dev/sdi\" TYPE=\"disk\" SIZE=\"10737418240\" FSTYPE=\"\" LOG-SEC=\"512\"", "Line: NAME=\"/dev/xvda\" TYPE=\"disk\" SIZE=\"268435456000\" FSTYPE=\"\" LOG-SEC=\"512\"", "Line: NAME=\"/dev/xvda1\" TYPE=\"part\" SIZE=\"268434390528\" FSTYPE=\"xfs\" LOG-SEC=\"512\"", "Line type [part] is not disk: NAME=\"/dev/xvda1\" TYPE=\"part\" SIZE=\"268434390528\" FSTYPE=\"xfs\" LOG-SEC=\"512\"", "filename [xvda1] is a partition", "Disk [/dev/xvda] attrs [{'type': 'disk', 'size': '268435456000', 'fstype': '', 'ssize': '512'}] has partitions" ] } TASK [Debug why there are no unused disks] ************************************* task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/tests/storage/get_unused_disk.yml:20 Friday 20 September 2024 22:49:00 -0400 (0:00:00.514) 0:00:16.217 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set unused_disks if necessary] ******************************************* task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/tests/storage/get_unused_disk.yml:29 Friday 20 September 2024 22:49:00 -0400 (0:00:00.019) 0:00:16.237 ****** ok: [managed_node2] => { "ansible_facts": { "unused_disks": [ "sda" ] }, "changed": false } TASK [Exit playbook when there's not enough unused disks in the system] ******** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/tests/storage/get_unused_disk.yml:34 Friday 20 September 2024 22:49:00 -0400 (0:00:00.024) 0:00:16.261 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Print unused disks] ****************************************************** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/tests/storage/get_unused_disk.yml:39 Friday 20 September 2024 22:49:00 -0400 (0:00:00.021) 0:00:16.283 ****** ok: [managed_node2] => { "unused_disks": [ "sda" ] } TASK [Test for correct handling of invalid disk specifications.] *************** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/tests/storage/tests_lvm_errors.yml:35 Friday 20 September 2024 22:49:00 -0400 (0:00:00.026) 0:00:16.310 ****** included: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml for managed_node2 TASK [Store global variable value copy] **************************************** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:4 Friday 20 September 2024 22:49:00 -0400 (0:00:00.036) 0:00:16.347 ****** ok: [managed_node2] => { "ansible_facts": { "storage_pools_global": [], "storage_safe_mode_global": true, "storage_volumes_global": [] }, "changed": false } TASK [Verify role raises correct error] **************************************** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:10 Friday 20 September 2024 22:49:00 -0400 (0:00:00.032) 0:00:16.380 ****** TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Friday 20 September 2024 22:49:00 -0400 (0:00:00.039) 0:00:16.419 ****** included: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for managed_node2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Friday 20 September 2024 22:49:00 -0400 (0:00:00.035) 0:00:16.455 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Friday 20 September 2024 22:49:00 -0400 (0:00:00.031) 0:00:16.487 ****** skipping: [managed_node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed_node2] => (item=CentOS_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs", "stratisd", "stratis-cli", "{{ 'libblockdev-s390' if ansible_architecture == 's390x' else 'libblockdev' }}" ] }, "ansible_included_var_files": [ "/tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [managed_node2] => (item=CentOS_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs", "stratisd", "stratis-cli", "{{ 'libblockdev-s390' if ansible_architecture == 's390x' else 'libblockdev' }}" ] }, "ansible_included_var_files": [ "/tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [fedora.linux_system_roles.storage : Check if system is ostree] *********** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:25 Friday 20 September 2024 22:49:00 -0400 (0:00:00.063) 0:00:16.550 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set flag to indicate system is ostree] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:30 Friday 20 September 2024 22:49:00 -0400 (0:00:00.020) 0:00:16.570 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Define an empty list of pools to be used in testing] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Friday 20 September 2024 22:49:00 -0400 (0:00:00.019) 0:00:16.590 ****** ok: [managed_node2] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Define an empty list of volumes to be used in testing] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Friday 20 September 2024 22:49:00 -0400 (0:00:00.024) 0:00:16.614 ****** ok: [managed_node2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Include the appropriate provider tasks] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Friday 20 September 2024 22:49:00 -0400 (0:00:00.019) 0:00:16.634 ****** included: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for managed_node2 TASK [fedora.linux_system_roles.storage : Make sure blivet is available] ******* task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Friday 20 September 2024 22:49:00 -0400 (0:00:00.102) 0:00:16.737 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Show storage_pools] ****************** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:9 Friday 20 September 2024 22:49:00 -0400 (0:00:00.028) 0:00:16.765 ****** ok: [managed_node2] => { "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-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:14 Friday 20 September 2024 22:49:00 -0400 (0:00:00.037) 0:00:16.803 ****** ok: [managed_node2] => { "storage_volumes": [] } TASK [fedora.linux_system_roles.storage : Get required packages] *************** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:19 Friday 20 September 2024 22:49:00 -0400 (0:00:00.029) 0:00:16.833 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Enable copr repositories if needed] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:31 Friday 20 September 2024 22:49:00 -0400 (0:00:00.023) 0:00:16.856 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Make sure required packages are installed] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:37 Friday 20 September 2024 22:49:00 -0400 (0:00:00.024) 0:00:16.881 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Get service facts] ******************* task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:51 Friday 20 September 2024 22:49:00 -0400 (0:00:00.024) 0:00:16.906 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:57 Friday 20 September 2024 22:49:00 -0400 (0:00:00.028) 0:00:16.934 ****** ok: [managed_node2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:63 Friday 20 September 2024 22:49:00 -0400 (0:00:00.051) 0:00:16.986 ****** TASK [fedora.linux_system_roles.storage : Manage the pools and volumes to match the specified state] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:69 Friday 20 September 2024 22:49:00 -0400 (0:00:00.027) 0:00:17.013 ****** fatal: [managed_node2]: 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-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:109 Friday 20 September 2024 22:49:04 -0400 (0:00:03.894) 0:00:20.908 ****** fatal: [managed_node2]: FAILED! => { "changed": false } MSG: {'msg': "unable to resolve any disks specified for pool 'foo' (['/non/existent/disk'])", 'changed': False, 'actions': [], 'leaves': [], 'mounts': [], 'crypts': [], 'pools': [], 'volumes': [], 'packages': [], 'failed': True, 'invocation': {'module_args': {'pools': [{'disks': ['/non/existent/disk'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'encryption_clevis_pin': None, 'encryption_tang_url': None, 'encryption_tang_thumbprint': None, 'grow_to_fill': False, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'raid_chunk_size': None, 'shared': False, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': None, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': None, 'fs_label': None, 'fs_type': None, 'mount_options': None, 'mount_point': '/opt/test1', 'mount_user': None, 'mount_group': None, 'mount_mode': None, 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': None, 'cached': None, 'cache_devices': [], 'cache_mode': None, 'cache_size': None, 'compression': None, 'deduplication': None, 'raid_disks': [], 'raid_stripe_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None}]}], 'volumes': [], 'use_partitions': None, 'disklabel_type': None, 'pool_defaults': {'state': 'present', 'type': 'lvm', 'disks': [], 'volumes': [], 'grow_to_fill': False, 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, 'shared': False}, 'volume_defaults': {'state': 'present', 'type': 'lvm', 'size': 0, 'disks': [], 'fs_type': 'xfs', 'fs_label': '', 'fs_create_options': '', 'fs_overwrite_existing': True, 'mount_point': '', 'mount_options': 'defaults', 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_stripe_size': None, 'raid_metadata_version': None, 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': []}, 'safe_mode': True, 'packages_only': False, 'diskvolume_mkfs_option_map': {}}}, '_ansible_no_log': False} TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:113 Friday 20 September 2024 22:49:04 -0400 (0:00:00.026) 0:00:20.935 ****** TASK [Check that we failed in the role] **************************************** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:23 Friday 20 September 2024 22:49:04 -0400 (0:00:00.025) 0:00:20.960 ****** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify the blivet output and error message are correct] ****************** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:28 Friday 20 September 2024 22:49:04 -0400 (0:00:00.025) 0:00:20.986 ****** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify correct exception or error message] ******************************* task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:39 Friday 20 September 2024 22:49:05 -0400 (0:00:00.042) 0:00:21.028 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Test for correct handling of invalid size specification.] **************** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/tests/storage/tests_lvm_errors.yml:49 Friday 20 September 2024 22:49:05 -0400 (0:00:00.035) 0:00:21.064 ****** included: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml for managed_node2 TASK [Store global variable value copy] **************************************** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:4 Friday 20 September 2024 22:49:05 -0400 (0:00:00.051) 0:00:21.115 ****** ok: [managed_node2] => { "ansible_facts": { "storage_pools_global": [], "storage_safe_mode_global": true, "storage_volumes_global": [] }, "changed": false } TASK [Verify role raises correct error] **************************************** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:10 Friday 20 September 2024 22:49:05 -0400 (0:00:00.044) 0:00:21.160 ****** TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Friday 20 September 2024 22:49:05 -0400 (0:00:00.045) 0:00:21.206 ****** included: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for managed_node2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Friday 20 September 2024 22:49:05 -0400 (0:00:00.047) 0:00:21.253 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Friday 20 September 2024 22:49:05 -0400 (0:00:00.036) 0:00:21.289 ****** skipping: [managed_node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed_node2] => (item=CentOS_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs", "stratisd", "stratis-cli", "{{ 'libblockdev-s390' if ansible_architecture == 's390x' else 'libblockdev' }}" ] }, "ansible_included_var_files": [ "/tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [managed_node2] => (item=CentOS_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs", "stratisd", "stratis-cli", "{{ 'libblockdev-s390' if ansible_architecture == 's390x' else 'libblockdev' }}" ] }, "ansible_included_var_files": [ "/tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [fedora.linux_system_roles.storage : Check if system is ostree] *********** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:25 Friday 20 September 2024 22:49:05 -0400 (0:00:00.100) 0:00:21.390 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set flag to indicate system is ostree] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:30 Friday 20 September 2024 22:49:05 -0400 (0:00:00.040) 0:00:21.430 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Define an empty list of pools to be used in testing] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Friday 20 September 2024 22:49:05 -0400 (0:00:00.039) 0:00:21.469 ****** ok: [managed_node2] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Define an empty list of volumes to be used in testing] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Friday 20 September 2024 22:49:05 -0400 (0:00:00.029) 0:00:21.499 ****** ok: [managed_node2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Include the appropriate provider tasks] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Friday 20 September 2024 22:49:05 -0400 (0:00:00.024) 0:00:21.524 ****** included: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for managed_node2 TASK [fedora.linux_system_roles.storage : Make sure blivet is available] ******* task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Friday 20 September 2024 22:49:05 -0400 (0:00:00.065) 0:00:21.589 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Show storage_pools] ****************** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:9 Friday 20 September 2024 22:49:05 -0400 (0:00:00.029) 0:00:21.619 ****** ok: [managed_node2] => { "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-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:14 Friday 20 September 2024 22:49:05 -0400 (0:00:00.034) 0:00:21.653 ****** ok: [managed_node2] => { "storage_volumes": [] } TASK [fedora.linux_system_roles.storage : Get required packages] *************** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:19 Friday 20 September 2024 22:49:05 -0400 (0:00:00.031) 0:00:21.685 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Enable copr repositories if needed] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:31 Friday 20 September 2024 22:49:05 -0400 (0:00:00.023) 0:00:21.708 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Make sure required packages are installed] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:37 Friday 20 September 2024 22:49:05 -0400 (0:00:00.020) 0:00:21.729 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Get service facts] ******************* task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:51 Friday 20 September 2024 22:49:05 -0400 (0:00:00.021) 0:00:21.751 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:57 Friday 20 September 2024 22:49:05 -0400 (0:00:00.046) 0:00:21.797 ****** ok: [managed_node2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:63 Friday 20 September 2024 22:49:05 -0400 (0:00:00.032) 0:00:21.830 ****** TASK [fedora.linux_system_roles.storage : Manage the pools and volumes to match the specified state] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:69 Friday 20 September 2024 22:49:05 -0400 (0:00:00.019) 0:00:21.849 ****** fatal: [managed_node2]: 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-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:109 Friday 20 September 2024 22:49:09 -0400 (0:00:03.768) 0:00:25.618 ****** fatal: [managed_node2]: FAILED! => { "changed": false } MSG: {'msg': "invalid size specification 'xyz GiB' in pool 'foo'", 'changed': False, 'actions': [], 'leaves': [], 'mounts': [], 'crypts': [], 'pools': [], 'volumes': [], 'packages': [], 'failed': True, 'invocation': {'module_args': {'pools': [{'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'encryption_clevis_pin': None, 'encryption_tang_url': None, 'encryption_tang_thumbprint': None, 'grow_to_fill': False, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'raid_chunk_size': None, 'shared': False, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': None, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': None, 'fs_label': None, 'fs_type': None, 'mount_options': None, 'mount_point': '/opt/test1', 'mount_user': None, 'mount_group': None, 'mount_mode': None, 'name': 'test1', 'raid_level': None, 'size': 'xyz GiB', 'state': 'present', 'type': None, 'cached': None, 'cache_devices': [], 'cache_mode': None, 'cache_size': None, 'compression': None, 'deduplication': None, 'raid_disks': [], 'raid_stripe_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None}]}], 'volumes': [], 'use_partitions': None, 'disklabel_type': None, 'pool_defaults': {'state': 'present', 'type': 'lvm', 'disks': [], 'volumes': [], 'grow_to_fill': False, 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, 'shared': False}, 'volume_defaults': {'state': 'present', 'type': 'lvm', 'size': 0, 'disks': [], 'fs_type': 'xfs', 'fs_label': '', 'fs_create_options': '', 'fs_overwrite_existing': True, 'mount_point': '', 'mount_options': 'defaults', 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_stripe_size': None, 'raid_metadata_version': None, 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': []}, 'safe_mode': True, 'packages_only': False, 'diskvolume_mkfs_option_map': {}}}, '_ansible_no_log': False} TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:113 Friday 20 September 2024 22:49:09 -0400 (0:00:00.026) 0:00:25.644 ****** TASK [Check that we failed in the role] **************************************** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:23 Friday 20 September 2024 22:49:09 -0400 (0:00:00.018) 0:00:25.662 ****** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify the blivet output and error message are correct] ****************** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:28 Friday 20 September 2024 22:49:09 -0400 (0:00:00.022) 0:00:25.685 ****** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify correct exception or error message] ******************************* task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:39 Friday 20 September 2024 22:49:09 -0400 (0:00:00.029) 0:00:25.714 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Test for correct handling of missing disk specification.] **************** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/tests/storage/tests_lvm_errors.yml:63 Friday 20 September 2024 22:49:09 -0400 (0:00:00.027) 0:00:25.742 ****** included: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml for managed_node2 TASK [Store global variable value copy] **************************************** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:4 Friday 20 September 2024 22:49:09 -0400 (0:00:00.042) 0:00:25.785 ****** ok: [managed_node2] => { "ansible_facts": { "storage_pools_global": [], "storage_safe_mode_global": true, "storage_volumes_global": [] }, "changed": false } TASK [Verify role raises correct error] **************************************** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:10 Friday 20 September 2024 22:49:09 -0400 (0:00:00.035) 0:00:25.820 ****** TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Friday 20 September 2024 22:49:09 -0400 (0:00:00.042) 0:00:25.863 ****** included: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for managed_node2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Friday 20 September 2024 22:49:09 -0400 (0:00:00.046) 0:00:25.910 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Friday 20 September 2024 22:49:09 -0400 (0:00:00.032) 0:00:25.943 ****** skipping: [managed_node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed_node2] => (item=CentOS_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs", "stratisd", "stratis-cli", "{{ 'libblockdev-s390' if ansible_architecture == 's390x' else 'libblockdev' }}" ] }, "ansible_included_var_files": [ "/tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [managed_node2] => (item=CentOS_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs", "stratisd", "stratis-cli", "{{ 'libblockdev-s390' if ansible_architecture == 's390x' else 'libblockdev' }}" ] }, "ansible_included_var_files": [ "/tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [fedora.linux_system_roles.storage : Check if system is ostree] *********** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:25 Friday 20 September 2024 22:49:09 -0400 (0:00:00.058) 0:00:26.002 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set flag to indicate system is ostree] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:30 Friday 20 September 2024 22:49:10 -0400 (0:00:00.028) 0:00:26.030 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Define an empty list of pools to be used in testing] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Friday 20 September 2024 22:49:10 -0400 (0:00:00.025) 0:00:26.055 ****** ok: [managed_node2] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Define an empty list of volumes to be used in testing] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Friday 20 September 2024 22:49:10 -0400 (0:00:00.031) 0:00:26.086 ****** ok: [managed_node2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Include the appropriate provider tasks] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Friday 20 September 2024 22:49:10 -0400 (0:00:00.023) 0:00:26.110 ****** included: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for managed_node2 TASK [fedora.linux_system_roles.storage : Make sure blivet is available] ******* task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Friday 20 September 2024 22:49:10 -0400 (0:00:00.049) 0:00:26.160 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Show storage_pools] ****************** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:9 Friday 20 September 2024 22:49:10 -0400 (0:00:00.021) 0:00:26.182 ****** ok: [managed_node2] => { "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-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:14 Friday 20 September 2024 22:49:10 -0400 (0:00:00.025) 0:00:26.208 ****** ok: [managed_node2] => { "storage_volumes": [] } TASK [fedora.linux_system_roles.storage : Get required packages] *************** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:19 Friday 20 September 2024 22:49:10 -0400 (0:00:00.025) 0:00:26.233 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Enable copr repositories if needed] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:31 Friday 20 September 2024 22:49:10 -0400 (0:00:00.020) 0:00:26.254 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Make sure required packages are installed] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:37 Friday 20 September 2024 22:49:10 -0400 (0:00:00.020) 0:00:26.274 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Get service facts] ******************* task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:51 Friday 20 September 2024 22:49:10 -0400 (0:00:00.033) 0:00:26.308 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:57 Friday 20 September 2024 22:49:10 -0400 (0:00:00.048) 0:00:26.356 ****** ok: [managed_node2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:63 Friday 20 September 2024 22:49:10 -0400 (0:00:00.033) 0:00:26.390 ****** TASK [fedora.linux_system_roles.storage : Manage the pools and volumes to match the specified state] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:69 Friday 20 September 2024 22:49:10 -0400 (0:00:00.018) 0:00:26.409 ****** fatal: [managed_node2]: 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-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:109 Friday 20 September 2024 22:49:14 -0400 (0:00:03.889) 0:00:30.298 ****** fatal: [managed_node2]: FAILED! => { "changed": false } MSG: {'msg': "no disks specified for pool 'foo'", 'changed': False, 'actions': [], 'leaves': [], 'mounts': [], 'crypts': [], 'pools': [], 'volumes': [], 'packages': [], 'failed': True, 'invocation': {'module_args': {'pools': [{'disks': [], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'encryption_clevis_pin': None, 'encryption_tang_url': None, 'encryption_tang_thumbprint': None, 'grow_to_fill': False, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'raid_chunk_size': None, 'shared': False, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': None, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': None, 'fs_label': None, 'fs_type': None, 'mount_options': None, 'mount_point': '/opt/test1', 'mount_user': None, 'mount_group': None, 'mount_mode': None, 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': None, 'cached': None, 'cache_devices': [], 'cache_mode': None, 'cache_size': None, 'compression': None, 'deduplication': None, 'raid_disks': [], 'raid_stripe_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None}]}], 'volumes': [], 'use_partitions': None, 'disklabel_type': None, 'pool_defaults': {'state': 'present', 'type': 'lvm', 'disks': [], 'volumes': [], 'grow_to_fill': False, 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, 'shared': False}, 'volume_defaults': {'state': 'present', 'type': 'lvm', 'size': 0, 'disks': [], 'fs_type': 'xfs', 'fs_label': '', 'fs_create_options': '', 'fs_overwrite_existing': True, 'mount_point': '', 'mount_options': 'defaults', 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_stripe_size': None, 'raid_metadata_version': None, 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': []}, 'safe_mode': True, 'packages_only': False, 'diskvolume_mkfs_option_map': {}}}, '_ansible_no_log': False} TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:113 Friday 20 September 2024 22:49:14 -0400 (0:00:00.027) 0:00:30.326 ****** TASK [Check that we failed in the role] **************************************** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:23 Friday 20 September 2024 22:49:14 -0400 (0:00:00.018) 0:00:30.345 ****** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify the blivet output and error message are correct] ****************** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:28 Friday 20 September 2024 22:49:14 -0400 (0:00:00.024) 0:00:30.369 ****** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify correct exception or error message] ******************************* task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:39 Friday 20 September 2024 22:49:14 -0400 (0:00:00.045) 0:00:30.414 ****** skipping: [managed_node2] => { "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-6ei/ansible_collections/fedora/linux_system_roles/tests/storage/tests_lvm_errors.yml:77 Friday 20 September 2024 22:49:14 -0400 (0:00:00.038) 0:00:30.453 ****** included: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml for managed_node2 TASK [Store global variable value copy] **************************************** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:4 Friday 20 September 2024 22:49:14 -0400 (0:00:00.036) 0:00:30.489 ****** ok: [managed_node2] => { "ansible_facts": { "storage_pools_global": [], "storage_safe_mode_global": true, "storage_volumes_global": [] }, "changed": false } TASK [Verify role raises correct error] **************************************** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:10 Friday 20 September 2024 22:49:14 -0400 (0:00:00.025) 0:00:30.515 ****** TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Friday 20 September 2024 22:49:14 -0400 (0:00:00.027) 0:00:30.542 ****** included: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for managed_node2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Friday 20 September 2024 22:49:14 -0400 (0:00:00.030) 0:00:30.572 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Friday 20 September 2024 22:49:14 -0400 (0:00:00.023) 0:00:30.596 ****** skipping: [managed_node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed_node2] => (item=CentOS_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs", "stratisd", "stratis-cli", "{{ 'libblockdev-s390' if ansible_architecture == 's390x' else 'libblockdev' }}" ] }, "ansible_included_var_files": [ "/tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [managed_node2] => (item=CentOS_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs", "stratisd", "stratis-cli", "{{ 'libblockdev-s390' if ansible_architecture == 's390x' else 'libblockdev' }}" ] }, "ansible_included_var_files": [ "/tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [fedora.linux_system_roles.storage : Check if system is ostree] *********** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:25 Friday 20 September 2024 22:49:14 -0400 (0:00:00.052) 0:00:30.648 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set flag to indicate system is ostree] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:30 Friday 20 September 2024 22:49:14 -0400 (0:00:00.020) 0:00:30.669 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Define an empty list of pools to be used in testing] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Friday 20 September 2024 22:49:14 -0400 (0:00:00.020) 0:00:30.690 ****** ok: [managed_node2] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Define an empty list of volumes to be used in testing] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Friday 20 September 2024 22:49:14 -0400 (0:00:00.021) 0:00:30.712 ****** ok: [managed_node2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Include the appropriate provider tasks] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Friday 20 September 2024 22:49:14 -0400 (0:00:00.018) 0:00:30.730 ****** included: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for managed_node2 TASK [fedora.linux_system_roles.storage : Make sure blivet is available] ******* task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Friday 20 September 2024 22:49:14 -0400 (0:00:00.047) 0:00:30.778 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Show storage_pools] ****************** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:9 Friday 20 September 2024 22:49:14 -0400 (0:00:00.022) 0:00:30.800 ****** ok: [managed_node2] => { "storage_pools": [] } TASK [fedora.linux_system_roles.storage : Show storage_volumes] **************** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:14 Friday 20 September 2024 22:49:14 -0400 (0:00:00.025) 0:00:30.826 ****** ok: [managed_node2] => { "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-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:19 Friday 20 September 2024 22:49:14 -0400 (0:00:00.024) 0:00:30.851 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Enable copr repositories if needed] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:31 Friday 20 September 2024 22:49:14 -0400 (0:00:00.020) 0:00:30.871 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Make sure required packages are installed] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:37 Friday 20 September 2024 22:49:14 -0400 (0:00:00.021) 0:00:30.892 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Get service facts] ******************* task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:51 Friday 20 September 2024 22:49:14 -0400 (0:00:00.021) 0:00:30.914 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:57 Friday 20 September 2024 22:49:14 -0400 (0:00:00.022) 0:00:30.937 ****** ok: [managed_node2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:63 Friday 20 September 2024 22:49:14 -0400 (0:00:00.032) 0:00:30.969 ****** TASK [fedora.linux_system_roles.storage : Manage the pools and volumes to match the specified state] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:69 Friday 20 September 2024 22:49:14 -0400 (0:00:00.019) 0:00:30.988 ****** An exception occurred during task execution. To see the full traceback, use -vvv. The error was: AttributeError: 'NoneType' object has no attribute '_device' fatal: [managed_node2]: FAILED! => { "changed": false, "rc": 1 } MSG: MODULE FAILURE See stdout/stderr for the exact error MODULE_STDOUT: Traceback (most recent call last): File "/root/.ansible/tmp/ansible-tmp-1726886955.015596-125577-146050733510258/AnsiballZ_blivet.py", line 102, in _ansiballz_main() File "/root/.ansible/tmp/ansible-tmp-1726886955.015596-125577-146050733510258/AnsiballZ_blivet.py", line 94, in _ansiballz_main invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS) File "/root/.ansible/tmp/ansible-tmp-1726886955.015596-125577-146050733510258/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/python3.6/runpy.py", line 205, in run_module return _run_module_code(code, init_globals, run_name, mod_spec) File "/usr/lib64/python3.6/runpy.py", line 96, in _run_module_code mod_name, mod_spec, pkg_name, script_name) File "/usr/lib64/python3.6/runpy.py", line 85, in _run_code exec(code, run_globals) File "/tmp/ansible_fedora.linux_system_roles.blivet_payload_oe2yzuts/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_oe2yzuts/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_oe2yzuts/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_oe2yzuts/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_oe2yzuts/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_oe2yzuts/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_oe2yzuts/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.14.132 closed. TASK [fedora.linux_system_roles.storage : Failed message] ********************** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:109 Friday 20 September 2024 22:49:18 -0400 (0:00:03.996) 0:00:34.985 ****** fatal: [managed_node2]: FAILED! => { "changed": false } MSG: {'failed': True, 'module_stdout': 'Traceback (most recent call last):\r\n File "/root/.ansible/tmp/ansible-tmp-1726886955.015596-125577-146050733510258/AnsiballZ_blivet.py", line 102, in \r\n _ansiballz_main()\r\n File "/root/.ansible/tmp/ansible-tmp-1726886955.015596-125577-146050733510258/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-1726886955.015596-125577-146050733510258/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/python3.6/runpy.py", line 205, in run_module\r\n return _run_module_code(code, init_globals, run_name, mod_spec)\r\n File "/usr/lib64/python3.6/runpy.py", line 96, in _run_module_code\r\n mod_name, mod_spec, pkg_name, script_name)\r\n File "/usr/lib64/python3.6/runpy.py", line 85, in _run_code\r\n exec(code, run_globals)\r\n File "/tmp/ansible_fedora.linux_system_roles.blivet_payload_oe2yzuts/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_oe2yzuts/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_oe2yzuts/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_oe2yzuts/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_oe2yzuts/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_oe2yzuts/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_oe2yzuts/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', 'module_stderr': 'Shared connection to 10.31.14.132 closed.\r\n', 'exception': 'Traceback (most recent call last):\r\n File "/root/.ansible/tmp/ansible-tmp-1726886955.015596-125577-146050733510258/AnsiballZ_blivet.py", line 102, in \r\n _ansiballz_main()\r\n File "/root/.ansible/tmp/ansible-tmp-1726886955.015596-125577-146050733510258/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-1726886955.015596-125577-146050733510258/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/python3.6/runpy.py", line 205, in run_module\r\n return _run_module_code(code, init_globals, run_name, mod_spec)\r\n File "/usr/lib64/python3.6/runpy.py", line 96, in _run_module_code\r\n mod_name, mod_spec, pkg_name, script_name)\r\n File "/usr/lib64/python3.6/runpy.py", line 85, in _run_code\r\n exec(code, run_globals)\r\n File "/tmp/ansible_fedora.linux_system_roles.blivet_payload_oe2yzuts/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_oe2yzuts/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_oe2yzuts/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_oe2yzuts/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_oe2yzuts/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_oe2yzuts/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_oe2yzuts/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', 'msg': 'MODULE FAILURE\nSee stdout/stderr for the exact error', 'rc': 1, '_ansible_no_log': False, 'changed': False} TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:113 Friday 20 September 2024 22:49:18 -0400 (0:00:00.023) 0:00:35.009 ****** TASK [Check that we failed in the role] **************************************** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:23 Friday 20 September 2024 22:49:19 -0400 (0:00:00.019) 0:00:35.029 ****** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify the blivet output and error message are correct] ****************** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:28 Friday 20 September 2024 22:49:19 -0400 (0:00:00.023) 0:00:35.052 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify correct exception or error message] ******************************* task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:39 Friday 20 September 2024 22:49:19 -0400 (0:00:00.020) 0:00:35.073 ****** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Test for correct handling of duplicate pool names] *********************** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/tests/storage/tests_lvm_errors.yml:90 Friday 20 September 2024 22:49:19 -0400 (0:00:00.032) 0:00:35.105 ****** included: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml for managed_node2 TASK [Store global variable value copy] **************************************** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:4 Friday 20 September 2024 22:49:19 -0400 (0:00:00.038) 0:00:35.143 ****** ok: [managed_node2] => { "ansible_facts": { "storage_pools_global": [], "storage_safe_mode_global": true, "storage_volumes_global": [] }, "changed": false } TASK [Verify role raises correct error] **************************************** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:10 Friday 20 September 2024 22:49:19 -0400 (0:00:00.026) 0:00:35.170 ****** TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Friday 20 September 2024 22:49:19 -0400 (0:00:00.028) 0:00:35.198 ****** included: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for managed_node2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Friday 20 September 2024 22:49:19 -0400 (0:00:00.062) 0:00:35.261 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Friday 20 September 2024 22:49:19 -0400 (0:00:00.024) 0:00:35.285 ****** skipping: [managed_node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed_node2] => (item=CentOS_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs", "stratisd", "stratis-cli", "{{ 'libblockdev-s390' if ansible_architecture == 's390x' else 'libblockdev' }}" ] }, "ansible_included_var_files": [ "/tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [managed_node2] => (item=CentOS_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs", "stratisd", "stratis-cli", "{{ 'libblockdev-s390' if ansible_architecture == 's390x' else 'libblockdev' }}" ] }, "ansible_included_var_files": [ "/tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [fedora.linux_system_roles.storage : Check if system is ostree] *********** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:25 Friday 20 September 2024 22:49:19 -0400 (0:00:00.055) 0:00:35.340 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set flag to indicate system is ostree] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:30 Friday 20 September 2024 22:49:19 -0400 (0:00:00.021) 0:00:35.362 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Define an empty list of pools to be used in testing] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Friday 20 September 2024 22:49:19 -0400 (0:00:00.022) 0:00:35.385 ****** ok: [managed_node2] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Define an empty list of volumes to be used in testing] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Friday 20 September 2024 22:49:19 -0400 (0:00:00.020) 0:00:35.405 ****** ok: [managed_node2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Include the appropriate provider tasks] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Friday 20 September 2024 22:49:19 -0400 (0:00:00.020) 0:00:35.426 ****** included: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for managed_node2 TASK [fedora.linux_system_roles.storage : Make sure blivet is available] ******* task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Friday 20 September 2024 22:49:19 -0400 (0:00:00.052) 0:00:35.478 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Show storage_pools] ****************** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:9 Friday 20 September 2024 22:49:19 -0400 (0:00:00.028) 0:00:35.507 ****** ok: [managed_node2] => { "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-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:14 Friday 20 September 2024 22:49:19 -0400 (0:00:00.025) 0:00:35.533 ****** ok: [managed_node2] => { "storage_volumes": [] } TASK [fedora.linux_system_roles.storage : Get required packages] *************** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:19 Friday 20 September 2024 22:49:19 -0400 (0:00:00.024) 0:00:35.557 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Enable copr repositories if needed] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:31 Friday 20 September 2024 22:49:19 -0400 (0:00:00.021) 0:00:35.578 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Make sure required packages are installed] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:37 Friday 20 September 2024 22:49:19 -0400 (0:00:00.020) 0:00:35.599 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Get service facts] ******************* task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:51 Friday 20 September 2024 22:49:19 -0400 (0:00:00.023) 0:00:35.623 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:57 Friday 20 September 2024 22:49:19 -0400 (0:00:00.020) 0:00:35.644 ****** ok: [managed_node2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:63 Friday 20 September 2024 22:49:19 -0400 (0:00:00.032) 0:00:35.676 ****** TASK [fedora.linux_system_roles.storage : Manage the pools and volumes to match the specified state] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:69 Friday 20 September 2024 22:49:19 -0400 (0:00:00.019) 0:00:35.696 ****** fatal: [managed_node2]: 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-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:109 Friday 20 September 2024 22:49:23 -0400 (0:00:04.070) 0:00:39.766 ****** fatal: [managed_node2]: FAILED! => { "changed": false } MSG: {'msg': 'multiple pools with the same name: pool1', 'changed': False, 'actions': [], 'leaves': [], 'mounts': [], 'crypts': [], 'pools': [], 'volumes': [], 'packages': [], 'failed': True, 'invocation': {'module_args': {'pools': [{'disks': ['sda'], 'encryption': None, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'encryption_clevis_pin': None, 'encryption_tang_url': None, 'encryption_tang_thumbprint': None, 'grow_to_fill': None, 'name': 'pool1', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'raid_chunk_size': None, 'shared': None, 'state': 'present', 'type': 'lvm', 'volumes': []}, {'disks': ['sda'], 'encryption': None, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'encryption_clevis_pin': None, 'encryption_tang_url': None, 'encryption_tang_thumbprint': None, 'grow_to_fill': None, 'name': 'pool1', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'raid_chunk_size': None, 'shared': None, 'state': 'present', 'type': 'lvm', 'volumes': []}], 'volumes': [], 'use_partitions': None, 'disklabel_type': None, 'pool_defaults': {'state': 'present', 'type': 'lvm', 'disks': [], 'volumes': [], 'grow_to_fill': False, 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, 'shared': False}, 'volume_defaults': {'state': 'present', 'type': 'lvm', 'size': 0, 'disks': [], 'fs_type': 'xfs', 'fs_label': '', 'fs_create_options': '', 'fs_overwrite_existing': True, 'mount_point': '', 'mount_options': 'defaults', 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_stripe_size': None, 'raid_metadata_version': None, 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': []}, 'safe_mode': True, 'packages_only': False, 'diskvolume_mkfs_option_map': {}}}, '_ansible_no_log': False} TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:113 Friday 20 September 2024 22:49:23 -0400 (0:00:00.032) 0:00:39.798 ****** TASK [Check that we failed in the role] **************************************** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:23 Friday 20 September 2024 22:49:23 -0400 (0:00:00.019) 0:00:39.818 ****** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify the blivet output and error message are correct] ****************** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:28 Friday 20 September 2024 22:49:23 -0400 (0:00:00.024) 0:00:39.843 ****** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify correct exception or error message] ******************************* task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:39 Friday 20 September 2024 22:49:23 -0400 (0:00:00.031) 0:00:39.874 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Test for correct handling of duplicate volume names within a pool] ******* task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/tests/storage/tests_lvm_errors.yml:105 Friday 20 September 2024 22:49:23 -0400 (0:00:00.021) 0:00:39.895 ****** included: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml for managed_node2 TASK [Store global variable value copy] **************************************** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:4 Friday 20 September 2024 22:49:23 -0400 (0:00:00.039) 0:00:39.935 ****** ok: [managed_node2] => { "ansible_facts": { "storage_pools_global": [], "storage_safe_mode_global": true, "storage_volumes_global": [] }, "changed": false } TASK [Verify role raises correct error] **************************************** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:10 Friday 20 September 2024 22:49:23 -0400 (0:00:00.027) 0:00:39.963 ****** TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Friday 20 September 2024 22:49:23 -0400 (0:00:00.033) 0:00:39.996 ****** included: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for managed_node2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Friday 20 September 2024 22:49:24 -0400 (0:00:00.044) 0:00:40.040 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Friday 20 September 2024 22:49:24 -0400 (0:00:00.028) 0:00:40.069 ****** skipping: [managed_node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed_node2] => (item=CentOS_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs", "stratisd", "stratis-cli", "{{ 'libblockdev-s390' if ansible_architecture == 's390x' else 'libblockdev' }}" ] }, "ansible_included_var_files": [ "/tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [managed_node2] => (item=CentOS_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs", "stratisd", "stratis-cli", "{{ 'libblockdev-s390' if ansible_architecture == 's390x' else 'libblockdev' }}" ] }, "ansible_included_var_files": [ "/tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [fedora.linux_system_roles.storage : Check if system is ostree] *********** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:25 Friday 20 September 2024 22:49:24 -0400 (0:00:00.061) 0:00:40.131 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set flag to indicate system is ostree] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:30 Friday 20 September 2024 22:49:24 -0400 (0:00:00.025) 0:00:40.156 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Define an empty list of pools to be used in testing] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Friday 20 September 2024 22:49:24 -0400 (0:00:00.025) 0:00:40.182 ****** ok: [managed_node2] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Define an empty list of volumes to be used in testing] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Friday 20 September 2024 22:49:24 -0400 (0:00:00.026) 0:00:40.208 ****** ok: [managed_node2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Include the appropriate provider tasks] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Friday 20 September 2024 22:49:24 -0400 (0:00:00.051) 0:00:40.260 ****** included: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for managed_node2 TASK [fedora.linux_system_roles.storage : Make sure blivet is available] ******* task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Friday 20 September 2024 22:49:24 -0400 (0:00:00.048) 0:00:40.309 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Show storage_pools] ****************** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:9 Friday 20 September 2024 22:49:24 -0400 (0:00:00.021) 0:00:40.330 ****** ok: [managed_node2] => { "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-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:14 Friday 20 September 2024 22:49:24 -0400 (0:00:00.030) 0:00:40.361 ****** ok: [managed_node2] => { "storage_volumes": [] } TASK [fedora.linux_system_roles.storage : Get required packages] *************** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:19 Friday 20 September 2024 22:49:24 -0400 (0:00:00.035) 0:00:40.396 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Enable copr repositories if needed] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:31 Friday 20 September 2024 22:49:24 -0400 (0:00:00.023) 0:00:40.419 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Make sure required packages are installed] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:37 Friday 20 September 2024 22:49:24 -0400 (0:00:00.031) 0:00:40.450 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Get service facts] ******************* task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:51 Friday 20 September 2024 22:49:24 -0400 (0:00:00.032) 0:00:40.483 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:57 Friday 20 September 2024 22:49:24 -0400 (0:00:00.024) 0:00:40.507 ****** ok: [managed_node2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:63 Friday 20 September 2024 22:49:24 -0400 (0:00:00.044) 0:00:40.552 ****** TASK [fedora.linux_system_roles.storage : Manage the pools and volumes to match the specified state] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:69 Friday 20 September 2024 22:49:24 -0400 (0:00:00.021) 0:00:40.573 ****** fatal: [managed_node2]: 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-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:109 Friday 20 September 2024 22:49:28 -0400 (0:00:04.111) 0:00:44.685 ****** fatal: [managed_node2]: FAILED! => { "changed": false } MSG: {'msg': "multiple volumes in pool 'pool1' with the same name: test1", 'changed': False, 'actions': [], 'leaves': [], 'mounts': [], 'crypts': [], 'pools': [], 'volumes': [], 'packages': [], 'failed': True, 'invocation': {'module_args': {'pools': [{'disks': ['sda'], 'encryption': None, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'encryption_clevis_pin': None, 'encryption_tang_url': None, 'encryption_tang_thumbprint': None, 'grow_to_fill': None, 'name': 'pool1', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'raid_chunk_size': None, 'shared': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': None, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': None, 'fs_label': None, 'fs_type': None, 'mount_options': None, 'mount_point': '/opt/test1', 'mount_user': None, 'mount_group': None, 'mount_mode': None, 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': None, 'cache_devices': [], 'cache_mode': None, 'cache_size': None, 'compression': None, 'deduplication': None, 'raid_disks': [], 'raid_stripe_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None}, {'encryption': None, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': None, 'fs_label': None, 'fs_type': None, 'mount_options': None, 'mount_point': '/opt/test2', 'mount_user': None, 'mount_group': None, 'mount_mode': None, 'name': 'test1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': None, 'cache_devices': [], 'cache_mode': None, 'cache_size': None, 'compression': None, 'deduplication': None, 'raid_disks': [], 'raid_stripe_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None}]}], 'volumes': [], 'use_partitions': None, 'disklabel_type': None, 'pool_defaults': {'state': 'present', 'type': 'lvm', 'disks': [], 'volumes': [], 'grow_to_fill': False, 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, 'shared': False}, 'volume_defaults': {'state': 'present', 'type': 'lvm', 'size': 0, 'disks': [], 'fs_type': 'xfs', 'fs_label': '', 'fs_create_options': '', 'fs_overwrite_existing': True, 'mount_point': '', 'mount_options': 'defaults', 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_stripe_size': None, 'raid_metadata_version': None, 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': []}, 'safe_mode': True, 'packages_only': False, 'diskvolume_mkfs_option_map': {}}}, '_ansible_no_log': False} TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:113 Friday 20 September 2024 22:49:28 -0400 (0:00:00.043) 0:00:44.729 ****** TASK [Check that we failed in the role] **************************************** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:23 Friday 20 September 2024 22:49:28 -0400 (0:00:00.040) 0:00:44.769 ****** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify the blivet output and error message are correct] ****************** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:28 Friday 20 September 2024 22:49:28 -0400 (0:00:00.038) 0:00:44.808 ****** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify correct exception or error message] ******************************* task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:39 Friday 20 September 2024 22:49:28 -0400 (0:00:00.052) 0:00:44.860 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create a pool] *********************************************************** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/tests/storage/tests_lvm_errors.yml:126 Friday 20 September 2024 22:49:28 -0400 (0:00:00.035) 0:00:44.895 ****** TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Friday 20 September 2024 22:49:28 -0400 (0:00:00.084) 0:00:44.980 ****** included: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for managed_node2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Friday 20 September 2024 22:49:29 -0400 (0:00:00.050) 0:00:45.030 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Friday 20 September 2024 22:49:29 -0400 (0:00:00.037) 0:00:45.068 ****** skipping: [managed_node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed_node2] => (item=CentOS_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs", "stratisd", "stratis-cli", "{{ 'libblockdev-s390' if ansible_architecture == 's390x' else 'libblockdev' }}" ] }, "ansible_included_var_files": [ "/tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [managed_node2] => (item=CentOS_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs", "stratisd", "stratis-cli", "{{ 'libblockdev-s390' if ansible_architecture == 's390x' else 'libblockdev' }}" ] }, "ansible_included_var_files": [ "/tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [fedora.linux_system_roles.storage : Check if system is ostree] *********** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:25 Friday 20 September 2024 22:49:29 -0400 (0:00:00.080) 0:00:45.149 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set flag to indicate system is ostree] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:30 Friday 20 September 2024 22:49:29 -0400 (0:00:00.031) 0:00:45.181 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Define an empty list of pools to be used in testing] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Friday 20 September 2024 22:49:29 -0400 (0:00:00.032) 0:00:45.213 ****** ok: [managed_node2] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Define an empty list of volumes to be used in testing] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Friday 20 September 2024 22:49:29 -0400 (0:00:00.034) 0:00:45.248 ****** ok: [managed_node2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Include the appropriate provider tasks] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Friday 20 September 2024 22:49:29 -0400 (0:00:00.030) 0:00:45.279 ****** included: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for managed_node2 TASK [fedora.linux_system_roles.storage : Make sure blivet is available] ******* task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Friday 20 September 2024 22:49:29 -0400 (0:00:00.073) 0:00:45.352 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Show storage_pools] ****************** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:9 Friday 20 September 2024 22:49:29 -0400 (0:00:00.032) 0:00:45.385 ****** ok: [managed_node2] => { "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-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:14 Friday 20 September 2024 22:49:29 -0400 (0:00:00.083) 0:00:45.468 ****** ok: [managed_node2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : Get required packages] *************** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:19 Friday 20 September 2024 22:49:29 -0400 (0:00:00.035) 0:00:45.503 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Enable copr repositories if needed] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:31 Friday 20 September 2024 22:49:29 -0400 (0:00:00.032) 0:00:45.536 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Make sure required packages are installed] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:37 Friday 20 September 2024 22:49:29 -0400 (0:00:00.031) 0:00:45.568 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Get service facts] ******************* task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:51 Friday 20 September 2024 22:49:29 -0400 (0:00:00.032) 0:00:45.600 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:57 Friday 20 September 2024 22:49:29 -0400 (0:00:00.032) 0:00:45.633 ****** ok: [managed_node2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:63 Friday 20 September 2024 22:49:29 -0400 (0:00:00.053) 0:00:45.687 ****** TASK [fedora.linux_system_roles.storage : Manage the pools and volumes to match the specified state] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:69 Friday 20 September 2024 22:49:29 -0400 (0:00:00.029) 0:00:45.717 ****** changed: [managed_node2] => { "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": [ "xfsprogs", "lvm2", "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": "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-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:83 Friday 20 September 2024 22:49:34 -0400 (0:00:04.623) 0:00:50.340 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Check if /etc/fstab is present] ****** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Friday 20 September 2024 22:49:34 -0400 (0:00:00.021) 0:00:50.362 ****** ok: [managed_node2] => { "changed": false, "stat": { "atime": 1726886754.6247222, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "ab8070345774adad92683e9645714452be7be474", "ctime": 1726886754.1137192, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 278921456, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1726886754.1137192, "nlink": 1, "path": "/etc/fstab", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 1343, "uid": 0, "version": "549583310", "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-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:95 Friday 20 September 2024 22:49:34 -0400 (0:00:00.394) 0:00:50.756 ****** ok: [managed_node2] => { "backup": "", "changed": false } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:113 Friday 20 September 2024 22:49:35 -0400 (0:00:00.627) 0:00:51.383 ****** TASK [fedora.linux_system_roles.storage : Show blivet_output] ****************** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:119 Friday 20 September 2024 22:49:35 -0400 (0:00:00.032) 0:00:51.416 ****** ok: [managed_node2] => { "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": [ "xfsprogs", "lvm2", "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": "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-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:128 Friday 20 September 2024 22:49:35 -0400 (0:00:00.042) 0:00:51.459 ****** ok: [managed_node2] => { "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-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Friday 20 September 2024 22:49:35 -0400 (0:00:00.045) 0:00:51.504 ****** ok: [managed_node2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Remove obsolete mounts] ************** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Friday 20 September 2024 22:49:35 -0400 (0:00:00.042) 0:00:51.546 ****** TASK [fedora.linux_system_roles.storage : Tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:159 Friday 20 September 2024 22:49:35 -0400 (0:00:00.031) 0:00:51.577 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set up new/current mounts] *********** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:164 Friday 20 September 2024 22:49:35 -0400 (0:00:00.031) 0:00:51.608 ****** TASK [fedora.linux_system_roles.storage : Manage mount ownership/permissions] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:175 Friday 20 September 2024 22:49:35 -0400 (0:00:00.032) 0:00:51.641 ****** TASK [fedora.linux_system_roles.storage : Tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:187 Friday 20 September 2024 22:49:35 -0400 (0:00:00.041) 0:00:51.682 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Retrieve facts for the /etc/crypttab file] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:195 Friday 20 September 2024 22:49:35 -0400 (0:00:00.030) 0:00:51.713 ****** ok: [managed_node2] => { "changed": false, "stat": { "atime": 1726886758.452745, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1726886756.281732, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 883897, "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": 1726886756.281732, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "567611302", "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-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:200 Friday 20 September 2024 22:49:36 -0400 (0:00:00.374) 0:00:52.088 ****** TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:222 Friday 20 September 2024 22:49:36 -0400 (0:00:00.026) 0:00:52.114 ****** ok: [managed_node2] TASK [Test for correct handling of safe_mode] ********************************** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/tests/storage/tests_lvm_errors.yml:139 Friday 20 September 2024 22:49:36 -0400 (0:00:00.752) 0:00:52.867 ****** included: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml for managed_node2 TASK [Store global variable value copy] **************************************** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:4 Friday 20 September 2024 22:49:36 -0400 (0:00:00.050) 0:00:52.917 ****** ok: [managed_node2] => { "ansible_facts": { "storage_pools_global": [], "storage_safe_mode_global": true, "storage_volumes_global": [] }, "changed": false } TASK [Verify role raises correct error] **************************************** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:10 Friday 20 September 2024 22:49:36 -0400 (0:00:00.031) 0:00:52.949 ****** TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Friday 20 September 2024 22:49:36 -0400 (0:00:00.037) 0:00:52.986 ****** included: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for managed_node2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Friday 20 September 2024 22:49:37 -0400 (0:00:00.056) 0:00:53.043 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Friday 20 September 2024 22:49:37 -0400 (0:00:00.038) 0:00:53.082 ****** skipping: [managed_node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed_node2] => (item=CentOS_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs", "stratisd", "stratis-cli", "{{ 'libblockdev-s390' if ansible_architecture == 's390x' else 'libblockdev' }}" ] }, "ansible_included_var_files": [ "/tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [managed_node2] => (item=CentOS_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs", "stratisd", "stratis-cli", "{{ 'libblockdev-s390' if ansible_architecture == 's390x' else 'libblockdev' }}" ] }, "ansible_included_var_files": [ "/tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [fedora.linux_system_roles.storage : Check if system is ostree] *********** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:25 Friday 20 September 2024 22:49:37 -0400 (0:00:00.064) 0:00:53.147 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set flag to indicate system is ostree] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:30 Friday 20 September 2024 22:49:37 -0400 (0:00:00.026) 0:00:53.173 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Define an empty list of pools to be used in testing] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Friday 20 September 2024 22:49:37 -0400 (0:00:00.086) 0:00:53.259 ****** ok: [managed_node2] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Define an empty list of volumes to be used in testing] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Friday 20 September 2024 22:49:37 -0400 (0:00:00.039) 0:00:53.299 ****** ok: [managed_node2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Include the appropriate provider tasks] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Friday 20 September 2024 22:49:37 -0400 (0:00:00.044) 0:00:53.344 ****** included: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for managed_node2 TASK [fedora.linux_system_roles.storage : Make sure blivet is available] ******* task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Friday 20 September 2024 22:49:37 -0400 (0:00:00.078) 0:00:53.423 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Show storage_pools] ****************** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:9 Friday 20 September 2024 22:49:37 -0400 (0:00:00.032) 0:00:53.455 ****** ok: [managed_node2] => { "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-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:14 Friday 20 September 2024 22:49:37 -0400 (0:00:00.040) 0:00:53.496 ****** ok: [managed_node2] => { "storage_volumes": [] } TASK [fedora.linux_system_roles.storage : Get required packages] *************** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:19 Friday 20 September 2024 22:49:37 -0400 (0:00:00.039) 0:00:53.535 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Enable copr repositories if needed] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:31 Friday 20 September 2024 22:49:37 -0400 (0:00:00.032) 0:00:53.568 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Make sure required packages are installed] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:37 Friday 20 September 2024 22:49:37 -0400 (0:00:00.031) 0:00:53.599 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Get service facts] ******************* task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:51 Friday 20 September 2024 22:49:37 -0400 (0:00:00.036) 0:00:53.635 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:57 Friday 20 September 2024 22:49:37 -0400 (0:00:00.034) 0:00:53.670 ****** ok: [managed_node2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:63 Friday 20 September 2024 22:49:37 -0400 (0:00:00.045) 0:00:53.715 ****** TASK [fedora.linux_system_roles.storage : Manage the pools and volumes to match the specified state] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:69 Friday 20 September 2024 22:49:37 -0400 (0:00:00.033) 0:00:53.749 ****** fatal: [managed_node2]: 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-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:109 Friday 20 September 2024 22:49:41 -0400 (0:00:04.098) 0:00:57.848 ****** fatal: [managed_node2]: FAILED! => { "changed": false } MSG: {'msg': "cannot remove existing formatting on volume 'testvol1' in safe mode", 'changed': False, 'actions': [], 'leaves': [], 'mounts': [], 'crypts': [], 'pools': [], 'volumes': [], 'packages': [], 'failed': True, 'invocation': {'module_args': {'pools': [{'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'encryption_clevis_pin': None, 'encryption_tang_url': None, 'encryption_tang_thumbprint': None, 'grow_to_fill': False, 'name': 'testpool1', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'raid_chunk_size': None, 'shared': False, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': None, 'mount_user': None, 'mount_group': None, 'mount_mode': None, 'name': 'testvol1', 'raid_level': None, 'size': '1g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'raid_stripe_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None}]}], 'volumes': [], 'use_partitions': None, 'disklabel_type': None, 'pool_defaults': {'state': 'present', 'type': 'lvm', 'disks': [], 'volumes': [], 'grow_to_fill': False, 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, 'shared': False}, 'volume_defaults': {'state': 'present', 'type': 'lvm', 'size': 0, 'disks': [], 'fs_type': 'xfs', 'fs_label': '', 'fs_create_options': '', 'fs_overwrite_existing': True, 'mount_point': '', 'mount_options': 'defaults', 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_stripe_size': None, 'raid_metadata_version': None, 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': []}, 'safe_mode': True, 'packages_only': False, 'diskvolume_mkfs_option_map': {}}}, '_ansible_no_log': False} TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:113 Friday 20 September 2024 22:49:41 -0400 (0:00:00.032) 0:00:57.880 ****** TASK [Check that we failed in the role] **************************************** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:23 Friday 20 September 2024 22:49:41 -0400 (0:00:00.024) 0:00:57.905 ****** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify the blivet output and error message are correct] ****************** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:28 Friday 20 September 2024 22:49:41 -0400 (0:00:00.029) 0:00:57.934 ****** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify correct exception or error message] ******************************* task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:39 Friday 20 September 2024 22:49:41 -0400 (0:00:00.041) 0:00:57.976 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Test for correct handling of safe_mode with existing pool] *************** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/tests/storage/tests_lvm_errors.yml:156 Friday 20 September 2024 22:49:41 -0400 (0:00:00.028) 0:00:58.004 ****** included: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml for managed_node2 TASK [Store global variable value copy] **************************************** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:4 Friday 20 September 2024 22:49:42 -0400 (0:00:00.065) 0:00:58.070 ****** ok: [managed_node2] => { "ansible_facts": { "storage_pools_global": [], "storage_safe_mode_global": true, "storage_volumes_global": [] }, "changed": false } TASK [Verify role raises correct error] **************************************** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:10 Friday 20 September 2024 22:49:42 -0400 (0:00:00.035) 0:00:58.105 ****** TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Friday 20 September 2024 22:49:42 -0400 (0:00:00.040) 0:00:58.146 ****** included: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for managed_node2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Friday 20 September 2024 22:49:42 -0400 (0:00:00.041) 0:00:58.187 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Friday 20 September 2024 22:49:42 -0400 (0:00:00.043) 0:00:58.231 ****** skipping: [managed_node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed_node2] => (item=CentOS_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs", "stratisd", "stratis-cli", "{{ 'libblockdev-s390' if ansible_architecture == 's390x' else 'libblockdev' }}" ] }, "ansible_included_var_files": [ "/tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [managed_node2] => (item=CentOS_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs", "stratisd", "stratis-cli", "{{ 'libblockdev-s390' if ansible_architecture == 's390x' else 'libblockdev' }}" ] }, "ansible_included_var_files": [ "/tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [fedora.linux_system_roles.storage : Check if system is ostree] *********** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:25 Friday 20 September 2024 22:49:42 -0400 (0:00:00.095) 0:00:58.326 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set flag to indicate system is ostree] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:30 Friday 20 September 2024 22:49:42 -0400 (0:00:00.036) 0:00:58.363 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Define an empty list of pools to be used in testing] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Friday 20 September 2024 22:49:42 -0400 (0:00:00.041) 0:00:58.404 ****** ok: [managed_node2] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Define an empty list of volumes to be used in testing] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Friday 20 September 2024 22:49:42 -0400 (0:00:00.031) 0:00:58.436 ****** ok: [managed_node2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Include the appropriate provider tasks] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Friday 20 September 2024 22:49:42 -0400 (0:00:00.031) 0:00:58.467 ****** included: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for managed_node2 TASK [fedora.linux_system_roles.storage : Make sure blivet is available] ******* task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Friday 20 September 2024 22:49:42 -0400 (0:00:00.097) 0:00:58.564 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Show storage_pools] ****************** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:9 Friday 20 September 2024 22:49:42 -0400 (0:00:00.025) 0:00:58.590 ****** ok: [managed_node2] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "lvm" } ] } TASK [fedora.linux_system_roles.storage : Show storage_volumes] **************** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:14 Friday 20 September 2024 22:49:42 -0400 (0:00:00.032) 0:00:58.622 ****** ok: [managed_node2] => { "storage_volumes": [] } TASK [fedora.linux_system_roles.storage : Get required packages] *************** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:19 Friday 20 September 2024 22:49:42 -0400 (0:00:00.033) 0:00:58.656 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Enable copr repositories if needed] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:31 Friday 20 September 2024 22:49:42 -0400 (0:00:00.025) 0:00:58.682 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Make sure required packages are installed] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:37 Friday 20 September 2024 22:49:42 -0400 (0:00:00.031) 0:00:58.714 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Get service facts] ******************* task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:51 Friday 20 September 2024 22:49:42 -0400 (0:00:00.040) 0:00:58.754 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:57 Friday 20 September 2024 22:49:42 -0400 (0:00:00.022) 0:00:58.777 ****** ok: [managed_node2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:63 Friday 20 September 2024 22:49:42 -0400 (0:00:00.033) 0:00:58.810 ****** TASK [fedora.linux_system_roles.storage : Manage the pools and volumes to match the specified state] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:69 Friday 20 September 2024 22:49:42 -0400 (0:00:00.019) 0:00:58.830 ****** fatal: [managed_node2]: 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-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:109 Friday 20 September 2024 22:49:46 -0400 (0:00:04.149) 0:01:02.979 ****** fatal: [managed_node2]: FAILED! => { "changed": false } MSG: {'msg': "cannot remove existing formatting (lvmpv) and/or devices on disk 'sda' (pool 'foo') in safe mode", 'changed': False, 'actions': [], 'leaves': [], 'mounts': [], 'crypts': [], 'pools': [], 'volumes': [], 'packages': [], 'failed': True, 'invocation': {'module_args': {'pools': [{'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'encryption_clevis_pin': None, 'encryption_tang_url': None, 'encryption_tang_thumbprint': None, 'grow_to_fill': False, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'raid_chunk_size': None, 'shared': False, 'state': 'present', 'type': 'lvm', 'volumes': []}], 'volumes': [], 'use_partitions': None, 'disklabel_type': None, 'pool_defaults': {'state': 'present', 'type': 'lvm', 'disks': [], 'volumes': [], 'grow_to_fill': False, 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, 'shared': False}, 'volume_defaults': {'state': 'present', 'type': 'lvm', 'size': 0, 'disks': [], 'fs_type': 'xfs', 'fs_label': '', 'fs_create_options': '', 'fs_overwrite_existing': True, 'mount_point': '', 'mount_options': 'defaults', 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_stripe_size': None, 'raid_metadata_version': None, 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': []}, 'safe_mode': True, 'packages_only': False, 'diskvolume_mkfs_option_map': {}}}, '_ansible_no_log': False} TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:113 Friday 20 September 2024 22:49:46 -0400 (0:00:00.038) 0:01:03.017 ****** TASK [Check that we failed in the role] **************************************** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:23 Friday 20 September 2024 22:49:47 -0400 (0:00:00.028) 0:01:03.046 ****** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify the blivet output and error message are correct] ****************** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:28 Friday 20 September 2024 22:49:47 -0400 (0:00:00.033) 0:01:03.080 ****** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify correct exception or error message] ******************************* task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:39 Friday 20 September 2024 22:49:47 -0400 (0:00:00.045) 0:01:03.126 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Test for correct handling of safe_mode] ********************************** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/tests/storage/tests_lvm_errors.yml:170 Friday 20 September 2024 22:49:47 -0400 (0:00:00.034) 0:01:03.161 ****** included: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml for managed_node2 TASK [Store global variable value copy] **************************************** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:4 Friday 20 September 2024 22:49:47 -0400 (0:00:00.075) 0:01:03.236 ****** ok: [managed_node2] => { "ansible_facts": { "storage_pools_global": [], "storage_safe_mode_global": true, "storage_volumes_global": [] }, "changed": false } TASK [Verify role raises correct error] **************************************** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:10 Friday 20 September 2024 22:49:47 -0400 (0:00:00.041) 0:01:03.278 ****** TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Friday 20 September 2024 22:49:47 -0400 (0:00:00.046) 0:01:03.324 ****** included: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for managed_node2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Friday 20 September 2024 22:49:47 -0400 (0:00:00.047) 0:01:03.372 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Friday 20 September 2024 22:49:47 -0400 (0:00:00.039) 0:01:03.411 ****** skipping: [managed_node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed_node2] => (item=CentOS_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs", "stratisd", "stratis-cli", "{{ 'libblockdev-s390' if ansible_architecture == 's390x' else 'libblockdev' }}" ] }, "ansible_included_var_files": [ "/tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [managed_node2] => (item=CentOS_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs", "stratisd", "stratis-cli", "{{ 'libblockdev-s390' if ansible_architecture == 's390x' else 'libblockdev' }}" ] }, "ansible_included_var_files": [ "/tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [fedora.linux_system_roles.storage : Check if system is ostree] *********** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:25 Friday 20 September 2024 22:49:47 -0400 (0:00:00.080) 0:01:03.491 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set flag to indicate system is ostree] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:30 Friday 20 September 2024 22:49:47 -0400 (0:00:00.042) 0:01:03.534 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Define an empty list of pools to be used in testing] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Friday 20 September 2024 22:49:47 -0400 (0:00:00.031) 0:01:03.566 ****** ok: [managed_node2] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Define an empty list of volumes to be used in testing] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Friday 20 September 2024 22:49:47 -0400 (0:00:00.034) 0:01:03.601 ****** ok: [managed_node2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Include the appropriate provider tasks] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Friday 20 September 2024 22:49:47 -0400 (0:00:00.032) 0:01:03.633 ****** included: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for managed_node2 TASK [fedora.linux_system_roles.storage : Make sure blivet is available] ******* task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Friday 20 September 2024 22:49:47 -0400 (0:00:00.080) 0:01:03.714 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Show storage_pools] ****************** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:9 Friday 20 September 2024 22:49:47 -0400 (0:00:00.035) 0:01:03.750 ****** ok: [managed_node2] => { "storage_pools": [] } TASK [fedora.linux_system_roles.storage : Show storage_volumes] **************** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:14 Friday 20 September 2024 22:49:47 -0400 (0:00:00.038) 0:01:03.788 ****** ok: [managed_node2] => { "storage_volumes": [ { "disks": [ "sda" ], "fs_type": "ext3", "name": "test1", "type": "disk" } ] } TASK [fedora.linux_system_roles.storage : Get required packages] *************** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:19 Friday 20 September 2024 22:49:47 -0400 (0:00:00.038) 0:01:03.827 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Enable copr repositories if needed] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:31 Friday 20 September 2024 22:49:47 -0400 (0:00:00.032) 0:01:03.859 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Make sure required packages are installed] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:37 Friday 20 September 2024 22:49:47 -0400 (0:00:00.037) 0:01:03.897 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Get service facts] ******************* task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:51 Friday 20 September 2024 22:49:47 -0400 (0:00:00.034) 0:01:03.932 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:57 Friday 20 September 2024 22:49:47 -0400 (0:00:00.034) 0:01:03.967 ****** ok: [managed_node2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:63 Friday 20 September 2024 22:49:47 -0400 (0:00:00.049) 0:01:04.016 ****** TASK [fedora.linux_system_roles.storage : Manage the pools and volumes to match the specified state] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:69 Friday 20 September 2024 22:49:48 -0400 (0:00:00.029) 0:01:04.046 ****** fatal: [managed_node2]: 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-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:109 Friday 20 September 2024 22:49:52 -0400 (0:00:04.353) 0:01:08.399 ****** fatal: [managed_node2]: FAILED! => { "changed": false } MSG: {'msg': "cannot remove existing formatting on volume 'test1' in safe mode", 'changed': False, 'actions': [], 'leaves': [], 'mounts': [], 'crypts': [], 'pools': [], 'volumes': [], 'packages': [], 'failed': True, 'invocation': {'module_args': {'pools': [], 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': None, 'mount_user': None, 'mount_group': None, 'mount_mode': None, 'name': 'test1', 'raid_level': None, 'size': 10737418240, 'state': 'present', 'type': 'disk', 'disks': ['sda'], 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'raid_chunk_size': None, 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_stripe_size': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': []}], 'use_partitions': None, 'disklabel_type': None, 'pool_defaults': {'state': 'present', 'type': 'lvm', 'disks': [], 'volumes': [], 'grow_to_fill': False, 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, 'shared': False}, 'volume_defaults': {'state': 'present', 'type': 'lvm', 'size': 0, 'disks': [], 'fs_type': 'xfs', 'fs_label': '', 'fs_create_options': '', 'fs_overwrite_existing': True, 'mount_point': '', 'mount_options': 'defaults', 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_stripe_size': None, 'raid_metadata_version': None, 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': []}, 'safe_mode': True, 'packages_only': False, 'diskvolume_mkfs_option_map': {}}}, '_ansible_no_log': False} TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:113 Friday 20 September 2024 22:49:52 -0400 (0:00:00.039) 0:01:08.439 ****** TASK [Check that we failed in the role] **************************************** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:23 Friday 20 September 2024 22:49:52 -0400 (0:00:00.032) 0:01:08.472 ****** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify the blivet output and error message are correct] ****************** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:28 Friday 20 September 2024 22:49:52 -0400 (0:00:00.025) 0:01:08.497 ****** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify correct exception or error message] ******************************* task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/tests/storage/verify-role-failed.yml:39 Friday 20 September 2024 22:49:52 -0400 (0:00:00.034) 0:01:08.532 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up] **************************************************************** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/tests/storage/tests_lvm_errors.yml:185 Friday 20 September 2024 22:49:52 -0400 (0:00:00.026) 0:01:08.558 ****** TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Friday 20 September 2024 22:49:52 -0400 (0:00:00.122) 0:01:08.681 ****** included: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for managed_node2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Friday 20 September 2024 22:49:52 -0400 (0:00:00.031) 0:01:08.713 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Friday 20 September 2024 22:49:52 -0400 (0:00:00.025) 0:01:08.738 ****** skipping: [managed_node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed_node2] => (item=CentOS_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs", "stratisd", "stratis-cli", "{{ 'libblockdev-s390' if ansible_architecture == 's390x' else 'libblockdev' }}" ] }, "ansible_included_var_files": [ "/tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [managed_node2] => (item=CentOS_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs", "stratisd", "stratis-cli", "{{ 'libblockdev-s390' if ansible_architecture == 's390x' else 'libblockdev' }}" ] }, "ansible_included_var_files": [ "/tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [fedora.linux_system_roles.storage : Check if system is ostree] *********** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:25 Friday 20 September 2024 22:49:52 -0400 (0:00:00.056) 0:01:08.795 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set flag to indicate system is ostree] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:30 Friday 20 September 2024 22:49:52 -0400 (0:00:00.020) 0:01:08.815 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Define an empty list of pools to be used in testing] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Friday 20 September 2024 22:49:52 -0400 (0:00:00.021) 0:01:08.836 ****** ok: [managed_node2] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Define an empty list of volumes to be used in testing] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Friday 20 September 2024 22:49:52 -0400 (0:00:00.021) 0:01:08.858 ****** ok: [managed_node2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Include the appropriate provider tasks] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Friday 20 September 2024 22:49:52 -0400 (0:00:00.019) 0:01:08.878 ****** included: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for managed_node2 TASK [fedora.linux_system_roles.storage : Make sure blivet is available] ******* task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Friday 20 September 2024 22:49:52 -0400 (0:00:00.046) 0:01:08.924 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Show storage_pools] ****************** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:9 Friday 20 September 2024 22:49:52 -0400 (0:00:00.024) 0:01:08.949 ****** ok: [managed_node2] => { "storage_pools": [ { "disks": [ "sda" ], "name": "testpool1", "state": "absent", "type": "lvm" } ] } TASK [fedora.linux_system_roles.storage : Show storage_volumes] **************** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:14 Friday 20 September 2024 22:49:52 -0400 (0:00:00.025) 0:01:08.974 ****** ok: [managed_node2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : Get required packages] *************** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:19 Friday 20 September 2024 22:49:52 -0400 (0:00:00.023) 0:01:08.997 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Enable copr repositories if needed] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:31 Friday 20 September 2024 22:49:52 -0400 (0:00:00.021) 0:01:09.019 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Make sure required packages are installed] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:37 Friday 20 September 2024 22:49:53 -0400 (0:00:00.021) 0:01:09.041 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Get service facts] ******************* task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:51 Friday 20 September 2024 22:49:53 -0400 (0:00:00.021) 0:01:09.062 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:57 Friday 20 September 2024 22:49:53 -0400 (0:00:00.022) 0:01:09.085 ****** ok: [managed_node2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:63 Friday 20 September 2024 22:49:53 -0400 (0:00:00.032) 0:01:09.117 ****** TASK [fedora.linux_system_roles.storage : Manage the pools and volumes to match the specified state] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:69 Friday 20 September 2024 22:49:53 -0400 (0:00:00.019) 0:01:09.136 ****** changed: [managed_node2] => { "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": [ "xfsprogs" ], "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-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:83 Friday 20 September 2024 22:49:57 -0400 (0:00:04.399) 0:01:13.536 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Check if /etc/fstab is present] ****** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Friday 20 September 2024 22:49:57 -0400 (0:00:00.021) 0:01:13.558 ****** ok: [managed_node2] => { "changed": false, "stat": { "atime": 1726886754.6247222, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "ab8070345774adad92683e9645714452be7be474", "ctime": 1726886754.1137192, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 278921456, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1726886754.1137192, "nlink": 1, "path": "/etc/fstab", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 1343, "uid": 0, "version": "549583310", "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-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:95 Friday 20 September 2024 22:49:57 -0400 (0:00:00.359) 0:01:13.917 ****** ok: [managed_node2] => { "backup": "", "changed": false } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:113 Friday 20 September 2024 22:49:58 -0400 (0:00:00.358) 0:01:14.275 ****** TASK [fedora.linux_system_roles.storage : Show blivet_output] ****************** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:119 Friday 20 September 2024 22:49:58 -0400 (0:00:00.019) 0:01:14.294 ****** ok: [managed_node2] => { "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": [ "xfsprogs" ], "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-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:128 Friday 20 September 2024 22:49:58 -0400 (0:00:00.025) 0:01:14.320 ****** ok: [managed_node2] => { "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-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Friday 20 September 2024 22:49:58 -0400 (0:00:00.023) 0:01:14.344 ****** ok: [managed_node2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Remove obsolete mounts] ************** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Friday 20 September 2024 22:49:58 -0400 (0:00:00.022) 0:01:14.366 ****** TASK [fedora.linux_system_roles.storage : Tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:159 Friday 20 September 2024 22:49:58 -0400 (0:00:00.021) 0:01:14.388 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set up new/current mounts] *********** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:164 Friday 20 September 2024 22:49:58 -0400 (0:00:00.020) 0:01:14.408 ****** TASK [fedora.linux_system_roles.storage : Manage mount ownership/permissions] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:175 Friday 20 September 2024 22:49:58 -0400 (0:00:00.020) 0:01:14.429 ****** TASK [fedora.linux_system_roles.storage : Tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:187 Friday 20 September 2024 22:49:58 -0400 (0:00:00.020) 0:01:14.449 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Retrieve facts for the /etc/crypttab file] *** task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:195 Friday 20 September 2024 22:49:58 -0400 (0:00:00.019) 0:01:14.469 ****** ok: [managed_node2] => { "changed": false, "stat": { "atime": 1726886758.452745, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1726886756.281732, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 883897, "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": 1726886756.281732, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "567611302", "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-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:200 Friday 20 September 2024 22:49:58 -0400 (0:00:00.371) 0:01:14.841 ****** TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:222 Friday 20 September 2024 22:49:58 -0400 (0:00:00.028) 0:01:14.870 ****** ok: [managed_node2] META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed_node2 : ok=169 changed=2 unreachable=0 failed=9 skipped=149 rescued=9 ignored=0 Friday 20 September 2024 22:49:59 -0400 (0:00:00.746) 0:01:15.617 ****** =============================================================================== fedora.linux_system_roles.storage : Manage the pools and volumes to match the specified state --- 4.62s /tmp/collections-6ei/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.40s /tmp/collections-6ei/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.35s /tmp/collections-6ei/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.15s /tmp/collections-6ei/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.11s /tmp/collections-6ei/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.10s /tmp/collections-6ei/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.07s /tmp/collections-6ei/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.00s /tmp/collections-6ei/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.89s /tmp/collections-6ei/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.89s /tmp/collections-6ei/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-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:69 fedora.linux_system_roles.storage : Make sure blivet is available ------- 3.00s /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Ensure test packages ---------------------------------------------------- 2.80s /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/tests/storage/get_unused_disk.yml:2 fedora.linux_system_roles.storage : Make sure required packages are installed --- 2.76s /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:37 fedora.linux_system_roles.storage : Get service facts ------------------- 1.76s /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:51 Gathering Facts --------------------------------------------------------- 1.00s /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/tests/storage/tests_lvm_errors.yml:2 fedora.linux_system_roles.storage : Update facts ------------------------ 0.75s /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:222 fedora.linux_system_roles.storage : Update facts ------------------------ 0.75s /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:222 fedora.linux_system_roles.storage : Update facts ------------------------ 0.73s /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:222 fedora.linux_system_roles.storage : Get required packages --------------- 0.66s /tmp/collections-6ei/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:19