ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpi19f9hzy executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_create_raid_pool_then_remove.yml ******************************* 1 plays in /tmp/tmpsvhdx31t/tests/tests_create_raid_pool_then_remove.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpsvhdx31t/tests/tests_create_raid_pool_then_remove.yml:2 Thursday 21 July 2022 07:57:54 +0000 (0:00:00.013) 0:00:00.013 ********* ok: [/cache/rhel-9.qcow2.snap] META: ran handlers TASK [include_role : linux-system-roles.storage] ******************************* task path: /tmp/tmpsvhdx31t/tests/tests_create_raid_pool_then_remove.yml:17 Thursday 21 July 2022 07:57:55 +0000 (0:00:01.396) 0:00:01.410 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 07:57:55 +0000 (0:00:00.036) 0:00:01.447 ********* included: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-9.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 07:57:55 +0000 (0:00:00.030) 0:00:01.477 ********* ok: [/cache/rhel-9.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 07:57:56 +0000 (0:00:00.535) 0:00:02.013 ********* skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/vars/RedHat_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.yml" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.0.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.0.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 07:57:56 +0000 (0:00:00.057) 0:00:02.070 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 07:57:56 +0000 (0:00:00.030) 0:00:02.101 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 07:57:56 +0000 (0:00:00.029) 0:00:02.130 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-9.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 07:57:56 +0000 (0:00:00.046) 0:00:02.177 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 07:57:56 +0000 (0:00:00.018) 0:00:02.195 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 07:57:57 +0000 (0:00:01.301) 0:00:03.497 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 07:57:57 +0000 (0:00:00.032) 0:00:03.529 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 07:57:57 +0000 (0:00:00.031) 0:00:03.561 ********* ok: [/cache/rhel-9.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 07:57:58 +0000 (0:00:00.741) 0:00:04.303 ********* included: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml for /cache/rhel-9.qcow2.snap TASK [linux-system-roles.storage : check if the COPR support packages should be installed] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:2 Thursday 21 July 2022 07:57:58 +0000 (0:00:00.044) 0:00:04.347 ********* TASK [linux-system-roles.storage : make sure COPR support packages are present] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:13 Thursday 21 July 2022 07:57:58 +0000 (0:00:00.030) 0:00:04.378 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable COPRs] ******************************* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:18 Thursday 21 July 2022 07:57:58 +0000 (0:00:00.035) 0:00:04.413 ********* TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 07:57:58 +0000 (0:00:00.029) 0:00:04.442 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 07:57:59 +0000 (0:00:00.957) 0:00:05.399 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "services": { "NetworkManager-dispatcher.service": { "name": "NetworkManager-dispatcher.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "NetworkManager-wait-online.service": { "name": "NetworkManager-wait-online.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "NetworkManager.service": { "name": "NetworkManager.service", "source": "systemd", "state": "running", "status": "enabled" }, "auditd.service": { "name": "auditd.service", "source": "systemd", "state": "running", "status": "enabled" }, "auth-rpcgss-module.service": { "name": "auth-rpcgss-module.service", "source": "systemd", "state": "stopped", "status": "static" }, "autofs.service": { "name": "autofs.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "autovt@.service": { "name": "autovt@.service", "source": "systemd", "state": "unknown", "status": "alias" }, "blivet.service": { "name": "blivet.service", "source": "systemd", "state": "inactive", "status": "static" }, "blk-availability.service": { "name": "blk-availability.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "chrony-wait.service": { "name": "chrony-wait.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "chronyd.service": { "name": "chronyd.service", "source": "systemd", "state": "running", "status": "enabled" }, "cloud-config.service": { "name": "cloud-config.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-final.service": { "name": "cloud-final.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init-local.service": { "name": "cloud-init-local.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init.service": { "name": "cloud-init.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cockpit-motd.service": { "name": "cockpit-motd.service", "source": "systemd", "state": "inactive", "status": "static" }, "cockpit-wsinstance-http.service": { "name": "cockpit-wsinstance-http.service", "source": "systemd", "state": "inactive", "status": "static" }, "cockpit-wsinstance-https-factory@.service": { "name": "cockpit-wsinstance-https-factory@.service", "source": "systemd", "state": "unknown", "status": "static" }, "cockpit-wsinstance-https@.service": { "name": "cockpit-wsinstance-https@.service", "source": "systemd", "state": "unknown", "status": "static" }, "cockpit.service": { "name": "cockpit.service", "source": "systemd", "state": "inactive", "status": "static" }, "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-broker.service": { "name": "dbus-broker.service", "source": "systemd", "state": "running", "status": "enabled" }, "dbus-org.freedesktop.hostname1.service": { "name": "dbus-org.freedesktop.hostname1.service", "source": "systemd", "state": "active", "status": "alias" }, "dbus-org.freedesktop.locale1.service": { "name": "dbus-org.freedesktop.locale1.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus-org.freedesktop.login1.service": { "name": "dbus-org.freedesktop.login1.service", "source": "systemd", "state": "active", "status": "alias" }, "dbus-org.freedesktop.nm-dispatcher.service": { "name": "dbus-org.freedesktop.nm-dispatcher.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus-org.freedesktop.timedate1.service": { "name": "dbus-org.freedesktop.timedate1.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus.service": { "name": "dbus.service", "source": "systemd", "state": "active", "status": "alias" }, "debug-shell.service": { "name": "debug-shell.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "display-manager.service": { "name": "display-manager.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "dm-event.service": { "name": "dm-event.service", "source": "systemd", "state": "stopped", "status": "static" }, "dnf-makecache.service": { "name": "dnf-makecache.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-cmdline.service": { "name": "dracut-cmdline.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-initqueue.service": { "name": "dracut-initqueue.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-mount.service": { "name": "dracut-mount.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-mount.service": { "name": "dracut-pre-mount.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-pivot.service": { "name": "dracut-pre-pivot.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-trigger.service": { "name": "dracut-pre-trigger.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-udev.service": { "name": "dracut-pre-udev.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-shutdown-onfailure.service": { "name": "dracut-shutdown-onfailure.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-shutdown.service": { "name": "dracut-shutdown.service", "source": "systemd", "state": "stopped", "status": "static" }, "emergency.service": { "name": "emergency.service", "source": "systemd", "state": "stopped", "status": "static" }, "fcoe.service": { "name": "fcoe.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "fstrim.service": { "name": "fstrim.service", "source": "systemd", "state": "inactive", "status": "static" }, "fwupd-offline-update.service": { "name": "fwupd-offline-update.service", "source": "systemd", "state": "inactive", "status": "static" }, "fwupd-refresh.service": { "name": "fwupd-refresh.service", "source": "systemd", "state": "inactive", "status": "static" }, "fwupd.service": { "name": "fwupd.service", "source": "systemd", "state": "inactive", "status": "static" }, "getty@.service": { "name": "getty@.service", "source": "systemd", "state": "unknown", "status": "enabled" }, "getty@tty1.service": { "name": "getty@tty1.service", "source": "systemd", "state": "running", "status": "active" }, "grub-boot-indeterminate.service": { "name": "grub-boot-indeterminate.service", "source": "systemd", "state": "inactive", "status": "static" }, "grub2-systemd-integration.service": { "name": "grub2-systemd-integration.service", "source": "systemd", "state": "inactive", "status": "static" }, "gssproxy.service": { "name": "gssproxy.service", "source": "systemd", "state": "running", "status": "disabled" }, "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" }, "insights-client-boot.service": { "name": "insights-client-boot.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "insights-client-results.service": { "name": "insights-client-results.service", "source": "systemd", "state": "inactive", "status": "static" }, "insights-client.service": { "name": "insights-client.service", "source": "systemd", "state": "inactive", "status": "static" }, "irqbalance.service": { "name": "irqbalance.service", "source": "systemd", "state": "running", "status": "enabled" }, "iscsi-shutdown.service": { "name": "iscsi-shutdown.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "iscsi.service": { "name": "iscsi.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "iscsid.service": { "name": "iscsid.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "kdump.service": { "name": "kdump.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "kmod-static-nodes.service": { "name": "kmod-static-nodes.service", "source": "systemd", "state": "stopped", "status": "static" }, "kvm_stat.service": { "name": "kvm_stat.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "ldconfig.service": { "name": "ldconfig.service", "source": "systemd", "state": "stopped", "status": "static" }, "logrotate.service": { "name": "logrotate.service", "source": "systemd", "state": "stopped", "status": "static" }, "lvm2-activation-early.service": { "name": "lvm2-activation-early.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "lvm2-lvmpolld.service": { "name": "lvm2-lvmpolld.service", "source": "systemd", "state": "stopped", "status": "static" }, "lvm2-monitor.service": { "name": "lvm2-monitor.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "man-db-cache-update.service": { "name": "man-db-cache-update.service", "source": "systemd", "state": "inactive", "status": "static" }, "man-db-restart-cache-update.service": { "name": "man-db-restart-cache-update.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "mdadm-grow-continue@.service": { "name": "mdadm-grow-continue@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdadm-last-resort@.service": { "name": "mdadm-last-resort@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdcheck_continue.service": { "name": "mdcheck_continue.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdcheck_start.service": { "name": "mdcheck_start.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdmon@.service": { "name": "mdmon@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdmonitor-oneshot.service": { "name": "mdmonitor-oneshot.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdmonitor.service": { "name": "mdmonitor.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "microcode.service": { "name": "microcode.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "modprobe@.service": { "name": "modprobe@.service", "source": "systemd", "state": "unknown", "status": "static" }, "modprobe@configfs.service": { "name": "modprobe@configfs.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "modprobe@drm.service": { "name": "modprobe@drm.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "modprobe@fuse.service": { "name": "modprobe@fuse.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "multipathd.service": { "name": "multipathd.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "ndctl-monitor.service": { "name": "ndctl-monitor.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "network.service": { "name": "network.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "nfs-blkmap.service": { "name": "nfs-blkmap.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfs-idmapd.service": { "name": "nfs-idmapd.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-mountd.service": { "name": "nfs-mountd.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-server.service": { "name": "nfs-server.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "nfs-utils.service": { "name": "nfs-utils.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfsdcld.service": { "name": "nfsdcld.service", "source": "systemd", "state": "stopped", "status": "static" }, "nis-domainname.service": { "name": "nis-domainname.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "nm-priv-helper.service": { "name": "nm-priv-helper.service", "source": "systemd", "state": "inactive", "status": "static" }, "ntpd.service": { "name": "ntpd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ntpdate.service": { "name": "ntpdate.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "oddjobd.service": { "name": "oddjobd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "packagekit-offline-update.service": { "name": "packagekit-offline-update.service", "source": "systemd", "state": "inactive", "status": "static" }, "packagekit.service": { "name": "packagekit.service", "source": "systemd", "state": "inactive", "status": "static" }, "pam_namespace.service": { "name": "pam_namespace.service", "source": "systemd", "state": "inactive", "status": "static" }, "plymouth-quit-wait.service": { "name": "plymouth-quit-wait.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "plymouth-start.service": { "name": "plymouth-start.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "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" }, "raid-check.service": { "name": "raid-check.service", "source": "systemd", "state": "inactive", "status": "static" }, "rbdmap.service": { "name": "rbdmap.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "rc-local.service": { "name": "rc-local.service", "source": "systemd", "state": "stopped", "status": "static" }, "rdisc.service": { "name": "rdisc.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rescue.service": { "name": "rescue.service", "source": "systemd", "state": "stopped", "status": "static" }, "rhsm-facts.service": { "name": "rhsm-facts.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rhsm.service": { "name": "rhsm.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rhsmcertd.service": { "name": "rhsmcertd.service", "source": "systemd", "state": "running", "status": "enabled" }, "rpc-gssd.service": { "name": "rpc-gssd.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-statd-notify.service": { "name": "rpc-statd-notify.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-statd.service": { "name": "rpc-statd.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-svcgssd.service": { "name": "rpc-svcgssd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "rpcbind.service": { "name": "rpcbind.service", "source": "systemd", "state": "running", "status": "enabled" }, "rpmdb-rebuild.service": { "name": "rpmdb-rebuild.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rsyslog.service": { "name": "rsyslog.service", "source": "systemd", "state": "running", "status": "enabled" }, "selinux-autorelabel-mark.service": { "name": "selinux-autorelabel-mark.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "selinux-autorelabel.service": { "name": "selinux-autorelabel.service", "source": "systemd", "state": "inactive", "status": "static" }, "serial-getty@.service": { "name": "serial-getty@.service", "source": "systemd", "state": "unknown", "status": "indirect" }, "serial-getty@ttyS0.service": { "name": "serial-getty@ttyS0.service", "source": "systemd", "state": "running", "status": "active" }, "sntp.service": { "name": "sntp.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sshd-keygen.service": { "name": "sshd-keygen.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sshd-keygen@.service": { "name": "sshd-keygen@.service", "source": "systemd", "state": "unknown", "status": "disabled" }, "sshd-keygen@ecdsa.service": { "name": "sshd-keygen@ecdsa.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd-keygen@ed25519.service": { "name": "sshd-keygen@ed25519.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd-keygen@rsa.service": { "name": "sshd-keygen@rsa.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd.service": { "name": "sshd.service", "source": "systemd", "state": "running", "status": "enabled" }, "sshd@.service": { "name": "sshd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "sssd-autofs.service": { "name": "sssd-autofs.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-kcm.service": { "name": "sssd-kcm.service", "source": "systemd", "state": "stopped", "status": "indirect" }, "sssd-nss.service": { "name": "sssd-nss.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-pac.service": { "name": "sssd-pac.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-pam.service": { "name": "sssd-pam.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-ssh.service": { "name": "sssd-ssh.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-sudo.service": { "name": "sssd-sudo.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd.service": { "name": "sssd.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "syslog.service": { "name": "syslog.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "system-update-cleanup.service": { "name": "system-update-cleanup.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-ask-password-console.service": { "name": "systemd-ask-password-console.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-ask-password-wall.service": { "name": "systemd-ask-password-wall.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-backlight@.service": { "name": "systemd-backlight@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-binfmt.service": { "name": "systemd-binfmt.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-boot-check-no-failures.service": { "name": "systemd-boot-check-no-failures.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "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-fsck@dev-disk-by\\x2duuid-7B77\\x2d95E7.service": { "name": "systemd-fsck@dev-disk-by\\x2duuid-7B77\\x2d95E7.service", "source": "systemd", "state": "stopped", "status": "active" }, "systemd-fsck@dev-vda2.service": { "name": "systemd-fsck@dev-vda2.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "systemd-fsck@dev-vdb1.service": { "name": "systemd-fsck@dev-vdb1.service", "source": "systemd", "state": "stopped", "status": "active" }, "systemd-fsck@dev-vdc1.service": { "name": "systemd-fsck@dev-vdc1.service", "source": "systemd", "state": "stopped", "status": "active" }, "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": "running", "status": "static" }, "systemd-hwdb-update.service": { "name": "systemd-hwdb-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-hybrid-sleep.service": { "name": "systemd-hybrid-sleep.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-initctl.service": { "name": "systemd-initctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-catalog-update.service": { "name": "systemd-journal-catalog-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-flush.service": { "name": "systemd-journal-flush.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journald.service": { "name": "systemd-journald.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-journald@.service": { "name": "systemd-journald@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-kexec.service": { "name": "systemd-kexec.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-localed.service": { "name": "systemd-localed.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-logind.service": { "name": "systemd-logind.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-machine-id-commit.service": { "name": "systemd-machine-id-commit.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-modules-load.service": { "name": "systemd-modules-load.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-network-generator.service": { "name": "systemd-network-generator.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "systemd-poweroff.service": { "name": "systemd-poweroff.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-pstore.service": { "name": "systemd-pstore.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-quotacheck.service": { "name": "systemd-quotacheck.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-random-seed.service": { "name": "systemd-random-seed.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-reboot.service": { "name": "systemd-reboot.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-remount-fs.service": { "name": "systemd-remount-fs.service", "source": "systemd", "state": "stopped", "status": "enabled-runtime" }, "systemd-repart.service": { "name": "systemd-repart.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-rfkill.service": { "name": "systemd-rfkill.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-suspend-then-hibernate.service": { "name": "systemd-suspend-then-hibernate.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-suspend.service": { "name": "systemd-suspend.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-sysctl.service": { "name": "systemd-sysctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-sysext.service": { "name": "systemd-sysext.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-sysusers.service": { "name": "systemd-sysusers.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-timedated.service": { "name": "systemd-timedated.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-timesyncd.service": { "name": "systemd-timesyncd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "systemd-tmpfiles-clean.service": { "name": "systemd-tmpfiles-clean.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup-dev.service": { "name": "systemd-tmpfiles-setup-dev.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup.service": { "name": "systemd-tmpfiles-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-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" }, "teamd@.service": { "name": "teamd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "tuned.service": { "name": "tuned.service", "source": "systemd", "state": "running", "status": "enabled" }, "user-runtime-dir@.service": { "name": "user-runtime-dir@.service", "source": "systemd", "state": "unknown", "status": "static" }, "user-runtime-dir@0.service": { "name": "user-runtime-dir@0.service", "source": "systemd", "state": "stopped", "status": "active" }, "user@.service": { "name": "user@.service", "source": "systemd", "state": "unknown", "status": "static" }, "user@0.service": { "name": "user@0.service", "source": "systemd", "state": "running", "status": "active" }, "ypbind.service": { "name": "ypbind.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "yppasswdd.service": { "name": "yppasswdd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ypserv.service": { "name": "ypserv.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ypxfrd.service": { "name": "ypxfrd.service", "source": "systemd", "state": "stopped", "status": "not-found" } } }, "changed": false } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 07:58:01 +0000 (0:00:01.995) 0:00:07.395 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 07:58:01 +0000 (0:00:00.066) 0:00:07.461 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 07:58:01 +0000 (0:00:00.034) 0:00:07.496 ********* ok: [/cache/rhel-9.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 07:58:02 +0000 (0:00:00.550) 0:00:08.047 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 07:58:02 +0000 (0:00:00.036) 0:00:08.083 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 07:58:02 +0000 (0:00:00.020) 0:00:08.103 ********* ok: [/cache/rhel-9.qcow2.snap] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 07:58:02 +0000 (0:00:00.033) 0:00:08.137 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 07:58:02 +0000 (0:00:00.035) 0:00:08.173 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 07:58:02 +0000 (0:00:00.036) 0:00:08.209 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 07:58:02 +0000 (0:00:00.033) 0:00:08.242 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 07:58:02 +0000 (0:00:00.024) 0:00:08.267 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 07:58:02 +0000 (0:00:00.034) 0:00:08.301 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 07:58:02 +0000 (0:00:00.023) 0:00:08.324 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 07:58:03 +0000 (0:00:00.492) 0:00:08.817 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 07:58:03 +0000 (0:00:00.023) 0:00:08.840 ********* ok: [/cache/rhel-9.qcow2.snap] META: role_complete for /cache/rhel-9.qcow2.snap TASK [Mark tasks to be skipped] ************************************************ task path: /tmp/tmpsvhdx31t/tests/tests_create_raid_pool_then_remove.yml:20 Thursday 21 July 2022 07:58:04 +0000 (0:00:01.120) 0:00:09.961 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_skip_checks": [ "blivet_available", "packages_installed", "service_facts" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpsvhdx31t/tests/tests_create_raid_pool_then_remove.yml:27 Thursday 21 July 2022 07:58:04 +0000 (0:00:00.098) 0:00:10.060 ********* included: /tmp/tmpsvhdx31t/tests/get_unused_disk.yml for /cache/rhel-9.qcow2.snap TASK [Find unused disks in the system] ***************************************** task path: /tmp/tmpsvhdx31t/tests/get_unused_disk.yml:2 Thursday 21 July 2022 07:58:04 +0000 (0:00:00.039) 0:00:10.099 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "disks": [ "sda", "sdb" ] } TASK [Set unused_disks if necessary] ******************************************* task path: /tmp/tmpsvhdx31t/tests/get_unused_disk.yml:9 Thursday 21 July 2022 07:58:04 +0000 (0:00:00.489) 0:00:10.589 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "unused_disks": [ "sda", "sdb" ] }, "changed": false } TASK [Exit playbook when there's not enough unused disks in the system] ******** task path: /tmp/tmpsvhdx31t/tests/get_unused_disk.yml:14 Thursday 21 July 2022 07:58:04 +0000 (0:00:00.037) 0:00:10.627 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Print unused disks] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/get_unused_disk.yml:19 Thursday 21 July 2022 07:58:04 +0000 (0:00:00.038) 0:00:10.665 ********* ok: [/cache/rhel-9.qcow2.snap] => { "unused_disks": [ "sda", "sdb" ] } TASK [Create a RAID0 device] *************************************************** task path: /tmp/tmpsvhdx31t/tests/tests_create_raid_pool_then_remove.yml:31 Thursday 21 July 2022 07:58:04 +0000 (0:00:00.036) 0:00:10.701 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 07:58:05 +0000 (0:00:00.045) 0:00:10.747 ********* included: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-9.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 07:58:05 +0000 (0:00:00.036) 0:00:10.783 ********* ok: [/cache/rhel-9.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 07:58:05 +0000 (0:00:00.525) 0:00:11.309 ********* skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/vars/RedHat_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.yml" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.0.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.0.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 07:58:05 +0000 (0:00:00.067) 0:00:11.376 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 07:58:05 +0000 (0:00:00.034) 0:00:11.410 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 07:58:05 +0000 (0:00:00.035) 0:00:11.446 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-9.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 07:58:05 +0000 (0:00:00.045) 0:00:11.492 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 07:58:05 +0000 (0:00:00.021) 0:00:11.513 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 07:58:05 +0000 (0:00:00.029) 0:00:11.543 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda", "sdb" ], "name": "vg1", "raid_level": "raid0", "state": "present", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "lv1", "size": "2g" }, { "mount_point": "/opt/test2", "name": "lv2", "size": "3g" }, { "mount_point": "/opt/test3", "name": "lv3", "size": "3g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 07:58:05 +0000 (0:00:00.040) 0:00:11.584 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 07:58:05 +0000 (0:00:00.037) 0:00:11.621 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 07:58:05 +0000 (0:00:00.030) 0:00:11.652 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 07:58:05 +0000 (0:00:00.029) 0:00:11.681 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 07:58:06 +0000 (0:00:00.029) 0:00:11.711 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 07:58:06 +0000 (0:00:00.029) 0:00:11.740 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 07:58:06 +0000 (0:00:00.060) 0:00:11.801 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 07:58:06 +0000 (0:00:00.023) 0:00:11.825 ********* changed: [/cache/rhel-9.qcow2.snap] => { "actions": [ { "action": "create format", "device": "/dev/sdb", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sdb1", "fs_type": null }, { "action": "create format", "device": "/dev/sdb1", "fs_type": "mdmember" }, { "action": "create format", "device": "/dev/sda", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sda1", "fs_type": null }, { "action": "create format", "device": "/dev/sda1", "fs_type": "mdmember" }, { "action": "create device", "device": "/dev/md/vg1-1", "fs_type": null }, { "action": "create format", "device": "/dev/md/vg1-1", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/vg1", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/vg1-lv3", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv3", "fs_type": "xfs" }, { "action": "create device", "device": "/dev/mapper/vg1-lv2", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv2", "fs_type": "xfs" }, { "action": "create device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/mapper/vg1-lv1", "/dev/mapper/vg1-lv2", "/dev/mapper/vg1-lv3" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/vg1-lv2", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test3", "src": "/dev/mapper/vg1-lv3", "state": "mounted" } ], "packages": [ "mdadm", "lvm2", "xfsprogs", "e2fsprogs", "dosfstools" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 07:58:15 +0000 (0:00:09.400) 0:00:21.225 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 07:58:15 +0000 (0:00:00.036) 0:00:21.262 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 07:58:15 +0000 (0:00:00.021) 0:00:21.283 ********* ok: [/cache/rhel-9.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sdb", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sdb1", "fs_type": null }, { "action": "create format", "device": "/dev/sdb1", "fs_type": "mdmember" }, { "action": "create format", "device": "/dev/sda", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sda1", "fs_type": null }, { "action": "create format", "device": "/dev/sda1", "fs_type": "mdmember" }, { "action": "create device", "device": "/dev/md/vg1-1", "fs_type": null }, { "action": "create format", "device": "/dev/md/vg1-1", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/vg1", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/vg1-lv3", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv3", "fs_type": "xfs" }, { "action": "create device", "device": "/dev/mapper/vg1-lv2", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv2", "fs_type": "xfs" }, { "action": "create device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/mapper/vg1-lv1", "/dev/mapper/vg1-lv2", "/dev/mapper/vg1-lv3" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/vg1-lv2", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test3", "src": "/dev/mapper/vg1-lv3", "state": "mounted" } ], "packages": [ "mdadm", "lvm2", "xfsprogs", "e2fsprogs", "dosfstools" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 07:58:15 +0000 (0:00:00.043) 0:00:21.327 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 07:58:15 +0000 (0:00:00.040) 0:00:21.368 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 07:58:15 +0000 (0:00:00.036) 0:00:21.404 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 07:58:15 +0000 (0:00:00.038) 0:00:21.442 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 07:58:16 +0000 (0:00:00.981) 0:00:22.423 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-9.qcow2.snap] => (item={'src': '/dev/mapper/vg1-lv1', 'path': '/opt/test1', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv1" } redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-9.qcow2.snap] => (item={'src': '/dev/mapper/vg1-lv2', 'path': '/opt/test2', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/vg1-lv2", "state": "mounted" }, "name": "/opt/test2", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv2" } redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-9.qcow2.snap] => (item={'src': '/dev/mapper/vg1-lv3', 'path': '/opt/test3', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test3", "src": "/dev/mapper/vg1-lv3", "state": "mounted" }, "name": "/opt/test3", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv3" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 07:58:18 +0000 (0:00:01.282) 0:00:23.706 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 07:58:18 +0000 (0:00:00.726) 0:00:24.432 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 07:58:19 +0000 (0:00:00.353) 0:00:24.786 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 07:58:19 +0000 (0:00:00.022) 0:00:24.808 ********* ok: [/cache/rhel-9.qcow2.snap] META: role_complete for /cache/rhel-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpsvhdx31t/tests/tests_create_raid_pool_then_remove.yml:52 Thursday 21 July 2022 07:58:20 +0000 (0:00:01.060) 0:00:25.868 ********* included: /tmp/tmpsvhdx31t/tests/verify-role-results.yml for /cache/rhel-9.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:1 Thursday 21 July 2022 07:58:20 +0000 (0:00:00.069) 0:00:25.937 ********* ok: [/cache/rhel-9.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:6 Thursday 21 July 2022 07:58:20 +0000 (0:00:00.052) 0:00:25.990 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:14 Thursday 21 July 2022 07:58:20 +0000 (0:00:00.036) 0:00:26.027 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/vg1-lv1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv1", "size": "2G", "type": "lvm", "uuid": "787f361a-32a6-4d37-9d1a-e5dbc8e1a2ee" }, "/dev/mapper/vg1-lv2": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv2", "size": "3G", "type": "lvm", "uuid": "3f43e20b-b25b-45ac-8e25-2adcf45572e9" }, "/dev/mapper/vg1-lv3": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv3", "size": "3G", "type": "lvm", "uuid": "797a30b2-c3d5-4554-a543-95a399775991" }, "/dev/md/vg1-1": { "fstype": "LVM2_member", "label": "", "name": "/dev/md/vg1-1", "size": "20G", "type": "raid0", "uuid": "Ne2iJw-KV54-oSmr-NQfY-Id1x-sGiW-mTT0T1" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda1": { "fstype": "linux_raid_member", "label": "vg1-1", "name": "/dev/sda1", "size": "10G", "type": "partition", "uuid": "683bbfd4-0682-771c-7235-5b411ba334cc" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb1": { "fstype": "linux_raid_member", "label": "vg1-1", "name": "/dev/sdb1", "size": "10G", "type": "partition", "uuid": "683bbfd4-0682-771c-7235-5b411ba334cc" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-07-57-41-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "vfat", "label": "", "name": "/dev/vda2", "size": "200M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "boot", "name": "/dev/vda3", "size": "500M", "type": "partition", "uuid": "6e74e171-0370-451f-8340-f16ad2839183" }, "/dev/vda4": { "fstype": "xfs", "label": "root", "name": "/dev/vda4", "size": "9.3G", "type": "partition", "uuid": "1bb53e4d-984c-4316-908a-59b5a62fa30e" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "12be66f7-7f03-4d54-9a48-a520825d8fa9" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "9bd037ed-b1bb-4b9c-a008-9f07d34ab071" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:19 Thursday 21 July 2022 07:58:20 +0000 (0:00:00.518) 0:00:26.545 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003255", "end": "2022-07-21 03:58:20.646433", "rc": 0, "start": "2022-07-21 03:58:20.643178" } STDOUT: UUID=6e74e171-0370-451f-8340-f16ad2839183 /boot xfs defaults 0 0 UUID=1bb53e4d-984c-4316-908a-59b5a62fa30e / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/vdb1 /var/cache/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 /dev/mapper/vg1-lv1 /opt/test1 xfs defaults 0 0 /dev/mapper/vg1-lv2 /opt/test2 xfs defaults 0 0 /dev/mapper/vg1-lv3 /opt/test3 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:24 Thursday 21 July 2022 07:58:21 +0000 (0:00:00.480) 0:00:27.026 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002614", "end": "2022-07-21 03:58:21.024750", "failed_when_result": false, "rc": 1, "start": "2022-07-21 03:58:21.022136" } STDERR: cat: /etc/crypttab: No such file or directory MSG: non-zero return code TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:33 Thursday 21 July 2022 07:58:21 +0000 (0:00:00.377) 0:00:27.403 ********* included: /tmp/tmpsvhdx31t/tests/test-verify-pool.yml for /cache/rhel-9.qcow2.snap => (item={'disks': ['sda', 'sdb'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'vg1', 'raid_level': 'raid0', 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}, {'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'lv2', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}, {'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test3', 'name': 'lv3', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-pool.yml:5 Thursday 21 July 2022 07:58:21 +0000 (0:00:00.063) 0:00:27.467 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool.yml:18 Thursday 21 July 2022 07:58:21 +0000 (0:00:00.033) 0:00:27.500 ********* included: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml for /cache/rhel-9.qcow2.snap => (item=members) included: /tmp/tmpsvhdx31t/tests/test-verify-pool-volumes.yml for /cache/rhel-9.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 07:58:21 +0000 (0:00:00.048) 0:00:27.549 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/md127" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 07:58:21 +0000 (0:00:00.054) 0:00:27.603 ********* ok: [/cache/rhel-9.qcow2.snap] => (item=/dev/md127) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/md/vg1-1", "pv": "/dev/md127" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 07:58:22 +0000 (0:00:00.487) 0:00:28.090 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 07:58:22 +0000 (0:00:00.049) 0:00:28.140 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/md/vg1-1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 07:58:22 +0000 (0:00:00.057) 0:00:28.197 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 07:58:22 +0000 (0:00:00.081) 0:00:28.279 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 07:58:22 +0000 (0:00:00.070) 0:00:28.350 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "partition" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 07:58:22 +0000 (0:00:00.049) 0:00:28.400 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "raid0" }, "changed": false } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 07:58:22 +0000 (0:00:00.078) 0:00:28.478 ********* ok: [/cache/rhel-9.qcow2.snap] => (item=/dev/md/vg1-1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/md/vg1-1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 07:58:22 +0000 (0:00:00.133) 0:00:28.612 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml for /cache/rhel-9.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:6 Thursday 21 July 2022 07:58:22 +0000 (0:00:00.053) 0:00:28.666 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "mdadm", "--detail", "/dev/md/vg1-1" ], "delta": "0:00:00.007866", "end": "2022-07-21 03:58:22.704914", "rc": 0, "start": "2022-07-21 03:58:22.697048" } STDOUT: /dev/md/vg1-1: Version : 1.2 Creation Time : Thu Jul 21 03:58:08 2022 Raid Level : raid0 Array Size : 20951040 (19.98 GiB 21.45 GB) Raid Devices : 2 Total Devices : 2 Persistence : Superblock is persistent Update Time : Thu Jul 21 03:58:08 2022 State : clean Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 Layout : -unknown- Chunk Size : 512K Consistency Policy : none Name : vg1-1 UUID : 683bbfd4:0682771c:72355b41:1ba334cc Events : 0 Number Major Minor RaidDevice State 0 8 1 0 active sync /dev/sda1 1 8 17 1 active sync /dev/sdb1 TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:12 Thursday 21 July 2022 07:58:23 +0000 (0:00:00.427) 0:00:29.093 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": "Active\\ Devices\\ :\\ None\\\n" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:16 Thursday 21 July 2022 07:58:23 +0000 (0:00:00.057) 0:00:29.150 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_md_spare_devices_re": "Spare\\ Devices\\ :\\ None\\\n" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:20 Thursday 21 July 2022 07:58:23 +0000 (0:00:00.054) 0:00:29.204 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_md_metadata_version_re": "Version\\ :\\ None\\\n" }, "changed": false } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:24 Thursday 21 July 2022 07:58:23 +0000 (0:00:00.055) 0:00:29.259 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:30 Thursday 21 July 2022 07:58:23 +0000 (0:00:00.030) 0:00:29.290 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:36 Thursday 21 July 2022 07:58:23 +0000 (0:00:00.033) 0:00:29.324 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:44 Thursday 21 July 2022 07:58:23 +0000 (0:00:00.031) 0:00:29.355 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 07:58:23 +0000 (0:00:00.042) 0:00:29.398 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-members-lvmraid.yml for /cache/rhel-9.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 07:58:23 +0000 (0:00:00.047) 0:00:29.445 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-member-lvmraid.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/tmpsvhdx31t/tests/verify-pool-member-lvmraid.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'lv2', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/tmpsvhdx31t/tests/verify-pool-member-lvmraid.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test3', 'name': 'lv3', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 07:58:23 +0000 (0:00:00.058) 0:00:29.504 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 07:58:23 +0000 (0:00:00.030) 0:00:29.534 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 07:58:23 +0000 (0:00:00.028) 0:00:29.563 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 07:58:23 +0000 (0:00:00.030) 0:00:29.594 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 07:58:23 +0000 (0:00:00.028) 0:00:29.623 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 07:58:23 +0000 (0:00:00.028) 0:00:29.651 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 07:58:23 +0000 (0:00:00.027) 0:00:29.679 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 07:58:24 +0000 (0:00:00.030) 0:00:29.709 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 07:58:24 +0000 (0:00:00.031) 0:00:29.740 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 07:58:24 +0000 (0:00:00.031) 0:00:29.772 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-members-thin.yml for /cache/rhel-9.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 07:58:24 +0000 (0:00:00.049) 0:00:29.822 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-member-thin.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/tmpsvhdx31t/tests/verify-pool-member-thin.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'lv2', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/tmpsvhdx31t/tests/verify-pool-member-thin.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test3', 'name': 'lv3', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 07:58:24 +0000 (0:00:00.058) 0:00:29.880 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 07:58:24 +0000 (0:00:00.025) 0:00:29.906 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 07:58:24 +0000 (0:00:00.023) 0:00:29.930 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 07:58:24 +0000 (0:00:00.023) 0:00:29.953 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 07:58:24 +0000 (0:00:00.023) 0:00:29.977 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 07:58:24 +0000 (0:00:00.025) 0:00:30.003 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 07:58:24 +0000 (0:00:00.024) 0:00:30.027 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 07:58:24 +0000 (0:00:00.023) 0:00:30.051 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 07:58:24 +0000 (0:00:00.024) 0:00:30.075 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 07:58:24 +0000 (0:00:00.053) 0:00:30.129 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 07:58:24 +0000 (0:00:00.025) 0:00:30.154 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 07:58:24 +0000 (0:00:00.025) 0:00:30.180 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 07:58:24 +0000 (0:00:00.024) 0:00:30.204 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-members-encryption.yml for /cache/rhel-9.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 07:58:24 +0000 (0:00:00.049) 0:00:30.253 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 07:58:24 +0000 (0:00:00.052) 0:00:30.306 ********* skipping: [/cache/rhel-9.qcow2.snap] => (item=/dev/md/vg1-1) => { "_storage_test_pool_member_path": "/dev/md/vg1-1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 07:58:24 +0000 (0:00:00.029) 0:00:30.335 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml for /cache/rhel-9.qcow2.snap => (item=/dev/md/vg1-1) TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 07:58:24 +0000 (0:00:00.043) 0:00:30.379 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 07:58:24 +0000 (0:00:00.060) 0:00:30.439 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml:11 Thursday 21 July 2022 07:58:24 +0000 (0:00:00.053) 0:00:30.493 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 07:58:24 +0000 (0:00:00.040) 0:00:30.533 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml:23 Thursday 21 July 2022 07:58:24 +0000 (0:00:00.039) 0:00:30.573 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 07:58:24 +0000 (0:00:00.044) 0:00:30.617 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 07:58:24 +0000 (0:00:00.037) 0:00:30.655 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 07:58:24 +0000 (0:00:00.039) 0:00:30.694 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-members-vdo.yml for /cache/rhel-9.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 07:58:25 +0000 (0:00:00.053) 0:00:30.748 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'lv2', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test3', 'name': 'lv3', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 07:58:25 +0000 (0:00:00.064) 0:00:30.812 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 07:58:25 +0000 (0:00:00.025) 0:00:30.838 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 07:58:25 +0000 (0:00:00.024) 0:00:30.862 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 07:58:25 +0000 (0:00:00.024) 0:00:30.886 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 07:58:25 +0000 (0:00:00.025) 0:00:30.912 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 07:58:25 +0000 (0:00:00.024) 0:00:30.936 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 07:58:25 +0000 (0:00:00.024) 0:00:30.960 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 07:58:25 +0000 (0:00:00.023) 0:00:30.984 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 07:58:25 +0000 (0:00:00.036) 0:00:31.021 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 07:58:25 +0000 (0:00:00.024) 0:00:31.046 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 07:58:25 +0000 (0:00:00.024) 0:00:31.070 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 07:58:25 +0000 (0:00:00.024) 0:00:31.095 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 07:58:25 +0000 (0:00:00.028) 0:00:31.123 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 07:58:25 +0000 (0:00:00.026) 0:00:31.149 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 07:58:25 +0000 (0:00:00.024) 0:00:31.174 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 07:58:25 +0000 (0:00:00.023) 0:00:31.198 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 07:58:25 +0000 (0:00:00.038) 0:00:31.236 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 07:58:25 +0000 (0:00:00.025) 0:00:31.262 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 07:58:25 +0000 (0:00:00.024) 0:00:31.286 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 07:58:25 +0000 (0:00:00.024) 0:00:31.310 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 07:58:25 +0000 (0:00:00.052) 0:00:31.363 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 07:58:25 +0000 (0:00:00.024) 0:00:31.387 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 07:58:25 +0000 (0:00:00.024) 0:00:31.412 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 07:58:25 +0000 (0:00:00.024) 0:00:31.436 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 07:58:25 +0000 (0:00:00.040) 0:00:31.476 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 07:58:25 +0000 (0:00:00.033) 0:00:31.509 ********* included: /tmp/tmpsvhdx31t/tests/test-verify-volume.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/tmpsvhdx31t/tests/test-verify-volume.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'lv2', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/tmpsvhdx31t/tests/test-verify-volume.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test3', 'name': 'lv3', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume.yml:2 Thursday 21 July 2022 07:58:25 +0000 (0:00:00.057) 0:00:31.566 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume.yml:10 Thursday 21 July 2022 07:58:25 +0000 (0:00:00.049) 0:00:31.616 ********* included: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml for /cache/rhel-9.qcow2.snap => (item=mount) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml for /cache/rhel-9.qcow2.snap => (item=fstab) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-fs.yml for /cache/rhel-9.qcow2.snap => (item=fs) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml for /cache/rhel-9.qcow2.snap => (item=device) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml for /cache/rhel-9.qcow2.snap => (item=encryption) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml for /cache/rhel-9.qcow2.snap => (item=md) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml for /cache/rhel-9.qcow2.snap => (item=size) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml for /cache/rhel-9.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 07:58:25 +0000 (0:00:00.087) 0:00:31.704 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 07:58:26 +0000 (0:00:00.043) 0:00:31.748 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 508753, "block_size": 4096, "block_total": 520704, "block_used": 11951, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1046525, "inode_total": 1046528, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=1024,swidth=2048,noquota", "size_available": 2083852288, "size_total": 2132803584, "uuid": "787f361a-32a6-4d37-9d1a-e5dbc8e1a2ee" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 508753, "block_size": 4096, "block_total": 520704, "block_used": 11951, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1046525, "inode_total": 1046528, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=1024,swidth=2048,noquota", "size_available": 2083852288, "size_total": 2132803584, "uuid": "787f361a-32a6-4d37-9d1a-e5dbc8e1a2ee" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 07:58:26 +0000 (0:00:00.055) 0:00:31.803 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 07:58:26 +0000 (0:00:00.060) 0:00:31.863 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 07:58:26 +0000 (0:00:00.051) 0:00:31.915 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 07:58:26 +0000 (0:00:00.051) 0:00:31.967 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 07:58:26 +0000 (0:00:00.025) 0:00:31.992 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 07:58:26 +0000 (0:00:00.025) 0:00:32.018 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 07:58:26 +0000 (0:00:00.026) 0:00:32.044 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 07:58:26 +0000 (0:00:00.038) 0:00:32.082 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/vg1-lv1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 07:58:26 +0000 (0:00:00.062) 0:00:32.144 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 07:58:26 +0000 (0:00:00.051) 0:00:32.196 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 07:58:26 +0000 (0:00:00.049) 0:00:32.245 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 07:58:26 +0000 (0:00:00.036) 0:00:32.281 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 07:58:26 +0000 (0:00:00.035) 0:00:32.317 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 07:58:26 +0000 (0:00:00.040) 0:00:32.357 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 07:58:26 +0000 (0:00:00.038) 0:00:32.395 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1658390294.7622678, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658390294.7622678, "dev": 5, "device_type": 64770, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 963, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658390294.7622678, "nlink": 1, "path": "/dev/mapper/vg1-lv1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 07:58:27 +0000 (0:00:00.409) 0:00:32.805 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 07:58:27 +0000 (0:00:00.038) 0:00:32.843 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 07:58:27 +0000 (0:00:00.070) 0:00:32.914 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 07:58:27 +0000 (0:00:00.101) 0:00:33.015 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 07:58:27 +0000 (0:00:00.024) 0:00:33.040 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 07:58:27 +0000 (0:00:00.038) 0:00:33.078 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 07:58:27 +0000 (0:00:00.023) 0:00:33.101 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 07:58:28 +0000 (0:00:00.909) 0:00:34.011 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 07:58:28 +0000 (0:00:00.024) 0:00:34.036 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 07:58:28 +0000 (0:00:00.024) 0:00:34.060 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 07:58:28 +0000 (0:00:00.054) 0:00:34.114 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 07:58:28 +0000 (0:00:00.024) 0:00:34.139 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 07:58:28 +0000 (0:00:00.022) 0:00:34.162 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 07:58:28 +0000 (0:00:00.023) 0:00:34.185 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 07:58:28 +0000 (0:00:00.023) 0:00:34.209 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 07:58:28 +0000 (0:00:00.024) 0:00:34.233 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 07:58:28 +0000 (0:00:00.052) 0:00:34.286 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 07:58:28 +0000 (0:00:00.054) 0:00:34.340 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 07:58:28 +0000 (0:00:00.039) 0:00:34.380 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 07:58:28 +0000 (0:00:00.036) 0:00:34.416 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 07:58:28 +0000 (0:00:00.035) 0:00:34.452 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 07:58:28 +0000 (0:00:00.036) 0:00:34.488 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 07:58:28 +0000 (0:00:00.039) 0:00:34.527 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 07:58:28 +0000 (0:00:00.037) 0:00:34.565 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 07:58:28 +0000 (0:00:00.037) 0:00:34.603 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 07:58:28 +0000 (0:00:00.036) 0:00:34.639 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 07:58:28 +0000 (0:00:00.040) 0:00:34.680 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 07:58:29 +0000 (0:00:00.036) 0:00:34.717 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 07:58:29 +0000 (0:00:00.040) 0:00:34.757 ********* ok: [/cache/rhel-9.qcow2.snap] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 07:58:29 +0000 (0:00:00.498) 0:00:35.256 ********* ok: [/cache/rhel-9.qcow2.snap] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 07:58:30 +0000 (0:00:00.489) 0:00:35.746 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "2147483648" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 07:58:30 +0000 (0:00:00.052) 0:00:35.798 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "2147483648" } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 07:58:30 +0000 (0:00:00.042) 0:00:35.841 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 07:58:30 +0000 (0:00:00.043) 0:00:35.884 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 07:58:30 +0000 (0:00:00.043) 0:00:35.928 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 07:58:30 +0000 (0:00:00.038) 0:00:35.966 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 07:58:30 +0000 (0:00:00.059) 0:00:36.025 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 07:58:30 +0000 (0:00:00.061) 0:00:36.087 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_actual_size": { "bytes": 2147483648, "changed": false, "failed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 07:58:30 +0000 (0:00:00.049) 0:00:36.137 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "2147483648" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 07:58:30 +0000 (0:00:00.053) 0:00:36.191 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 07:58:30 +0000 (0:00:00.069) 0:00:36.260 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "vg1/lv1" ], "delta": "0:00:00.042616", "end": "2022-07-21 03:58:30.311803", "rc": 0, "start": "2022-07-21 03:58:30.269187" } STDOUT: LVM2_LV_NAME=lv1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 07:58:30 +0000 (0:00:00.429) 0:00:36.690 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 07:58:31 +0000 (0:00:00.050) 0:00:36.741 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 07:58:31 +0000 (0:00:00.074) 0:00:36.816 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 07:58:31 +0000 (0:00:00.044) 0:00:36.860 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 07:58:31 +0000 (0:00:00.035) 0:00:36.896 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 07:58:31 +0000 (0:00:00.036) 0:00:36.933 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume.yml:16 Thursday 21 July 2022 07:58:31 +0000 (0:00:00.040) 0:00:36.973 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume.yml:2 Thursday 21 July 2022 07:58:31 +0000 (0:00:00.033) 0:00:37.007 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume.yml:10 Thursday 21 July 2022 07:58:31 +0000 (0:00:00.049) 0:00:37.056 ********* included: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml for /cache/rhel-9.qcow2.snap => (item=mount) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml for /cache/rhel-9.qcow2.snap => (item=fstab) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-fs.yml for /cache/rhel-9.qcow2.snap => (item=fs) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml for /cache/rhel-9.qcow2.snap => (item=device) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml for /cache/rhel-9.qcow2.snap => (item=encryption) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml for /cache/rhel-9.qcow2.snap => (item=md) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml for /cache/rhel-9.qcow2.snap => (item=size) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml for /cache/rhel-9.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 07:58:31 +0000 (0:00:00.076) 0:00:37.133 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv2" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 07:58:31 +0000 (0:00:00.044) 0:00:37.177 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 769066, "block_size": 4096, "block_total": 782848, "block_used": 13782, "device": "/dev/mapper/vg1-lv2", "fstype": "xfs", "inode_available": 1570813, "inode_total": 1570816, "inode_used": 3, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=1024,swidth=2048,noquota", "size_available": 3150094336, "size_total": 3206545408, "uuid": "3f43e20b-b25b-45ac-8e25-2adcf45572e9" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 769066, "block_size": 4096, "block_total": 782848, "block_used": 13782, "device": "/dev/mapper/vg1-lv2", "fstype": "xfs", "inode_available": 1570813, "inode_total": 1570816, "inode_used": 3, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=1024,swidth=2048,noquota", "size_available": 3150094336, "size_total": 3206545408, "uuid": "3f43e20b-b25b-45ac-8e25-2adcf45572e9" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 07:58:31 +0000 (0:00:00.061) 0:00:37.239 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 07:58:31 +0000 (0:00:00.055) 0:00:37.295 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 07:58:31 +0000 (0:00:00.048) 0:00:37.343 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 07:58:31 +0000 (0:00:00.050) 0:00:37.394 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 07:58:31 +0000 (0:00:00.024) 0:00:37.419 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 07:58:31 +0000 (0:00:00.025) 0:00:37.444 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 07:58:31 +0000 (0:00:00.024) 0:00:37.469 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 07:58:31 +0000 (0:00:00.066) 0:00:37.535 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/vg1-lv2 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test2 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test2 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 07:58:31 +0000 (0:00:00.122) 0:00:37.657 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 07:58:32 +0000 (0:00:00.049) 0:00:37.707 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 07:58:32 +0000 (0:00:00.050) 0:00:37.758 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 07:58:32 +0000 (0:00:00.043) 0:00:37.801 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 07:58:32 +0000 (0:00:00.037) 0:00:37.839 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 07:58:32 +0000 (0:00:00.042) 0:00:37.881 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 07:58:32 +0000 (0:00:00.047) 0:00:37.928 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1658390294.4762678, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658390294.4762678, "dev": 5, "device_type": 64769, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 929, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658390294.4762678, "nlink": 1, "path": "/dev/mapper/vg1-lv2", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 07:58:32 +0000 (0:00:00.403) 0:00:38.331 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 07:58:32 +0000 (0:00:00.040) 0:00:38.372 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 07:58:32 +0000 (0:00:00.039) 0:00:38.412 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 07:58:32 +0000 (0:00:00.040) 0:00:38.453 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 07:58:32 +0000 (0:00:00.026) 0:00:38.479 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 07:58:32 +0000 (0:00:00.040) 0:00:38.520 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 07:58:32 +0000 (0:00:00.024) 0:00:38.544 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 07:58:33 +0000 (0:00:00.958) 0:00:39.503 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 07:58:33 +0000 (0:00:00.026) 0:00:39.529 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 07:58:33 +0000 (0:00:00.024) 0:00:39.554 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 07:58:33 +0000 (0:00:00.053) 0:00:39.607 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 07:58:33 +0000 (0:00:00.024) 0:00:39.632 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 07:58:33 +0000 (0:00:00.026) 0:00:39.659 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 07:58:33 +0000 (0:00:00.025) 0:00:39.685 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 07:58:34 +0000 (0:00:00.025) 0:00:39.711 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 07:58:34 +0000 (0:00:00.025) 0:00:39.737 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 07:58:34 +0000 (0:00:00.054) 0:00:39.791 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 07:58:34 +0000 (0:00:00.088) 0:00:39.880 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 07:58:34 +0000 (0:00:00.038) 0:00:39.919 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 07:58:34 +0000 (0:00:00.084) 0:00:40.003 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 07:58:34 +0000 (0:00:00.038) 0:00:40.041 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 07:58:34 +0000 (0:00:00.077) 0:00:40.119 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 07:58:34 +0000 (0:00:00.078) 0:00:40.197 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 07:58:34 +0000 (0:00:00.039) 0:00:40.237 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 07:58:34 +0000 (0:00:00.038) 0:00:40.275 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 07:58:34 +0000 (0:00:00.040) 0:00:40.316 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 07:58:34 +0000 (0:00:00.039) 0:00:40.355 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 07:58:34 +0000 (0:00:00.037) 0:00:40.393 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 07:58:34 +0000 (0:00:00.039) 0:00:40.432 ********* ok: [/cache/rhel-9.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 07:58:35 +0000 (0:00:00.383) 0:00:40.815 ********* ok: [/cache/rhel-9.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 07:58:35 +0000 (0:00:00.384) 0:00:41.200 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "3221225472" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 07:58:35 +0000 (0:00:00.060) 0:00:41.260 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 07:58:35 +0000 (0:00:00.036) 0:00:41.297 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 07:58:35 +0000 (0:00:00.042) 0:00:41.340 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 07:58:35 +0000 (0:00:00.040) 0:00:41.381 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 07:58:35 +0000 (0:00:00.041) 0:00:41.422 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 07:58:35 +0000 (0:00:00.037) 0:00:41.459 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 07:58:35 +0000 (0:00:00.037) 0:00:41.497 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_actual_size": { "bytes": 3221225472, "changed": false, "failed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 07:58:35 +0000 (0:00:00.039) 0:00:41.536 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 07:58:35 +0000 (0:00:00.036) 0:00:41.573 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 07:58:35 +0000 (0:00:00.052) 0:00:41.625 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "vg1/lv2" ], "delta": "0:00:00.034612", "end": "2022-07-21 03:58:35.659520", "rc": 0, "start": "2022-07-21 03:58:35.624908" } STDOUT: LVM2_LV_NAME=lv2 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 07:58:36 +0000 (0:00:00.414) 0:00:42.040 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 07:58:36 +0000 (0:00:00.050) 0:00:42.091 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 07:58:36 +0000 (0:00:00.055) 0:00:42.147 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 07:58:36 +0000 (0:00:00.040) 0:00:42.187 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 07:58:36 +0000 (0:00:00.039) 0:00:42.226 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 07:58:36 +0000 (0:00:00.038) 0:00:42.265 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume.yml:16 Thursday 21 July 2022 07:58:36 +0000 (0:00:00.039) 0:00:42.305 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume.yml:2 Thursday 21 July 2022 07:58:36 +0000 (0:00:00.074) 0:00:42.380 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume.yml:10 Thursday 21 July 2022 07:58:36 +0000 (0:00:00.054) 0:00:42.434 ********* included: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml for /cache/rhel-9.qcow2.snap => (item=mount) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml for /cache/rhel-9.qcow2.snap => (item=fstab) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-fs.yml for /cache/rhel-9.qcow2.snap => (item=fs) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml for /cache/rhel-9.qcow2.snap => (item=device) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml for /cache/rhel-9.qcow2.snap => (item=encryption) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml for /cache/rhel-9.qcow2.snap => (item=md) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml for /cache/rhel-9.qcow2.snap => (item=size) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml for /cache/rhel-9.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 07:58:36 +0000 (0:00:00.080) 0:00:42.515 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv3" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 07:58:36 +0000 (0:00:00.045) 0:00:42.561 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 769066, "block_size": 4096, "block_total": 782848, "block_used": 13782, "device": "/dev/mapper/vg1-lv3", "fstype": "xfs", "inode_available": 1570813, "inode_total": 1570816, "inode_used": 3, "mount": "/opt/test3", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=1024,swidth=2048,noquota", "size_available": 3150094336, "size_total": 3206545408, "uuid": "797a30b2-c3d5-4554-a543-95a399775991" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 769066, "block_size": 4096, "block_total": 782848, "block_used": 13782, "device": "/dev/mapper/vg1-lv3", "fstype": "xfs", "inode_available": 1570813, "inode_total": 1570816, "inode_used": 3, "mount": "/opt/test3", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=1024,swidth=2048,noquota", "size_available": 3150094336, "size_total": 3206545408, "uuid": "797a30b2-c3d5-4554-a543-95a399775991" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 07:58:36 +0000 (0:00:00.055) 0:00:42.616 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 07:58:36 +0000 (0:00:00.051) 0:00:42.667 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 07:58:37 +0000 (0:00:00.051) 0:00:42.719 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 07:58:37 +0000 (0:00:00.051) 0:00:42.771 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 07:58:37 +0000 (0:00:00.024) 0:00:42.796 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 07:58:37 +0000 (0:00:00.025) 0:00:42.822 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 07:58:37 +0000 (0:00:00.024) 0:00:42.846 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 07:58:37 +0000 (0:00:00.035) 0:00:42.882 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/vg1-lv3 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test3 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test3 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 07:58:37 +0000 (0:00:00.062) 0:00:42.944 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 07:58:37 +0000 (0:00:00.054) 0:00:42.999 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 07:58:37 +0000 (0:00:00.050) 0:00:43.049 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 07:58:37 +0000 (0:00:00.036) 0:00:43.086 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 07:58:37 +0000 (0:00:00.037) 0:00:43.123 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 07:58:37 +0000 (0:00:00.038) 0:00:43.162 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 07:58:37 +0000 (0:00:00.039) 0:00:43.202 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1658390294.2042677, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658390294.2042677, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 894, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658390294.2042677, "nlink": 1, "path": "/dev/mapper/vg1-lv3", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 07:58:37 +0000 (0:00:00.382) 0:00:43.584 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 07:58:37 +0000 (0:00:00.037) 0:00:43.622 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 07:58:37 +0000 (0:00:00.038) 0:00:43.660 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 07:58:37 +0000 (0:00:00.036) 0:00:43.697 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 07:58:38 +0000 (0:00:00.025) 0:00:43.722 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 07:58:38 +0000 (0:00:00.037) 0:00:43.760 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 07:58:38 +0000 (0:00:00.023) 0:00:43.784 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 07:58:38 +0000 (0:00:00.867) 0:00:44.651 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 07:58:38 +0000 (0:00:00.025) 0:00:44.677 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 07:58:38 +0000 (0:00:00.026) 0:00:44.703 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 07:58:39 +0000 (0:00:00.053) 0:00:44.756 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 07:58:39 +0000 (0:00:00.024) 0:00:44.781 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 07:58:39 +0000 (0:00:00.024) 0:00:44.806 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 07:58:39 +0000 (0:00:00.025) 0:00:44.831 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 07:58:39 +0000 (0:00:00.027) 0:00:44.859 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 07:58:39 +0000 (0:00:00.026) 0:00:44.885 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 07:58:39 +0000 (0:00:00.053) 0:00:44.939 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 07:58:39 +0000 (0:00:00.051) 0:00:44.990 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 07:58:39 +0000 (0:00:00.036) 0:00:45.027 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 07:58:39 +0000 (0:00:00.036) 0:00:45.064 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 07:58:39 +0000 (0:00:00.036) 0:00:45.100 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 07:58:39 +0000 (0:00:00.032) 0:00:45.132 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 07:58:39 +0000 (0:00:00.034) 0:00:45.167 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 07:58:39 +0000 (0:00:00.034) 0:00:45.201 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 07:58:39 +0000 (0:00:00.038) 0:00:45.240 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 07:58:39 +0000 (0:00:00.040) 0:00:45.280 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 07:58:39 +0000 (0:00:00.035) 0:00:45.316 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 07:58:39 +0000 (0:00:00.038) 0:00:45.354 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 07:58:39 +0000 (0:00:00.045) 0:00:45.400 ********* ok: [/cache/rhel-9.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 07:58:40 +0000 (0:00:00.362) 0:00:45.763 ********* ok: [/cache/rhel-9.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 07:58:40 +0000 (0:00:00.381) 0:00:46.145 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "3221225472" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 07:58:40 +0000 (0:00:00.051) 0:00:46.196 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 07:58:40 +0000 (0:00:00.068) 0:00:46.264 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 07:58:40 +0000 (0:00:00.036) 0:00:46.300 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 07:58:40 +0000 (0:00:00.091) 0:00:46.391 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 07:58:40 +0000 (0:00:00.036) 0:00:46.428 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 07:58:40 +0000 (0:00:00.036) 0:00:46.464 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 07:58:40 +0000 (0:00:00.037) 0:00:46.501 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_actual_size": { "bytes": 3221225472, "changed": false, "failed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 07:58:40 +0000 (0:00:00.034) 0:00:46.536 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 07:58:40 +0000 (0:00:00.036) 0:00:46.572 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 07:58:40 +0000 (0:00:00.053) 0:00:46.625 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "vg1/lv3" ], "delta": "0:00:00.039102", "end": "2022-07-21 03:58:40.651382", "rc": 0, "start": "2022-07-21 03:58:40.612280" } STDOUT: LVM2_LV_NAME=lv3 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 07:58:41 +0000 (0:00:00.400) 0:00:47.026 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 07:58:41 +0000 (0:00:00.051) 0:00:47.077 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 07:58:41 +0000 (0:00:00.051) 0:00:47.129 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 07:58:41 +0000 (0:00:00.037) 0:00:47.166 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 07:58:41 +0000 (0:00:00.037) 0:00:47.204 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 07:58:41 +0000 (0:00:00.035) 0:00:47.239 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume.yml:16 Thursday 21 July 2022 07:58:41 +0000 (0:00:00.039) 0:00:47.279 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:43 Thursday 21 July 2022 07:58:41 +0000 (0:00:00.032) 0:00:47.312 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:53 Thursday 21 July 2022 07:58:41 +0000 (0:00:00.021) 0:00:47.333 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Repeat the previous invocation to verify idempotence] ******************** task path: /tmp/tmpsvhdx31t/tests/tests_create_raid_pool_then_remove.yml:54 Thursday 21 July 2022 07:58:41 +0000 (0:00:00.033) 0:00:47.367 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 07:58:41 +0000 (0:00:00.048) 0:00:47.415 ********* included: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-9.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 07:58:41 +0000 (0:00:00.037) 0:00:47.452 ********* ok: [/cache/rhel-9.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 07:58:42 +0000 (0:00:00.547) 0:00:48.000 ********* skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/vars/RedHat_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.yml" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.0.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.0.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 07:58:42 +0000 (0:00:00.069) 0:00:48.070 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 07:58:42 +0000 (0:00:00.037) 0:00:48.107 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 07:58:42 +0000 (0:00:00.038) 0:00:48.145 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-9.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 07:58:42 +0000 (0:00:00.050) 0:00:48.196 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 07:58:42 +0000 (0:00:00.065) 0:00:48.261 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 07:58:42 +0000 (0:00:00.030) 0:00:48.292 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda", "sdb" ], "name": "vg1", "raid_level": "raid0", "state": "present", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "lv1", "size": "2g" }, { "mount_point": "/opt/test2", "name": "lv2", "size": "3g" }, { "mount_point": "/opt/test3", "name": "lv3", "size": "3g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 07:58:42 +0000 (0:00:00.043) 0:00:48.336 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 07:58:42 +0000 (0:00:00.038) 0:00:48.374 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 07:58:42 +0000 (0:00:00.030) 0:00:48.404 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 07:58:42 +0000 (0:00:00.028) 0:00:48.432 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 07:58:42 +0000 (0:00:00.027) 0:00:48.460 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 07:58:42 +0000 (0:00:00.027) 0:00:48.488 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 07:58:42 +0000 (0:00:00.058) 0:00:48.547 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 07:58:42 +0000 (0:00:00.022) 0:00:48.569 ********* ok: [/cache/rhel-9.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/mapper/vg1-lv1", "/dev/mapper/vg1-lv2", "/dev/mapper/vg1-lv3", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/vg1-lv2", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test3", "src": "/dev/mapper/vg1-lv3", "state": "mounted" } ], "packages": [ "mdadm", "lvm2", "dosfstools", "e2fsprogs", "xfsprogs" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 07:58:45 +0000 (0:00:02.381) 0:00:50.951 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 07:58:45 +0000 (0:00:00.038) 0:00:50.990 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 07:58:45 +0000 (0:00:00.024) 0:00:51.014 ********* ok: [/cache/rhel-9.qcow2.snap] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/mapper/vg1-lv1", "/dev/mapper/vg1-lv2", "/dev/mapper/vg1-lv3", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/vg1-lv2", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test3", "src": "/dev/mapper/vg1-lv3", "state": "mounted" } ], "packages": [ "mdadm", "lvm2", "dosfstools", "e2fsprogs", "xfsprogs" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 07:58:45 +0000 (0:00:00.042) 0:00:51.056 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 07:58:45 +0000 (0:00:00.042) 0:00:51.099 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 07:58:45 +0000 (0:00:00.039) 0:00:51.139 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 07:58:45 +0000 (0:00:00.042) 0:00:51.181 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 07:58:46 +0000 (0:00:00.693) 0:00:51.875 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/rhel-9.qcow2.snap] => (item={'src': '/dev/mapper/vg1-lv1', 'path': '/opt/test1', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv1" } redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/rhel-9.qcow2.snap] => (item={'src': '/dev/mapper/vg1-lv2', 'path': '/opt/test2', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/vg1-lv2", "state": "mounted" }, "name": "/opt/test2", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv2" } redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/rhel-9.qcow2.snap] => (item={'src': '/dev/mapper/vg1-lv3', 'path': '/opt/test3', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test3", "src": "/dev/mapper/vg1-lv3", "state": "mounted" }, "name": "/opt/test3", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv3" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 07:58:47 +0000 (0:00:01.165) 0:00:53.041 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 07:58:48 +0000 (0:00:00.711) 0:00:53.753 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 07:58:48 +0000 (0:00:00.366) 0:00:54.119 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 07:58:48 +0000 (0:00:00.023) 0:00:54.143 ********* ok: [/cache/rhel-9.qcow2.snap] META: role_complete for /cache/rhel-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpsvhdx31t/tests/tests_create_raid_pool_then_remove.yml:75 Thursday 21 July 2022 07:58:49 +0000 (0:00:01.100) 0:00:55.244 ********* included: /tmp/tmpsvhdx31t/tests/verify-role-results.yml for /cache/rhel-9.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:1 Thursday 21 July 2022 07:58:49 +0000 (0:00:00.052) 0:00:55.296 ********* ok: [/cache/rhel-9.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:6 Thursday 21 July 2022 07:58:49 +0000 (0:00:00.056) 0:00:55.352 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:14 Thursday 21 July 2022 07:58:49 +0000 (0:00:00.042) 0:00:55.395 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/vg1-lv1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv1", "size": "2G", "type": "lvm", "uuid": "787f361a-32a6-4d37-9d1a-e5dbc8e1a2ee" }, "/dev/mapper/vg1-lv2": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv2", "size": "3G", "type": "lvm", "uuid": "3f43e20b-b25b-45ac-8e25-2adcf45572e9" }, "/dev/mapper/vg1-lv3": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv3", "size": "3G", "type": "lvm", "uuid": "797a30b2-c3d5-4554-a543-95a399775991" }, "/dev/md/vg1-1": { "fstype": "LVM2_member", "label": "", "name": "/dev/md/vg1-1", "size": "20G", "type": "raid0", "uuid": "Ne2iJw-KV54-oSmr-NQfY-Id1x-sGiW-mTT0T1" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda1": { "fstype": "linux_raid_member", "label": "vg1-1", "name": "/dev/sda1", "size": "10G", "type": "partition", "uuid": "683bbfd4-0682-771c-7235-5b411ba334cc" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb1": { "fstype": "linux_raid_member", "label": "vg1-1", "name": "/dev/sdb1", "size": "10G", "type": "partition", "uuid": "683bbfd4-0682-771c-7235-5b411ba334cc" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-07-57-41-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "vfat", "label": "", "name": "/dev/vda2", "size": "200M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "boot", "name": "/dev/vda3", "size": "500M", "type": "partition", "uuid": "6e74e171-0370-451f-8340-f16ad2839183" }, "/dev/vda4": { "fstype": "xfs", "label": "root", "name": "/dev/vda4", "size": "9.3G", "type": "partition", "uuid": "1bb53e4d-984c-4316-908a-59b5a62fa30e" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "12be66f7-7f03-4d54-9a48-a520825d8fa9" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "9bd037ed-b1bb-4b9c-a008-9f07d34ab071" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:19 Thursday 21 July 2022 07:58:50 +0000 (0:00:00.398) 0:00:55.794 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003754", "end": "2022-07-21 03:58:49.796040", "rc": 0, "start": "2022-07-21 03:58:49.792286" } STDOUT: UUID=6e74e171-0370-451f-8340-f16ad2839183 /boot xfs defaults 0 0 UUID=1bb53e4d-984c-4316-908a-59b5a62fa30e / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/vdb1 /var/cache/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 /dev/mapper/vg1-lv1 /opt/test1 xfs defaults 0 0 /dev/mapper/vg1-lv2 /opt/test2 xfs defaults 0 0 /dev/mapper/vg1-lv3 /opt/test3 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:24 Thursday 21 July 2022 07:58:50 +0000 (0:00:00.381) 0:00:56.175 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003460", "end": "2022-07-21 03:58:50.174270", "failed_when_result": false, "rc": 1, "start": "2022-07-21 03:58:50.170810" } STDERR: cat: /etc/crypttab: No such file or directory MSG: non-zero return code TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:33 Thursday 21 July 2022 07:58:50 +0000 (0:00:00.374) 0:00:56.549 ********* included: /tmp/tmpsvhdx31t/tests/test-verify-pool.yml for /cache/rhel-9.qcow2.snap => (item={'disks': ['sda', 'sdb'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'vg1', 'raid_level': 'raid0', 'raid_device_count': 2, 'raid_spare_count': 0, 'raid_metadata_version': '1.2', 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}, {'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'lv2', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}, {'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test3', 'name': 'lv3', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': '512 KiB'}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-pool.yml:5 Thursday 21 July 2022 07:58:50 +0000 (0:00:00.064) 0:00:56.613 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool.yml:18 Thursday 21 July 2022 07:58:50 +0000 (0:00:00.034) 0:00:56.648 ********* included: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml for /cache/rhel-9.qcow2.snap => (item=members) included: /tmp/tmpsvhdx31t/tests/test-verify-pool-volumes.yml for /cache/rhel-9.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 07:58:50 +0000 (0:00:00.049) 0:00:56.697 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/md127" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 07:58:51 +0000 (0:00:00.054) 0:00:56.752 ********* ok: [/cache/rhel-9.qcow2.snap] => (item=/dev/md127) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/md/vg1-1", "pv": "/dev/md127" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 07:58:51 +0000 (0:00:00.405) 0:00:57.157 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 07:58:51 +0000 (0:00:00.049) 0:00:57.207 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/md/vg1-1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 07:58:51 +0000 (0:00:00.048) 0:00:57.256 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 07:58:51 +0000 (0:00:00.051) 0:00:57.308 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 07:58:51 +0000 (0:00:00.040) 0:00:57.348 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "partition" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 07:58:51 +0000 (0:00:00.048) 0:00:57.397 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "raid0" }, "changed": false } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 07:58:51 +0000 (0:00:00.039) 0:00:57.436 ********* ok: [/cache/rhel-9.qcow2.snap] => (item=/dev/md/vg1-1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/md/vg1-1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 07:58:51 +0000 (0:00:00.044) 0:00:57.480 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml for /cache/rhel-9.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:6 Thursday 21 July 2022 07:58:51 +0000 (0:00:00.042) 0:00:57.523 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "mdadm", "--detail", "/dev/md/vg1-1" ], "delta": "0:00:00.007841", "end": "2022-07-21 03:58:51.516638", "rc": 0, "start": "2022-07-21 03:58:51.508797" } STDOUT: /dev/md/vg1-1: Version : 1.2 Creation Time : Thu Jul 21 03:58:08 2022 Raid Level : raid0 Array Size : 20951040 (19.98 GiB 21.45 GB) Raid Devices : 2 Total Devices : 2 Persistence : Superblock is persistent Update Time : Thu Jul 21 03:58:08 2022 State : clean Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 Layout : -unknown- Chunk Size : 512K Consistency Policy : none Name : vg1-1 UUID : 683bbfd4:0682771c:72355b41:1ba334cc Events : 0 Number Major Minor RaidDevice State 0 8 1 0 active sync /dev/sda1 1 8 17 1 active sync /dev/sdb1 TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:12 Thursday 21 July 2022 07:58:52 +0000 (0:00:00.366) 0:00:57.890 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": "Active\\ Devices\\ :\\ 2\\\n" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:16 Thursday 21 July 2022 07:58:52 +0000 (0:00:00.052) 0:00:57.942 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_md_spare_devices_re": "Spare\\ Devices\\ :\\ 0\\\n" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:20 Thursday 21 July 2022 07:58:52 +0000 (0:00:00.052) 0:00:57.995 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_md_metadata_version_re": "Version\\ :\\ 1\\.2\\\n" }, "changed": false } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:24 Thursday 21 July 2022 07:58:52 +0000 (0:00:00.052) 0:00:58.048 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:30 Thursday 21 July 2022 07:58:52 +0000 (0:00:00.043) 0:00:58.092 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:36 Thursday 21 July 2022 07:58:52 +0000 (0:00:00.044) 0:00:58.136 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:44 Thursday 21 July 2022 07:58:52 +0000 (0:00:00.045) 0:00:58.181 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 07:58:52 +0000 (0:00:00.037) 0:00:58.218 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-members-lvmraid.yml for /cache/rhel-9.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 07:58:52 +0000 (0:00:00.048) 0:00:58.267 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-member-lvmraid.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/tmpsvhdx31t/tests/verify-pool-member-lvmraid.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'lv2', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/tmpsvhdx31t/tests/verify-pool-member-lvmraid.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test3', 'name': 'lv3', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 07:58:52 +0000 (0:00:00.056) 0:00:58.324 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 07:58:52 +0000 (0:00:00.028) 0:00:58.353 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 07:58:52 +0000 (0:00:00.028) 0:00:58.382 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 07:58:52 +0000 (0:00:00.027) 0:00:58.409 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 07:58:52 +0000 (0:00:00.029) 0:00:58.439 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 07:58:52 +0000 (0:00:00.027) 0:00:58.467 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 07:58:52 +0000 (0:00:00.029) 0:00:58.496 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 07:58:52 +0000 (0:00:00.028) 0:00:58.524 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 07:58:52 +0000 (0:00:00.028) 0:00:58.553 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 07:58:52 +0000 (0:00:00.028) 0:00:58.581 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-members-thin.yml for /cache/rhel-9.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 07:58:52 +0000 (0:00:00.081) 0:00:58.662 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-member-thin.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/tmpsvhdx31t/tests/verify-pool-member-thin.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'lv2', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/tmpsvhdx31t/tests/verify-pool-member-thin.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test3', 'name': 'lv3', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 07:58:53 +0000 (0:00:00.057) 0:00:58.720 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 07:58:53 +0000 (0:00:00.024) 0:00:58.744 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 07:58:53 +0000 (0:00:00.024) 0:00:58.768 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 07:58:53 +0000 (0:00:00.025) 0:00:58.793 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 07:58:53 +0000 (0:00:00.024) 0:00:58.818 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 07:58:53 +0000 (0:00:00.024) 0:00:58.842 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 07:58:53 +0000 (0:00:00.023) 0:00:58.866 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 07:58:53 +0000 (0:00:00.023) 0:00:58.890 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 07:58:53 +0000 (0:00:00.025) 0:00:58.916 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 07:58:53 +0000 (0:00:00.024) 0:00:58.940 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 07:58:53 +0000 (0:00:00.024) 0:00:58.964 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 07:58:53 +0000 (0:00:00.024) 0:00:58.988 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 07:58:53 +0000 (0:00:00.026) 0:00:59.015 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-members-encryption.yml for /cache/rhel-9.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 07:58:53 +0000 (0:00:00.048) 0:00:59.063 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 07:58:53 +0000 (0:00:00.050) 0:00:59.114 ********* skipping: [/cache/rhel-9.qcow2.snap] => (item=/dev/md/vg1-1) => { "_storage_test_pool_member_path": "/dev/md/vg1-1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 07:58:53 +0000 (0:00:00.029) 0:00:59.143 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml for /cache/rhel-9.qcow2.snap => (item=/dev/md/vg1-1) TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 07:58:53 +0000 (0:00:00.043) 0:00:59.187 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 07:58:53 +0000 (0:00:00.050) 0:00:59.237 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml:11 Thursday 21 July 2022 07:58:53 +0000 (0:00:00.047) 0:00:59.285 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 07:58:53 +0000 (0:00:00.036) 0:00:59.321 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml:23 Thursday 21 July 2022 07:58:53 +0000 (0:00:00.036) 0:00:59.358 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 07:58:53 +0000 (0:00:00.050) 0:00:59.408 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 07:58:53 +0000 (0:00:00.039) 0:00:59.448 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 07:58:53 +0000 (0:00:00.037) 0:00:59.486 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-members-vdo.yml for /cache/rhel-9.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 07:58:53 +0000 (0:00:00.051) 0:00:59.537 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'lv2', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test3', 'name': 'lv3', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 07:58:53 +0000 (0:00:00.063) 0:00:59.600 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 07:58:53 +0000 (0:00:00.024) 0:00:59.625 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 07:58:53 +0000 (0:00:00.023) 0:00:59.649 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 07:58:53 +0000 (0:00:00.023) 0:00:59.673 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 07:58:53 +0000 (0:00:00.025) 0:00:59.698 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 07:58:54 +0000 (0:00:00.023) 0:00:59.722 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 07:58:54 +0000 (0:00:00.023) 0:00:59.746 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 07:58:54 +0000 (0:00:00.024) 0:00:59.771 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 07:58:54 +0000 (0:00:00.097) 0:00:59.869 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 07:58:54 +0000 (0:00:00.026) 0:00:59.895 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 07:58:54 +0000 (0:00:00.025) 0:00:59.921 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 07:58:54 +0000 (0:00:00.024) 0:00:59.945 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 07:58:54 +0000 (0:00:00.025) 0:00:59.971 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 07:58:54 +0000 (0:00:00.026) 0:00:59.998 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 07:58:54 +0000 (0:00:00.026) 0:01:00.025 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 07:58:54 +0000 (0:00:00.027) 0:01:00.052 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 07:58:54 +0000 (0:00:00.041) 0:01:00.094 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 07:58:54 +0000 (0:00:00.027) 0:01:00.121 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 07:58:54 +0000 (0:00:00.027) 0:01:00.149 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 07:58:54 +0000 (0:00:00.026) 0:01:00.175 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 07:58:54 +0000 (0:00:00.027) 0:01:00.203 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 07:58:54 +0000 (0:00:00.025) 0:01:00.229 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 07:58:54 +0000 (0:00:00.024) 0:01:00.254 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 07:58:54 +0000 (0:00:00.025) 0:01:00.279 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 07:58:54 +0000 (0:00:00.041) 0:01:00.320 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 07:58:54 +0000 (0:00:00.037) 0:01:00.358 ********* included: /tmp/tmpsvhdx31t/tests/test-verify-volume.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/tmpsvhdx31t/tests/test-verify-volume.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'lv2', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/tmpsvhdx31t/tests/test-verify-volume.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test3', 'name': 'lv3', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume.yml:2 Thursday 21 July 2022 07:58:54 +0000 (0:00:00.056) 0:01:00.414 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume.yml:10 Thursday 21 July 2022 07:58:54 +0000 (0:00:00.051) 0:01:00.466 ********* included: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml for /cache/rhel-9.qcow2.snap => (item=mount) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml for /cache/rhel-9.qcow2.snap => (item=fstab) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-fs.yml for /cache/rhel-9.qcow2.snap => (item=fs) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml for /cache/rhel-9.qcow2.snap => (item=device) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml for /cache/rhel-9.qcow2.snap => (item=encryption) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml for /cache/rhel-9.qcow2.snap => (item=md) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml for /cache/rhel-9.qcow2.snap => (item=size) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml for /cache/rhel-9.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 07:58:54 +0000 (0:00:00.080) 0:01:00.547 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 07:58:54 +0000 (0:00:00.044) 0:01:00.591 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 508753, "block_size": 4096, "block_total": 520704, "block_used": 11951, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1046525, "inode_total": 1046528, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=1024,swidth=2048,noquota", "size_available": 2083852288, "size_total": 2132803584, "uuid": "787f361a-32a6-4d37-9d1a-e5dbc8e1a2ee" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 508753, "block_size": 4096, "block_total": 520704, "block_used": 11951, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1046525, "inode_total": 1046528, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=1024,swidth=2048,noquota", "size_available": 2083852288, "size_total": 2132803584, "uuid": "787f361a-32a6-4d37-9d1a-e5dbc8e1a2ee" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 07:58:54 +0000 (0:00:00.063) 0:01:00.654 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 07:58:55 +0000 (0:00:00.061) 0:01:00.716 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 07:58:55 +0000 (0:00:00.049) 0:01:00.766 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 07:58:55 +0000 (0:00:00.051) 0:01:00.817 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 07:58:55 +0000 (0:00:00.024) 0:01:00.841 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 07:58:55 +0000 (0:00:00.024) 0:01:00.866 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 07:58:55 +0000 (0:00:00.025) 0:01:00.891 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 07:58:55 +0000 (0:00:00.034) 0:01:00.926 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/vg1-lv1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 07:58:55 +0000 (0:00:00.062) 0:01:00.988 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 07:58:55 +0000 (0:00:00.053) 0:01:01.042 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 07:58:55 +0000 (0:00:00.060) 0:01:01.103 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 07:58:55 +0000 (0:00:00.038) 0:01:01.141 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 07:58:55 +0000 (0:00:00.106) 0:01:01.248 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 07:58:55 +0000 (0:00:00.050) 0:01:01.298 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 07:58:55 +0000 (0:00:00.041) 0:01:01.340 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1658390294.7622678, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658390294.7622678, "dev": 5, "device_type": 64770, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 963, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658390294.7622678, "nlink": 1, "path": "/dev/mapper/vg1-lv1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 07:58:56 +0000 (0:00:00.447) 0:01:01.788 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 07:58:56 +0000 (0:00:00.041) 0:01:01.829 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 07:58:56 +0000 (0:00:00.040) 0:01:01.869 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 07:58:56 +0000 (0:00:00.035) 0:01:01.905 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 07:58:56 +0000 (0:00:00.024) 0:01:01.929 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 07:58:56 +0000 (0:00:00.039) 0:01:01.969 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 07:58:56 +0000 (0:00:00.025) 0:01:01.995 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 07:58:57 +0000 (0:00:00.937) 0:01:02.932 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 07:58:57 +0000 (0:00:00.026) 0:01:02.959 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 07:58:57 +0000 (0:00:00.025) 0:01:02.985 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 07:58:57 +0000 (0:00:00.059) 0:01:03.044 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 07:58:57 +0000 (0:00:00.026) 0:01:03.071 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 07:58:57 +0000 (0:00:00.026) 0:01:03.097 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 07:58:57 +0000 (0:00:00.026) 0:01:03.124 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 07:58:57 +0000 (0:00:00.027) 0:01:03.151 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 07:58:57 +0000 (0:00:00.026) 0:01:03.178 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 07:58:57 +0000 (0:00:00.055) 0:01:03.233 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 07:58:57 +0000 (0:00:00.054) 0:01:03.287 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 07:58:57 +0000 (0:00:00.038) 0:01:03.326 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 07:58:57 +0000 (0:00:00.038) 0:01:03.365 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 07:58:57 +0000 (0:00:00.039) 0:01:03.404 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 07:58:57 +0000 (0:00:00.040) 0:01:03.445 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 07:58:57 +0000 (0:00:00.039) 0:01:03.485 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 07:58:57 +0000 (0:00:00.040) 0:01:03.525 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 07:58:57 +0000 (0:00:00.040) 0:01:03.565 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 07:58:57 +0000 (0:00:00.069) 0:01:03.635 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 07:58:57 +0000 (0:00:00.037) 0:01:03.673 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 07:58:58 +0000 (0:00:00.037) 0:01:03.710 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 07:58:58 +0000 (0:00:00.037) 0:01:03.747 ********* ok: [/cache/rhel-9.qcow2.snap] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 07:58:58 +0000 (0:00:00.368) 0:01:04.116 ********* ok: [/cache/rhel-9.qcow2.snap] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 07:58:58 +0000 (0:00:00.375) 0:01:04.491 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "2147483648" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 07:58:58 +0000 (0:00:00.050) 0:01:04.541 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "2147483648" } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 07:58:58 +0000 (0:00:00.035) 0:01:04.577 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 07:58:58 +0000 (0:00:00.037) 0:01:04.614 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 07:58:58 +0000 (0:00:00.036) 0:01:04.651 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 07:58:58 +0000 (0:00:00.038) 0:01:04.689 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 07:58:59 +0000 (0:00:00.037) 0:01:04.726 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 07:58:59 +0000 (0:00:00.037) 0:01:04.763 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_actual_size": { "bytes": 2147483648, "changed": false, "failed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 07:58:59 +0000 (0:00:00.038) 0:01:04.801 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "2147483648" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 07:58:59 +0000 (0:00:00.044) 0:01:04.846 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 07:58:59 +0000 (0:00:00.053) 0:01:04.899 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "vg1/lv1" ], "delta": "0:00:00.038108", "end": "2022-07-21 03:58:58.932455", "rc": 0, "start": "2022-07-21 03:58:58.894347" } STDOUT: LVM2_LV_NAME=lv1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 07:58:59 +0000 (0:00:00.410) 0:01:05.309 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 07:58:59 +0000 (0:00:00.049) 0:01:05.359 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 07:58:59 +0000 (0:00:00.049) 0:01:05.409 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 07:58:59 +0000 (0:00:00.037) 0:01:05.446 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 07:58:59 +0000 (0:00:00.040) 0:01:05.487 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 07:58:59 +0000 (0:00:00.037) 0:01:05.524 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume.yml:16 Thursday 21 July 2022 07:58:59 +0000 (0:00:00.037) 0:01:05.562 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume.yml:2 Thursday 21 July 2022 07:58:59 +0000 (0:00:00.036) 0:01:05.598 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume.yml:10 Thursday 21 July 2022 07:58:59 +0000 (0:00:00.047) 0:01:05.646 ********* included: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml for /cache/rhel-9.qcow2.snap => (item=mount) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml for /cache/rhel-9.qcow2.snap => (item=fstab) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-fs.yml for /cache/rhel-9.qcow2.snap => (item=fs) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml for /cache/rhel-9.qcow2.snap => (item=device) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml for /cache/rhel-9.qcow2.snap => (item=encryption) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml for /cache/rhel-9.qcow2.snap => (item=md) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml for /cache/rhel-9.qcow2.snap => (item=size) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml for /cache/rhel-9.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 07:59:00 +0000 (0:00:00.109) 0:01:05.755 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv2" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 07:59:00 +0000 (0:00:00.045) 0:01:05.800 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 769066, "block_size": 4096, "block_total": 782848, "block_used": 13782, "device": "/dev/mapper/vg1-lv2", "fstype": "xfs", "inode_available": 1570813, "inode_total": 1570816, "inode_used": 3, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=1024,swidth=2048,noquota", "size_available": 3150094336, "size_total": 3206545408, "uuid": "3f43e20b-b25b-45ac-8e25-2adcf45572e9" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 769066, "block_size": 4096, "block_total": 782848, "block_used": 13782, "device": "/dev/mapper/vg1-lv2", "fstype": "xfs", "inode_available": 1570813, "inode_total": 1570816, "inode_used": 3, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=1024,swidth=2048,noquota", "size_available": 3150094336, "size_total": 3206545408, "uuid": "3f43e20b-b25b-45ac-8e25-2adcf45572e9" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 07:59:00 +0000 (0:00:00.060) 0:01:05.861 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 07:59:00 +0000 (0:00:00.053) 0:01:05.914 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 07:59:00 +0000 (0:00:00.052) 0:01:05.966 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 07:59:00 +0000 (0:00:00.052) 0:01:06.019 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 07:59:00 +0000 (0:00:00.025) 0:01:06.044 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 07:59:00 +0000 (0:00:00.024) 0:01:06.069 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 07:59:00 +0000 (0:00:00.024) 0:01:06.093 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 07:59:00 +0000 (0:00:00.037) 0:01:06.130 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/vg1-lv2 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test2 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test2 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 07:59:00 +0000 (0:00:00.062) 0:01:06.193 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 07:59:00 +0000 (0:00:00.051) 0:01:06.244 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 07:59:00 +0000 (0:00:00.055) 0:01:06.300 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 07:59:00 +0000 (0:00:00.036) 0:01:06.336 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 07:59:00 +0000 (0:00:00.037) 0:01:06.374 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 07:59:00 +0000 (0:00:00.040) 0:01:06.415 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 07:59:00 +0000 (0:00:00.041) 0:01:06.457 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1658390294.4762678, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658390294.4762678, "dev": 5, "device_type": 64769, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 929, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658390294.4762678, "nlink": 1, "path": "/dev/mapper/vg1-lv2", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 07:59:01 +0000 (0:00:00.381) 0:01:06.838 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 07:59:01 +0000 (0:00:00.042) 0:01:06.880 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 07:59:01 +0000 (0:00:00.041) 0:01:06.922 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 07:59:01 +0000 (0:00:00.041) 0:01:06.964 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 07:59:01 +0000 (0:00:00.026) 0:01:06.991 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 07:59:01 +0000 (0:00:00.043) 0:01:07.034 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 07:59:01 +0000 (0:00:00.027) 0:01:07.061 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 07:59:02 +0000 (0:00:01.044) 0:01:08.105 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 07:59:02 +0000 (0:00:00.025) 0:01:08.130 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 07:59:02 +0000 (0:00:00.024) 0:01:08.155 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 07:59:02 +0000 (0:00:00.056) 0:01:08.211 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 07:59:02 +0000 (0:00:00.027) 0:01:08.239 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 07:59:02 +0000 (0:00:00.024) 0:01:08.264 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 07:59:02 +0000 (0:00:00.024) 0:01:08.288 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 07:59:02 +0000 (0:00:00.025) 0:01:08.314 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 07:59:02 +0000 (0:00:00.027) 0:01:08.342 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 07:59:02 +0000 (0:00:00.054) 0:01:08.396 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 07:59:02 +0000 (0:00:00.054) 0:01:08.450 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 07:59:02 +0000 (0:00:00.036) 0:01:08.487 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 07:59:02 +0000 (0:00:00.039) 0:01:08.526 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 07:59:02 +0000 (0:00:00.035) 0:01:08.561 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 07:59:02 +0000 (0:00:00.035) 0:01:08.597 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 07:59:02 +0000 (0:00:00.037) 0:01:08.634 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 07:59:02 +0000 (0:00:00.036) 0:01:08.671 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 07:59:03 +0000 (0:00:00.036) 0:01:08.707 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 07:59:03 +0000 (0:00:00.036) 0:01:08.744 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 07:59:03 +0000 (0:00:00.038) 0:01:08.782 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 07:59:03 +0000 (0:00:00.042) 0:01:08.824 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 07:59:03 +0000 (0:00:00.036) 0:01:08.860 ********* ok: [/cache/rhel-9.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 07:59:03 +0000 (0:00:00.385) 0:01:09.246 ********* ok: [/cache/rhel-9.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 07:59:03 +0000 (0:00:00.392) 0:01:09.638 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "3221225472" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 07:59:03 +0000 (0:00:00.055) 0:01:09.694 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 07:59:04 +0000 (0:00:00.042) 0:01:09.736 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 07:59:04 +0000 (0:00:00.039) 0:01:09.776 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 07:59:04 +0000 (0:00:00.039) 0:01:09.816 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 07:59:04 +0000 (0:00:00.040) 0:01:09.856 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 07:59:04 +0000 (0:00:00.094) 0:01:09.950 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 07:59:04 +0000 (0:00:00.039) 0:01:09.990 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_actual_size": { "bytes": 3221225472, "changed": false, "failed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 07:59:04 +0000 (0:00:00.037) 0:01:10.027 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 07:59:04 +0000 (0:00:00.038) 0:01:10.065 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 07:59:04 +0000 (0:00:00.053) 0:01:10.118 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "vg1/lv2" ], "delta": "0:00:00.037386", "end": "2022-07-21 03:59:04.152367", "rc": 0, "start": "2022-07-21 03:59:04.114981" } STDOUT: LVM2_LV_NAME=lv2 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 07:59:04 +0000 (0:00:00.411) 0:01:10.530 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 07:59:04 +0000 (0:00:00.051) 0:01:10.582 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 07:59:04 +0000 (0:00:00.053) 0:01:10.635 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 07:59:04 +0000 (0:00:00.041) 0:01:10.676 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 07:59:05 +0000 (0:00:00.039) 0:01:10.716 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 07:59:05 +0000 (0:00:00.038) 0:01:10.755 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume.yml:16 Thursday 21 July 2022 07:59:05 +0000 (0:00:00.040) 0:01:10.795 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume.yml:2 Thursday 21 July 2022 07:59:05 +0000 (0:00:00.034) 0:01:10.829 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume.yml:10 Thursday 21 July 2022 07:59:05 +0000 (0:00:00.050) 0:01:10.880 ********* included: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml for /cache/rhel-9.qcow2.snap => (item=mount) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml for /cache/rhel-9.qcow2.snap => (item=fstab) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-fs.yml for /cache/rhel-9.qcow2.snap => (item=fs) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml for /cache/rhel-9.qcow2.snap => (item=device) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml for /cache/rhel-9.qcow2.snap => (item=encryption) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml for /cache/rhel-9.qcow2.snap => (item=md) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml for /cache/rhel-9.qcow2.snap => (item=size) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml for /cache/rhel-9.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 07:59:05 +0000 (0:00:00.079) 0:01:10.960 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv3" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 07:59:05 +0000 (0:00:00.043) 0:01:11.003 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 769066, "block_size": 4096, "block_total": 782848, "block_used": 13782, "device": "/dev/mapper/vg1-lv3", "fstype": "xfs", "inode_available": 1570813, "inode_total": 1570816, "inode_used": 3, "mount": "/opt/test3", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=1024,swidth=2048,noquota", "size_available": 3150094336, "size_total": 3206545408, "uuid": "797a30b2-c3d5-4554-a543-95a399775991" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 769066, "block_size": 4096, "block_total": 782848, "block_used": 13782, "device": "/dev/mapper/vg1-lv3", "fstype": "xfs", "inode_available": 1570813, "inode_total": 1570816, "inode_used": 3, "mount": "/opt/test3", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=1024,swidth=2048,noquota", "size_available": 3150094336, "size_total": 3206545408, "uuid": "797a30b2-c3d5-4554-a543-95a399775991" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 07:59:05 +0000 (0:00:00.056) 0:01:11.059 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 07:59:05 +0000 (0:00:00.055) 0:01:11.115 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 07:59:05 +0000 (0:00:00.051) 0:01:11.167 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 07:59:05 +0000 (0:00:00.050) 0:01:11.217 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 07:59:05 +0000 (0:00:00.024) 0:01:11.242 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 07:59:05 +0000 (0:00:00.025) 0:01:11.268 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 07:59:05 +0000 (0:00:00.024) 0:01:11.292 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 07:59:05 +0000 (0:00:00.035) 0:01:11.328 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/vg1-lv3 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test3 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test3 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 07:59:05 +0000 (0:00:00.062) 0:01:11.390 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 07:59:05 +0000 (0:00:00.053) 0:01:11.443 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 07:59:05 +0000 (0:00:00.087) 0:01:11.531 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 07:59:05 +0000 (0:00:00.037) 0:01:11.569 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 07:59:05 +0000 (0:00:00.111) 0:01:11.680 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 07:59:06 +0000 (0:00:00.039) 0:01:11.719 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 07:59:06 +0000 (0:00:00.040) 0:01:11.760 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1658390294.2042677, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658390294.2042677, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 894, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658390294.2042677, "nlink": 1, "path": "/dev/mapper/vg1-lv3", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 07:59:06 +0000 (0:00:00.374) 0:01:12.135 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 07:59:06 +0000 (0:00:00.038) 0:01:12.174 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 07:59:06 +0000 (0:00:00.041) 0:01:12.215 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 07:59:06 +0000 (0:00:00.039) 0:01:12.255 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 07:59:06 +0000 (0:00:00.024) 0:01:12.280 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 07:59:06 +0000 (0:00:00.039) 0:01:12.319 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 07:59:06 +0000 (0:00:00.024) 0:01:12.344 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 07:59:07 +0000 (0:00:00.880) 0:01:13.224 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 07:59:07 +0000 (0:00:00.024) 0:01:13.248 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 07:59:07 +0000 (0:00:00.024) 0:01:13.273 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 07:59:07 +0000 (0:00:00.051) 0:01:13.325 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 07:59:07 +0000 (0:00:00.025) 0:01:13.350 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 07:59:07 +0000 (0:00:00.024) 0:01:13.375 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 07:59:07 +0000 (0:00:00.024) 0:01:13.400 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 07:59:07 +0000 (0:00:00.024) 0:01:13.425 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 07:59:07 +0000 (0:00:00.026) 0:01:13.451 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 07:59:07 +0000 (0:00:00.050) 0:01:13.502 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 07:59:07 +0000 (0:00:00.049) 0:01:13.552 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 07:59:07 +0000 (0:00:00.035) 0:01:13.587 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 07:59:07 +0000 (0:00:00.039) 0:01:13.626 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 07:59:07 +0000 (0:00:00.034) 0:01:13.661 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 07:59:08 +0000 (0:00:00.066) 0:01:13.728 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 07:59:08 +0000 (0:00:00.040) 0:01:13.769 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 07:59:08 +0000 (0:00:00.038) 0:01:13.808 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 07:59:08 +0000 (0:00:00.036) 0:01:13.844 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 07:59:08 +0000 (0:00:00.039) 0:01:13.883 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 07:59:08 +0000 (0:00:00.036) 0:01:13.920 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 07:59:08 +0000 (0:00:00.036) 0:01:13.956 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 07:59:08 +0000 (0:00:00.036) 0:01:13.992 ********* ok: [/cache/rhel-9.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 07:59:08 +0000 (0:00:00.385) 0:01:14.378 ********* ok: [/cache/rhel-9.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 07:59:09 +0000 (0:00:00.431) 0:01:14.809 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "3221225472" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 07:59:09 +0000 (0:00:00.050) 0:01:14.860 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 07:59:09 +0000 (0:00:00.035) 0:01:14.895 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 07:59:09 +0000 (0:00:00.037) 0:01:14.932 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 07:59:09 +0000 (0:00:00.036) 0:01:14.969 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 07:59:09 +0000 (0:00:00.040) 0:01:15.010 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 07:59:09 +0000 (0:00:00.036) 0:01:15.046 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 07:59:09 +0000 (0:00:00.036) 0:01:15.083 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_actual_size": { "bytes": 3221225472, "changed": false, "failed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 07:59:09 +0000 (0:00:00.038) 0:01:15.122 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 07:59:09 +0000 (0:00:00.035) 0:01:15.157 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 07:59:09 +0000 (0:00:00.052) 0:01:15.210 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "vg1/lv3" ], "delta": "0:00:00.036046", "end": "2022-07-21 03:59:09.240001", "rc": 0, "start": "2022-07-21 03:59:09.203955" } STDOUT: LVM2_LV_NAME=lv3 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 07:59:09 +0000 (0:00:00.405) 0:01:15.615 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 07:59:09 +0000 (0:00:00.049) 0:01:15.665 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 07:59:10 +0000 (0:00:00.054) 0:01:15.719 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 07:59:10 +0000 (0:00:00.039) 0:01:15.758 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 07:59:10 +0000 (0:00:00.037) 0:01:15.796 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 07:59:10 +0000 (0:00:00.038) 0:01:15.835 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume.yml:16 Thursday 21 July 2022 07:59:10 +0000 (0:00:00.037) 0:01:15.872 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:43 Thursday 21 July 2022 07:59:10 +0000 (0:00:00.037) 0:01:15.910 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:53 Thursday 21 July 2022 07:59:10 +0000 (0:00:00.021) 0:01:15.932 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Remove the device created above] ***************************************** task path: /tmp/tmpsvhdx31t/tests/tests_create_raid_pool_then_remove.yml:77 Thursday 21 July 2022 07:59:10 +0000 (0:00:00.035) 0:01:15.967 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 07:59:10 +0000 (0:00:00.058) 0:01:16.025 ********* included: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-9.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 07:59:10 +0000 (0:00:00.037) 0:01:16.063 ********* ok: [/cache/rhel-9.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 07:59:10 +0000 (0:00:00.535) 0:01:16.599 ********* skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/vars/RedHat_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.yml" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.0.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.0.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 07:59:10 +0000 (0:00:00.099) 0:01:16.698 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 07:59:11 +0000 (0:00:00.034) 0:01:16.732 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 07:59:11 +0000 (0:00:00.034) 0:01:16.767 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-9.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 07:59:11 +0000 (0:00:00.048) 0:01:16.816 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 07:59:11 +0000 (0:00:00.021) 0:01:16.838 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 07:59:11 +0000 (0:00:00.029) 0:01:16.867 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda", "sdb" ], "name": "vg1", "raid_level": "raid0", "state": "absent", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "lv1", "size": "2g" }, { "mount_point": "/opt/test2", "name": "lv2", "size": "3g" }, { "mount_point": "/opt/test3", "name": "lv3", "size": "3g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 07:59:11 +0000 (0:00:00.038) 0:01:16.906 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 07:59:11 +0000 (0:00:00.036) 0:01:16.942 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 07:59:11 +0000 (0:00:00.028) 0:01:16.971 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 07:59:11 +0000 (0:00:00.032) 0:01:17.003 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 07:59:11 +0000 (0:00:00.027) 0:01:17.031 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 07:59:11 +0000 (0:00:00.028) 0:01:17.059 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 07:59:11 +0000 (0:00:00.058) 0:01:17.118 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 07:59:11 +0000 (0:00:00.022) 0:01:17.141 ********* changed: [/cache/rhel-9.qcow2.snap] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/vg1-lv3", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv3", "fs_type": null }, { "action": "destroy format", "device": "/dev/mapper/vg1-lv2", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv2", "fs_type": null }, { "action": "destroy format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "destroy device", "device": "/dev/vg1", "fs_type": null }, { "action": "destroy format", "device": "/dev/md/vg1-1", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/md/vg1-1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda1", "fs_type": "mdmember" }, { "action": "destroy device", "device": "/dev/sda1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "disklabel" }, { "action": "destroy format", "device": "/dev/sdb1", "fs_type": "mdmember" }, { "action": "destroy device", "device": "/dev/sdb1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb", "fs_type": "disklabel" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test3", "src": "/dev/mapper/vg1-lv3", "state": "absent" }, { "fstype": "xfs", "path": "/opt/test2", "src": "/dev/mapper/vg1-lv2", "state": "absent" }, { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "absent" } ], "packages": [ "e2fsprogs", "dosfstools", "xfsprogs" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 07:59:16 +0000 (0:00:04.591) 0:01:21.732 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 07:59:16 +0000 (0:00:00.036) 0:01:21.769 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 07:59:16 +0000 (0:00:00.024) 0:01:21.793 ********* ok: [/cache/rhel-9.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/vg1-lv3", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv3", "fs_type": null }, { "action": "destroy format", "device": "/dev/mapper/vg1-lv2", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv2", "fs_type": null }, { "action": "destroy format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "destroy device", "device": "/dev/vg1", "fs_type": null }, { "action": "destroy format", "device": "/dev/md/vg1-1", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/md/vg1-1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda1", "fs_type": "mdmember" }, { "action": "destroy device", "device": "/dev/sda1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "disklabel" }, { "action": "destroy format", "device": "/dev/sdb1", "fs_type": "mdmember" }, { "action": "destroy device", "device": "/dev/sdb1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb", "fs_type": "disklabel" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test3", "src": "/dev/mapper/vg1-lv3", "state": "absent" }, { "fstype": "xfs", "path": "/opt/test2", "src": "/dev/mapper/vg1-lv2", "state": "absent" }, { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "absent" } ], "packages": [ "e2fsprogs", "dosfstools", "xfsprogs" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 07:59:16 +0000 (0:00:00.045) 0:01:21.839 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 07:59:16 +0000 (0:00:00.083) 0:01:21.922 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 07:59:16 +0000 (0:00:00.080) 0:01:22.003 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-9.qcow2.snap] => (item={'src': '/dev/mapper/vg1-lv3', 'path': '/opt/test3', 'state': 'absent', 'fstype': 'xfs'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "fstype": "xfs", "path": "/opt/test3", "src": "/dev/mapper/vg1-lv3", "state": "absent" }, "name": "/opt/test3", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv3" } redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-9.qcow2.snap] => (item={'src': '/dev/mapper/vg1-lv2', 'path': '/opt/test2', 'state': 'absent', 'fstype': 'xfs'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "fstype": "xfs", "path": "/opt/test2", "src": "/dev/mapper/vg1-lv2", "state": "absent" }, "name": "/opt/test2", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv2" } redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-9.qcow2.snap] => (item={'src': '/dev/mapper/vg1-lv1', 'path': '/opt/test1', 'state': 'absent', 'fstype': 'xfs'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 07:59:17 +0000 (0:00:01.183) 0:01:23.186 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 07:59:18 +0000 (0:00:00.682) 0:01:23.868 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 07:59:18 +0000 (0:00:00.041) 0:01:23.910 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 07:59:18 +0000 (0:00:00.680) 0:01:24.590 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 07:59:19 +0000 (0:00:00.377) 0:01:24.968 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 07:59:19 +0000 (0:00:00.025) 0:01:24.993 ********* ok: [/cache/rhel-9.qcow2.snap] META: role_complete for /cache/rhel-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpsvhdx31t/tests/tests_create_raid_pool_then_remove.yml:98 Thursday 21 July 2022 07:59:20 +0000 (0:00:00.956) 0:01:25.950 ********* included: /tmp/tmpsvhdx31t/tests/verify-role-results.yml for /cache/rhel-9.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:1 Thursday 21 July 2022 07:59:20 +0000 (0:00:00.050) 0:01:26.000 ********* ok: [/cache/rhel-9.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:6 Thursday 21 July 2022 07:59:20 +0000 (0:00:00.082) 0:01:26.083 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:14 Thursday 21 July 2022 07:59:20 +0000 (0:00:00.038) 0:01:26.121 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "info": { "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-07-57-41-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "vfat", "label": "", "name": "/dev/vda2", "size": "200M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "boot", "name": "/dev/vda3", "size": "500M", "type": "partition", "uuid": "6e74e171-0370-451f-8340-f16ad2839183" }, "/dev/vda4": { "fstype": "xfs", "label": "root", "name": "/dev/vda4", "size": "9.3G", "type": "partition", "uuid": "1bb53e4d-984c-4316-908a-59b5a62fa30e" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "12be66f7-7f03-4d54-9a48-a520825d8fa9" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "9bd037ed-b1bb-4b9c-a008-9f07d34ab071" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:19 Thursday 21 July 2022 07:59:20 +0000 (0:00:00.358) 0:01:26.480 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002672", "end": "2022-07-21 03:59:20.456967", "rc": 0, "start": "2022-07-21 03:59:20.454295" } STDOUT: UUID=6e74e171-0370-451f-8340-f16ad2839183 /boot xfs defaults 0 0 UUID=1bb53e4d-984c-4316-908a-59b5a62fa30e / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/vdb1 /var/cache/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:24 Thursday 21 July 2022 07:59:21 +0000 (0:00:00.351) 0:01:26.832 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002540", "end": "2022-07-21 03:59:20.815317", "failed_when_result": false, "rc": 1, "start": "2022-07-21 03:59:20.812777" } STDERR: cat: /etc/crypttab: No such file or directory MSG: non-zero return code TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:33 Thursday 21 July 2022 07:59:21 +0000 (0:00:00.359) 0:01:27.191 ********* included: /tmp/tmpsvhdx31t/tests/test-verify-pool.yml for /cache/rhel-9.qcow2.snap => (item={'disks': ['sda', 'sdb'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'vg1', 'raid_level': 'raid0', 'raid_device_count': 2, 'raid_spare_count': 0, 'raid_metadata_version': '1.2', 'state': 'absent', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}, {'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'lv2', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2'}, {'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test3', 'name': 'lv3', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3'}], 'raid_chunk_size': '512 KiB'}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-pool.yml:5 Thursday 21 July 2022 07:59:21 +0000 (0:00:00.100) 0:01:27.292 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool.yml:18 Thursday 21 July 2022 07:59:21 +0000 (0:00:00.035) 0:01:27.327 ********* included: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml for /cache/rhel-9.qcow2.snap => (item=members) included: /tmp/tmpsvhdx31t/tests/test-verify-pool-volumes.yml for /cache/rhel-9.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 07:59:21 +0000 (0:00:00.050) 0:01:27.378 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "0", "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 07:59:21 +0000 (0:00:00.051) 0:01:27.429 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 07:59:21 +0000 (0:00:00.020) 0:01:27.450 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "0" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 07:59:21 +0000 (0:00:00.055) 0:01:27.505 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 07:59:21 +0000 (0:00:00.050) 0:01:27.555 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 07:59:21 +0000 (0:00:00.049) 0:01:27.605 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 07:59:21 +0000 (0:00:00.038) 0:01:27.643 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "partition" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 07:59:21 +0000 (0:00:00.050) 0:01:27.694 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "raid0" }, "changed": false } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 07:59:22 +0000 (0:00:00.037) 0:01:27.731 ********* TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 07:59:22 +0000 (0:00:00.023) 0:01:27.755 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml for /cache/rhel-9.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:6 Thursday 21 July 2022 07:59:22 +0000 (0:00:00.043) 0:01:27.799 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:12 Thursday 21 July 2022 07:59:22 +0000 (0:00:00.024) 0:01:27.823 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:16 Thursday 21 July 2022 07:59:22 +0000 (0:00:00.023) 0:01:27.846 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:20 Thursday 21 July 2022 07:59:22 +0000 (0:00:00.024) 0:01:27.871 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:24 Thursday 21 July 2022 07:59:22 +0000 (0:00:00.023) 0:01:27.894 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:30 Thursday 21 July 2022 07:59:22 +0000 (0:00:00.023) 0:01:27.918 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:36 Thursday 21 July 2022 07:59:22 +0000 (0:00:00.023) 0:01:27.941 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:44 Thursday 21 July 2022 07:59:22 +0000 (0:00:00.024) 0:01:27.966 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 07:59:22 +0000 (0:00:00.032) 0:01:27.999 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-members-lvmraid.yml for /cache/rhel-9.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 07:59:22 +0000 (0:00:00.043) 0:01:28.042 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-member-lvmraid.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}) included: /tmp/tmpsvhdx31t/tests/verify-pool-member-lvmraid.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'lv2', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2'}) included: /tmp/tmpsvhdx31t/tests/verify-pool-member-lvmraid.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test3', 'name': 'lv3', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 07:59:22 +0000 (0:00:00.056) 0:01:28.099 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 07:59:22 +0000 (0:00:00.030) 0:01:28.129 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 07:59:22 +0000 (0:00:00.029) 0:01:28.159 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 07:59:22 +0000 (0:00:00.030) 0:01:28.189 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 07:59:22 +0000 (0:00:00.029) 0:01:28.219 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 07:59:22 +0000 (0:00:00.029) 0:01:28.248 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 07:59:22 +0000 (0:00:00.029) 0:01:28.277 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 07:59:22 +0000 (0:00:00.030) 0:01:28.308 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 07:59:22 +0000 (0:00:00.029) 0:01:28.337 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 07:59:22 +0000 (0:00:00.029) 0:01:28.367 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-members-thin.yml for /cache/rhel-9.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 07:59:22 +0000 (0:00:00.048) 0:01:28.415 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-member-thin.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}) included: /tmp/tmpsvhdx31t/tests/verify-pool-member-thin.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'lv2', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2'}) included: /tmp/tmpsvhdx31t/tests/verify-pool-member-thin.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test3', 'name': 'lv3', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 07:59:22 +0000 (0:00:00.058) 0:01:28.473 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 07:59:22 +0000 (0:00:00.059) 0:01:28.533 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 07:59:22 +0000 (0:00:00.026) 0:01:28.559 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 07:59:22 +0000 (0:00:00.025) 0:01:28.585 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 07:59:22 +0000 (0:00:00.025) 0:01:28.611 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 07:59:22 +0000 (0:00:00.026) 0:01:28.638 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 07:59:22 +0000 (0:00:00.026) 0:01:28.664 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 07:59:22 +0000 (0:00:00.026) 0:01:28.690 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 07:59:23 +0000 (0:00:00.025) 0:01:28.716 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 07:59:23 +0000 (0:00:00.026) 0:01:28.743 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 07:59:23 +0000 (0:00:00.027) 0:01:28.770 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 07:59:23 +0000 (0:00:00.026) 0:01:28.796 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 07:59:23 +0000 (0:00:00.025) 0:01:28.821 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-members-encryption.yml for /cache/rhel-9.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 07:59:23 +0000 (0:00:00.047) 0:01:28.869 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 07:59:23 +0000 (0:00:00.051) 0:01:28.921 ********* TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 07:59:23 +0000 (0:00:00.023) 0:01:28.944 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 07:59:23 +0000 (0:00:00.021) 0:01:28.966 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 07:59:23 +0000 (0:00:00.037) 0:01:29.003 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-members-vdo.yml for /cache/rhel-9.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 07:59:23 +0000 (0:00:00.050) 0:01:29.053 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}) included: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'lv2', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2'}) included: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test3', 'name': 'lv3', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 07:59:23 +0000 (0:00:00.060) 0:01:29.114 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 07:59:23 +0000 (0:00:00.024) 0:01:29.139 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 07:59:23 +0000 (0:00:00.023) 0:01:29.162 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 07:59:23 +0000 (0:00:00.023) 0:01:29.186 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 07:59:23 +0000 (0:00:00.023) 0:01:29.209 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 07:59:23 +0000 (0:00:00.036) 0:01:29.246 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 07:59:23 +0000 (0:00:00.025) 0:01:29.272 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 07:59:23 +0000 (0:00:00.023) 0:01:29.295 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 07:59:23 +0000 (0:00:00.033) 0:01:29.329 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 07:59:23 +0000 (0:00:00.023) 0:01:29.353 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 07:59:23 +0000 (0:00:00.022) 0:01:29.375 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 07:59:23 +0000 (0:00:00.022) 0:01:29.397 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 07:59:23 +0000 (0:00:00.022) 0:01:29.419 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 07:59:23 +0000 (0:00:00.023) 0:01:29.443 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 07:59:23 +0000 (0:00:00.022) 0:01:29.466 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 07:59:23 +0000 (0:00:00.023) 0:01:29.490 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 07:59:23 +0000 (0:00:00.034) 0:01:29.525 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 07:59:23 +0000 (0:00:00.026) 0:01:29.551 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 07:59:23 +0000 (0:00:00.024) 0:01:29.576 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 07:59:23 +0000 (0:00:00.023) 0:01:29.599 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 07:59:23 +0000 (0:00:00.023) 0:01:29.622 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 07:59:23 +0000 (0:00:00.052) 0:01:29.675 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 07:59:23 +0000 (0:00:00.024) 0:01:29.699 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 07:59:24 +0000 (0:00:00.024) 0:01:29.724 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 07:59:24 +0000 (0:00:00.036) 0:01:29.760 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 07:59:24 +0000 (0:00:00.037) 0:01:29.797 ********* included: /tmp/tmpsvhdx31t/tests/test-verify-volume.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}) included: /tmp/tmpsvhdx31t/tests/test-verify-volume.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'lv2', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2'}) included: /tmp/tmpsvhdx31t/tests/test-verify-volume.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test3', 'name': 'lv3', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume.yml:2 Thursday 21 July 2022 07:59:24 +0000 (0:00:00.052) 0:01:29.850 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": false, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume.yml:10 Thursday 21 July 2022 07:59:24 +0000 (0:00:00.048) 0:01:29.899 ********* included: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml for /cache/rhel-9.qcow2.snap => (item=mount) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml for /cache/rhel-9.qcow2.snap => (item=fstab) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-fs.yml for /cache/rhel-9.qcow2.snap => (item=fs) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml for /cache/rhel-9.qcow2.snap => (item=device) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml for /cache/rhel-9.qcow2.snap => (item=encryption) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml for /cache/rhel-9.qcow2.snap => (item=md) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml for /cache/rhel-9.qcow2.snap => (item=size) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml for /cache/rhel-9.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 07:59:24 +0000 (0:00:00.075) 0:01:29.974 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 07:59:24 +0000 (0:00:00.039) 0:01:30.014 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 07:59:24 +0000 (0:00:00.054) 0:01:30.069 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 07:59:24 +0000 (0:00:00.023) 0:01:30.092 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 07:59:24 +0000 (0:00:00.048) 0:01:30.141 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 07:59:24 +0000 (0:00:00.035) 0:01:30.176 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 07:59:24 +0000 (0:00:00.023) 0:01:30.199 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 07:59:24 +0000 (0:00:00.024) 0:01:30.224 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 07:59:24 +0000 (0:00:00.022) 0:01:30.246 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 07:59:24 +0000 (0:00:00.033) 0:01:30.280 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "0", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 07:59:24 +0000 (0:00:00.061) 0:01:30.341 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 07:59:24 +0000 (0:00:00.024) 0:01:30.366 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 07:59:24 +0000 (0:00:00.047) 0:01:30.413 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 07:59:24 +0000 (0:00:00.034) 0:01:30.448 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 07:59:24 +0000 (0:00:00.035) 0:01:30.484 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 07:59:24 +0000 (0:00:00.025) 0:01:30.510 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 07:59:24 +0000 (0:00:00.023) 0:01:30.533 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 07:59:25 +0000 (0:00:00.356) 0:01:30.890 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 07:59:25 +0000 (0:00:00.038) 0:01:30.928 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 07:59:25 +0000 (0:00:00.025) 0:01:30.953 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 07:59:25 +0000 (0:00:00.036) 0:01:30.990 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 07:59:25 +0000 (0:00:00.023) 0:01:31.013 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 07:59:25 +0000 (0:00:00.024) 0:01:31.038 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 07:59:25 +0000 (0:00:00.023) 0:01:31.061 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 07:59:26 +0000 (0:00:00.980) 0:01:32.042 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 07:59:26 +0000 (0:00:00.024) 0:01:32.067 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 07:59:26 +0000 (0:00:00.023) 0:01:32.091 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 07:59:26 +0000 (0:00:00.024) 0:01:32.115 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 07:59:26 +0000 (0:00:00.023) 0:01:32.139 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 07:59:26 +0000 (0:00:00.023) 0:01:32.163 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 07:59:26 +0000 (0:00:00.023) 0:01:32.187 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 07:59:26 +0000 (0:00:00.024) 0:01:32.211 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 07:59:26 +0000 (0:00:00.025) 0:01:32.237 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 07:59:26 +0000 (0:00:00.053) 0:01:32.290 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 07:59:26 +0000 (0:00:00.051) 0:01:32.341 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 07:59:26 +0000 (0:00:00.035) 0:01:32.377 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 07:59:26 +0000 (0:00:00.036) 0:01:32.414 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 07:59:26 +0000 (0:00:00.036) 0:01:32.450 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 07:59:26 +0000 (0:00:00.037) 0:01:32.488 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 07:59:26 +0000 (0:00:00.037) 0:01:32.525 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 07:59:26 +0000 (0:00:00.044) 0:01:32.570 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 07:59:26 +0000 (0:00:00.039) 0:01:32.610 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 07:59:26 +0000 (0:00:00.051) 0:01:32.661 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 07:59:26 +0000 (0:00:00.037) 0:01:32.699 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 07:59:27 +0000 (0:00:00.046) 0:01:32.745 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 07:59:27 +0000 (0:00:00.038) 0:01:32.783 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 07:59:27 +0000 (0:00:00.025) 0:01:32.809 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 07:59:27 +0000 (0:00:00.044) 0:01:32.854 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 07:59:27 +0000 (0:00:00.044) 0:01:32.898 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 07:59:27 +0000 (0:00:00.048) 0:01:32.947 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 07:59:27 +0000 (0:00:00.043) 0:01:32.991 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 07:59:27 +0000 (0:00:00.038) 0:01:33.029 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 07:59:27 +0000 (0:00:00.043) 0:01:33.072 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 07:59:27 +0000 (0:00:00.047) 0:01:33.120 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 07:59:27 +0000 (0:00:00.043) 0:01:33.164 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 07:59:27 +0000 (0:00:00.084) 0:01:33.248 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 07:59:27 +0000 (0:00:00.037) 0:01:33.286 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 07:59:27 +0000 (0:00:00.023) 0:01:33.310 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 07:59:27 +0000 (0:00:00.023) 0:01:33.334 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 07:59:27 +0000 (0:00:00.023) 0:01:33.357 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 07:59:27 +0000 (0:00:00.025) 0:01:33.383 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 07:59:27 +0000 (0:00:00.024) 0:01:33.408 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 07:59:27 +0000 (0:00:00.023) 0:01:33.432 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 07:59:27 +0000 (0:00:00.023) 0:01:33.456 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume.yml:16 Thursday 21 July 2022 07:59:27 +0000 (0:00:00.056) 0:01:33.512 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume.yml:2 Thursday 21 July 2022 07:59:27 +0000 (0:00:00.034) 0:01:33.546 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": false, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume.yml:10 Thursday 21 July 2022 07:59:27 +0000 (0:00:00.051) 0:01:33.598 ********* included: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml for /cache/rhel-9.qcow2.snap => (item=mount) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml for /cache/rhel-9.qcow2.snap => (item=fstab) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-fs.yml for /cache/rhel-9.qcow2.snap => (item=fs) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml for /cache/rhel-9.qcow2.snap => (item=device) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml for /cache/rhel-9.qcow2.snap => (item=encryption) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml for /cache/rhel-9.qcow2.snap => (item=md) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml for /cache/rhel-9.qcow2.snap => (item=size) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml for /cache/rhel-9.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 07:59:27 +0000 (0:00:00.077) 0:01:33.676 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv2" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 07:59:28 +0000 (0:00:00.041) 0:01:33.717 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 07:59:28 +0000 (0:00:00.055) 0:01:33.773 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 07:59:28 +0000 (0:00:00.023) 0:01:33.796 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 07:59:28 +0000 (0:00:00.049) 0:01:33.846 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 07:59:28 +0000 (0:00:00.038) 0:01:33.885 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 07:59:28 +0000 (0:00:00.023) 0:01:33.908 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 07:59:28 +0000 (0:00:00.023) 0:01:33.931 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 07:59:28 +0000 (0:00:00.023) 0:01:33.954 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 07:59:28 +0000 (0:00:00.036) 0:01:33.991 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "0", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 07:59:28 +0000 (0:00:00.062) 0:01:34.053 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 07:59:28 +0000 (0:00:00.024) 0:01:34.077 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 07:59:28 +0000 (0:00:00.052) 0:01:34.130 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 07:59:28 +0000 (0:00:00.036) 0:01:34.166 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 07:59:28 +0000 (0:00:00.034) 0:01:34.201 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 07:59:28 +0000 (0:00:00.023) 0:01:34.225 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 07:59:28 +0000 (0:00:00.025) 0:01:34.250 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 07:59:28 +0000 (0:00:00.373) 0:01:34.623 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 07:59:28 +0000 (0:00:00.040) 0:01:34.664 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 07:59:28 +0000 (0:00:00.024) 0:01:34.689 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 07:59:29 +0000 (0:00:00.038) 0:01:34.728 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 07:59:29 +0000 (0:00:00.023) 0:01:34.751 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 07:59:29 +0000 (0:00:00.023) 0:01:34.775 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 07:59:29 +0000 (0:00:00.024) 0:01:34.799 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 07:59:29 +0000 (0:00:00.867) 0:01:35.666 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 07:59:30 +0000 (0:00:00.054) 0:01:35.720 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 07:59:30 +0000 (0:00:00.024) 0:01:35.745 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 07:59:30 +0000 (0:00:00.024) 0:01:35.770 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 07:59:30 +0000 (0:00:00.024) 0:01:35.794 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 07:59:30 +0000 (0:00:00.025) 0:01:35.819 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 07:59:30 +0000 (0:00:00.024) 0:01:35.843 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 07:59:30 +0000 (0:00:00.023) 0:01:35.867 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 07:59:30 +0000 (0:00:00.023) 0:01:35.891 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 07:59:30 +0000 (0:00:00.051) 0:01:35.943 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 07:59:30 +0000 (0:00:00.046) 0:01:35.989 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 07:59:30 +0000 (0:00:00.035) 0:01:36.025 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 07:59:30 +0000 (0:00:00.035) 0:01:36.061 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 07:59:30 +0000 (0:00:00.044) 0:01:36.105 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 07:59:30 +0000 (0:00:00.034) 0:01:36.139 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 07:59:30 +0000 (0:00:00.036) 0:01:36.176 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 07:59:30 +0000 (0:00:00.036) 0:01:36.213 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 07:59:30 +0000 (0:00:00.039) 0:01:36.253 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 07:59:30 +0000 (0:00:00.036) 0:01:36.290 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 07:59:30 +0000 (0:00:00.036) 0:01:36.326 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 07:59:30 +0000 (0:00:00.036) 0:01:36.362 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 07:59:30 +0000 (0:00:00.039) 0:01:36.402 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 07:59:30 +0000 (0:00:00.024) 0:01:36.426 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 07:59:30 +0000 (0:00:00.036) 0:01:36.462 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 07:59:30 +0000 (0:00:00.040) 0:01:36.503 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 07:59:30 +0000 (0:00:00.039) 0:01:36.543 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 07:59:30 +0000 (0:00:00.036) 0:01:36.580 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 07:59:30 +0000 (0:00:00.037) 0:01:36.617 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 07:59:30 +0000 (0:00:00.040) 0:01:36.657 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 07:59:30 +0000 (0:00:00.040) 0:01:36.698 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 07:59:31 +0000 (0:00:00.040) 0:01:36.738 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 07:59:31 +0000 (0:00:00.041) 0:01:36.780 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 07:59:31 +0000 (0:00:00.038) 0:01:36.818 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 07:59:31 +0000 (0:00:00.028) 0:01:36.847 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 07:59:31 +0000 (0:00:00.024) 0:01:36.872 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 07:59:31 +0000 (0:00:00.024) 0:01:36.896 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 07:59:31 +0000 (0:00:00.024) 0:01:36.920 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 07:59:31 +0000 (0:00:00.026) 0:01:36.947 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 07:59:31 +0000 (0:00:00.024) 0:01:36.972 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 07:59:31 +0000 (0:00:00.025) 0:01:36.997 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume.yml:16 Thursday 21 July 2022 07:59:31 +0000 (0:00:00.026) 0:01:37.023 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume.yml:2 Thursday 21 July 2022 07:59:31 +0000 (0:00:00.037) 0:01:37.060 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": false, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume.yml:10 Thursday 21 July 2022 07:59:31 +0000 (0:00:00.061) 0:01:37.122 ********* included: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml for /cache/rhel-9.qcow2.snap => (item=mount) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml for /cache/rhel-9.qcow2.snap => (item=fstab) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-fs.yml for /cache/rhel-9.qcow2.snap => (item=fs) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml for /cache/rhel-9.qcow2.snap => (item=device) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml for /cache/rhel-9.qcow2.snap => (item=encryption) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml for /cache/rhel-9.qcow2.snap => (item=md) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml for /cache/rhel-9.qcow2.snap => (item=size) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml for /cache/rhel-9.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 07:59:31 +0000 (0:00:00.078) 0:01:37.201 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv3" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 07:59:31 +0000 (0:00:00.090) 0:01:37.291 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 07:59:31 +0000 (0:00:00.096) 0:01:37.387 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 07:59:31 +0000 (0:00:00.023) 0:01:37.411 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 07:59:31 +0000 (0:00:00.048) 0:01:37.460 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 07:59:31 +0000 (0:00:00.038) 0:01:37.499 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 07:59:31 +0000 (0:00:00.023) 0:01:37.523 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 07:59:31 +0000 (0:00:00.023) 0:01:37.546 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 07:59:31 +0000 (0:00:00.023) 0:01:37.569 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 07:59:31 +0000 (0:00:00.037) 0:01:37.606 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "0", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 07:59:31 +0000 (0:00:00.061) 0:01:37.667 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 07:59:31 +0000 (0:00:00.024) 0:01:37.692 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 07:59:32 +0000 (0:00:00.052) 0:01:37.745 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 07:59:32 +0000 (0:00:00.038) 0:01:37.784 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 07:59:32 +0000 (0:00:00.037) 0:01:37.821 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 07:59:32 +0000 (0:00:00.024) 0:01:37.845 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 07:59:32 +0000 (0:00:00.025) 0:01:37.871 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 07:59:32 +0000 (0:00:00.382) 0:01:38.253 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 07:59:32 +0000 (0:00:00.039) 0:01:38.293 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 07:59:32 +0000 (0:00:00.024) 0:01:38.317 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 07:59:32 +0000 (0:00:00.039) 0:01:38.357 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 07:59:32 +0000 (0:00:00.026) 0:01:38.383 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 07:59:32 +0000 (0:00:00.026) 0:01:38.409 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 07:59:32 +0000 (0:00:00.026) 0:01:38.436 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 07:59:33 +0000 (0:00:00.884) 0:01:39.320 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 07:59:33 +0000 (0:00:00.025) 0:01:39.346 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 07:59:33 +0000 (0:00:00.023) 0:01:39.369 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 07:59:33 +0000 (0:00:00.024) 0:01:39.394 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 07:59:33 +0000 (0:00:00.024) 0:01:39.419 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 07:59:33 +0000 (0:00:00.025) 0:01:39.444 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 07:59:33 +0000 (0:00:00.024) 0:01:39.469 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 07:59:33 +0000 (0:00:00.024) 0:01:39.493 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 07:59:33 +0000 (0:00:00.024) 0:01:39.517 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 07:59:33 +0000 (0:00:00.051) 0:01:39.569 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 07:59:33 +0000 (0:00:00.084) 0:01:39.654 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 07:59:33 +0000 (0:00:00.048) 0:01:39.702 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 07:59:34 +0000 (0:00:00.052) 0:01:39.754 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 07:59:34 +0000 (0:00:00.037) 0:01:39.792 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 07:59:34 +0000 (0:00:00.070) 0:01:39.863 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 07:59:34 +0000 (0:00:00.038) 0:01:39.901 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 07:59:34 +0000 (0:00:00.075) 0:01:39.977 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 07:59:34 +0000 (0:00:00.040) 0:01:40.018 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 07:59:34 +0000 (0:00:00.037) 0:01:40.055 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 07:59:34 +0000 (0:00:00.037) 0:01:40.092 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 07:59:34 +0000 (0:00:00.041) 0:01:40.134 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 07:59:34 +0000 (0:00:00.037) 0:01:40.172 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 07:59:34 +0000 (0:00:00.024) 0:01:40.197 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 07:59:34 +0000 (0:00:00.037) 0:01:40.234 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 07:59:34 +0000 (0:00:00.035) 0:01:40.270 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 07:59:34 +0000 (0:00:00.036) 0:01:40.306 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 07:59:34 +0000 (0:00:00.035) 0:01:40.342 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 07:59:34 +0000 (0:00:00.037) 0:01:40.379 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 07:59:34 +0000 (0:00:00.036) 0:01:40.415 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 07:59:34 +0000 (0:00:00.037) 0:01:40.452 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 07:59:34 +0000 (0:00:00.037) 0:01:40.490 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 07:59:34 +0000 (0:00:00.042) 0:01:40.532 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 07:59:34 +0000 (0:00:00.038) 0:01:40.571 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 07:59:34 +0000 (0:00:00.026) 0:01:40.598 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 07:59:34 +0000 (0:00:00.027) 0:01:40.626 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 07:59:34 +0000 (0:00:00.029) 0:01:40.655 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 07:59:34 +0000 (0:00:00.026) 0:01:40.682 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 07:59:35 +0000 (0:00:00.027) 0:01:40.709 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 07:59:35 +0000 (0:00:00.027) 0:01:40.736 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 07:59:35 +0000 (0:00:00.028) 0:01:40.764 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume.yml:16 Thursday 21 July 2022 07:59:35 +0000 (0:00:00.028) 0:01:40.793 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:43 Thursday 21 July 2022 07:59:35 +0000 (0:00:00.038) 0:01:40.831 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:53 Thursday 21 July 2022 07:59:35 +0000 (0:00:00.024) 0:01:40.855 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Create a RAID1 lvm raid device] ****************************************** task path: /tmp/tmpsvhdx31t/tests/tests_create_raid_pool_then_remove.yml:100 Thursday 21 July 2022 07:59:35 +0000 (0:00:00.042) 0:01:40.898 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 07:59:35 +0000 (0:00:00.063) 0:01:40.962 ********* included: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-9.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 07:59:35 +0000 (0:00:00.035) 0:01:40.997 ********* ok: [/cache/rhel-9.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 07:59:35 +0000 (0:00:00.558) 0:01:41.556 ********* skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/vars/RedHat_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.yml" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.0.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.0.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 07:59:35 +0000 (0:00:00.094) 0:01:41.650 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 07:59:36 +0000 (0:00:00.097) 0:01:41.748 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 07:59:36 +0000 (0:00:00.034) 0:01:41.782 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-9.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 07:59:36 +0000 (0:00:00.047) 0:01:41.829 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 07:59:36 +0000 (0:00:00.020) 0:01:41.850 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 07:59:36 +0000 (0:00:00.027) 0:01:41.877 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda", "sdb" ], "name": "vg1", "state": "present", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "lv1", "raid_disks": [ "sda", "sdb" ], "raid_level": "raid1", "size": "2g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 07:59:36 +0000 (0:00:00.039) 0:01:41.917 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 07:59:36 +0000 (0:00:00.040) 0:01:41.957 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 07:59:36 +0000 (0:00:00.029) 0:01:41.987 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 07:59:36 +0000 (0:00:00.028) 0:01:42.016 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 07:59:36 +0000 (0:00:00.029) 0:01:42.045 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 07:59:36 +0000 (0:00:00.032) 0:01:42.077 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 07:59:36 +0000 (0:00:00.057) 0:01:42.134 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 07:59:36 +0000 (0:00:00.022) 0:01:42.157 ********* changed: [/cache/rhel-9.qcow2.snap] => { "actions": [ { "action": "create format", "device": "/dev/sdb", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sdb1", "fs_type": null }, { "action": "create format", "device": "/dev/sdb1", "fs_type": "lvmpv" }, { "action": "create format", "device": "/dev/sda", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sda1", "fs_type": null }, { "action": "create format", "device": "/dev/sda1", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/vg1", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/mapper/vg1-lv1" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" } ], "packages": [ "e2fsprogs", "dosfstools", "lvm2", "xfsprogs" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-4", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-4", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 07:59:40 +0000 (0:00:03.683) 0:01:45.841 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 07:59:40 +0000 (0:00:00.041) 0:01:45.883 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 07:59:40 +0000 (0:00:00.023) 0:01:45.907 ********* ok: [/cache/rhel-9.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sdb", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sdb1", "fs_type": null }, { "action": "create format", "device": "/dev/sdb1", "fs_type": "lvmpv" }, { "action": "create format", "device": "/dev/sda", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sda1", "fs_type": null }, { "action": "create format", "device": "/dev/sda1", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/vg1", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/mapper/vg1-lv1" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" } ], "packages": [ "e2fsprogs", "dosfstools", "lvm2", "xfsprogs" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-4", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-4", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 07:59:40 +0000 (0:00:00.042) 0:01:45.949 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-4", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-4", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 07:59:40 +0000 (0:00:00.042) 0:01:45.992 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 07:59:40 +0000 (0:00:00.035) 0:01:46.027 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 07:59:40 +0000 (0:00:00.037) 0:01:46.065 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 07:59:41 +0000 (0:00:00.763) 0:01:46.829 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-9.qcow2.snap] => (item={'src': '/dev/mapper/vg1-lv1', 'path': '/opt/test1', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 07:59:41 +0000 (0:00:00.449) 0:01:47.278 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 07:59:42 +0000 (0:00:00.727) 0:01:48.006 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 07:59:42 +0000 (0:00:00.372) 0:01:48.378 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 07:59:42 +0000 (0:00:00.023) 0:01:48.401 ********* ok: [/cache/rhel-9.qcow2.snap] META: role_complete for /cache/rhel-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpsvhdx31t/tests/tests_create_raid_pool_then_remove.yml:116 Thursday 21 July 2022 07:59:43 +0000 (0:00:01.108) 0:01:49.510 ********* included: /tmp/tmpsvhdx31t/tests/verify-role-results.yml for /cache/rhel-9.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:1 Thursday 21 July 2022 07:59:43 +0000 (0:00:00.080) 0:01:49.591 ********* ok: [/cache/rhel-9.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-4", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-4", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:6 Thursday 21 July 2022 07:59:43 +0000 (0:00:00.056) 0:01:49.648 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:14 Thursday 21 July 2022 07:59:43 +0000 (0:00:00.037) 0:01:49.685 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/vg1-lv1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv1", "size": "2G", "type": "lvm", "uuid": "d445f7c5-c0af-4e60-8c2b-435a55d43781" }, "/dev/mapper/vg1-lv1_rimage_0": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rimage_0", "size": "2G", "type": "lvm", "uuid": "" }, "/dev/mapper/vg1-lv1_rimage_1": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rimage_1", "size": "2G", "type": "lvm", "uuid": "" }, "/dev/mapper/vg1-lv1_rmeta_0": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rmeta_0", "size": "4M", "type": "lvm", "uuid": "" }, "/dev/mapper/vg1-lv1_rmeta_1": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rmeta_1", "size": "4M", "type": "lvm", "uuid": "" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda1": { "fstype": "LVM2_member", "label": "", "name": "/dev/sda1", "size": "10G", "type": "partition", "uuid": "SGyOfF-BX7p-0W8k-RRYF-CXH8-XRYA-NjgH5B" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb1": { "fstype": "LVM2_member", "label": "", "name": "/dev/sdb1", "size": "10G", "type": "partition", "uuid": "T4QmFT-OZMj-AwKD-tzuE-hMCT-cIfA-V6I1W0" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-07-57-41-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "vfat", "label": "", "name": "/dev/vda2", "size": "200M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "boot", "name": "/dev/vda3", "size": "500M", "type": "partition", "uuid": "6e74e171-0370-451f-8340-f16ad2839183" }, "/dev/vda4": { "fstype": "xfs", "label": "root", "name": "/dev/vda4", "size": "9.3G", "type": "partition", "uuid": "1bb53e4d-984c-4316-908a-59b5a62fa30e" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "12be66f7-7f03-4d54-9a48-a520825d8fa9" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "9bd037ed-b1bb-4b9c-a008-9f07d34ab071" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:19 Thursday 21 July 2022 07:59:44 +0000 (0:00:00.408) 0:01:50.094 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002796", "end": "2022-07-21 03:59:44.098822", "rc": 0, "start": "2022-07-21 03:59:44.096026" } STDOUT: UUID=6e74e171-0370-451f-8340-f16ad2839183 /boot xfs defaults 0 0 UUID=1bb53e4d-984c-4316-908a-59b5a62fa30e / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/vdb1 /var/cache/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 /dev/mapper/vg1-lv1 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:24 Thursday 21 July 2022 07:59:44 +0000 (0:00:00.383) 0:01:50.477 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:01.005009", "end": "2022-07-21 03:59:45.477083", "failed_when_result": false, "rc": 1, "start": "2022-07-21 03:59:44.472074" } STDERR: cat: /etc/crypttab: No such file or directory MSG: non-zero return code TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:33 Thursday 21 July 2022 07:59:46 +0000 (0:00:01.380) 0:01:51.857 ********* included: /tmp/tmpsvhdx31t/tests/test-verify-pool.yml for /cache/rhel-9.qcow2.snap => (item={'disks': ['sda', 'sdb'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'vg1', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': 'raid1', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-4', '_raw_kernel_device': '/dev/dm-4'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-pool.yml:5 Thursday 21 July 2022 07:59:46 +0000 (0:00:00.060) 0:01:51.918 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool.yml:18 Thursday 21 July 2022 07:59:46 +0000 (0:00:00.037) 0:01:51.956 ********* included: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml for /cache/rhel-9.qcow2.snap => (item=members) included: /tmp/tmpsvhdx31t/tests/test-verify-pool-volumes.yml for /cache/rhel-9.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 07:59:46 +0000 (0:00:00.051) 0:01:52.008 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "2", "_storage_test_pool_pvs_lvm": [ "/dev/sda1", "/dev/sdb1" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 07:59:46 +0000 (0:00:00.093) 0:01:52.101 ********* ok: [/cache/rhel-9.qcow2.snap] => (item=/dev/sda1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda1", "pv": "/dev/sda1" } ok: [/cache/rhel-9.qcow2.snap] => (item=/dev/sdb1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sdb1", "pv": "/dev/sdb1" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 07:59:47 +0000 (0:00:00.768) 0:01:52.870 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "2" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 07:59:47 +0000 (0:00:00.110) 0:01:52.980 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda1", "/dev/sdb1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 07:59:47 +0000 (0:00:00.050) 0:01:53.031 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 07:59:47 +0000 (0:00:00.050) 0:01:53.081 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 07:59:47 +0000 (0:00:00.041) 0:01:53.123 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "partition" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 07:59:47 +0000 (0:00:00.048) 0:01:53.171 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 07:59:47 +0000 (0:00:00.024) 0:01:53.196 ********* ok: [/cache/rhel-9.qcow2.snap] => (item=/dev/sda1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda1" } MSG: All assertions passed ok: [/cache/rhel-9.qcow2.snap] => (item=/dev/sdb1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sdb1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 07:59:47 +0000 (0:00:00.055) 0:01:53.252 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml for /cache/rhel-9.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:6 Thursday 21 July 2022 07:59:47 +0000 (0:00:00.044) 0:01:53.296 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:12 Thursday 21 July 2022 07:59:47 +0000 (0:00:00.024) 0:01:53.321 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:16 Thursday 21 July 2022 07:59:47 +0000 (0:00:00.024) 0:01:53.346 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:20 Thursday 21 July 2022 07:59:47 +0000 (0:00:00.023) 0:01:53.370 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:24 Thursday 21 July 2022 07:59:47 +0000 (0:00:00.024) 0:01:53.394 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:30 Thursday 21 July 2022 07:59:47 +0000 (0:00:00.024) 0:01:53.418 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:36 Thursday 21 July 2022 07:59:47 +0000 (0:00:00.025) 0:01:53.444 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:44 Thursday 21 July 2022 07:59:47 +0000 (0:00:00.024) 0:01:53.468 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 07:59:47 +0000 (0:00:00.034) 0:01:53.503 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-members-lvmraid.yml for /cache/rhel-9.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 07:59:47 +0000 (0:00:00.045) 0:01:53.548 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-member-lvmraid.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': 'raid1', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-4', '_raw_kernel_device': '/dev/dm-4'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 07:59:47 +0000 (0:00:00.043) 0:01:53.592 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheading", "-o", "lv_name", "--select", "lv_name=lv1&&lv_layout=raid1", "vg1" ], "delta": "0:00:00.049236", "end": "2022-07-21 03:59:47.649703", "rc": 0, "start": "2022-07-21 03:59:47.600467" } STDOUT: lv1 TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 07:59:48 +0000 (0:00:00.443) 0:01:54.035 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 07:59:48 +0000 (0:00:00.059) 0:01:54.094 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_lvmraid_status": null }, "changed": false } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 07:59:48 +0000 (0:00:00.047) 0:01:54.142 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-members-thin.yml for /cache/rhel-9.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 07:59:48 +0000 (0:00:00.050) 0:01:54.192 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-member-thin.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': 'raid1', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-4', '_raw_kernel_device': '/dev/dm-4'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 07:59:48 +0000 (0:00:00.047) 0:01:54.240 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 07:59:48 +0000 (0:00:00.026) 0:01:54.266 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 07:59:48 +0000 (0:00:00.026) 0:01:54.293 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 07:59:48 +0000 (0:00:00.026) 0:01:54.319 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 07:59:48 +0000 (0:00:00.027) 0:01:54.347 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-members-encryption.yml for /cache/rhel-9.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 07:59:48 +0000 (0:00:00.050) 0:01:54.397 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 07:59:48 +0000 (0:00:00.089) 0:01:54.486 ********* skipping: [/cache/rhel-9.qcow2.snap] => (item=/dev/sda1) => { "_storage_test_pool_member_path": "/dev/sda1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-9.qcow2.snap] => (item=/dev/sdb1) => { "_storage_test_pool_member_path": "/dev/sdb1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 07:59:48 +0000 (0:00:00.079) 0:01:54.565 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml for /cache/rhel-9.qcow2.snap => (item=/dev/sda1) included: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml for /cache/rhel-9.qcow2.snap => (item=/dev/sdb1) TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 07:59:48 +0000 (0:00:00.051) 0:01:54.617 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 07:59:48 +0000 (0:00:00.050) 0:01:54.667 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml:11 Thursday 21 July 2022 07:59:49 +0000 (0:00:00.049) 0:01:54.716 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 07:59:49 +0000 (0:00:00.036) 0:01:54.753 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml:23 Thursday 21 July 2022 07:59:49 +0000 (0:00:00.040) 0:01:54.794 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 07:59:49 +0000 (0:00:00.036) 0:01:54.831 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 07:59:49 +0000 (0:00:00.035) 0:01:54.866 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 07:59:49 +0000 (0:00:00.051) 0:01:54.918 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml:11 Thursday 21 July 2022 07:59:49 +0000 (0:00:00.049) 0:01:54.967 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 07:59:49 +0000 (0:00:00.037) 0:01:55.005 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml:23 Thursday 21 July 2022 07:59:49 +0000 (0:00:00.037) 0:01:55.042 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 07:59:49 +0000 (0:00:00.041) 0:01:55.084 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 07:59:49 +0000 (0:00:00.034) 0:01:55.118 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 07:59:49 +0000 (0:00:00.036) 0:01:55.154 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-members-vdo.yml for /cache/rhel-9.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 07:59:49 +0000 (0:00:00.050) 0:01:55.205 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': 'raid1', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-4', '_raw_kernel_device': '/dev/dm-4'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 07:59:49 +0000 (0:00:00.046) 0:01:55.252 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 07:59:49 +0000 (0:00:00.025) 0:01:55.278 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 07:59:49 +0000 (0:00:00.024) 0:01:55.302 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 07:59:49 +0000 (0:00:00.024) 0:01:55.327 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 07:59:49 +0000 (0:00:00.024) 0:01:55.351 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 07:59:49 +0000 (0:00:00.025) 0:01:55.377 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 07:59:49 +0000 (0:00:00.024) 0:01:55.401 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 07:59:49 +0000 (0:00:00.026) 0:01:55.428 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 07:59:49 +0000 (0:00:00.041) 0:01:55.470 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 07:59:49 +0000 (0:00:00.036) 0:01:55.506 ********* included: /tmp/tmpsvhdx31t/tests/test-verify-volume.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': 'raid1', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-4', '_raw_kernel_device': '/dev/dm-4'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume.yml:2 Thursday 21 July 2022 07:59:49 +0000 (0:00:00.043) 0:01:55.550 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume.yml:10 Thursday 21 July 2022 07:59:49 +0000 (0:00:00.050) 0:01:55.600 ********* included: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml for /cache/rhel-9.qcow2.snap => (item=mount) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml for /cache/rhel-9.qcow2.snap => (item=fstab) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-fs.yml for /cache/rhel-9.qcow2.snap => (item=fs) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml for /cache/rhel-9.qcow2.snap => (item=device) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml for /cache/rhel-9.qcow2.snap => (item=encryption) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml for /cache/rhel-9.qcow2.snap => (item=md) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml for /cache/rhel-9.qcow2.snap => (item=size) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml for /cache/rhel-9.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 07:59:49 +0000 (0:00:00.080) 0:01:55.680 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 07:59:50 +0000 (0:00:00.082) 0:01:55.762 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 508813, "block_size": 4096, "block_total": 520704, "block_used": 11891, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1046525, "inode_total": 1046528, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 2084098048, "size_total": 2132803584, "uuid": "d445f7c5-c0af-4e60-8c2b-435a55d43781" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 508813, "block_size": 4096, "block_total": 520704, "block_used": 11891, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1046525, "inode_total": 1046528, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 2084098048, "size_total": 2132803584, "uuid": "d445f7c5-c0af-4e60-8c2b-435a55d43781" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 07:59:50 +0000 (0:00:00.122) 0:01:55.884 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 07:59:50 +0000 (0:00:00.049) 0:01:55.934 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 07:59:50 +0000 (0:00:00.048) 0:01:55.983 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 07:59:50 +0000 (0:00:00.051) 0:01:56.035 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 07:59:50 +0000 (0:00:00.024) 0:01:56.059 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 07:59:50 +0000 (0:00:00.024) 0:01:56.083 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 07:59:50 +0000 (0:00:00.024) 0:01:56.107 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 07:59:50 +0000 (0:00:00.036) 0:01:56.144 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/vg1-lv1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 07:59:50 +0000 (0:00:00.059) 0:01:56.203 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 07:59:50 +0000 (0:00:00.049) 0:01:56.253 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 07:59:50 +0000 (0:00:00.050) 0:01:56.303 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 07:59:50 +0000 (0:00:00.036) 0:01:56.340 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 07:59:50 +0000 (0:00:00.035) 0:01:56.375 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 07:59:50 +0000 (0:00:00.041) 0:01:56.416 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 07:59:50 +0000 (0:00:00.040) 0:01:56.457 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1658390379.3942678, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658390379.3942678, "dev": 5, "device_type": 64772, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 1472, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658390379.3942678, "nlink": 1, "path": "/dev/mapper/vg1-lv1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 07:59:51 +0000 (0:00:00.381) 0:01:56.838 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 07:59:51 +0000 (0:00:00.038) 0:01:56.877 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 07:59:51 +0000 (0:00:00.037) 0:01:56.915 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 07:59:51 +0000 (0:00:00.036) 0:01:56.951 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 07:59:51 +0000 (0:00:00.024) 0:01:56.976 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 07:59:51 +0000 (0:00:00.040) 0:01:57.017 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 07:59:51 +0000 (0:00:00.024) 0:01:57.041 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 07:59:52 +0000 (0:00:00.957) 0:01:57.999 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 07:59:52 +0000 (0:00:00.025) 0:01:58.024 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 07:59:52 +0000 (0:00:00.024) 0:01:58.049 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 07:59:52 +0000 (0:00:00.088) 0:01:58.137 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 07:59:52 +0000 (0:00:00.024) 0:01:58.162 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 07:59:52 +0000 (0:00:00.055) 0:01:58.218 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 07:59:52 +0000 (0:00:00.026) 0:01:58.245 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 07:59:52 +0000 (0:00:00.025) 0:01:58.270 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 07:59:52 +0000 (0:00:00.023) 0:01:58.294 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 07:59:52 +0000 (0:00:00.052) 0:01:58.347 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 07:59:52 +0000 (0:00:00.047) 0:01:58.395 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 07:59:52 +0000 (0:00:00.036) 0:01:58.431 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 07:59:52 +0000 (0:00:00.037) 0:01:58.469 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 07:59:52 +0000 (0:00:00.036) 0:01:58.505 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 07:59:52 +0000 (0:00:00.035) 0:01:58.540 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 07:59:52 +0000 (0:00:00.035) 0:01:58.576 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 07:59:52 +0000 (0:00:00.037) 0:01:58.613 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 07:59:52 +0000 (0:00:00.036) 0:01:58.650 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 07:59:52 +0000 (0:00:00.036) 0:01:58.686 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 07:59:53 +0000 (0:00:00.037) 0:01:58.723 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 07:59:53 +0000 (0:00:00.041) 0:01:58.764 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 07:59:53 +0000 (0:00:00.037) 0:01:58.802 ********* ok: [/cache/rhel-9.qcow2.snap] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 07:59:53 +0000 (0:00:00.371) 0:01:59.173 ********* ok: [/cache/rhel-9.qcow2.snap] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 07:59:53 +0000 (0:00:00.412) 0:01:59.586 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "2147483648" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 07:59:53 +0000 (0:00:00.050) 0:01:59.636 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "2147483648" } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 07:59:53 +0000 (0:00:00.036) 0:01:59.673 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 07:59:54 +0000 (0:00:00.039) 0:01:59.712 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 07:59:54 +0000 (0:00:00.037) 0:01:59.749 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 07:59:54 +0000 (0:00:00.052) 0:01:59.802 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 07:59:54 +0000 (0:00:00.042) 0:01:59.844 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 07:59:54 +0000 (0:00:00.038) 0:01:59.883 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_actual_size": { "bytes": 2147483648, "changed": false, "failed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 07:59:54 +0000 (0:00:00.036) 0:01:59.920 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "2147483648" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 07:59:54 +0000 (0:00:00.037) 0:01:59.957 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 07:59:54 +0000 (0:00:00.057) 0:02:00.014 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "vg1/lv1" ], "delta": "0:00:00.037023", "end": "2022-07-21 03:59:54.072646", "rc": 0, "start": "2022-07-21 03:59:54.035623" } STDOUT: LVM2_LV_NAME=lv1 LVM2_LV_ATTR=rwi-aor--- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=raid1 TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 07:59:54 +0000 (0:00:00.438) 0:02:00.453 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "raid1" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 07:59:54 +0000 (0:00:00.117) 0:02:00.570 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 07:59:54 +0000 (0:00:00.052) 0:02:00.622 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 07:59:54 +0000 (0:00:00.037) 0:02:00.660 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 07:59:54 +0000 (0:00:00.039) 0:02:00.699 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 07:59:55 +0000 (0:00:00.038) 0:02:00.738 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume.yml:16 Thursday 21 July 2022 07:59:55 +0000 (0:00:00.043) 0:02:00.781 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:43 Thursday 21 July 2022 07:59:55 +0000 (0:00:00.037) 0:02:00.818 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:53 Thursday 21 July 2022 07:59:55 +0000 (0:00:00.024) 0:02:00.843 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Repeat the previous invocation to verify idempotence] ******************** task path: /tmp/tmpsvhdx31t/tests/tests_create_raid_pool_then_remove.yml:118 Thursday 21 July 2022 07:59:55 +0000 (0:00:00.037) 0:02:00.881 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 07:59:55 +0000 (0:00:00.067) 0:02:00.949 ********* included: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-9.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 07:59:55 +0000 (0:00:00.037) 0:02:00.986 ********* ok: [/cache/rhel-9.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 07:59:55 +0000 (0:00:00.557) 0:02:01.544 ********* skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/vars/RedHat_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.yml" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.0.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.0.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 07:59:55 +0000 (0:00:00.062) 0:02:01.606 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 07:59:55 +0000 (0:00:00.034) 0:02:01.640 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 07:59:55 +0000 (0:00:00.035) 0:02:01.676 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-9.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 07:59:56 +0000 (0:00:00.050) 0:02:01.726 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 07:59:56 +0000 (0:00:00.021) 0:02:01.748 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 07:59:56 +0000 (0:00:00.028) 0:02:01.776 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda", "sdb" ], "name": "vg1", "state": "present", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "lv1", "raid_disks": [ "sda", "sdb" ], "raid_level": "raid1", "size": "2g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 07:59:56 +0000 (0:00:00.037) 0:02:01.814 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 07:59:56 +0000 (0:00:00.036) 0:02:01.851 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 07:59:56 +0000 (0:00:00.027) 0:02:01.878 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 07:59:56 +0000 (0:00:00.035) 0:02:01.914 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 07:59:56 +0000 (0:00:00.029) 0:02:01.943 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 07:59:56 +0000 (0:00:00.027) 0:02:01.971 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 07:59:56 +0000 (0:00:00.058) 0:02:02.029 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 07:59:56 +0000 (0:00:00.022) 0:02:02.052 ********* changed: [/cache/rhel-9.qcow2.snap] => { "actions": [ { "action": "resize device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "resize format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/mapper/vg1-lv1", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" } ], "packages": [ "dosfstools", "xfsprogs", "lvm2", "e2fsprogs" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-4", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-4", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 07:59:59 +0000 (0:00:03.366) 0:02:05.419 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 07:59:59 +0000 (0:00:00.038) 0:02:05.458 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 07:59:59 +0000 (0:00:00.024) 0:02:05.482 ********* ok: [/cache/rhel-9.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "resize device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "resize format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/mapper/vg1-lv1", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" } ], "packages": [ "dosfstools", "xfsprogs", "lvm2", "e2fsprogs" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-4", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-4", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 07:59:59 +0000 (0:00:00.041) 0:02:05.523 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-4", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-4", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 07:59:59 +0000 (0:00:00.040) 0:02:05.564 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 07:59:59 +0000 (0:00:00.038) 0:02:05.602 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 07:59:59 +0000 (0:00:00.038) 0:02:05.641 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 08:00:00 +0000 (0:00:00.732) 0:02:06.373 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-9.qcow2.snap] => (item={'src': '/dev/mapper/vg1-lv1', 'path': '/opt/test1', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 08:00:01 +0000 (0:00:00.426) 0:02:06.799 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 08:00:01 +0000 (0:00:00.736) 0:02:07.536 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 08:00:02 +0000 (0:00:00.392) 0:02:07.929 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 08:00:02 +0000 (0:00:00.027) 0:02:07.956 ********* ok: [/cache/rhel-9.qcow2.snap] META: role_complete for /cache/rhel-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpsvhdx31t/tests/tests_create_raid_pool_then_remove.yml:134 Thursday 21 July 2022 08:00:03 +0000 (0:00:01.020) 0:02:08.977 ********* included: /tmp/tmpsvhdx31t/tests/verify-role-results.yml for /cache/rhel-9.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:1 Thursday 21 July 2022 08:00:03 +0000 (0:00:00.094) 0:02:09.071 ********* ok: [/cache/rhel-9.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-4", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-4", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:6 Thursday 21 July 2022 08:00:03 +0000 (0:00:00.051) 0:02:09.123 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:14 Thursday 21 July 2022 08:00:03 +0000 (0:00:00.036) 0:02:09.160 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/vg1-lv1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv1", "size": "2G", "type": "lvm", "uuid": "d445f7c5-c0af-4e60-8c2b-435a55d43781" }, "/dev/mapper/vg1-lv1_rimage_0": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rimage_0", "size": "2G", "type": "lvm", "uuid": "" }, "/dev/mapper/vg1-lv1_rimage_1": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rimage_1", "size": "2G", "type": "lvm", "uuid": "" }, "/dev/mapper/vg1-lv1_rmeta_0": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rmeta_0", "size": "4M", "type": "lvm", "uuid": "" }, "/dev/mapper/vg1-lv1_rmeta_1": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rmeta_1", "size": "4M", "type": "lvm", "uuid": "" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda1": { "fstype": "LVM2_member", "label": "", "name": "/dev/sda1", "size": "10G", "type": "partition", "uuid": "SGyOfF-BX7p-0W8k-RRYF-CXH8-XRYA-NjgH5B" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb1": { "fstype": "LVM2_member", "label": "", "name": "/dev/sdb1", "size": "10G", "type": "partition", "uuid": "T4QmFT-OZMj-AwKD-tzuE-hMCT-cIfA-V6I1W0" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-07-57-41-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "vfat", "label": "", "name": "/dev/vda2", "size": "200M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "boot", "name": "/dev/vda3", "size": "500M", "type": "partition", "uuid": "6e74e171-0370-451f-8340-f16ad2839183" }, "/dev/vda4": { "fstype": "xfs", "label": "root", "name": "/dev/vda4", "size": "9.3G", "type": "partition", "uuid": "1bb53e4d-984c-4316-908a-59b5a62fa30e" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "12be66f7-7f03-4d54-9a48-a520825d8fa9" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "9bd037ed-b1bb-4b9c-a008-9f07d34ab071" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:19 Thursday 21 July 2022 08:00:03 +0000 (0:00:00.363) 0:02:09.523 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002528", "end": "2022-07-21 04:00:03.505226", "rc": 0, "start": "2022-07-21 04:00:03.502698" } STDOUT: UUID=6e74e171-0370-451f-8340-f16ad2839183 /boot xfs defaults 0 0 UUID=1bb53e4d-984c-4316-908a-59b5a62fa30e / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/vdb1 /var/cache/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 /dev/mapper/vg1-lv1 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:24 Thursday 21 July 2022 08:00:04 +0000 (0:00:00.360) 0:02:09.883 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003276", "end": "2022-07-21 04:00:03.877771", "failed_when_result": false, "rc": 1, "start": "2022-07-21 04:00:03.874495" } STDERR: cat: /etc/crypttab: No such file or directory MSG: non-zero return code TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:33 Thursday 21 July 2022 08:00:04 +0000 (0:00:00.373) 0:02:10.257 ********* included: /tmp/tmpsvhdx31t/tests/test-verify-pool.yml for /cache/rhel-9.qcow2.snap => (item={'disks': ['sda', 'sdb'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'vg1', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': 'raid1', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-4', '_raw_kernel_device': '/dev/dm-4'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-pool.yml:5 Thursday 21 July 2022 08:00:04 +0000 (0:00:00.059) 0:02:10.317 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool.yml:18 Thursday 21 July 2022 08:00:04 +0000 (0:00:00.034) 0:02:10.351 ********* included: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml for /cache/rhel-9.qcow2.snap => (item=members) included: /tmp/tmpsvhdx31t/tests/test-verify-pool-volumes.yml for /cache/rhel-9.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 08:00:04 +0000 (0:00:00.046) 0:02:10.398 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "2", "_storage_test_pool_pvs_lvm": [ "/dev/sda1", "/dev/sdb1" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 08:00:04 +0000 (0:00:00.054) 0:02:10.452 ********* ok: [/cache/rhel-9.qcow2.snap] => (item=/dev/sda1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda1", "pv": "/dev/sda1" } ok: [/cache/rhel-9.qcow2.snap] => (item=/dev/sdb1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sdb1", "pv": "/dev/sdb1" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 08:00:05 +0000 (0:00:00.741) 0:02:11.194 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "2" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 08:00:05 +0000 (0:00:00.053) 0:02:11.248 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda1", "/dev/sdb1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 08:00:05 +0000 (0:00:00.054) 0:02:11.303 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 08:00:05 +0000 (0:00:00.053) 0:02:11.357 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 08:00:05 +0000 (0:00:00.040) 0:02:11.398 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "partition" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 08:00:05 +0000 (0:00:00.052) 0:02:11.450 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 08:00:05 +0000 (0:00:00.025) 0:02:11.476 ********* ok: [/cache/rhel-9.qcow2.snap] => (item=/dev/sda1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda1" } MSG: All assertions passed ok: [/cache/rhel-9.qcow2.snap] => (item=/dev/sdb1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sdb1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 08:00:05 +0000 (0:00:00.059) 0:02:11.535 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml for /cache/rhel-9.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:6 Thursday 21 July 2022 08:00:05 +0000 (0:00:00.045) 0:02:11.581 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:12 Thursday 21 July 2022 08:00:05 +0000 (0:00:00.027) 0:02:11.609 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:16 Thursday 21 July 2022 08:00:05 +0000 (0:00:00.026) 0:02:11.636 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:20 Thursday 21 July 2022 08:00:05 +0000 (0:00:00.027) 0:02:11.663 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:24 Thursday 21 July 2022 08:00:05 +0000 (0:00:00.029) 0:02:11.692 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:30 Thursday 21 July 2022 08:00:06 +0000 (0:00:00.027) 0:02:11.719 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:36 Thursday 21 July 2022 08:00:06 +0000 (0:00:00.027) 0:02:11.747 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:44 Thursday 21 July 2022 08:00:06 +0000 (0:00:00.027) 0:02:11.774 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 08:00:06 +0000 (0:00:00.118) 0:02:11.893 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-members-lvmraid.yml for /cache/rhel-9.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 08:00:06 +0000 (0:00:00.047) 0:02:11.941 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-member-lvmraid.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': 'raid1', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-4', '_raw_kernel_device': '/dev/dm-4'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 08:00:06 +0000 (0:00:00.048) 0:02:11.989 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheading", "-o", "lv_name", "--select", "lv_name=lv1&&lv_layout=raid1", "vg1" ], "delta": "0:00:00.036892", "end": "2022-07-21 04:00:06.031494", "rc": 0, "start": "2022-07-21 04:00:05.994602" } STDOUT: lv1 TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 08:00:06 +0000 (0:00:00.420) 0:02:12.410 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 08:00:06 +0000 (0:00:00.055) 0:02:12.466 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_lvmraid_status": null }, "changed": false } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 08:00:06 +0000 (0:00:00.043) 0:02:12.509 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-members-thin.yml for /cache/rhel-9.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 08:00:06 +0000 (0:00:00.046) 0:02:12.556 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-member-thin.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': 'raid1', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-4', '_raw_kernel_device': '/dev/dm-4'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 08:00:06 +0000 (0:00:00.044) 0:02:12.600 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 08:00:06 +0000 (0:00:00.025) 0:02:12.625 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 08:00:06 +0000 (0:00:00.028) 0:02:12.654 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 08:00:06 +0000 (0:00:00.024) 0:02:12.679 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 08:00:06 +0000 (0:00:00.024) 0:02:12.703 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-members-encryption.yml for /cache/rhel-9.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 08:00:07 +0000 (0:00:00.048) 0:02:12.752 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 08:00:07 +0000 (0:00:00.059) 0:02:12.811 ********* skipping: [/cache/rhel-9.qcow2.snap] => (item=/dev/sda1) => { "_storage_test_pool_member_path": "/dev/sda1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-9.qcow2.snap] => (item=/dev/sdb1) => { "_storage_test_pool_member_path": "/dev/sdb1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 08:00:07 +0000 (0:00:00.032) 0:02:12.844 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml for /cache/rhel-9.qcow2.snap => (item=/dev/sda1) included: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml for /cache/rhel-9.qcow2.snap => (item=/dev/sdb1) TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 08:00:07 +0000 (0:00:00.050) 0:02:12.894 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 08:00:07 +0000 (0:00:00.048) 0:02:12.943 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml:11 Thursday 21 July 2022 08:00:07 +0000 (0:00:00.049) 0:02:12.993 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 08:00:07 +0000 (0:00:00.036) 0:02:13.029 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml:23 Thursday 21 July 2022 08:00:07 +0000 (0:00:00.039) 0:02:13.068 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 08:00:07 +0000 (0:00:00.037) 0:02:13.106 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 08:00:07 +0000 (0:00:00.056) 0:02:13.163 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 08:00:07 +0000 (0:00:00.049) 0:02:13.212 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml:11 Thursday 21 July 2022 08:00:07 +0000 (0:00:00.053) 0:02:13.266 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 08:00:07 +0000 (0:00:00.042) 0:02:13.309 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml:23 Thursday 21 July 2022 08:00:07 +0000 (0:00:00.040) 0:02:13.349 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 08:00:07 +0000 (0:00:00.039) 0:02:13.389 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 08:00:07 +0000 (0:00:00.103) 0:02:13.492 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 08:00:07 +0000 (0:00:00.035) 0:02:13.527 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-members-vdo.yml for /cache/rhel-9.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 08:00:07 +0000 (0:00:00.050) 0:02:13.578 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': 'raid1', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-4', '_raw_kernel_device': '/dev/dm-4'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 08:00:07 +0000 (0:00:00.046) 0:02:13.624 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 08:00:07 +0000 (0:00:00.025) 0:02:13.650 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 08:00:07 +0000 (0:00:00.027) 0:02:13.677 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 08:00:07 +0000 (0:00:00.026) 0:02:13.704 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 08:00:08 +0000 (0:00:00.025) 0:02:13.729 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 08:00:08 +0000 (0:00:00.029) 0:02:13.758 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 08:00:08 +0000 (0:00:00.026) 0:02:13.785 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 08:00:08 +0000 (0:00:00.028) 0:02:13.813 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 08:00:08 +0000 (0:00:00.041) 0:02:13.855 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 08:00:08 +0000 (0:00:00.046) 0:02:13.901 ********* included: /tmp/tmpsvhdx31t/tests/test-verify-volume.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': 'raid1', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-4', '_raw_kernel_device': '/dev/dm-4'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume.yml:2 Thursday 21 July 2022 08:00:08 +0000 (0:00:00.048) 0:02:13.950 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume.yml:10 Thursday 21 July 2022 08:00:08 +0000 (0:00:00.053) 0:02:14.004 ********* included: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml for /cache/rhel-9.qcow2.snap => (item=mount) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml for /cache/rhel-9.qcow2.snap => (item=fstab) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-fs.yml for /cache/rhel-9.qcow2.snap => (item=fs) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml for /cache/rhel-9.qcow2.snap => (item=device) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml for /cache/rhel-9.qcow2.snap => (item=encryption) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml for /cache/rhel-9.qcow2.snap => (item=md) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml for /cache/rhel-9.qcow2.snap => (item=size) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml for /cache/rhel-9.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 08:00:08 +0000 (0:00:00.081) 0:02:14.085 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 08:00:08 +0000 (0:00:00.040) 0:02:14.126 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 509814, "block_size": 4096, "block_total": 521728, "block_used": 11914, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1048573, "inode_total": 1048576, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 2088198144, "size_total": 2136997888, "uuid": "d445f7c5-c0af-4e60-8c2b-435a55d43781" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 509814, "block_size": 4096, "block_total": 521728, "block_used": 11914, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1048573, "inode_total": 1048576, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 2088198144, "size_total": 2136997888, "uuid": "d445f7c5-c0af-4e60-8c2b-435a55d43781" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 08:00:08 +0000 (0:00:00.055) 0:02:14.181 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 08:00:08 +0000 (0:00:00.051) 0:02:14.233 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 08:00:08 +0000 (0:00:00.052) 0:02:14.286 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 08:00:08 +0000 (0:00:00.054) 0:02:14.341 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 08:00:08 +0000 (0:00:00.026) 0:02:14.367 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 08:00:08 +0000 (0:00:00.023) 0:02:14.391 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 08:00:08 +0000 (0:00:00.023) 0:02:14.414 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 08:00:08 +0000 (0:00:00.034) 0:02:14.449 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/vg1-lv1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 08:00:08 +0000 (0:00:00.061) 0:02:14.510 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 08:00:08 +0000 (0:00:00.048) 0:02:14.558 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 08:00:08 +0000 (0:00:00.048) 0:02:14.607 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 08:00:08 +0000 (0:00:00.037) 0:02:14.645 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 08:00:08 +0000 (0:00:00.032) 0:02:14.677 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 08:00:09 +0000 (0:00:00.074) 0:02:14.752 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 08:00:09 +0000 (0:00:00.111) 0:02:14.863 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1658390398.9572678, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658390398.9572678, "dev": 5, "device_type": 64772, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 1472, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658390398.9572678, "nlink": 1, "path": "/dev/mapper/vg1-lv1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 08:00:09 +0000 (0:00:00.392) 0:02:15.255 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 08:00:09 +0000 (0:00:00.042) 0:02:15.297 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 08:00:09 +0000 (0:00:00.045) 0:02:15.342 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 08:00:09 +0000 (0:00:00.042) 0:02:15.385 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 08:00:09 +0000 (0:00:00.025) 0:02:15.411 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 08:00:09 +0000 (0:00:00.043) 0:02:15.454 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 08:00:09 +0000 (0:00:00.024) 0:02:15.478 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 08:00:10 +0000 (0:00:00.920) 0:02:16.398 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 08:00:10 +0000 (0:00:00.027) 0:02:16.425 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 08:00:10 +0000 (0:00:00.025) 0:02:16.451 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 08:00:10 +0000 (0:00:00.050) 0:02:16.501 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 08:00:10 +0000 (0:00:00.025) 0:02:16.527 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 08:00:10 +0000 (0:00:00.024) 0:02:16.552 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 08:00:10 +0000 (0:00:00.024) 0:02:16.577 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 08:00:10 +0000 (0:00:00.023) 0:02:16.601 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 08:00:10 +0000 (0:00:00.023) 0:02:16.624 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 08:00:10 +0000 (0:00:00.053) 0:02:16.677 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 08:00:11 +0000 (0:00:00.050) 0:02:16.728 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 08:00:11 +0000 (0:00:00.038) 0:02:16.766 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 08:00:11 +0000 (0:00:00.040) 0:02:16.807 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 08:00:11 +0000 (0:00:00.039) 0:02:16.846 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 08:00:11 +0000 (0:00:00.035) 0:02:16.882 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 08:00:11 +0000 (0:00:00.036) 0:02:16.918 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 08:00:11 +0000 (0:00:00.043) 0:02:16.962 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 08:00:11 +0000 (0:00:00.039) 0:02:17.002 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 08:00:11 +0000 (0:00:00.039) 0:02:17.041 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 08:00:11 +0000 (0:00:00.041) 0:02:17.082 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 08:00:11 +0000 (0:00:00.038) 0:02:17.121 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 08:00:11 +0000 (0:00:00.041) 0:02:17.162 ********* ok: [/cache/rhel-9.qcow2.snap] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 08:00:11 +0000 (0:00:00.402) 0:02:17.565 ********* ok: [/cache/rhel-9.qcow2.snap] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 08:00:12 +0000 (0:00:00.387) 0:02:17.953 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "2147483648" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 08:00:12 +0000 (0:00:00.051) 0:02:18.005 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "2147483648" } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 08:00:12 +0000 (0:00:00.037) 0:02:18.042 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 08:00:12 +0000 (0:00:00.048) 0:02:18.090 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 08:00:12 +0000 (0:00:00.037) 0:02:18.128 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 08:00:12 +0000 (0:00:00.037) 0:02:18.165 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 08:00:12 +0000 (0:00:00.041) 0:02:18.206 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 08:00:12 +0000 (0:00:00.036) 0:02:18.243 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_actual_size": { "bytes": 2147483648, "changed": false, "failed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 08:00:12 +0000 (0:00:00.036) 0:02:18.279 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "2147483648" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 08:00:12 +0000 (0:00:00.037) 0:02:18.317 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 08:00:12 +0000 (0:00:00.054) 0:02:18.372 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "vg1/lv1" ], "delta": "0:00:00.035827", "end": "2022-07-21 04:00:12.401029", "rc": 0, "start": "2022-07-21 04:00:12.365202" } STDOUT: LVM2_LV_NAME=lv1 LVM2_LV_ATTR=rwi-aor--- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=raid1 TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 08:00:13 +0000 (0:00:00.412) 0:02:18.784 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "raid1" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 08:00:13 +0000 (0:00:00.052) 0:02:18.837 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 08:00:13 +0000 (0:00:00.051) 0:02:18.888 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 08:00:13 +0000 (0:00:00.039) 0:02:18.927 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 08:00:13 +0000 (0:00:00.042) 0:02:18.970 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 08:00:13 +0000 (0:00:00.038) 0:02:19.008 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume.yml:16 Thursday 21 July 2022 08:00:13 +0000 (0:00:00.038) 0:02:19.046 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:43 Thursday 21 July 2022 08:00:13 +0000 (0:00:00.036) 0:02:19.083 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:53 Thursday 21 July 2022 08:00:13 +0000 (0:00:00.022) 0:02:19.106 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Remove the device created above] ***************************************** task path: /tmp/tmpsvhdx31t/tests/tests_create_raid_pool_then_remove.yml:136 Thursday 21 July 2022 08:00:13 +0000 (0:00:00.035) 0:02:19.141 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 08:00:13 +0000 (0:00:00.074) 0:02:19.216 ********* included: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-9.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 08:00:13 +0000 (0:00:00.072) 0:02:19.288 ********* ok: [/cache/rhel-9.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 08:00:14 +0000 (0:00:00.546) 0:02:19.835 ********* skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/vars/RedHat_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.yml" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.0.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.0.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 08:00:14 +0000 (0:00:00.061) 0:02:19.896 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 08:00:14 +0000 (0:00:00.034) 0:02:19.930 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 08:00:14 +0000 (0:00:00.037) 0:02:19.968 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-9.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 08:00:14 +0000 (0:00:00.047) 0:02:20.016 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 08:00:14 +0000 (0:00:00.021) 0:02:20.038 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 08:00:14 +0000 (0:00:00.027) 0:02:20.065 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda", "sdb" ], "name": "vg1", "state": "absent", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "lv1", "raid_disks": [ "sda", "sdb" ], "raid_level": "raid1", "size": "2g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 08:00:14 +0000 (0:00:00.039) 0:02:20.105 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 08:00:14 +0000 (0:00:00.037) 0:02:20.142 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 08:00:14 +0000 (0:00:00.032) 0:02:20.174 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 08:00:14 +0000 (0:00:00.028) 0:02:20.203 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 08:00:14 +0000 (0:00:00.028) 0:02:20.231 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 08:00:14 +0000 (0:00:00.028) 0:02:20.259 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 08:00:14 +0000 (0:00:00.060) 0:02:20.320 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 08:00:14 +0000 (0:00:00.023) 0:02:20.344 ********* changed: [/cache/rhel-9.qcow2.snap] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "destroy device", "device": "/dev/vg1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda1", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/sda1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "disklabel" }, { "action": "destroy format", "device": "/dev/sdb1", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/sdb1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb", "fs_type": "disklabel" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "absent" } ], "packages": [ "e2fsprogs", "xfsprogs", "dosfstools" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 08:00:18 +0000 (0:00:03.618) 0:02:23.962 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 08:00:18 +0000 (0:00:00.037) 0:02:24.000 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 08:00:18 +0000 (0:00:00.023) 0:02:24.023 ********* ok: [/cache/rhel-9.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "destroy device", "device": "/dev/vg1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda1", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/sda1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "disklabel" }, { "action": "destroy format", "device": "/dev/sdb1", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/sdb1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb", "fs_type": "disklabel" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "absent" } ], "packages": [ "e2fsprogs", "xfsprogs", "dosfstools" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 08:00:18 +0000 (0:00:00.043) 0:02:24.067 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 08:00:18 +0000 (0:00:00.040) 0:02:24.107 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 08:00:18 +0000 (0:00:00.037) 0:02:24.145 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-9.qcow2.snap] => (item={'src': '/dev/mapper/vg1-lv1', 'path': '/opt/test1', 'state': 'absent', 'fstype': 'xfs'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 08:00:18 +0000 (0:00:00.401) 0:02:24.547 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 08:00:19 +0000 (0:00:00.715) 0:02:25.262 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 08:00:19 +0000 (0:00:00.040) 0:02:25.303 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 08:00:20 +0000 (0:00:00.702) 0:02:26.005 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 08:00:20 +0000 (0:00:00.421) 0:02:26.427 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 08:00:20 +0000 (0:00:00.023) 0:02:26.450 ********* ok: [/cache/rhel-9.qcow2.snap] META: role_complete for /cache/rhel-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpsvhdx31t/tests/tests_create_raid_pool_then_remove.yml:152 Thursday 21 July 2022 08:00:21 +0000 (0:00:01.006) 0:02:27.456 ********* included: /tmp/tmpsvhdx31t/tests/verify-role-results.yml for /cache/rhel-9.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:1 Thursday 21 July 2022 08:00:21 +0000 (0:00:00.055) 0:02:27.512 ********* ok: [/cache/rhel-9.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:6 Thursday 21 July 2022 08:00:21 +0000 (0:00:00.064) 0:02:27.577 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:14 Thursday 21 July 2022 08:00:21 +0000 (0:00:00.036) 0:02:27.614 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "info": { "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-07-57-41-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "vfat", "label": "", "name": "/dev/vda2", "size": "200M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "boot", "name": "/dev/vda3", "size": "500M", "type": "partition", "uuid": "6e74e171-0370-451f-8340-f16ad2839183" }, "/dev/vda4": { "fstype": "xfs", "label": "root", "name": "/dev/vda4", "size": "9.3G", "type": "partition", "uuid": "1bb53e4d-984c-4316-908a-59b5a62fa30e" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "12be66f7-7f03-4d54-9a48-a520825d8fa9" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "9bd037ed-b1bb-4b9c-a008-9f07d34ab071" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:19 Thursday 21 July 2022 08:00:22 +0000 (0:00:00.397) 0:02:28.011 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003010", "end": "2022-07-21 04:00:22.022303", "rc": 0, "start": "2022-07-21 04:00:22.019293" } STDOUT: UUID=6e74e171-0370-451f-8340-f16ad2839183 /boot xfs defaults 0 0 UUID=1bb53e4d-984c-4316-908a-59b5a62fa30e / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/vdb1 /var/cache/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:24 Thursday 21 July 2022 08:00:22 +0000 (0:00:00.387) 0:02:28.398 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003265", "end": "2022-07-21 04:00:22.394333", "failed_when_result": false, "rc": 1, "start": "2022-07-21 04:00:22.391068" } STDERR: cat: /etc/crypttab: No such file or directory MSG: non-zero return code TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:33 Thursday 21 July 2022 08:00:23 +0000 (0:00:00.374) 0:02:28.773 ********* included: /tmp/tmpsvhdx31t/tests/test-verify-pool.yml for /cache/rhel-9.qcow2.snap => (item={'disks': ['sda', 'sdb'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'vg1', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'absent', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': 'raid1', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-pool.yml:5 Thursday 21 July 2022 08:00:23 +0000 (0:00:00.058) 0:02:28.832 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool.yml:18 Thursday 21 July 2022 08:00:23 +0000 (0:00:00.069) 0:02:28.901 ********* included: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml for /cache/rhel-9.qcow2.snap => (item=members) included: /tmp/tmpsvhdx31t/tests/test-verify-pool-volumes.yml for /cache/rhel-9.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 08:00:23 +0000 (0:00:00.048) 0:02:28.950 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "0", "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 08:00:23 +0000 (0:00:00.100) 0:02:29.051 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 08:00:23 +0000 (0:00:00.022) 0:02:29.073 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "0" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 08:00:23 +0000 (0:00:00.061) 0:02:29.134 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 08:00:23 +0000 (0:00:00.064) 0:02:29.199 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 08:00:23 +0000 (0:00:00.056) 0:02:29.256 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 08:00:23 +0000 (0:00:00.038) 0:02:29.295 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "partition" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 08:00:23 +0000 (0:00:00.051) 0:02:29.346 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 08:00:23 +0000 (0:00:00.024) 0:02:29.371 ********* TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 08:00:23 +0000 (0:00:00.022) 0:02:29.393 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml for /cache/rhel-9.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:6 Thursday 21 July 2022 08:00:23 +0000 (0:00:00.043) 0:02:29.436 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:12 Thursday 21 July 2022 08:00:23 +0000 (0:00:00.024) 0:02:29.461 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:16 Thursday 21 July 2022 08:00:23 +0000 (0:00:00.023) 0:02:29.485 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:20 Thursday 21 July 2022 08:00:23 +0000 (0:00:00.023) 0:02:29.509 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:24 Thursday 21 July 2022 08:00:23 +0000 (0:00:00.025) 0:02:29.534 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:30 Thursday 21 July 2022 08:00:23 +0000 (0:00:00.033) 0:02:29.568 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:36 Thursday 21 July 2022 08:00:23 +0000 (0:00:00.026) 0:02:29.594 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:44 Thursday 21 July 2022 08:00:23 +0000 (0:00:00.023) 0:02:29.618 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 08:00:23 +0000 (0:00:00.036) 0:02:29.655 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-members-lvmraid.yml for /cache/rhel-9.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 08:00:23 +0000 (0:00:00.043) 0:02:29.699 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-member-lvmraid.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': 'raid1', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 08:00:24 +0000 (0:00:00.043) 0:02:29.743 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 08:00:24 +0000 (0:00:00.029) 0:02:29.772 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 08:00:24 +0000 (0:00:00.027) 0:02:29.799 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 08:00:24 +0000 (0:00:00.027) 0:02:29.827 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-members-thin.yml for /cache/rhel-9.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 08:00:24 +0000 (0:00:00.044) 0:02:29.872 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-member-thin.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': 'raid1', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 08:00:24 +0000 (0:00:00.044) 0:02:29.917 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 08:00:24 +0000 (0:00:00.023) 0:02:29.941 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 08:00:24 +0000 (0:00:00.023) 0:02:29.964 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 08:00:24 +0000 (0:00:00.023) 0:02:29.987 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 08:00:24 +0000 (0:00:00.024) 0:02:30.012 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-members-encryption.yml for /cache/rhel-9.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 08:00:24 +0000 (0:00:00.045) 0:02:30.058 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 08:00:24 +0000 (0:00:00.049) 0:02:30.107 ********* TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 08:00:24 +0000 (0:00:00.022) 0:02:30.129 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 08:00:24 +0000 (0:00:00.021) 0:02:30.151 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 08:00:24 +0000 (0:00:00.074) 0:02:30.225 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-members-vdo.yml for /cache/rhel-9.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 08:00:24 +0000 (0:00:00.082) 0:02:30.308 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': 'raid1', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 08:00:24 +0000 (0:00:00.046) 0:02:30.354 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 08:00:24 +0000 (0:00:00.026) 0:02:30.380 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 08:00:24 +0000 (0:00:00.024) 0:02:30.405 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 08:00:24 +0000 (0:00:00.024) 0:02:30.429 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 08:00:24 +0000 (0:00:00.024) 0:02:30.453 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 08:00:24 +0000 (0:00:00.025) 0:02:30.478 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 08:00:24 +0000 (0:00:00.023) 0:02:30.502 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 08:00:24 +0000 (0:00:00.023) 0:02:30.526 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 08:00:24 +0000 (0:00:00.035) 0:02:30.561 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 08:00:24 +0000 (0:00:00.037) 0:02:30.599 ********* included: /tmp/tmpsvhdx31t/tests/test-verify-volume.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': 'raid1', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume.yml:2 Thursday 21 July 2022 08:00:24 +0000 (0:00:00.043) 0:02:30.642 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": false, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume.yml:10 Thursday 21 July 2022 08:00:24 +0000 (0:00:00.050) 0:02:30.693 ********* included: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml for /cache/rhel-9.qcow2.snap => (item=mount) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml for /cache/rhel-9.qcow2.snap => (item=fstab) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-fs.yml for /cache/rhel-9.qcow2.snap => (item=fs) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml for /cache/rhel-9.qcow2.snap => (item=device) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml for /cache/rhel-9.qcow2.snap => (item=encryption) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml for /cache/rhel-9.qcow2.snap => (item=md) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml for /cache/rhel-9.qcow2.snap => (item=size) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml for /cache/rhel-9.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 08:00:25 +0000 (0:00:00.083) 0:02:30.777 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 08:00:25 +0000 (0:00:00.041) 0:02:30.818 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 08:00:25 +0000 (0:00:00.057) 0:02:30.875 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 08:00:25 +0000 (0:00:00.025) 0:02:30.901 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 08:00:25 +0000 (0:00:00.053) 0:02:30.955 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 08:00:25 +0000 (0:00:00.038) 0:02:30.993 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 08:00:25 +0000 (0:00:00.024) 0:02:31.018 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 08:00:25 +0000 (0:00:00.023) 0:02:31.042 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 08:00:25 +0000 (0:00:00.025) 0:02:31.068 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 08:00:25 +0000 (0:00:00.034) 0:02:31.103 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "0", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 08:00:25 +0000 (0:00:00.062) 0:02:31.165 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 08:00:25 +0000 (0:00:00.027) 0:02:31.192 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 08:00:25 +0000 (0:00:00.050) 0:02:31.243 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 08:00:25 +0000 (0:00:00.037) 0:02:31.280 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 08:00:25 +0000 (0:00:00.036) 0:02:31.316 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 08:00:25 +0000 (0:00:00.025) 0:02:31.342 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 08:00:25 +0000 (0:00:00.023) 0:02:31.365 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 08:00:26 +0000 (0:00:00.372) 0:02:31.738 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 08:00:26 +0000 (0:00:00.108) 0:02:31.847 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 08:00:26 +0000 (0:00:00.024) 0:02:31.871 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 08:00:26 +0000 (0:00:00.037) 0:02:31.908 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 08:00:26 +0000 (0:00:00.024) 0:02:31.933 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 08:00:26 +0000 (0:00:00.025) 0:02:31.959 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 08:00:26 +0000 (0:00:00.023) 0:02:31.982 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 08:00:27 +0000 (0:00:00.980) 0:02:32.963 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 08:00:27 +0000 (0:00:00.024) 0:02:32.987 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 08:00:27 +0000 (0:00:00.024) 0:02:33.012 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 08:00:27 +0000 (0:00:00.023) 0:02:33.035 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 08:00:27 +0000 (0:00:00.023) 0:02:33.058 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 08:00:27 +0000 (0:00:00.023) 0:02:33.082 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 08:00:27 +0000 (0:00:00.025) 0:02:33.107 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 08:00:27 +0000 (0:00:00.023) 0:02:33.131 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 08:00:27 +0000 (0:00:00.025) 0:02:33.157 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 08:00:27 +0000 (0:00:00.052) 0:02:33.209 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 08:00:27 +0000 (0:00:00.052) 0:02:33.262 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 08:00:27 +0000 (0:00:00.037) 0:02:33.299 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 08:00:27 +0000 (0:00:00.036) 0:02:33.335 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 08:00:27 +0000 (0:00:00.037) 0:02:33.373 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 08:00:27 +0000 (0:00:00.033) 0:02:33.406 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 08:00:27 +0000 (0:00:00.035) 0:02:33.442 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 08:00:27 +0000 (0:00:00.035) 0:02:33.477 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 08:00:27 +0000 (0:00:00.037) 0:02:33.515 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 08:00:27 +0000 (0:00:00.036) 0:02:33.552 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 08:00:27 +0000 (0:00:00.037) 0:02:33.589 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 08:00:27 +0000 (0:00:00.038) 0:02:33.627 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 08:00:27 +0000 (0:00:00.038) 0:02:33.666 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 08:00:27 +0000 (0:00:00.025) 0:02:33.691 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 08:00:28 +0000 (0:00:00.038) 0:02:33.730 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 08:00:28 +0000 (0:00:00.036) 0:02:33.766 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "2147483648" } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 08:00:28 +0000 (0:00:00.039) 0:02:33.805 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 08:00:28 +0000 (0:00:00.041) 0:02:33.847 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 08:00:28 +0000 (0:00:00.039) 0:02:33.886 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 08:00:28 +0000 (0:00:00.040) 0:02:33.927 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 08:00:28 +0000 (0:00:00.041) 0:02:33.969 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 08:00:28 +0000 (0:00:00.074) 0:02:34.043 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 08:00:28 +0000 (0:00:00.041) 0:02:34.084 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "2147483648" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 08:00:28 +0000 (0:00:00.044) 0:02:34.129 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 08:00:28 +0000 (0:00:00.025) 0:02:34.154 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 08:00:28 +0000 (0:00:00.024) 0:02:34.179 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 08:00:28 +0000 (0:00:00.023) 0:02:34.203 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 08:00:28 +0000 (0:00:00.023) 0:02:34.227 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 08:00:28 +0000 (0:00:00.025) 0:02:34.252 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 08:00:28 +0000 (0:00:00.024) 0:02:34.277 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 08:00:28 +0000 (0:00:00.026) 0:02:34.303 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume.yml:16 Thursday 21 July 2022 08:00:28 +0000 (0:00:00.024) 0:02:34.328 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:43 Thursday 21 July 2022 08:00:28 +0000 (0:00:00.037) 0:02:34.366 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:53 Thursday 21 July 2022 08:00:28 +0000 (0:00:00.021) 0:02:34.387 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Create a RAID0 lvm raid device] ****************************************** task path: /tmp/tmpsvhdx31t/tests/tests_create_raid_pool_then_remove.yml:154 Thursday 21 July 2022 08:00:28 +0000 (0:00:00.034) 0:02:34.421 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 08:00:28 +0000 (0:00:00.078) 0:02:34.500 ********* included: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-9.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 08:00:28 +0000 (0:00:00.037) 0:02:34.537 ********* ok: [/cache/rhel-9.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 08:00:29 +0000 (0:00:00.511) 0:02:35.049 ********* skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/vars/RedHat_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.yml" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.0.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.0.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 08:00:29 +0000 (0:00:00.062) 0:02:35.111 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 08:00:29 +0000 (0:00:00.033) 0:02:35.145 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 08:00:29 +0000 (0:00:00.033) 0:02:35.179 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-9.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 08:00:29 +0000 (0:00:00.046) 0:02:35.225 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 08:00:29 +0000 (0:00:00.020) 0:02:35.245 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 08:00:29 +0000 (0:00:00.030) 0:02:35.276 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda", "sdb" ], "name": "vg1", "state": "present", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "lv1", "raid_disks": [ "sda", "sdb" ], "raid_level": "raid0", "size": "2g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 08:00:29 +0000 (0:00:00.036) 0:02:35.312 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 08:00:29 +0000 (0:00:00.035) 0:02:35.348 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 08:00:29 +0000 (0:00:00.027) 0:02:35.375 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 08:00:29 +0000 (0:00:00.027) 0:02:35.403 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 08:00:29 +0000 (0:00:00.026) 0:02:35.429 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 08:00:29 +0000 (0:00:00.027) 0:02:35.457 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 08:00:29 +0000 (0:00:00.137) 0:02:35.594 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 08:00:29 +0000 (0:00:00.022) 0:02:35.617 ********* changed: [/cache/rhel-9.qcow2.snap] => { "actions": [ { "action": "create format", "device": "/dev/sdb", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sdb1", "fs_type": null }, { "action": "create format", "device": "/dev/sdb1", "fs_type": "lvmpv" }, { "action": "create format", "device": "/dev/sda", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sda1", "fs_type": null }, { "action": "create format", "device": "/dev/sda1", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/vg1", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/mapper/vg1-lv1" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" } ], "packages": [ "lvm2", "xfsprogs", "e2fsprogs", "dosfstools" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 08:00:33 +0000 (0:00:03.380) 0:02:38.998 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 08:00:33 +0000 (0:00:00.037) 0:02:39.035 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 08:00:33 +0000 (0:00:00.022) 0:02:39.057 ********* ok: [/cache/rhel-9.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sdb", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sdb1", "fs_type": null }, { "action": "create format", "device": "/dev/sdb1", "fs_type": "lvmpv" }, { "action": "create format", "device": "/dev/sda", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sda1", "fs_type": null }, { "action": "create format", "device": "/dev/sda1", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/vg1", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/mapper/vg1-lv1" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" } ], "packages": [ "lvm2", "xfsprogs", "e2fsprogs", "dosfstools" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 08:00:33 +0000 (0:00:00.038) 0:02:39.096 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 08:00:33 +0000 (0:00:00.038) 0:02:39.134 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 08:00:33 +0000 (0:00:00.038) 0:02:39.173 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 08:00:33 +0000 (0:00:00.039) 0:02:39.212 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 08:00:34 +0000 (0:00:00.697) 0:02:39.910 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-9.qcow2.snap] => (item={'src': '/dev/mapper/vg1-lv1', 'path': '/opt/test1', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 08:00:34 +0000 (0:00:00.408) 0:02:40.318 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 08:00:35 +0000 (0:00:00.693) 0:02:41.012 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 08:00:35 +0000 (0:00:00.361) 0:02:41.374 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 08:00:35 +0000 (0:00:00.022) 0:02:41.396 ********* ok: [/cache/rhel-9.qcow2.snap] META: role_complete for /cache/rhel-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpsvhdx31t/tests/tests_create_raid_pool_then_remove.yml:170 Thursday 21 July 2022 08:00:36 +0000 (0:00:00.956) 0:02:42.353 ********* included: /tmp/tmpsvhdx31t/tests/verify-role-results.yml for /cache/rhel-9.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:1 Thursday 21 July 2022 08:00:36 +0000 (0:00:00.059) 0:02:42.412 ********* ok: [/cache/rhel-9.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:6 Thursday 21 July 2022 08:00:36 +0000 (0:00:00.086) 0:02:42.499 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:14 Thursday 21 July 2022 08:00:36 +0000 (0:00:00.099) 0:02:42.598 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/vg1-lv1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv1", "size": "2G", "type": "lvm", "uuid": "57e87509-6e2a-4129-a899-f0f9fee8025a" }, "/dev/mapper/vg1-lv1_rimage_0": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rimage_0", "size": "1G", "type": "lvm", "uuid": "" }, "/dev/mapper/vg1-lv1_rimage_1": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rimage_1", "size": "1G", "type": "lvm", "uuid": "" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda1": { "fstype": "LVM2_member", "label": "", "name": "/dev/sda1", "size": "10G", "type": "partition", "uuid": "0ZMaLT-QSLm-8xbP-mYiV-WUXo-YIwM-MOdxLR" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb1": { "fstype": "LVM2_member", "label": "", "name": "/dev/sdb1", "size": "10G", "type": "partition", "uuid": "w3zFet-REa0-92He-YIiF-KPIv-SnQQ-f2riln" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-07-57-41-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "vfat", "label": "", "name": "/dev/vda2", "size": "200M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "boot", "name": "/dev/vda3", "size": "500M", "type": "partition", "uuid": "6e74e171-0370-451f-8340-f16ad2839183" }, "/dev/vda4": { "fstype": "xfs", "label": "root", "name": "/dev/vda4", "size": "9.3G", "type": "partition", "uuid": "1bb53e4d-984c-4316-908a-59b5a62fa30e" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "12be66f7-7f03-4d54-9a48-a520825d8fa9" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "9bd037ed-b1bb-4b9c-a008-9f07d34ab071" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:19 Thursday 21 July 2022 08:00:37 +0000 (0:00:00.359) 0:02:42.958 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002666", "end": "2022-07-21 04:00:36.944097", "rc": 0, "start": "2022-07-21 04:00:36.941431" } STDOUT: UUID=6e74e171-0370-451f-8340-f16ad2839183 /boot xfs defaults 0 0 UUID=1bb53e4d-984c-4316-908a-59b5a62fa30e / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/vdb1 /var/cache/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 /dev/mapper/vg1-lv1 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:24 Thursday 21 July 2022 08:00:37 +0000 (0:00:00.363) 0:02:43.321 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003268", "end": "2022-07-21 04:00:37.319186", "failed_when_result": false, "rc": 1, "start": "2022-07-21 04:00:37.315918" } STDERR: cat: /etc/crypttab: No such file or directory MSG: non-zero return code TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:33 Thursday 21 July 2022 08:00:37 +0000 (0:00:00.380) 0:02:43.701 ********* included: /tmp/tmpsvhdx31t/tests/test-verify-pool.yml for /cache/rhel-9.qcow2.snap => (item={'disks': ['sda', 'sdb'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'vg1', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': 'raid0', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-pool.yml:5 Thursday 21 July 2022 08:00:38 +0000 (0:00:00.063) 0:02:43.764 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool.yml:18 Thursday 21 July 2022 08:00:38 +0000 (0:00:00.037) 0:02:43.802 ********* included: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml for /cache/rhel-9.qcow2.snap => (item=members) included: /tmp/tmpsvhdx31t/tests/test-verify-pool-volumes.yml for /cache/rhel-9.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 08:00:38 +0000 (0:00:00.050) 0:02:43.853 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "2", "_storage_test_pool_pvs_lvm": [ "/dev/sda1", "/dev/sdb1" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 08:00:38 +0000 (0:00:00.058) 0:02:43.911 ********* ok: [/cache/rhel-9.qcow2.snap] => (item=/dev/sda1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda1", "pv": "/dev/sda1" } ok: [/cache/rhel-9.qcow2.snap] => (item=/dev/sdb1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sdb1", "pv": "/dev/sdb1" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 08:00:38 +0000 (0:00:00.712) 0:02:44.623 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "2" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 08:00:38 +0000 (0:00:00.049) 0:02:44.673 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda1", "/dev/sdb1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 08:00:39 +0000 (0:00:00.048) 0:02:44.721 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 08:00:39 +0000 (0:00:00.050) 0:02:44.772 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 08:00:39 +0000 (0:00:00.040) 0:02:44.813 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "partition" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 08:00:39 +0000 (0:00:00.049) 0:02:44.862 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 08:00:39 +0000 (0:00:00.024) 0:02:44.887 ********* ok: [/cache/rhel-9.qcow2.snap] => (item=/dev/sda1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda1" } MSG: All assertions passed ok: [/cache/rhel-9.qcow2.snap] => (item=/dev/sdb1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sdb1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 08:00:39 +0000 (0:00:00.090) 0:02:44.978 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml for /cache/rhel-9.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:6 Thursday 21 July 2022 08:00:39 +0000 (0:00:00.071) 0:02:45.049 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:12 Thursday 21 July 2022 08:00:39 +0000 (0:00:00.024) 0:02:45.074 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:16 Thursday 21 July 2022 08:00:39 +0000 (0:00:00.024) 0:02:45.099 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:20 Thursday 21 July 2022 08:00:39 +0000 (0:00:00.024) 0:02:45.124 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:24 Thursday 21 July 2022 08:00:39 +0000 (0:00:00.024) 0:02:45.148 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:30 Thursday 21 July 2022 08:00:39 +0000 (0:00:00.024) 0:02:45.173 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:36 Thursday 21 July 2022 08:00:39 +0000 (0:00:00.025) 0:02:45.199 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:44 Thursday 21 July 2022 08:00:39 +0000 (0:00:00.024) 0:02:45.224 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 08:00:39 +0000 (0:00:00.037) 0:02:45.262 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-members-lvmraid.yml for /cache/rhel-9.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 08:00:39 +0000 (0:00:00.048) 0:02:45.310 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-member-lvmraid.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': 'raid0', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 08:00:39 +0000 (0:00:00.047) 0:02:45.358 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheading", "-o", "lv_name", "--select", "lv_name=lv1&&lv_layout=raid0", "vg1" ], "delta": "0:00:00.037373", "end": "2022-07-21 04:00:39.380213", "rc": 0, "start": "2022-07-21 04:00:39.342840" } STDOUT: lv1 TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 08:00:40 +0000 (0:00:00.402) 0:02:45.760 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 08:00:40 +0000 (0:00:00.057) 0:02:45.817 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_lvmraid_status": null }, "changed": false } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 08:00:40 +0000 (0:00:00.047) 0:02:45.865 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-members-thin.yml for /cache/rhel-9.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 08:00:40 +0000 (0:00:00.049) 0:02:45.915 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-member-thin.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': 'raid0', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 08:00:40 +0000 (0:00:00.046) 0:02:45.961 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 08:00:40 +0000 (0:00:00.027) 0:02:45.989 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 08:00:40 +0000 (0:00:00.026) 0:02:46.015 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 08:00:40 +0000 (0:00:00.026) 0:02:46.042 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 08:00:40 +0000 (0:00:00.026) 0:02:46.068 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-members-encryption.yml for /cache/rhel-9.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 08:00:40 +0000 (0:00:00.050) 0:02:46.119 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 08:00:40 +0000 (0:00:00.053) 0:02:46.172 ********* skipping: [/cache/rhel-9.qcow2.snap] => (item=/dev/sda1) => { "_storage_test_pool_member_path": "/dev/sda1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-9.qcow2.snap] => (item=/dev/sdb1) => { "_storage_test_pool_member_path": "/dev/sdb1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 08:00:40 +0000 (0:00:00.034) 0:02:46.207 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml for /cache/rhel-9.qcow2.snap => (item=/dev/sda1) included: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml for /cache/rhel-9.qcow2.snap => (item=/dev/sdb1) TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 08:00:40 +0000 (0:00:00.050) 0:02:46.258 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 08:00:40 +0000 (0:00:00.052) 0:02:46.311 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml:11 Thursday 21 July 2022 08:00:40 +0000 (0:00:00.051) 0:02:46.362 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 08:00:40 +0000 (0:00:00.038) 0:02:46.401 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml:23 Thursday 21 July 2022 08:00:40 +0000 (0:00:00.038) 0:02:46.439 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 08:00:40 +0000 (0:00:00.074) 0:02:46.514 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 08:00:40 +0000 (0:00:00.036) 0:02:46.550 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 08:00:40 +0000 (0:00:00.051) 0:02:46.601 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml:11 Thursday 21 July 2022 08:00:40 +0000 (0:00:00.054) 0:02:46.655 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 08:00:40 +0000 (0:00:00.036) 0:02:46.692 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml:23 Thursday 21 July 2022 08:00:41 +0000 (0:00:00.036) 0:02:46.729 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 08:00:41 +0000 (0:00:00.036) 0:02:46.766 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 08:00:41 +0000 (0:00:00.039) 0:02:46.805 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 08:00:41 +0000 (0:00:00.036) 0:02:46.842 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-members-vdo.yml for /cache/rhel-9.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 08:00:41 +0000 (0:00:00.049) 0:02:46.892 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': 'raid0', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 08:00:41 +0000 (0:00:00.047) 0:02:46.939 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 08:00:41 +0000 (0:00:00.026) 0:02:46.965 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 08:00:41 +0000 (0:00:00.026) 0:02:46.991 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 08:00:41 +0000 (0:00:00.024) 0:02:47.016 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 08:00:41 +0000 (0:00:00.024) 0:02:47.041 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 08:00:41 +0000 (0:00:00.024) 0:02:47.066 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 08:00:41 +0000 (0:00:00.026) 0:02:47.092 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 08:00:41 +0000 (0:00:00.024) 0:02:47.117 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 08:00:41 +0000 (0:00:00.035) 0:02:47.152 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 08:00:41 +0000 (0:00:00.042) 0:02:47.194 ********* included: /tmp/tmpsvhdx31t/tests/test-verify-volume.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': 'raid0', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume.yml:2 Thursday 21 July 2022 08:00:41 +0000 (0:00:00.050) 0:02:47.244 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume.yml:10 Thursday 21 July 2022 08:00:41 +0000 (0:00:00.050) 0:02:47.295 ********* included: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml for /cache/rhel-9.qcow2.snap => (item=mount) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml for /cache/rhel-9.qcow2.snap => (item=fstab) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-fs.yml for /cache/rhel-9.qcow2.snap => (item=fs) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml for /cache/rhel-9.qcow2.snap => (item=device) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml for /cache/rhel-9.qcow2.snap => (item=encryption) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml for /cache/rhel-9.qcow2.snap => (item=md) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml for /cache/rhel-9.qcow2.snap => (item=size) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml for /cache/rhel-9.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 08:00:41 +0000 (0:00:00.081) 0:02:47.376 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 08:00:41 +0000 (0:00:00.043) 0:02:47.420 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 509649, "block_size": 4096, "block_total": 521600, "block_used": 11951, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1048317, "inode_total": 1048320, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=64k,sunit=128,swidth=256,noquota", "size_available": 2087522304, "size_total": 2136473600, "uuid": "57e87509-6e2a-4129-a899-f0f9fee8025a" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 509649, "block_size": 4096, "block_total": 521600, "block_used": 11951, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1048317, "inode_total": 1048320, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=64k,sunit=128,swidth=256,noquota", "size_available": 2087522304, "size_total": 2136473600, "uuid": "57e87509-6e2a-4129-a899-f0f9fee8025a" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 08:00:41 +0000 (0:00:00.056) 0:02:47.477 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 08:00:41 +0000 (0:00:00.054) 0:02:47.532 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 08:00:41 +0000 (0:00:00.054) 0:02:47.587 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 08:00:41 +0000 (0:00:00.052) 0:02:47.639 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 08:00:41 +0000 (0:00:00.024) 0:02:47.663 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 08:00:41 +0000 (0:00:00.024) 0:02:47.688 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 08:00:42 +0000 (0:00:00.026) 0:02:47.715 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 08:00:42 +0000 (0:00:00.034) 0:02:47.750 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/vg1-lv1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 08:00:42 +0000 (0:00:00.114) 0:02:47.864 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 08:00:42 +0000 (0:00:00.106) 0:02:47.970 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 08:00:42 +0000 (0:00:00.050) 0:02:48.021 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 08:00:42 +0000 (0:00:00.040) 0:02:48.061 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 08:00:42 +0000 (0:00:00.041) 0:02:48.102 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 08:00:42 +0000 (0:00:00.041) 0:02:48.144 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 08:00:42 +0000 (0:00:00.045) 0:02:48.190 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1658390432.5412679, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658390432.5412679, "dev": 5, "device_type": 64770, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 1997, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658390432.5412679, "nlink": 1, "path": "/dev/mapper/vg1-lv1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 08:00:42 +0000 (0:00:00.381) 0:02:48.571 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 08:00:42 +0000 (0:00:00.044) 0:02:48.615 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 08:00:42 +0000 (0:00:00.043) 0:02:48.659 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 08:00:42 +0000 (0:00:00.046) 0:02:48.706 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 08:00:43 +0000 (0:00:00.026) 0:02:48.732 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 08:00:43 +0000 (0:00:00.043) 0:02:48.775 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 08:00:43 +0000 (0:00:00.027) 0:02:48.803 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 08:00:44 +0000 (0:00:00.946) 0:02:49.749 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 08:00:44 +0000 (0:00:00.031) 0:02:49.781 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 08:00:44 +0000 (0:00:00.028) 0:02:49.810 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 08:00:44 +0000 (0:00:00.068) 0:02:49.878 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 08:00:44 +0000 (0:00:00.026) 0:02:49.905 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 08:00:44 +0000 (0:00:00.026) 0:02:49.931 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 08:00:44 +0000 (0:00:00.026) 0:02:49.957 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 08:00:44 +0000 (0:00:00.030) 0:02:49.987 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 08:00:44 +0000 (0:00:00.028) 0:02:50.016 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 08:00:44 +0000 (0:00:00.064) 0:02:50.080 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 08:00:44 +0000 (0:00:00.059) 0:02:50.139 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 08:00:44 +0000 (0:00:00.041) 0:02:50.181 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 08:00:44 +0000 (0:00:00.038) 0:02:50.219 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 08:00:44 +0000 (0:00:00.039) 0:02:50.259 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 08:00:44 +0000 (0:00:00.040) 0:02:50.299 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 08:00:44 +0000 (0:00:00.040) 0:02:50.339 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 08:00:44 +0000 (0:00:00.039) 0:02:50.379 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 08:00:44 +0000 (0:00:00.039) 0:02:50.419 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 08:00:44 +0000 (0:00:00.038) 0:02:50.458 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 08:00:44 +0000 (0:00:00.038) 0:02:50.496 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 08:00:44 +0000 (0:00:00.038) 0:02:50.535 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 08:00:44 +0000 (0:00:00.040) 0:02:50.576 ********* ok: [/cache/rhel-9.qcow2.snap] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 08:00:45 +0000 (0:00:00.426) 0:02:51.002 ********* ok: [/cache/rhel-9.qcow2.snap] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 08:00:45 +0000 (0:00:00.376) 0:02:51.378 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "2147483648" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 08:00:45 +0000 (0:00:00.050) 0:02:51.429 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "2147483648" } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 08:00:45 +0000 (0:00:00.038) 0:02:51.468 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 08:00:45 +0000 (0:00:00.041) 0:02:51.509 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 08:00:45 +0000 (0:00:00.040) 0:02:51.550 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 08:00:45 +0000 (0:00:00.045) 0:02:51.595 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 08:00:45 +0000 (0:00:00.039) 0:02:51.634 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 08:00:45 +0000 (0:00:00.037) 0:02:51.672 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_actual_size": { "bytes": 2147483648, "changed": false, "failed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 08:00:46 +0000 (0:00:00.038) 0:02:51.710 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "2147483648" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 08:00:46 +0000 (0:00:00.039) 0:02:51.750 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 08:00:46 +0000 (0:00:00.057) 0:02:51.807 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "vg1/lv1" ], "delta": "0:00:00.039183", "end": "2022-07-21 04:00:45.839410", "rc": 0, "start": "2022-07-21 04:00:45.800227" } STDOUT: LVM2_LV_NAME=lv1 LVM2_LV_ATTR=rwi-aor--- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=raid0 TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 08:00:46 +0000 (0:00:00.416) 0:02:52.223 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "raid0" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 08:00:46 +0000 (0:00:00.052) 0:02:52.276 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 08:00:46 +0000 (0:00:00.056) 0:02:52.332 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 08:00:46 +0000 (0:00:00.040) 0:02:52.372 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 08:00:46 +0000 (0:00:00.043) 0:02:52.416 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 08:00:46 +0000 (0:00:00.039) 0:02:52.456 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume.yml:16 Thursday 21 July 2022 08:00:46 +0000 (0:00:00.039) 0:02:52.495 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:43 Thursday 21 July 2022 08:00:46 +0000 (0:00:00.040) 0:02:52.536 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:53 Thursday 21 July 2022 08:00:46 +0000 (0:00:00.024) 0:02:52.560 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Repeat the previous invocation to verify idempotence] ******************** task path: /tmp/tmpsvhdx31t/tests/tests_create_raid_pool_then_remove.yml:172 Thursday 21 July 2022 08:00:46 +0000 (0:00:00.036) 0:02:52.597 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 08:00:46 +0000 (0:00:00.084) 0:02:52.681 ********* included: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-9.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 08:00:47 +0000 (0:00:00.077) 0:02:52.759 ********* ok: [/cache/rhel-9.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 08:00:52 +0000 (0:00:05.539) 0:02:58.298 ********* skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/vars/RedHat_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.yml" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.0.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.0.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 08:00:52 +0000 (0:00:00.064) 0:02:58.362 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 08:00:52 +0000 (0:00:00.038) 0:02:58.401 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 08:00:52 +0000 (0:00:00.040) 0:02:58.442 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-9.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 08:00:52 +0000 (0:00:00.051) 0:02:58.493 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 08:00:52 +0000 (0:00:00.022) 0:02:58.515 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 08:00:52 +0000 (0:00:00.030) 0:02:58.545 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda", "sdb" ], "name": "vg1", "state": "present", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "lv1", "raid_disks": [ "sda", "sdb" ], "raid_level": "raid0", "size": "2g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 08:00:52 +0000 (0:00:00.047) 0:02:58.593 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 08:00:52 +0000 (0:00:00.040) 0:02:58.633 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 08:00:52 +0000 (0:00:00.030) 0:02:58.663 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 08:00:52 +0000 (0:00:00.029) 0:02:58.693 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 08:00:53 +0000 (0:00:00.029) 0:02:58.722 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 08:00:53 +0000 (0:00:00.031) 0:02:58.754 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 08:00:53 +0000 (0:00:00.070) 0:02:58.824 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 08:00:53 +0000 (0:00:00.023) 0:02:58.847 ********* ok: [/cache/rhel-9.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/mapper/vg1-lv1", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" } ], "packages": [ "lvm2", "dosfstools", "e2fsprogs", "xfsprogs" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 08:00:55 +0000 (0:00:02.108) 0:03:00.955 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 08:00:55 +0000 (0:00:00.039) 0:03:00.995 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 08:00:55 +0000 (0:00:00.023) 0:03:01.018 ********* ok: [/cache/rhel-9.qcow2.snap] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/mapper/vg1-lv1", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" } ], "packages": [ "lvm2", "dosfstools", "e2fsprogs", "xfsprogs" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 08:00:55 +0000 (0:00:00.081) 0:03:01.100 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 08:00:55 +0000 (0:00:00.078) 0:03:01.178 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 08:00:55 +0000 (0:00:00.038) 0:03:01.216 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 08:00:55 +0000 (0:00:00.039) 0:03:01.256 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 08:00:56 +0000 (0:00:00.721) 0:03:01.977 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/rhel-9.qcow2.snap] => (item={'src': '/dev/mapper/vg1-lv1', 'path': '/opt/test1', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 08:00:56 +0000 (0:00:00.428) 0:03:02.406 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 08:00:57 +0000 (0:00:00.694) 0:03:03.100 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 08:00:57 +0000 (0:00:00.363) 0:03:03.464 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 08:00:57 +0000 (0:00:00.025) 0:03:03.489 ********* ok: [/cache/rhel-9.qcow2.snap] META: role_complete for /cache/rhel-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpsvhdx31t/tests/tests_create_raid_pool_then_remove.yml:188 Thursday 21 July 2022 08:00:58 +0000 (0:00:00.970) 0:03:04.460 ********* included: /tmp/tmpsvhdx31t/tests/verify-role-results.yml for /cache/rhel-9.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:1 Thursday 21 July 2022 08:00:58 +0000 (0:00:00.061) 0:03:04.521 ********* ok: [/cache/rhel-9.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:6 Thursday 21 July 2022 08:00:58 +0000 (0:00:00.086) 0:03:04.608 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:14 Thursday 21 July 2022 08:00:58 +0000 (0:00:00.040) 0:03:04.648 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/vg1-lv1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv1", "size": "2G", "type": "lvm", "uuid": "57e87509-6e2a-4129-a899-f0f9fee8025a" }, "/dev/mapper/vg1-lv1_rimage_0": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rimage_0", "size": "1G", "type": "lvm", "uuid": "" }, "/dev/mapper/vg1-lv1_rimage_1": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rimage_1", "size": "1G", "type": "lvm", "uuid": "" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda1": { "fstype": "LVM2_member", "label": "", "name": "/dev/sda1", "size": "10G", "type": "partition", "uuid": "0ZMaLT-QSLm-8xbP-mYiV-WUXo-YIwM-MOdxLR" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb1": { "fstype": "LVM2_member", "label": "", "name": "/dev/sdb1", "size": "10G", "type": "partition", "uuid": "w3zFet-REa0-92He-YIiF-KPIv-SnQQ-f2riln" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-07-57-41-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "vfat", "label": "", "name": "/dev/vda2", "size": "200M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "boot", "name": "/dev/vda3", "size": "500M", "type": "partition", "uuid": "6e74e171-0370-451f-8340-f16ad2839183" }, "/dev/vda4": { "fstype": "xfs", "label": "root", "name": "/dev/vda4", "size": "9.3G", "type": "partition", "uuid": "1bb53e4d-984c-4316-908a-59b5a62fa30e" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "12be66f7-7f03-4d54-9a48-a520825d8fa9" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "9bd037ed-b1bb-4b9c-a008-9f07d34ab071" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:19 Thursday 21 July 2022 08:00:59 +0000 (0:00:00.375) 0:03:05.023 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002459", "end": "2022-07-21 04:00:59.046864", "rc": 0, "start": "2022-07-21 04:00:59.044405" } STDOUT: UUID=6e74e171-0370-451f-8340-f16ad2839183 /boot xfs defaults 0 0 UUID=1bb53e4d-984c-4316-908a-59b5a62fa30e / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/vdb1 /var/cache/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 /dev/mapper/vg1-lv1 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:24 Thursday 21 July 2022 08:00:59 +0000 (0:00:00.404) 0:03:05.428 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002468", "end": "2022-07-21 04:00:59.444007", "failed_when_result": false, "rc": 1, "start": "2022-07-21 04:00:59.441539" } STDERR: cat: /etc/crypttab: No such file or directory MSG: non-zero return code TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:33 Thursday 21 July 2022 08:01:00 +0000 (0:00:00.392) 0:03:05.821 ********* included: /tmp/tmpsvhdx31t/tests/test-verify-pool.yml for /cache/rhel-9.qcow2.snap => (item={'disks': ['sda', 'sdb'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'vg1', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': 'raid0', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-pool.yml:5 Thursday 21 July 2022 08:01:00 +0000 (0:00:00.061) 0:03:05.882 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool.yml:18 Thursday 21 July 2022 08:01:00 +0000 (0:00:00.038) 0:03:05.920 ********* included: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml for /cache/rhel-9.qcow2.snap => (item=members) included: /tmp/tmpsvhdx31t/tests/test-verify-pool-volumes.yml for /cache/rhel-9.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 08:01:00 +0000 (0:00:00.049) 0:03:05.970 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "2", "_storage_test_pool_pvs_lvm": [ "/dev/sda1", "/dev/sdb1" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 08:01:00 +0000 (0:00:00.060) 0:03:06.030 ********* ok: [/cache/rhel-9.qcow2.snap] => (item=/dev/sda1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda1", "pv": "/dev/sda1" } ok: [/cache/rhel-9.qcow2.snap] => (item=/dev/sdb1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sdb1", "pv": "/dev/sdb1" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 08:01:01 +0000 (0:00:00.713) 0:03:06.744 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "2" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 08:01:01 +0000 (0:00:00.058) 0:03:06.803 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda1", "/dev/sdb1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 08:01:01 +0000 (0:00:00.053) 0:03:06.857 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 08:01:01 +0000 (0:00:00.052) 0:03:06.910 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 08:01:01 +0000 (0:00:00.040) 0:03:06.950 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "partition" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 08:01:01 +0000 (0:00:00.054) 0:03:07.005 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 08:01:01 +0000 (0:00:00.033) 0:03:07.038 ********* ok: [/cache/rhel-9.qcow2.snap] => (item=/dev/sda1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda1" } MSG: All assertions passed ok: [/cache/rhel-9.qcow2.snap] => (item=/dev/sdb1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sdb1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 08:01:01 +0000 (0:00:00.057) 0:03:07.096 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml for /cache/rhel-9.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:6 Thursday 21 July 2022 08:01:01 +0000 (0:00:00.054) 0:03:07.150 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:12 Thursday 21 July 2022 08:01:01 +0000 (0:00:00.027) 0:03:07.178 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:16 Thursday 21 July 2022 08:01:01 +0000 (0:00:00.027) 0:03:07.206 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:20 Thursday 21 July 2022 08:01:01 +0000 (0:00:00.031) 0:03:07.237 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:24 Thursday 21 July 2022 08:01:01 +0000 (0:00:00.028) 0:03:07.265 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:30 Thursday 21 July 2022 08:01:01 +0000 (0:00:00.028) 0:03:07.294 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:36 Thursday 21 July 2022 08:01:01 +0000 (0:00:00.027) 0:03:07.321 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:44 Thursday 21 July 2022 08:01:01 +0000 (0:00:00.028) 0:03:07.349 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 08:01:01 +0000 (0:00:00.037) 0:03:07.387 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-members-lvmraid.yml for /cache/rhel-9.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 08:01:01 +0000 (0:00:00.052) 0:03:07.440 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-member-lvmraid.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': 'raid0', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 08:01:01 +0000 (0:00:00.080) 0:03:07.520 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheading", "-o", "lv_name", "--select", "lv_name=lv1&&lv_layout=raid0", "vg1" ], "delta": "0:00:00.037501", "end": "2022-07-21 04:01:01.554277", "rc": 0, "start": "2022-07-21 04:01:01.516776" } STDOUT: lv1 TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 08:01:02 +0000 (0:00:00.414) 0:03:07.935 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 08:01:02 +0000 (0:00:00.056) 0:03:07.991 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_lvmraid_status": null }, "changed": false } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 08:01:02 +0000 (0:00:00.043) 0:03:08.034 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-members-thin.yml for /cache/rhel-9.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 08:01:02 +0000 (0:00:00.046) 0:03:08.081 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-member-thin.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': 'raid0', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 08:01:02 +0000 (0:00:00.045) 0:03:08.126 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 08:01:02 +0000 (0:00:00.024) 0:03:08.151 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 08:01:02 +0000 (0:00:00.024) 0:03:08.176 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 08:01:02 +0000 (0:00:00.024) 0:03:08.200 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 08:01:02 +0000 (0:00:00.027) 0:03:08.227 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-members-encryption.yml for /cache/rhel-9.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 08:01:02 +0000 (0:00:00.050) 0:03:08.278 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 08:01:02 +0000 (0:00:00.050) 0:03:08.328 ********* skipping: [/cache/rhel-9.qcow2.snap] => (item=/dev/sda1) => { "_storage_test_pool_member_path": "/dev/sda1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-9.qcow2.snap] => (item=/dev/sdb1) => { "_storage_test_pool_member_path": "/dev/sdb1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 08:01:02 +0000 (0:00:00.030) 0:03:08.359 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml for /cache/rhel-9.qcow2.snap => (item=/dev/sda1) included: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml for /cache/rhel-9.qcow2.snap => (item=/dev/sdb1) TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 08:01:02 +0000 (0:00:00.049) 0:03:08.408 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 08:01:02 +0000 (0:00:00.048) 0:03:08.457 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml:11 Thursday 21 July 2022 08:01:02 +0000 (0:00:00.050) 0:03:08.508 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 08:01:02 +0000 (0:00:00.036) 0:03:08.544 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml:23 Thursday 21 July 2022 08:01:02 +0000 (0:00:00.036) 0:03:08.581 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 08:01:02 +0000 (0:00:00.036) 0:03:08.617 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 08:01:02 +0000 (0:00:00.038) 0:03:08.655 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 08:01:02 +0000 (0:00:00.048) 0:03:08.704 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml:11 Thursday 21 July 2022 08:01:03 +0000 (0:00:00.049) 0:03:08.754 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 08:01:03 +0000 (0:00:00.045) 0:03:08.800 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml:23 Thursday 21 July 2022 08:01:03 +0000 (0:00:00.039) 0:03:08.839 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 08:01:03 +0000 (0:00:00.038) 0:03:08.878 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 08:01:03 +0000 (0:00:00.039) 0:03:08.917 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 08:01:03 +0000 (0:00:00.041) 0:03:08.959 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-members-vdo.yml for /cache/rhel-9.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 08:01:03 +0000 (0:00:00.052) 0:03:09.011 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': 'raid0', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 08:01:03 +0000 (0:00:00.091) 0:03:09.103 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 08:01:03 +0000 (0:00:00.025) 0:03:09.128 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 08:01:03 +0000 (0:00:00.025) 0:03:09.154 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 08:01:03 +0000 (0:00:00.026) 0:03:09.180 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 08:01:03 +0000 (0:00:00.024) 0:03:09.205 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 08:01:03 +0000 (0:00:00.025) 0:03:09.230 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 08:01:03 +0000 (0:00:00.025) 0:03:09.256 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 08:01:03 +0000 (0:00:00.031) 0:03:09.288 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 08:01:03 +0000 (0:00:00.036) 0:03:09.324 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 08:01:03 +0000 (0:00:00.037) 0:03:09.362 ********* included: /tmp/tmpsvhdx31t/tests/test-verify-volume.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': 'raid0', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume.yml:2 Thursday 21 July 2022 08:01:03 +0000 (0:00:00.049) 0:03:09.411 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume.yml:10 Thursday 21 July 2022 08:01:03 +0000 (0:00:00.055) 0:03:09.467 ********* included: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml for /cache/rhel-9.qcow2.snap => (item=mount) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml for /cache/rhel-9.qcow2.snap => (item=fstab) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-fs.yml for /cache/rhel-9.qcow2.snap => (item=fs) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml for /cache/rhel-9.qcow2.snap => (item=device) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml for /cache/rhel-9.qcow2.snap => (item=encryption) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml for /cache/rhel-9.qcow2.snap => (item=md) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml for /cache/rhel-9.qcow2.snap => (item=size) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml for /cache/rhel-9.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 08:01:03 +0000 (0:00:00.081) 0:03:09.548 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 08:01:03 +0000 (0:00:00.043) 0:03:09.592 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 509649, "block_size": 4096, "block_total": 521600, "block_used": 11951, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1048317, "inode_total": 1048320, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=64k,sunit=128,swidth=256,noquota", "size_available": 2087522304, "size_total": 2136473600, "uuid": "57e87509-6e2a-4129-a899-f0f9fee8025a" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 509649, "block_size": 4096, "block_total": 521600, "block_used": 11951, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1048317, "inode_total": 1048320, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=64k,sunit=128,swidth=256,noquota", "size_available": 2087522304, "size_total": 2136473600, "uuid": "57e87509-6e2a-4129-a899-f0f9fee8025a" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 08:01:03 +0000 (0:00:00.061) 0:03:09.654 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 08:01:04 +0000 (0:00:00.051) 0:03:09.706 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 08:01:04 +0000 (0:00:00.050) 0:03:09.757 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 08:01:04 +0000 (0:00:00.054) 0:03:09.811 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 08:01:04 +0000 (0:00:00.025) 0:03:09.836 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 08:01:04 +0000 (0:00:00.024) 0:03:09.861 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 08:01:04 +0000 (0:00:00.027) 0:03:09.888 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 08:01:04 +0000 (0:00:00.038) 0:03:09.927 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/vg1-lv1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 08:01:04 +0000 (0:00:00.064) 0:03:09.991 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 08:01:04 +0000 (0:00:00.066) 0:03:10.058 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 08:01:04 +0000 (0:00:00.051) 0:03:10.109 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 08:01:04 +0000 (0:00:00.037) 0:03:10.146 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 08:01:04 +0000 (0:00:00.036) 0:03:10.183 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 08:01:04 +0000 (0:00:00.042) 0:03:10.225 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 08:01:04 +0000 (0:00:00.040) 0:03:10.266 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1658390432.5412679, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658390432.5412679, "dev": 5, "device_type": 64770, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 1997, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658390432.5412679, "nlink": 1, "path": "/dev/mapper/vg1-lv1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 08:01:04 +0000 (0:00:00.387) 0:03:10.653 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 08:01:05 +0000 (0:00:00.119) 0:03:10.773 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 08:01:05 +0000 (0:00:00.042) 0:03:10.816 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 08:01:05 +0000 (0:00:00.043) 0:03:10.859 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 08:01:05 +0000 (0:00:00.030) 0:03:10.889 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 08:01:05 +0000 (0:00:00.044) 0:03:10.934 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 08:01:05 +0000 (0:00:00.025) 0:03:10.959 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 08:01:06 +0000 (0:00:00.917) 0:03:11.877 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 08:01:06 +0000 (0:00:00.025) 0:03:11.902 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 08:01:06 +0000 (0:00:00.024) 0:03:11.927 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 08:01:06 +0000 (0:00:00.054) 0:03:11.981 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 08:01:06 +0000 (0:00:00.025) 0:03:12.006 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 08:01:06 +0000 (0:00:00.026) 0:03:12.032 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 08:01:06 +0000 (0:00:00.024) 0:03:12.057 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 08:01:06 +0000 (0:00:00.024) 0:03:12.081 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 08:01:06 +0000 (0:00:00.025) 0:03:12.107 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 08:01:06 +0000 (0:00:00.056) 0:03:12.164 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 08:01:06 +0000 (0:00:00.049) 0:03:12.213 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 08:01:06 +0000 (0:00:00.036) 0:03:12.250 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 08:01:06 +0000 (0:00:00.037) 0:03:12.287 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 08:01:06 +0000 (0:00:00.036) 0:03:12.324 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 08:01:06 +0000 (0:00:00.035) 0:03:12.359 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 08:01:06 +0000 (0:00:00.039) 0:03:12.399 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 08:01:06 +0000 (0:00:00.039) 0:03:12.439 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 08:01:06 +0000 (0:00:00.036) 0:03:12.475 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 08:01:06 +0000 (0:00:00.038) 0:03:12.513 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 08:01:06 +0000 (0:00:00.037) 0:03:12.551 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 08:01:06 +0000 (0:00:00.039) 0:03:12.590 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 08:01:06 +0000 (0:00:00.038) 0:03:12.628 ********* ok: [/cache/rhel-9.qcow2.snap] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 08:01:07 +0000 (0:00:00.419) 0:03:13.048 ********* ok: [/cache/rhel-9.qcow2.snap] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 08:01:07 +0000 (0:00:00.416) 0:03:13.465 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "2147483648" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 08:01:07 +0000 (0:00:00.050) 0:03:13.515 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "2147483648" } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 08:01:07 +0000 (0:00:00.040) 0:03:13.556 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 08:01:07 +0000 (0:00:00.040) 0:03:13.596 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 08:01:07 +0000 (0:00:00.040) 0:03:13.637 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 08:01:07 +0000 (0:00:00.039) 0:03:13.677 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 08:01:08 +0000 (0:00:00.040) 0:03:13.717 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 08:01:08 +0000 (0:00:00.040) 0:03:13.758 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_actual_size": { "bytes": 2147483648, "changed": false, "failed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 08:01:08 +0000 (0:00:00.036) 0:03:13.794 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "2147483648" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 08:01:08 +0000 (0:00:00.037) 0:03:13.832 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 08:01:08 +0000 (0:00:00.054) 0:03:13.887 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "vg1/lv1" ], "delta": "0:00:00.034195", "end": "2022-07-21 04:01:07.916613", "rc": 0, "start": "2022-07-21 04:01:07.882418" } STDOUT: LVM2_LV_NAME=lv1 LVM2_LV_ATTR=rwi-aor--- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=raid0 TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 08:01:08 +0000 (0:00:00.409) 0:03:14.296 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "raid0" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 08:01:08 +0000 (0:00:00.053) 0:03:14.350 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 08:01:08 +0000 (0:00:00.056) 0:03:14.406 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 08:01:08 +0000 (0:00:00.041) 0:03:14.447 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 08:01:08 +0000 (0:00:00.038) 0:03:14.486 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 08:01:08 +0000 (0:00:00.040) 0:03:14.526 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume.yml:16 Thursday 21 July 2022 08:01:08 +0000 (0:00:00.041) 0:03:14.568 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:43 Thursday 21 July 2022 08:01:08 +0000 (0:00:00.035) 0:03:14.604 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:53 Thursday 21 July 2022 08:01:08 +0000 (0:00:00.024) 0:03:14.629 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Remove the device created above] ***************************************** task path: /tmp/tmpsvhdx31t/tests/tests_create_raid_pool_then_remove.yml:190 Thursday 21 July 2022 08:01:08 +0000 (0:00:00.041) 0:03:14.670 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 08:01:09 +0000 (0:00:00.092) 0:03:14.763 ********* included: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-9.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 08:01:09 +0000 (0:00:00.037) 0:03:14.801 ********* ok: [/cache/rhel-9.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 08:01:09 +0000 (0:00:00.512) 0:03:15.314 ********* skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/vars/RedHat_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.yml" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.0.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.0.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 08:01:09 +0000 (0:00:00.064) 0:03:15.378 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 08:01:09 +0000 (0:00:00.034) 0:03:15.413 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 08:01:09 +0000 (0:00:00.036) 0:03:15.450 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-9.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 08:01:09 +0000 (0:00:00.050) 0:03:15.501 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 08:01:09 +0000 (0:00:00.022) 0:03:15.523 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 08:01:09 +0000 (0:00:00.029) 0:03:15.553 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda", "sdb" ], "name": "vg1", "state": "absent", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "lv1", "raid_disks": [ "sda", "sdb" ], "raid_level": "raid0", "size": "2g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 08:01:09 +0000 (0:00:00.042) 0:03:15.595 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 08:01:09 +0000 (0:00:00.040) 0:03:15.636 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 08:01:09 +0000 (0:00:00.031) 0:03:15.668 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 08:01:09 +0000 (0:00:00.030) 0:03:15.698 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 08:01:10 +0000 (0:00:00.032) 0:03:15.731 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 08:01:10 +0000 (0:00:00.031) 0:03:15.762 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 08:01:10 +0000 (0:00:00.062) 0:03:15.825 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 08:01:10 +0000 (0:00:00.023) 0:03:15.848 ********* changed: [/cache/rhel-9.qcow2.snap] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "destroy device", "device": "/dev/vg1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb1", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/sdb1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb", "fs_type": "disklabel" }, { "action": "destroy format", "device": "/dev/sda1", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/sda1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "disklabel" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "absent" } ], "packages": [ "dosfstools", "xfsprogs", "e2fsprogs" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 08:01:13 +0000 (0:00:03.403) 0:03:19.252 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 08:01:13 +0000 (0:00:00.039) 0:03:19.292 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 08:01:13 +0000 (0:00:00.024) 0:03:19.317 ********* ok: [/cache/rhel-9.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "destroy device", "device": "/dev/vg1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb1", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/sdb1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb", "fs_type": "disklabel" }, { "action": "destroy format", "device": "/dev/sda1", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/sda1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "disklabel" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "absent" } ], "packages": [ "dosfstools", "xfsprogs", "e2fsprogs" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 08:01:13 +0000 (0:00:00.045) 0:03:19.362 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 08:01:13 +0000 (0:00:00.040) 0:03:19.403 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 08:01:13 +0000 (0:00:00.041) 0:03:19.444 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-9.qcow2.snap] => (item={'src': '/dev/mapper/vg1-lv1', 'path': '/opt/test1', 'state': 'absent', 'fstype': 'xfs'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 08:01:14 +0000 (0:00:00.440) 0:03:19.884 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 08:01:14 +0000 (0:00:00.678) 0:03:20.563 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 08:01:14 +0000 (0:00:00.041) 0:03:20.604 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 08:01:15 +0000 (0:00:00.715) 0:03:21.319 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 08:01:15 +0000 (0:00:00.375) 0:03:21.695 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 08:01:16 +0000 (0:00:00.023) 0:03:21.718 ********* ok: [/cache/rhel-9.qcow2.snap] META: role_complete for /cache/rhel-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpsvhdx31t/tests/tests_create_raid_pool_then_remove.yml:206 Thursday 21 July 2022 08:01:16 +0000 (0:00:00.977) 0:03:22.695 ********* included: /tmp/tmpsvhdx31t/tests/verify-role-results.yml for /cache/rhel-9.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:1 Thursday 21 July 2022 08:01:17 +0000 (0:00:00.068) 0:03:22.764 ********* ok: [/cache/rhel-9.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:6 Thursday 21 July 2022 08:01:17 +0000 (0:00:00.059) 0:03:22.824 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:14 Thursday 21 July 2022 08:01:17 +0000 (0:00:00.037) 0:03:22.861 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "info": { "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-07-57-41-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "vfat", "label": "", "name": "/dev/vda2", "size": "200M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "boot", "name": "/dev/vda3", "size": "500M", "type": "partition", "uuid": "6e74e171-0370-451f-8340-f16ad2839183" }, "/dev/vda4": { "fstype": "xfs", "label": "root", "name": "/dev/vda4", "size": "9.3G", "type": "partition", "uuid": "1bb53e4d-984c-4316-908a-59b5a62fa30e" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "12be66f7-7f03-4d54-9a48-a520825d8fa9" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "9bd037ed-b1bb-4b9c-a008-9f07d34ab071" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:19 Thursday 21 July 2022 08:01:17 +0000 (0:00:00.399) 0:03:23.261 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002439", "end": "2022-07-21 04:01:17.248214", "rc": 0, "start": "2022-07-21 04:01:17.245775" } STDOUT: UUID=6e74e171-0370-451f-8340-f16ad2839183 /boot xfs defaults 0 0 UUID=1bb53e4d-984c-4316-908a-59b5a62fa30e / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/vdb1 /var/cache/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:24 Thursday 21 July 2022 08:01:17 +0000 (0:00:00.364) 0:03:23.625 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002471", "end": "2022-07-21 04:01:17.600090", "failed_when_result": false, "rc": 1, "start": "2022-07-21 04:01:17.597619" } STDERR: cat: /etc/crypttab: No such file or directory MSG: non-zero return code TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:33 Thursday 21 July 2022 08:01:18 +0000 (0:00:00.353) 0:03:23.978 ********* included: /tmp/tmpsvhdx31t/tests/test-verify-pool.yml for /cache/rhel-9.qcow2.snap => (item={'disks': ['sda', 'sdb'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'vg1', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'absent', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': 'raid0', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-pool.yml:5 Thursday 21 July 2022 08:01:18 +0000 (0:00:00.061) 0:03:24.039 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool.yml:18 Thursday 21 July 2022 08:01:18 +0000 (0:00:00.077) 0:03:24.116 ********* included: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml for /cache/rhel-9.qcow2.snap => (item=members) included: /tmp/tmpsvhdx31t/tests/test-verify-pool-volumes.yml for /cache/rhel-9.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 08:01:18 +0000 (0:00:00.048) 0:03:24.165 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "0", "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 08:01:18 +0000 (0:00:00.128) 0:03:24.293 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 08:01:18 +0000 (0:00:00.022) 0:03:24.316 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "0" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 08:01:18 +0000 (0:00:00.050) 0:03:24.367 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 08:01:18 +0000 (0:00:00.052) 0:03:24.419 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 08:01:18 +0000 (0:00:00.052) 0:03:24.472 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 08:01:18 +0000 (0:00:00.038) 0:03:24.510 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "partition" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 08:01:18 +0000 (0:00:00.053) 0:03:24.564 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 08:01:18 +0000 (0:00:00.026) 0:03:24.591 ********* TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 08:01:18 +0000 (0:00:00.022) 0:03:24.613 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml for /cache/rhel-9.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:6 Thursday 21 July 2022 08:01:18 +0000 (0:00:00.042) 0:03:24.655 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:12 Thursday 21 July 2022 08:01:18 +0000 (0:00:00.025) 0:03:24.681 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:16 Thursday 21 July 2022 08:01:19 +0000 (0:00:00.027) 0:03:24.708 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:20 Thursday 21 July 2022 08:01:19 +0000 (0:00:00.026) 0:03:24.735 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:24 Thursday 21 July 2022 08:01:19 +0000 (0:00:00.024) 0:03:24.759 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:30 Thursday 21 July 2022 08:01:19 +0000 (0:00:00.037) 0:03:24.797 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:36 Thursday 21 July 2022 08:01:19 +0000 (0:00:00.026) 0:03:24.823 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:44 Thursday 21 July 2022 08:01:19 +0000 (0:00:00.025) 0:03:24.849 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 08:01:19 +0000 (0:00:00.038) 0:03:24.887 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-members-lvmraid.yml for /cache/rhel-9.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 08:01:19 +0000 (0:00:00.047) 0:03:24.935 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-member-lvmraid.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': 'raid0', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 08:01:19 +0000 (0:00:00.049) 0:03:24.985 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 08:01:19 +0000 (0:00:00.030) 0:03:25.015 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 08:01:19 +0000 (0:00:00.033) 0:03:25.049 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 08:01:19 +0000 (0:00:00.029) 0:03:25.078 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-members-thin.yml for /cache/rhel-9.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 08:01:19 +0000 (0:00:00.046) 0:03:25.125 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-member-thin.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': 'raid0', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 08:01:19 +0000 (0:00:00.043) 0:03:25.169 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 08:01:19 +0000 (0:00:00.025) 0:03:25.194 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 08:01:19 +0000 (0:00:00.023) 0:03:25.218 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 08:01:19 +0000 (0:00:00.023) 0:03:25.242 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 08:01:19 +0000 (0:00:00.023) 0:03:25.265 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-members-encryption.yml for /cache/rhel-9.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 08:01:19 +0000 (0:00:00.048) 0:03:25.313 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 08:01:19 +0000 (0:00:00.051) 0:03:25.365 ********* TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 08:01:19 +0000 (0:00:00.024) 0:03:25.389 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 08:01:19 +0000 (0:00:00.022) 0:03:25.412 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 08:01:19 +0000 (0:00:00.080) 0:03:25.492 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-members-vdo.yml for /cache/rhel-9.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 08:01:19 +0000 (0:00:00.088) 0:03:25.580 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': 'raid0', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 08:01:19 +0000 (0:00:00.047) 0:03:25.628 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 08:01:19 +0000 (0:00:00.027) 0:03:25.655 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 08:01:19 +0000 (0:00:00.032) 0:03:25.688 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 08:01:20 +0000 (0:00:00.025) 0:03:25.713 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 08:01:20 +0000 (0:00:00.028) 0:03:25.742 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 08:01:20 +0000 (0:00:00.025) 0:03:25.768 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 08:01:20 +0000 (0:00:00.025) 0:03:25.794 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 08:01:20 +0000 (0:00:00.027) 0:03:25.821 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 08:01:20 +0000 (0:00:00.035) 0:03:25.857 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 08:01:20 +0000 (0:00:00.038) 0:03:25.896 ********* included: /tmp/tmpsvhdx31t/tests/test-verify-volume.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': 'raid0', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume.yml:2 Thursday 21 July 2022 08:01:20 +0000 (0:00:00.046) 0:03:25.942 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": false, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume.yml:10 Thursday 21 July 2022 08:01:20 +0000 (0:00:00.054) 0:03:25.997 ********* included: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml for /cache/rhel-9.qcow2.snap => (item=mount) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml for /cache/rhel-9.qcow2.snap => (item=fstab) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-fs.yml for /cache/rhel-9.qcow2.snap => (item=fs) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml for /cache/rhel-9.qcow2.snap => (item=device) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml for /cache/rhel-9.qcow2.snap => (item=encryption) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml for /cache/rhel-9.qcow2.snap => (item=md) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml for /cache/rhel-9.qcow2.snap => (item=size) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml for /cache/rhel-9.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 08:01:20 +0000 (0:00:00.082) 0:03:26.079 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 08:01:20 +0000 (0:00:00.043) 0:03:26.122 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 08:01:20 +0000 (0:00:00.058) 0:03:26.181 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 08:01:20 +0000 (0:00:00.024) 0:03:26.206 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 08:01:20 +0000 (0:00:00.052) 0:03:26.259 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 08:01:20 +0000 (0:00:00.038) 0:03:26.297 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 08:01:20 +0000 (0:00:00.027) 0:03:26.325 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 08:01:20 +0000 (0:00:00.026) 0:03:26.351 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 08:01:20 +0000 (0:00:00.028) 0:03:26.380 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 08:01:20 +0000 (0:00:00.036) 0:03:26.416 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "0", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 08:01:20 +0000 (0:00:00.062) 0:03:26.478 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 08:01:20 +0000 (0:00:00.024) 0:03:26.503 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 08:01:20 +0000 (0:00:00.056) 0:03:26.559 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 08:01:20 +0000 (0:00:00.038) 0:03:26.597 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 08:01:20 +0000 (0:00:00.036) 0:03:26.634 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 08:01:20 +0000 (0:00:00.024) 0:03:26.659 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 08:01:20 +0000 (0:00:00.026) 0:03:26.685 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 08:01:21 +0000 (0:00:00.388) 0:03:27.074 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 08:01:21 +0000 (0:00:00.083) 0:03:27.158 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 08:01:21 +0000 (0:00:00.062) 0:03:27.220 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 08:01:21 +0000 (0:00:00.037) 0:03:27.258 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 08:01:21 +0000 (0:00:00.025) 0:03:27.283 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 08:01:21 +0000 (0:00:00.025) 0:03:27.309 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 08:01:21 +0000 (0:00:00.025) 0:03:27.335 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 08:01:22 +0000 (0:00:00.908) 0:03:28.243 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 08:01:22 +0000 (0:00:00.025) 0:03:28.268 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 08:01:22 +0000 (0:00:00.024) 0:03:28.293 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 08:01:22 +0000 (0:00:00.025) 0:03:28.318 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 08:01:22 +0000 (0:00:00.024) 0:03:28.342 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 08:01:22 +0000 (0:00:00.026) 0:03:28.369 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 08:01:22 +0000 (0:00:00.026) 0:03:28.395 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 08:01:22 +0000 (0:00:00.027) 0:03:28.423 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 08:01:22 +0000 (0:00:00.025) 0:03:28.449 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 08:01:22 +0000 (0:00:00.052) 0:03:28.501 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 08:01:22 +0000 (0:00:00.050) 0:03:28.552 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 08:01:22 +0000 (0:00:00.041) 0:03:28.594 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 08:01:22 +0000 (0:00:00.037) 0:03:28.631 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 08:01:22 +0000 (0:00:00.037) 0:03:28.668 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 08:01:22 +0000 (0:00:00.037) 0:03:28.705 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 08:01:23 +0000 (0:00:00.041) 0:03:28.746 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 08:01:23 +0000 (0:00:00.037) 0:03:28.784 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 08:01:23 +0000 (0:00:00.037) 0:03:28.822 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 08:01:23 +0000 (0:00:00.040) 0:03:28.863 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 08:01:23 +0000 (0:00:00.040) 0:03:28.904 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 08:01:23 +0000 (0:00:00.037) 0:03:28.941 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 08:01:23 +0000 (0:00:00.037) 0:03:28.979 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 08:01:23 +0000 (0:00:00.026) 0:03:29.005 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 08:01:23 +0000 (0:00:00.041) 0:03:29.047 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 08:01:23 +0000 (0:00:00.038) 0:03:29.085 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "2147483648" } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 08:01:23 +0000 (0:00:00.037) 0:03:29.122 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 08:01:23 +0000 (0:00:00.037) 0:03:29.160 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 08:01:23 +0000 (0:00:00.041) 0:03:29.201 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 08:01:23 +0000 (0:00:00.037) 0:03:29.239 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 08:01:23 +0000 (0:00:00.038) 0:03:29.278 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 08:01:23 +0000 (0:00:00.038) 0:03:29.316 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 08:01:23 +0000 (0:00:00.041) 0:03:29.357 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "2147483648" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 08:01:23 +0000 (0:00:00.036) 0:03:29.394 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 08:01:23 +0000 (0:00:00.024) 0:03:29.419 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 08:01:23 +0000 (0:00:00.023) 0:03:29.443 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 08:01:23 +0000 (0:00:00.025) 0:03:29.469 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 08:01:23 +0000 (0:00:00.024) 0:03:29.493 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 08:01:23 +0000 (0:00:00.024) 0:03:29.518 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 08:01:23 +0000 (0:00:00.024) 0:03:29.542 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 08:01:23 +0000 (0:00:00.025) 0:03:29.568 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume.yml:16 Thursday 21 July 2022 08:01:23 +0000 (0:00:00.024) 0:03:29.592 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:43 Thursday 21 July 2022 08:01:23 +0000 (0:00:00.078) 0:03:29.671 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:53 Thursday 21 July 2022 08:01:23 +0000 (0:00:00.023) 0:03:29.694 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-9.qcow2.snap : ok=1121 changed=14 unreachable=0 failed=0 skipped=989 rescued=0 ignored=0 Thursday 21 July 2022 08:01:24 +0000 (0:00:00.046) 0:03:29.741 ********* =============================================================================== linux-system-roles.storage : manage the pools and volumes to match the specified state --- 9.40s /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : Ensure ansible_facts used by role ---------- 5.54s /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 -- linux-system-roles.storage : manage the pools and volumes to match the specified state --- 4.59s /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 3.68s /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 3.62s /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 3.40s /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 3.38s /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 3.37s /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 2.38s /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 2.11s /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : get service facts -------------------------- 2.00s /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Gathering Facts --------------------------------------------------------- 1.40s /tmp/tmpsvhdx31t/tests/tests_create_raid_pool_then_remove.yml:2 --------------- Read the /etc/crypttab file --------------------------------------------- 1.38s /tmp/tmpsvhdx31t/tests/verify-role-results.yml:24 ----------------------------- linux-system-roles.storage : make sure blivet is available -------------- 1.30s /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 linux-system-roles.storage : set up new/current mounts ------------------ 1.28s /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 linux-system-roles.storage : remove obsolete mounts --------------------- 1.18s /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 linux-system-roles.storage : set up new/current mounts ------------------ 1.17s /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 linux-system-roles.storage : Update facts ------------------------------- 1.12s /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 linux-system-roles.storage : Update facts ------------------------------- 1.11s /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 linux-system-roles.storage : Update facts ------------------------------- 1.10s /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpi19f9hzy executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_create_raid_pool_then_remove.yml ******************************* 1 plays in /tmp/tmpfc26zqih/tests/storage/tests_create_raid_pool_then_remove.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpfc26zqih/tests/storage/tests_create_raid_pool_then_remove.yml:2 Thursday 21 July 2022 11:12:49 +0000 (0:00:00.013) 0:00:00.013 ********* ok: [/cache/rhel-9.qcow2.snap] META: ran handlers TASK [include_role : fedora.linux_system_roles.storage] ************************ task path: /tmp/tmpfc26zqih/tests/storage/tests_create_raid_pool_then_remove.yml:17 Thursday 21 July 2022 11:12:50 +0000 (0:00:01.319) 0:00:01.332 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 11:12:50 +0000 (0:00:00.038) 0:00:01.371 ********* included: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-9.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 11:12:50 +0000 (0:00:00.031) 0:00:01.402 ********* ok: [/cache/rhel-9.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 11:12:50 +0000 (0:00:00.514) 0:00:01.917 ********* skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.yml" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.0.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.0.yml", "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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 11:12:51 +0000 (0:00:00.054) 0:00:01.971 ********* ok: [/cache/rhel-9.qcow2.snap] => { "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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 11:12:51 +0000 (0:00:00.028) 0:00:02.000 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 11:12:51 +0000 (0:00:00.028) 0:00:02.028 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-9.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 11:12:51 +0000 (0:00:00.053) 0:00:02.082 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 11:12:51 +0000 (0:00:00.017) 0:00:02.100 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 11:12:52 +0000 (0:00:01.262) 0:00:03.362 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 11:12:52 +0000 (0:00:00.033) 0:00:03.395 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 11:12:52 +0000 (0:00:00.032) 0:00:03.427 ********* ok: [/cache/rhel-9.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 11:12:53 +0000 (0:00:00.697) 0:00:04.125 ********* included: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml for /cache/rhel-9.qcow2.snap TASK [fedora.linux_system_roles.storage : check if the COPR support packages should be installed] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:2 Thursday 21 July 2022 11:12:53 +0000 (0:00:00.044) 0:00:04.169 ********* TASK [fedora.linux_system_roles.storage : make sure COPR support packages are present] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:13 Thursday 21 July 2022 11:12:53 +0000 (0:00:00.032) 0:00:04.202 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable COPRs] ************************ task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:18 Thursday 21 July 2022 11:12:53 +0000 (0:00:00.037) 0:00:04.239 ********* TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 11:12:53 +0000 (0:00:00.031) 0:00:04.271 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 11:12:54 +0000 (0:00:00.919) 0:00:05.190 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "services": { "NetworkManager-dispatcher.service": { "name": "NetworkManager-dispatcher.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "NetworkManager-wait-online.service": { "name": "NetworkManager-wait-online.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "NetworkManager.service": { "name": "NetworkManager.service", "source": "systemd", "state": "running", "status": "enabled" }, "auditd.service": { "name": "auditd.service", "source": "systemd", "state": "running", "status": "enabled" }, "auth-rpcgss-module.service": { "name": "auth-rpcgss-module.service", "source": "systemd", "state": "stopped", "status": "static" }, "autofs.service": { "name": "autofs.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "autovt@.service": { "name": "autovt@.service", "source": "systemd", "state": "unknown", "status": "alias" }, "blivet.service": { "name": "blivet.service", "source": "systemd", "state": "inactive", "status": "static" }, "blk-availability.service": { "name": "blk-availability.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "chrony-wait.service": { "name": "chrony-wait.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "chronyd.service": { "name": "chronyd.service", "source": "systemd", "state": "running", "status": "enabled" }, "cloud-config.service": { "name": "cloud-config.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-final.service": { "name": "cloud-final.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init-local.service": { "name": "cloud-init-local.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init.service": { "name": "cloud-init.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cockpit-motd.service": { "name": "cockpit-motd.service", "source": "systemd", "state": "inactive", "status": "static" }, "cockpit-wsinstance-http.service": { "name": "cockpit-wsinstance-http.service", "source": "systemd", "state": "inactive", "status": "static" }, "cockpit-wsinstance-https-factory@.service": { "name": "cockpit-wsinstance-https-factory@.service", "source": "systemd", "state": "unknown", "status": "static" }, "cockpit-wsinstance-https@.service": { "name": "cockpit-wsinstance-https@.service", "source": "systemd", "state": "unknown", "status": "static" }, "cockpit.service": { "name": "cockpit.service", "source": "systemd", "state": "inactive", "status": "static" }, "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-broker.service": { "name": "dbus-broker.service", "source": "systemd", "state": "running", "status": "enabled" }, "dbus-org.freedesktop.hostname1.service": { "name": "dbus-org.freedesktop.hostname1.service", "source": "systemd", "state": "active", "status": "alias" }, "dbus-org.freedesktop.locale1.service": { "name": "dbus-org.freedesktop.locale1.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus-org.freedesktop.login1.service": { "name": "dbus-org.freedesktop.login1.service", "source": "systemd", "state": "active", "status": "alias" }, "dbus-org.freedesktop.nm-dispatcher.service": { "name": "dbus-org.freedesktop.nm-dispatcher.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus-org.freedesktop.timedate1.service": { "name": "dbus-org.freedesktop.timedate1.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus.service": { "name": "dbus.service", "source": "systemd", "state": "active", "status": "alias" }, "debug-shell.service": { "name": "debug-shell.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "display-manager.service": { "name": "display-manager.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "dm-event.service": { "name": "dm-event.service", "source": "systemd", "state": "stopped", "status": "static" }, "dnf-makecache.service": { "name": "dnf-makecache.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-cmdline.service": { "name": "dracut-cmdline.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-initqueue.service": { "name": "dracut-initqueue.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-mount.service": { "name": "dracut-mount.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-mount.service": { "name": "dracut-pre-mount.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-pivot.service": { "name": "dracut-pre-pivot.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-trigger.service": { "name": "dracut-pre-trigger.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-udev.service": { "name": "dracut-pre-udev.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-shutdown-onfailure.service": { "name": "dracut-shutdown-onfailure.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-shutdown.service": { "name": "dracut-shutdown.service", "source": "systemd", "state": "stopped", "status": "static" }, "emergency.service": { "name": "emergency.service", "source": "systemd", "state": "stopped", "status": "static" }, "fcoe.service": { "name": "fcoe.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "fstrim.service": { "name": "fstrim.service", "source": "systemd", "state": "inactive", "status": "static" }, "fwupd-offline-update.service": { "name": "fwupd-offline-update.service", "source": "systemd", "state": "inactive", "status": "static" }, "fwupd-refresh.service": { "name": "fwupd-refresh.service", "source": "systemd", "state": "inactive", "status": "static" }, "fwupd.service": { "name": "fwupd.service", "source": "systemd", "state": "inactive", "status": "static" }, "getty@.service": { "name": "getty@.service", "source": "systemd", "state": "unknown", "status": "enabled" }, "getty@tty1.service": { "name": "getty@tty1.service", "source": "systemd", "state": "running", "status": "active" }, "grub-boot-indeterminate.service": { "name": "grub-boot-indeterminate.service", "source": "systemd", "state": "inactive", "status": "static" }, "grub2-systemd-integration.service": { "name": "grub2-systemd-integration.service", "source": "systemd", "state": "inactive", "status": "static" }, "gssproxy.service": { "name": "gssproxy.service", "source": "systemd", "state": "running", "status": "disabled" }, "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" }, "insights-client-boot.service": { "name": "insights-client-boot.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "insights-client-results.service": { "name": "insights-client-results.service", "source": "systemd", "state": "inactive", "status": "static" }, "insights-client.service": { "name": "insights-client.service", "source": "systemd", "state": "inactive", "status": "static" }, "irqbalance.service": { "name": "irqbalance.service", "source": "systemd", "state": "running", "status": "enabled" }, "iscsi-shutdown.service": { "name": "iscsi-shutdown.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "iscsi.service": { "name": "iscsi.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "iscsid.service": { "name": "iscsid.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "kdump.service": { "name": "kdump.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "kmod-static-nodes.service": { "name": "kmod-static-nodes.service", "source": "systemd", "state": "stopped", "status": "static" }, "kvm_stat.service": { "name": "kvm_stat.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "ldconfig.service": { "name": "ldconfig.service", "source": "systemd", "state": "stopped", "status": "static" }, "logrotate.service": { "name": "logrotate.service", "source": "systemd", "state": "stopped", "status": "static" }, "lvm2-activation-early.service": { "name": "lvm2-activation-early.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "lvm2-lvmpolld.service": { "name": "lvm2-lvmpolld.service", "source": "systemd", "state": "stopped", "status": "static" }, "lvm2-monitor.service": { "name": "lvm2-monitor.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "man-db-cache-update.service": { "name": "man-db-cache-update.service", "source": "systemd", "state": "inactive", "status": "static" }, "man-db-restart-cache-update.service": { "name": "man-db-restart-cache-update.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "mdadm-grow-continue@.service": { "name": "mdadm-grow-continue@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdadm-last-resort@.service": { "name": "mdadm-last-resort@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdcheck_continue.service": { "name": "mdcheck_continue.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdcheck_start.service": { "name": "mdcheck_start.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdmon@.service": { "name": "mdmon@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdmonitor-oneshot.service": { "name": "mdmonitor-oneshot.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdmonitor.service": { "name": "mdmonitor.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "microcode.service": { "name": "microcode.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "modprobe@.service": { "name": "modprobe@.service", "source": "systemd", "state": "unknown", "status": "static" }, "modprobe@configfs.service": { "name": "modprobe@configfs.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "modprobe@drm.service": { "name": "modprobe@drm.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "modprobe@fuse.service": { "name": "modprobe@fuse.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "multipathd.service": { "name": "multipathd.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "ndctl-monitor.service": { "name": "ndctl-monitor.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "network.service": { "name": "network.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "nfs-blkmap.service": { "name": "nfs-blkmap.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfs-idmapd.service": { "name": "nfs-idmapd.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-mountd.service": { "name": "nfs-mountd.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-server.service": { "name": "nfs-server.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "nfs-utils.service": { "name": "nfs-utils.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfsdcld.service": { "name": "nfsdcld.service", "source": "systemd", "state": "stopped", "status": "static" }, "nis-domainname.service": { "name": "nis-domainname.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "nm-priv-helper.service": { "name": "nm-priv-helper.service", "source": "systemd", "state": "inactive", "status": "static" }, "ntpd.service": { "name": "ntpd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ntpdate.service": { "name": "ntpdate.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "oddjobd.service": { "name": "oddjobd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "packagekit-offline-update.service": { "name": "packagekit-offline-update.service", "source": "systemd", "state": "inactive", "status": "static" }, "packagekit.service": { "name": "packagekit.service", "source": "systemd", "state": "inactive", "status": "static" }, "pam_namespace.service": { "name": "pam_namespace.service", "source": "systemd", "state": "inactive", "status": "static" }, "plymouth-quit-wait.service": { "name": "plymouth-quit-wait.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "plymouth-start.service": { "name": "plymouth-start.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "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" }, "raid-check.service": { "name": "raid-check.service", "source": "systemd", "state": "inactive", "status": "static" }, "rbdmap.service": { "name": "rbdmap.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "rc-local.service": { "name": "rc-local.service", "source": "systemd", "state": "stopped", "status": "static" }, "rdisc.service": { "name": "rdisc.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rescue.service": { "name": "rescue.service", "source": "systemd", "state": "stopped", "status": "static" }, "rhsm-facts.service": { "name": "rhsm-facts.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rhsm.service": { "name": "rhsm.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rhsmcertd.service": { "name": "rhsmcertd.service", "source": "systemd", "state": "running", "status": "enabled" }, "rpc-gssd.service": { "name": "rpc-gssd.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-statd-notify.service": { "name": "rpc-statd-notify.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-statd.service": { "name": "rpc-statd.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-svcgssd.service": { "name": "rpc-svcgssd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "rpcbind.service": { "name": "rpcbind.service", "source": "systemd", "state": "running", "status": "enabled" }, "rpmdb-rebuild.service": { "name": "rpmdb-rebuild.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rsyslog.service": { "name": "rsyslog.service", "source": "systemd", "state": "running", "status": "enabled" }, "selinux-autorelabel-mark.service": { "name": "selinux-autorelabel-mark.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "selinux-autorelabel.service": { "name": "selinux-autorelabel.service", "source": "systemd", "state": "inactive", "status": "static" }, "serial-getty@.service": { "name": "serial-getty@.service", "source": "systemd", "state": "unknown", "status": "indirect" }, "serial-getty@ttyS0.service": { "name": "serial-getty@ttyS0.service", "source": "systemd", "state": "running", "status": "active" }, "sntp.service": { "name": "sntp.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sshd-keygen.service": { "name": "sshd-keygen.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sshd-keygen@.service": { "name": "sshd-keygen@.service", "source": "systemd", "state": "unknown", "status": "disabled" }, "sshd-keygen@ecdsa.service": { "name": "sshd-keygen@ecdsa.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd-keygen@ed25519.service": { "name": "sshd-keygen@ed25519.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd-keygen@rsa.service": { "name": "sshd-keygen@rsa.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd.service": { "name": "sshd.service", "source": "systemd", "state": "running", "status": "enabled" }, "sshd@.service": { "name": "sshd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "sssd-autofs.service": { "name": "sssd-autofs.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-kcm.service": { "name": "sssd-kcm.service", "source": "systemd", "state": "stopped", "status": "indirect" }, "sssd-nss.service": { "name": "sssd-nss.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-pac.service": { "name": "sssd-pac.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-pam.service": { "name": "sssd-pam.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-ssh.service": { "name": "sssd-ssh.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-sudo.service": { "name": "sssd-sudo.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd.service": { "name": "sssd.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "syslog.service": { "name": "syslog.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "system-update-cleanup.service": { "name": "system-update-cleanup.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-ask-password-console.service": { "name": "systemd-ask-password-console.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-ask-password-wall.service": { "name": "systemd-ask-password-wall.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-backlight@.service": { "name": "systemd-backlight@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-binfmt.service": { "name": "systemd-binfmt.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-boot-check-no-failures.service": { "name": "systemd-boot-check-no-failures.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "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-fsck@dev-disk-by\\x2duuid-7B77\\x2d95E7.service": { "name": "systemd-fsck@dev-disk-by\\x2duuid-7B77\\x2d95E7.service", "source": "systemd", "state": "stopped", "status": "active" }, "systemd-fsck@dev-vda2.service": { "name": "systemd-fsck@dev-vda2.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "systemd-fsck@dev-vdb1.service": { "name": "systemd-fsck@dev-vdb1.service", "source": "systemd", "state": "stopped", "status": "active" }, "systemd-fsck@dev-vdc1.service": { "name": "systemd-fsck@dev-vdc1.service", "source": "systemd", "state": "stopped", "status": "active" }, "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": "running", "status": "static" }, "systemd-hwdb-update.service": { "name": "systemd-hwdb-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-hybrid-sleep.service": { "name": "systemd-hybrid-sleep.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-initctl.service": { "name": "systemd-initctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-catalog-update.service": { "name": "systemd-journal-catalog-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-flush.service": { "name": "systemd-journal-flush.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journald.service": { "name": "systemd-journald.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-journald@.service": { "name": "systemd-journald@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-kexec.service": { "name": "systemd-kexec.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-localed.service": { "name": "systemd-localed.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-logind.service": { "name": "systemd-logind.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-machine-id-commit.service": { "name": "systemd-machine-id-commit.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-modules-load.service": { "name": "systemd-modules-load.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-network-generator.service": { "name": "systemd-network-generator.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "systemd-poweroff.service": { "name": "systemd-poweroff.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-pstore.service": { "name": "systemd-pstore.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-quotacheck.service": { "name": "systemd-quotacheck.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-random-seed.service": { "name": "systemd-random-seed.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-reboot.service": { "name": "systemd-reboot.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-remount-fs.service": { "name": "systemd-remount-fs.service", "source": "systemd", "state": "stopped", "status": "enabled-runtime" }, "systemd-repart.service": { "name": "systemd-repart.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-rfkill.service": { "name": "systemd-rfkill.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-suspend-then-hibernate.service": { "name": "systemd-suspend-then-hibernate.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-suspend.service": { "name": "systemd-suspend.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-sysctl.service": { "name": "systemd-sysctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-sysext.service": { "name": "systemd-sysext.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-sysusers.service": { "name": "systemd-sysusers.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-timedated.service": { "name": "systemd-timedated.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-timesyncd.service": { "name": "systemd-timesyncd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "systemd-tmpfiles-clean.service": { "name": "systemd-tmpfiles-clean.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup-dev.service": { "name": "systemd-tmpfiles-setup-dev.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup.service": { "name": "systemd-tmpfiles-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-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" }, "teamd@.service": { "name": "teamd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "tuned.service": { "name": "tuned.service", "source": "systemd", "state": "running", "status": "enabled" }, "user-runtime-dir@.service": { "name": "user-runtime-dir@.service", "source": "systemd", "state": "unknown", "status": "static" }, "user-runtime-dir@0.service": { "name": "user-runtime-dir@0.service", "source": "systemd", "state": "stopped", "status": "active" }, "user@.service": { "name": "user@.service", "source": "systemd", "state": "unknown", "status": "static" }, "user@0.service": { "name": "user@0.service", "source": "systemd", "state": "running", "status": "active" }, "ypbind.service": { "name": "ypbind.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "yppasswdd.service": { "name": "yppasswdd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ypserv.service": { "name": "ypserv.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ypxfrd.service": { "name": "ypxfrd.service", "source": "systemd", "state": "stopped", "status": "not-found" } } }, "changed": false } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 11:12:56 +0000 (0:00:01.885) 0:00:07.076 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 11:12:56 +0000 (0:00:00.058) 0:00:07.134 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 11:12:56 +0000 (0:00:00.022) 0:00:07.157 ********* ok: [/cache/rhel-9.qcow2.snap] => { "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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 11:12:56 +0000 (0:00:00.515) 0:00:07.672 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 11:12:56 +0000 (0:00:00.039) 0:00:07.712 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 11:12:56 +0000 (0:00:00.023) 0:00:07.735 ********* ok: [/cache/rhel-9.qcow2.snap] => { "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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 11:12:56 +0000 (0:00:00.038) 0:00:07.773 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 11:12:56 +0000 (0:00:00.037) 0:00:07.811 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 11:12:56 +0000 (0:00:00.036) 0:00:07.847 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 11:12:56 +0000 (0:00:00.036) 0:00:07.883 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 11:12:56 +0000 (0:00:00.024) 0:00:07.908 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 11:12:56 +0000 (0:00:00.036) 0:00:07.944 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 11:12:57 +0000 (0:00:00.023) 0:00:07.968 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 11:12:57 +0000 (0:00:00.526) 0:00:08.494 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 11:12:57 +0000 (0:00:00.023) 0:00:08.517 ********* ok: [/cache/rhel-9.qcow2.snap] META: role_complete for /cache/rhel-9.qcow2.snap TASK [Mark tasks to be skipped] ************************************************ task path: /tmp/tmpfc26zqih/tests/storage/tests_create_raid_pool_then_remove.yml:20 Thursday 21 July 2022 11:12:58 +0000 (0:00:00.958) 0:00:09.476 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_skip_checks": [ "blivet_available", "packages_installed", "service_facts" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/tests_create_raid_pool_then_remove.yml:27 Thursday 21 July 2022 11:12:58 +0000 (0:00:00.035) 0:00:09.511 ********* included: /tmp/tmpfc26zqih/tests/storage/get_unused_disk.yml for /cache/rhel-9.qcow2.snap TASK [Find unused disks in the system] ***************************************** task path: /tmp/tmpfc26zqih/tests/storage/get_unused_disk.yml:2 Thursday 21 July 2022 11:12:58 +0000 (0:00:00.039) 0:00:09.550 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "disks": [ "sda", "sdb" ] } TASK [Set unused_disks if necessary] ******************************************* task path: /tmp/tmpfc26zqih/tests/storage/get_unused_disk.yml:9 Thursday 21 July 2022 11:12:59 +0000 (0:00:00.502) 0:00:10.053 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "unused_disks": [ "sda", "sdb" ] }, "changed": false } TASK [Exit playbook when there's not enough unused disks in the system] ******** task path: /tmp/tmpfc26zqih/tests/storage/get_unused_disk.yml:14 Thursday 21 July 2022 11:12:59 +0000 (0:00:00.037) 0:00:10.091 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Print unused disks] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/get_unused_disk.yml:19 Thursday 21 July 2022 11:12:59 +0000 (0:00:00.037) 0:00:10.128 ********* ok: [/cache/rhel-9.qcow2.snap] => { "unused_disks": [ "sda", "sdb" ] } TASK [Create a RAID0 device] *************************************************** task path: /tmp/tmpfc26zqih/tests/storage/tests_create_raid_pool_then_remove.yml:31 Thursday 21 July 2022 11:12:59 +0000 (0:00:00.065) 0:00:10.193 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 11:12:59 +0000 (0:00:00.047) 0:00:10.241 ********* included: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-9.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 11:12:59 +0000 (0:00:00.035) 0:00:10.276 ********* ok: [/cache/rhel-9.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 11:12:59 +0000 (0:00:00.520) 0:00:10.797 ********* skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.yml" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.0.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.0.yml", "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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 11:12:59 +0000 (0:00:00.065) 0:00:10.862 ********* ok: [/cache/rhel-9.qcow2.snap] => { "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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 11:12:59 +0000 (0:00:00.035) 0:00:10.898 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 11:12:59 +0000 (0:00:00.036) 0:00:10.934 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-9.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 11:13:00 +0000 (0:00:00.057) 0:00:10.992 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 11:13:00 +0000 (0:00:00.021) 0:00:11.013 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 11:13:00 +0000 (0:00:00.029) 0:00:11.043 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda", "sdb" ], "name": "vg1", "raid_level": "raid0", "state": "present", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "lv1", "size": "2g" }, { "mount_point": "/opt/test2", "name": "lv2", "size": "3g" }, { "mount_point": "/opt/test3", "name": "lv3", "size": "3g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 11:13:00 +0000 (0:00:00.041) 0:00:11.085 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 11:13:00 +0000 (0:00:00.033) 0:00:11.119 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 11:13:00 +0000 (0:00:00.026) 0:00:11.145 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 11:13:00 +0000 (0:00:00.025) 0:00:11.171 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 11:13:00 +0000 (0:00:00.027) 0:00:11.198 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 11:13:00 +0000 (0:00:00.029) 0:00:11.227 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 11:13:00 +0000 (0:00:00.058) 0:00:11.286 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 11:13:00 +0000 (0:00:00.022) 0:00:11.308 ********* changed: [/cache/rhel-9.qcow2.snap] => { "actions": [ { "action": "create format", "device": "/dev/sdb", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sdb1", "fs_type": null }, { "action": "create format", "device": "/dev/sdb1", "fs_type": "mdmember" }, { "action": "create format", "device": "/dev/sda", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sda1", "fs_type": null }, { "action": "create format", "device": "/dev/sda1", "fs_type": "mdmember" }, { "action": "create device", "device": "/dev/md/vg1-1", "fs_type": null }, { "action": "create format", "device": "/dev/md/vg1-1", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/vg1", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/vg1-lv3", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv3", "fs_type": "xfs" }, { "action": "create device", "device": "/dev/mapper/vg1-lv2", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv2", "fs_type": "xfs" }, { "action": "create device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/mapper/vg1-lv1", "/dev/mapper/vg1-lv2", "/dev/mapper/vg1-lv3" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/vg1-lv2", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test3", "src": "/dev/mapper/vg1-lv3", "state": "mounted" } ], "packages": [ "e2fsprogs", "mdadm", "lvm2", "dosfstools", "xfsprogs" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 11:13:09 +0000 (0:00:08.948) 0:00:20.256 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 11:13:09 +0000 (0:00:00.038) 0:00:20.295 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 11:13:09 +0000 (0:00:00.022) 0:00:20.317 ********* ok: [/cache/rhel-9.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sdb", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sdb1", "fs_type": null }, { "action": "create format", "device": "/dev/sdb1", "fs_type": "mdmember" }, { "action": "create format", "device": "/dev/sda", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sda1", "fs_type": null }, { "action": "create format", "device": "/dev/sda1", "fs_type": "mdmember" }, { "action": "create device", "device": "/dev/md/vg1-1", "fs_type": null }, { "action": "create format", "device": "/dev/md/vg1-1", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/vg1", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/vg1-lv3", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv3", "fs_type": "xfs" }, { "action": "create device", "device": "/dev/mapper/vg1-lv2", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv2", "fs_type": "xfs" }, { "action": "create device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/mapper/vg1-lv1", "/dev/mapper/vg1-lv2", "/dev/mapper/vg1-lv3" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/vg1-lv2", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test3", "src": "/dev/mapper/vg1-lv3", "state": "mounted" } ], "packages": [ "e2fsprogs", "mdadm", "lvm2", "dosfstools", "xfsprogs" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 11:13:09 +0000 (0:00:00.044) 0:00:20.362 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 11:13:09 +0000 (0:00:00.070) 0:00:20.432 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 11:13:09 +0000 (0:00:00.069) 0:00:20.501 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 11:13:09 +0000 (0:00:00.042) 0:00:20.544 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 11:13:10 +0000 (0:00:00.953) 0:00:21.497 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-9.qcow2.snap] => (item={'src': '/dev/mapper/vg1-lv1', 'path': '/opt/test1', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv1" } redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-9.qcow2.snap] => (item={'src': '/dev/mapper/vg1-lv2', 'path': '/opt/test2', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/vg1-lv2", "state": "mounted" }, "name": "/opt/test2", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv2" } redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-9.qcow2.snap] => (item={'src': '/dev/mapper/vg1-lv3', 'path': '/opt/test3', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test3", "src": "/dev/mapper/vg1-lv3", "state": "mounted" }, "name": "/opt/test3", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv3" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 11:13:11 +0000 (0:00:01.272) 0:00:22.770 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 11:13:12 +0000 (0:00:00.666) 0:00:23.437 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 11:13:12 +0000 (0:00:00.369) 0:00:23.806 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 11:13:12 +0000 (0:00:00.022) 0:00:23.829 ********* ok: [/cache/rhel-9.qcow2.snap] META: role_complete for /cache/rhel-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/tests_create_raid_pool_then_remove.yml:52 Thursday 21 July 2022 11:13:13 +0000 (0:00:01.009) 0:00:24.838 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml for /cache/rhel-9.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 11:13:13 +0000 (0:00:00.043) 0:00:24.882 ********* ok: [/cache/rhel-9.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 11:13:13 +0000 (0:00:00.051) 0:00:24.933 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 11:13:14 +0000 (0:00:00.036) 0:00:24.970 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/vg1-lv1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv1", "size": "2G", "type": "lvm", "uuid": "4bff11aa-3121-4a4b-8f03-2f47ee201ce3" }, "/dev/mapper/vg1-lv2": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv2", "size": "3G", "type": "lvm", "uuid": "6ed9ed41-2306-4236-864c-614f4ab1f134" }, "/dev/mapper/vg1-lv3": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv3", "size": "3G", "type": "lvm", "uuid": "79679265-7724-4f93-81cf-32064abb2982" }, "/dev/md/vg1-1": { "fstype": "LVM2_member", "label": "", "name": "/dev/md/vg1-1", "size": "20G", "type": "raid0", "uuid": "Rdb2uQ-pC9N-Z7XC-BsoU-avod-pFmV-r8EjmH" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda1": { "fstype": "linux_raid_member", "label": "vg1-1", "name": "/dev/sda1", "size": "10G", "type": "partition", "uuid": "09e69d30-423e-f097-24f5-f3a4a8b46ff0" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb1": { "fstype": "linux_raid_member", "label": "vg1-1", "name": "/dev/sdb1", "size": "10G", "type": "partition", "uuid": "09e69d30-423e-f097-24f5-f3a4a8b46ff0" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-11-12-36-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "vfat", "label": "", "name": "/dev/vda2", "size": "200M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "boot", "name": "/dev/vda3", "size": "500M", "type": "partition", "uuid": "6e74e171-0370-451f-8340-f16ad2839183" }, "/dev/vda4": { "fstype": "xfs", "label": "root", "name": "/dev/vda4", "size": "9.3G", "type": "partition", "uuid": "1bb53e4d-984c-4316-908a-59b5a62fa30e" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "12be66f7-7f03-4d54-9a48-a520825d8fa9" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "9bd037ed-b1bb-4b9c-a008-9f07d34ab071" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 11:13:14 +0000 (0:00:00.493) 0:00:25.463 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002254", "end": "2022-07-21 07:13:14.783795", "rc": 0, "start": "2022-07-21 07:13:14.781541" } STDOUT: UUID=6e74e171-0370-451f-8340-f16ad2839183 /boot xfs defaults 0 0 UUID=1bb53e4d-984c-4316-908a-59b5a62fa30e / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/vdb1 /var/cache/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 /dev/mapper/vg1-lv1 /opt/test1 xfs defaults 0 0 /dev/mapper/vg1-lv2 /opt/test2 xfs defaults 0 0 /dev/mapper/vg1-lv3 /opt/test3 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 11:13:14 +0000 (0:00:00.487) 0:00:25.951 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002331", "end": "2022-07-21 07:13:15.138891", "failed_when_result": false, "rc": 1, "start": "2022-07-21 07:13:15.136560" } STDERR: cat: /etc/crypttab: No such file or directory MSG: non-zero return code TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 11:13:15 +0000 (0:00:00.350) 0:00:26.301 ********* included: /tmp/tmpfc26zqih/tests/storage/test-verify-pool.yml for /cache/rhel-9.qcow2.snap => (item={'disks': ['sda', 'sdb'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'vg1', 'raid_level': 'raid0', 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}, {'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'lv2', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}, {'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test3', 'name': 'lv3', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 11:13:15 +0000 (0:00:00.066) 0:00:26.367 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 11:13:15 +0000 (0:00:00.035) 0:00:26.403 ********* included: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml for /cache/rhel-9.qcow2.snap => (item=members) included: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-volumes.yml for /cache/rhel-9.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 11:13:15 +0000 (0:00:00.048) 0:00:26.452 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/md127" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 11:13:15 +0000 (0:00:00.061) 0:00:26.513 ********* ok: [/cache/rhel-9.qcow2.snap] => (item=/dev/md127) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/md/vg1-1", "pv": "/dev/md127" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 11:13:16 +0000 (0:00:00.503) 0:00:27.017 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 11:13:16 +0000 (0:00:00.057) 0:00:27.074 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/md/vg1-1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 11:13:16 +0000 (0:00:00.060) 0:00:27.135 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 11:13:16 +0000 (0:00:00.055) 0:00:27.190 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 11:13:16 +0000 (0:00:00.039) 0:00:27.229 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "partition" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 11:13:16 +0000 (0:00:00.053) 0:00:27.283 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "raid0" }, "changed": false } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 11:13:16 +0000 (0:00:00.045) 0:00:27.328 ********* ok: [/cache/rhel-9.qcow2.snap] => (item=/dev/md/vg1-1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/md/vg1-1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 11:13:16 +0000 (0:00:00.044) 0:00:27.373 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml for /cache/rhel-9.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 11:13:16 +0000 (0:00:00.044) 0:00:27.417 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "mdadm", "--detail", "/dev/md/vg1-1" ], "delta": "0:00:00.005986", "end": "2022-07-21 07:13:16.619351", "rc": 0, "start": "2022-07-21 07:13:16.613365" } STDOUT: /dev/md/vg1-1: Version : 1.2 Creation Time : Thu Jul 21 07:13:02 2022 Raid Level : raid0 Array Size : 20951040 (19.98 GiB 21.45 GB) Raid Devices : 2 Total Devices : 2 Persistence : Superblock is persistent Update Time : Thu Jul 21 07:13:02 2022 State : clean Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 Layout : -unknown- Chunk Size : 512K Consistency Policy : none Name : vg1-1 UUID : 09e69d30:423ef097:24f5f3a4:a8b46ff0 Events : 0 Number Major Minor RaidDevice State 0 8 1 0 active sync /dev/sda1 1 8 17 1 active sync /dev/sdb1 TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 11:13:16 +0000 (0:00:00.366) 0:00:27.784 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": "Active\\ Devices\\ :\\ None\\\n" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 11:13:16 +0000 (0:00:00.099) 0:00:27.884 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_md_spare_devices_re": "Spare\\ Devices\\ :\\ None\\\n" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 11:13:17 +0000 (0:00:00.118) 0:00:28.002 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_md_metadata_version_re": "Version\\ :\\ None\\\n" }, "changed": false } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 11:13:17 +0000 (0:00:00.053) 0:00:28.056 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 11:13:17 +0000 (0:00:00.029) 0:00:28.085 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 11:13:17 +0000 (0:00:00.030) 0:00:28.116 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 11:13:17 +0000 (0:00:00.029) 0:00:28.145 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 11:13:17 +0000 (0:00:00.033) 0:00:28.179 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-lvmraid.yml for /cache/rhel-9.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 11:13:17 +0000 (0:00:00.045) 0:00:28.224 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-lvmraid.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-lvmraid.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'lv2', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-lvmraid.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test3', 'name': 'lv3', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 11:13:17 +0000 (0:00:00.054) 0:00:28.279 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 11:13:17 +0000 (0:00:00.029) 0:00:28.308 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 11:13:17 +0000 (0:00:00.026) 0:00:28.335 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 11:13:17 +0000 (0:00:00.028) 0:00:28.364 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 11:13:17 +0000 (0:00:00.032) 0:00:28.396 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 11:13:17 +0000 (0:00:00.034) 0:00:28.431 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 11:13:17 +0000 (0:00:00.028) 0:00:28.459 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 11:13:17 +0000 (0:00:00.027) 0:00:28.487 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 11:13:17 +0000 (0:00:00.027) 0:00:28.514 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 11:13:17 +0000 (0:00:00.032) 0:00:28.547 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-thin.yml for /cache/rhel-9.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 11:13:17 +0000 (0:00:00.046) 0:00:28.594 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'lv2', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test3', 'name': 'lv3', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 11:13:17 +0000 (0:00:00.058) 0:00:28.652 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 11:13:17 +0000 (0:00:00.024) 0:00:28.676 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 11:13:17 +0000 (0:00:00.024) 0:00:28.701 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 11:13:17 +0000 (0:00:00.024) 0:00:28.726 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 11:13:17 +0000 (0:00:00.022) 0:00:28.749 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 11:13:17 +0000 (0:00:00.024) 0:00:28.773 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 11:13:17 +0000 (0:00:00.025) 0:00:28.799 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 11:13:17 +0000 (0:00:00.025) 0:00:28.824 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 11:13:17 +0000 (0:00:00.023) 0:00:28.847 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 11:13:17 +0000 (0:00:00.023) 0:00:28.870 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 11:13:17 +0000 (0:00:00.023) 0:00:28.894 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 11:13:17 +0000 (0:00:00.024) 0:00:28.918 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 11:13:17 +0000 (0:00:00.022) 0:00:28.941 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-encryption.yml for /cache/rhel-9.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 11:13:18 +0000 (0:00:00.047) 0:00:28.988 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 11:13:18 +0000 (0:00:00.051) 0:00:29.039 ********* skipping: [/cache/rhel-9.qcow2.snap] => (item=/dev/md/vg1-1) => { "_storage_test_pool_member_path": "/dev/md/vg1-1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 11:13:18 +0000 (0:00:00.031) 0:00:29.071 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml for /cache/rhel-9.qcow2.snap => (item=/dev/md/vg1-1) TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 11:13:18 +0000 (0:00:00.085) 0:00:29.156 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml:4 Thursday 21 July 2022 11:13:18 +0000 (0:00:00.048) 0:00:29.205 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml:9 Thursday 21 July 2022 11:13:18 +0000 (0:00:00.049) 0:00:29.254 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml:15 Thursday 21 July 2022 11:13:18 +0000 (0:00:00.036) 0:00:29.290 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml:21 Thursday 21 July 2022 11:13:18 +0000 (0:00:00.041) 0:00:29.332 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 11:13:18 +0000 (0:00:00.035) 0:00:29.367 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 11:13:18 +0000 (0:00:00.034) 0:00:29.402 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 11:13:18 +0000 (0:00:00.036) 0:00:29.439 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-vdo.yml for /cache/rhel-9.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 11:13:18 +0000 (0:00:00.048) 0:00:29.487 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'lv2', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test3', 'name': 'lv3', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 11:13:18 +0000 (0:00:00.061) 0:00:29.549 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 11:13:18 +0000 (0:00:00.023) 0:00:29.573 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 11:13:18 +0000 (0:00:00.024) 0:00:29.598 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 11:13:18 +0000 (0:00:00.025) 0:00:29.623 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 11:13:18 +0000 (0:00:00.023) 0:00:29.647 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 11:13:18 +0000 (0:00:00.022) 0:00:29.670 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 11:13:18 +0000 (0:00:00.023) 0:00:29.694 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 11:13:18 +0000 (0:00:00.022) 0:00:29.716 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 11:13:18 +0000 (0:00:00.033) 0:00:29.750 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 11:13:18 +0000 (0:00:00.025) 0:00:29.775 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 11:13:18 +0000 (0:00:00.025) 0:00:29.801 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 11:13:18 +0000 (0:00:00.023) 0:00:29.824 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 11:13:18 +0000 (0:00:00.024) 0:00:29.849 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 11:13:18 +0000 (0:00:00.023) 0:00:29.873 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 11:13:18 +0000 (0:00:00.024) 0:00:29.898 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 11:13:18 +0000 (0:00:00.023) 0:00:29.921 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 11:13:18 +0000 (0:00:00.033) 0:00:29.954 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 11:13:19 +0000 (0:00:00.023) 0:00:29.978 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 11:13:19 +0000 (0:00:00.025) 0:00:30.003 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 11:13:19 +0000 (0:00:00.024) 0:00:30.028 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 11:13:19 +0000 (0:00:00.023) 0:00:30.051 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 11:13:19 +0000 (0:00:00.023) 0:00:30.075 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 11:13:19 +0000 (0:00:00.025) 0:00:30.101 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 11:13:19 +0000 (0:00:00.024) 0:00:30.125 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 11:13:19 +0000 (0:00:00.034) 0:00:30.159 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 11:13:19 +0000 (0:00:00.034) 0:00:30.194 ********* included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'lv2', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test3', 'name': 'lv3', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 11:13:19 +0000 (0:00:00.052) 0:00:30.247 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 11:13:19 +0000 (0:00:00.085) 0:00:30.333 ********* included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml for /cache/rhel-9.qcow2.snap => (item=mount) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml for /cache/rhel-9.qcow2.snap => (item=fstab) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fs.yml for /cache/rhel-9.qcow2.snap => (item=fs) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml for /cache/rhel-9.qcow2.snap => (item=device) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml for /cache/rhel-9.qcow2.snap => (item=encryption) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml for /cache/rhel-9.qcow2.snap => (item=md) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml for /cache/rhel-9.qcow2.snap => (item=size) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml for /cache/rhel-9.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 11:13:19 +0000 (0:00:00.115) 0:00:30.448 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 11:13:19 +0000 (0:00:00.041) 0:00:30.489 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 508753, "block_size": 4096, "block_total": 520704, "block_used": 11951, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1046525, "inode_total": 1046528, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=1024,swidth=2048,noquota", "size_available": 2083852288, "size_total": 2132803584, "uuid": "4bff11aa-3121-4a4b-8f03-2f47ee201ce3" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 508753, "block_size": 4096, "block_total": 520704, "block_used": 11951, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1046525, "inode_total": 1046528, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=1024,swidth=2048,noquota", "size_available": 2083852288, "size_total": 2132803584, "uuid": "4bff11aa-3121-4a4b-8f03-2f47ee201ce3" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 11:13:19 +0000 (0:00:00.056) 0:00:30.545 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 11:13:19 +0000 (0:00:00.052) 0:00:30.598 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 11:13:19 +0000 (0:00:00.047) 0:00:30.645 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 11:13:19 +0000 (0:00:00.048) 0:00:30.694 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 11:13:19 +0000 (0:00:00.024) 0:00:30.719 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 11:13:19 +0000 (0:00:00.022) 0:00:30.742 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 11:13:19 +0000 (0:00:00.022) 0:00:30.765 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 11:13:19 +0000 (0:00:00.039) 0:00:30.804 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/vg1-lv1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 11:13:19 +0000 (0:00:00.058) 0:00:30.863 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 11:13:19 +0000 (0:00:00.048) 0:00:30.911 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 11:13:20 +0000 (0:00:00.054) 0:00:30.966 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 11:13:20 +0000 (0:00:00.036) 0:00:31.003 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 11:13:20 +0000 (0:00:00.035) 0:00:31.039 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 11:13:20 +0000 (0:00:00.040) 0:00:31.079 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 11:13:20 +0000 (0:00:00.042) 0:00:31.122 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1658401989.0122843, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658401989.0122843, "dev": 5, "device_type": 64770, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 964, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658401989.0122843, "nlink": 1, "path": "/dev/mapper/vg1-lv1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 11:13:20 +0000 (0:00:00.374) 0:00:31.496 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 11:13:20 +0000 (0:00:00.046) 0:00:31.543 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 11:13:20 +0000 (0:00:00.040) 0:00:31.584 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 11:13:20 +0000 (0:00:00.035) 0:00:31.620 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 11:13:20 +0000 (0:00:00.023) 0:00:31.643 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 11:13:20 +0000 (0:00:00.039) 0:00:31.683 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 11:13:20 +0000 (0:00:00.024) 0:00:31.707 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 11:13:21 +0000 (0:00:00.846) 0:00:32.553 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 11:13:21 +0000 (0:00:00.026) 0:00:32.580 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 11:13:21 +0000 (0:00:00.025) 0:00:32.605 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 11:13:21 +0000 (0:00:00.053) 0:00:32.659 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 11:13:21 +0000 (0:00:00.027) 0:00:32.686 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 11:13:21 +0000 (0:00:00.024) 0:00:32.710 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 11:13:21 +0000 (0:00:00.023) 0:00:32.734 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 11:13:21 +0000 (0:00:00.023) 0:00:32.758 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 11:13:21 +0000 (0:00:00.024) 0:00:32.782 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 11:13:21 +0000 (0:00:00.049) 0:00:32.832 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 11:13:21 +0000 (0:00:00.047) 0:00:32.879 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 11:13:21 +0000 (0:00:00.040) 0:00:32.919 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 11:13:21 +0000 (0:00:00.036) 0:00:32.955 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 11:13:22 +0000 (0:00:00.036) 0:00:32.992 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 11:13:22 +0000 (0:00:00.037) 0:00:33.029 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 11:13:22 +0000 (0:00:00.038) 0:00:33.067 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 11:13:22 +0000 (0:00:00.036) 0:00:33.104 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 11:13:22 +0000 (0:00:00.037) 0:00:33.142 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 11:13:22 +0000 (0:00:00.035) 0:00:33.178 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 11:13:22 +0000 (0:00:00.036) 0:00:33.214 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 11:13:22 +0000 (0:00:00.035) 0:00:33.250 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 11:13:22 +0000 (0:00:00.039) 0:00:33.289 ********* ok: [/cache/rhel-9.qcow2.snap] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 11:13:22 +0000 (0:00:00.498) 0:00:33.787 ********* ok: [/cache/rhel-9.qcow2.snap] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 11:13:23 +0000 (0:00:00.379) 0:00:34.167 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "2147483648" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 11:13:23 +0000 (0:00:00.053) 0:00:34.220 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "2147483648" } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 11:13:23 +0000 (0:00:00.036) 0:00:34.257 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 11:13:23 +0000 (0:00:00.037) 0:00:34.295 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 11:13:23 +0000 (0:00:00.036) 0:00:34.332 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 11:13:23 +0000 (0:00:00.067) 0:00:34.399 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 11:13:23 +0000 (0:00:00.039) 0:00:34.438 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 11:13:23 +0000 (0:00:00.037) 0:00:34.476 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_actual_size": { "bytes": 2147483648, "changed": false, "failed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 11:13:23 +0000 (0:00:00.040) 0:00:34.517 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "2147483648" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 11:13:23 +0000 (0:00:00.035) 0:00:34.552 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 11:13:23 +0000 (0:00:00.055) 0:00:34.607 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "vg1/lv1" ], "delta": "0:00:00.030989", "end": "2022-07-21 07:13:23.829557", "rc": 0, "start": "2022-07-21 07:13:23.798568" } STDOUT: LVM2_LV_NAME=lv1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 11:13:24 +0000 (0:00:00.390) 0:00:34.997 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 11:13:24 +0000 (0:00:00.051) 0:00:35.049 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 11:13:24 +0000 (0:00:00.052) 0:00:35.102 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 11:13:24 +0000 (0:00:00.037) 0:00:35.139 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 11:13:24 +0000 (0:00:00.039) 0:00:35.179 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 11:13:24 +0000 (0:00:00.035) 0:00:35.215 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 11:13:24 +0000 (0:00:00.035) 0:00:35.251 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 11:13:24 +0000 (0:00:00.034) 0:00:35.285 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 11:13:24 +0000 (0:00:00.054) 0:00:35.340 ********* included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml for /cache/rhel-9.qcow2.snap => (item=mount) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml for /cache/rhel-9.qcow2.snap => (item=fstab) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fs.yml for /cache/rhel-9.qcow2.snap => (item=fs) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml for /cache/rhel-9.qcow2.snap => (item=device) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml for /cache/rhel-9.qcow2.snap => (item=encryption) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml for /cache/rhel-9.qcow2.snap => (item=md) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml for /cache/rhel-9.qcow2.snap => (item=size) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml for /cache/rhel-9.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 11:13:24 +0000 (0:00:00.098) 0:00:35.439 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv2" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 11:13:24 +0000 (0:00:00.043) 0:00:35.482 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 769066, "block_size": 4096, "block_total": 782848, "block_used": 13782, "device": "/dev/mapper/vg1-lv2", "fstype": "xfs", "inode_available": 1570813, "inode_total": 1570816, "inode_used": 3, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=1024,swidth=2048,noquota", "size_available": 3150094336, "size_total": 3206545408, "uuid": "6ed9ed41-2306-4236-864c-614f4ab1f134" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 769066, "block_size": 4096, "block_total": 782848, "block_used": 13782, "device": "/dev/mapper/vg1-lv2", "fstype": "xfs", "inode_available": 1570813, "inode_total": 1570816, "inode_used": 3, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=1024,swidth=2048,noquota", "size_available": 3150094336, "size_total": 3206545408, "uuid": "6ed9ed41-2306-4236-864c-614f4ab1f134" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 11:13:24 +0000 (0:00:00.058) 0:00:35.540 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 11:13:24 +0000 (0:00:00.050) 0:00:35.591 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 11:13:24 +0000 (0:00:00.049) 0:00:35.640 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 11:13:24 +0000 (0:00:00.049) 0:00:35.690 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 11:13:24 +0000 (0:00:00.024) 0:00:35.714 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 11:13:24 +0000 (0:00:00.023) 0:00:35.738 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 11:13:24 +0000 (0:00:00.023) 0:00:35.762 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 11:13:24 +0000 (0:00:00.036) 0:00:35.799 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/vg1-lv2 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test2 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test2 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 11:13:24 +0000 (0:00:00.061) 0:00:35.860 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 11:13:24 +0000 (0:00:00.049) 0:00:35.910 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 11:13:24 +0000 (0:00:00.048) 0:00:35.958 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 11:13:25 +0000 (0:00:00.039) 0:00:35.998 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 11:13:25 +0000 (0:00:00.086) 0:00:36.085 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 11:13:25 +0000 (0:00:00.078) 0:00:36.163 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 11:13:25 +0000 (0:00:00.042) 0:00:36.205 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1658401988.7632844, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658401988.7632844, "dev": 5, "device_type": 64769, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 930, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658401988.7632844, "nlink": 1, "path": "/dev/mapper/vg1-lv2", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 11:13:25 +0000 (0:00:00.383) 0:00:36.589 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 11:13:25 +0000 (0:00:00.040) 0:00:36.630 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 11:13:25 +0000 (0:00:00.040) 0:00:36.670 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 11:13:25 +0000 (0:00:00.041) 0:00:36.712 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 11:13:25 +0000 (0:00:00.025) 0:00:36.737 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 11:13:25 +0000 (0:00:00.039) 0:00:36.777 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 11:13:25 +0000 (0:00:00.025) 0:00:36.802 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 11:13:26 +0000 (0:00:00.872) 0:00:37.674 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 11:13:26 +0000 (0:00:00.026) 0:00:37.701 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 11:13:26 +0000 (0:00:00.024) 0:00:37.726 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 11:13:26 +0000 (0:00:00.053) 0:00:37.779 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 11:13:26 +0000 (0:00:00.026) 0:00:37.805 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 11:13:26 +0000 (0:00:00.027) 0:00:37.832 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 11:13:26 +0000 (0:00:00.026) 0:00:37.859 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 11:13:26 +0000 (0:00:00.025) 0:00:37.884 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 11:13:26 +0000 (0:00:00.026) 0:00:37.911 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 11:13:26 +0000 (0:00:00.050) 0:00:37.962 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 11:13:27 +0000 (0:00:00.051) 0:00:38.013 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 11:13:27 +0000 (0:00:00.036) 0:00:38.049 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 11:13:27 +0000 (0:00:00.039) 0:00:38.088 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 11:13:27 +0000 (0:00:00.036) 0:00:38.124 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 11:13:27 +0000 (0:00:00.071) 0:00:38.196 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 11:13:27 +0000 (0:00:00.040) 0:00:38.236 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 11:13:27 +0000 (0:00:00.037) 0:00:38.274 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 11:13:27 +0000 (0:00:00.039) 0:00:38.313 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 11:13:27 +0000 (0:00:00.036) 0:00:38.349 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 11:13:27 +0000 (0:00:00.071) 0:00:38.420 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 11:13:27 +0000 (0:00:00.043) 0:00:38.463 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 11:13:27 +0000 (0:00:00.044) 0:00:38.508 ********* ok: [/cache/rhel-9.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 11:13:27 +0000 (0:00:00.389) 0:00:38.898 ********* ok: [/cache/rhel-9.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 11:13:28 +0000 (0:00:00.395) 0:00:39.294 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "3221225472" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 11:13:28 +0000 (0:00:00.055) 0:00:39.350 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 11:13:28 +0000 (0:00:00.036) 0:00:39.386 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 11:13:28 +0000 (0:00:00.037) 0:00:39.424 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 11:13:28 +0000 (0:00:00.040) 0:00:39.464 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 11:13:28 +0000 (0:00:00.041) 0:00:39.505 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 11:13:28 +0000 (0:00:00.039) 0:00:39.545 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 11:13:28 +0000 (0:00:00.039) 0:00:39.584 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_actual_size": { "bytes": 3221225472, "changed": false, "failed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 11:13:28 +0000 (0:00:00.040) 0:00:39.625 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 11:13:28 +0000 (0:00:00.038) 0:00:39.663 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 11:13:28 +0000 (0:00:00.054) 0:00:39.718 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "vg1/lv2" ], "delta": "0:00:00.037270", "end": "2022-07-21 07:13:28.951699", "rc": 0, "start": "2022-07-21 07:13:28.914429" } STDOUT: LVM2_LV_NAME=lv2 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 11:13:29 +0000 (0:00:00.404) 0:00:40.123 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 11:13:29 +0000 (0:00:00.053) 0:00:40.176 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 11:13:29 +0000 (0:00:00.053) 0:00:40.229 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 11:13:29 +0000 (0:00:00.041) 0:00:40.271 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 11:13:29 +0000 (0:00:00.039) 0:00:40.310 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 11:13:29 +0000 (0:00:00.038) 0:00:40.349 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 11:13:29 +0000 (0:00:00.038) 0:00:40.388 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 11:13:29 +0000 (0:00:00.037) 0:00:40.425 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 11:13:29 +0000 (0:00:00.088) 0:00:40.513 ********* included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml for /cache/rhel-9.qcow2.snap => (item=mount) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml for /cache/rhel-9.qcow2.snap => (item=fstab) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fs.yml for /cache/rhel-9.qcow2.snap => (item=fs) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml for /cache/rhel-9.qcow2.snap => (item=device) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml for /cache/rhel-9.qcow2.snap => (item=encryption) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml for /cache/rhel-9.qcow2.snap => (item=md) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml for /cache/rhel-9.qcow2.snap => (item=size) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml for /cache/rhel-9.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 11:13:29 +0000 (0:00:00.119) 0:00:40.632 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv3" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 11:13:29 +0000 (0:00:00.044) 0:00:40.677 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 769066, "block_size": 4096, "block_total": 782848, "block_used": 13782, "device": "/dev/mapper/vg1-lv3", "fstype": "xfs", "inode_available": 1570813, "inode_total": 1570816, "inode_used": 3, "mount": "/opt/test3", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=1024,swidth=2048,noquota", "size_available": 3150094336, "size_total": 3206545408, "uuid": "79679265-7724-4f93-81cf-32064abb2982" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 769066, "block_size": 4096, "block_total": 782848, "block_used": 13782, "device": "/dev/mapper/vg1-lv3", "fstype": "xfs", "inode_available": 1570813, "inode_total": 1570816, "inode_used": 3, "mount": "/opt/test3", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=1024,swidth=2048,noquota", "size_available": 3150094336, "size_total": 3206545408, "uuid": "79679265-7724-4f93-81cf-32064abb2982" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 11:13:29 +0000 (0:00:00.057) 0:00:40.735 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 11:13:29 +0000 (0:00:00.051) 0:00:40.786 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 11:13:29 +0000 (0:00:00.051) 0:00:40.837 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 11:13:29 +0000 (0:00:00.049) 0:00:40.887 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 11:13:29 +0000 (0:00:00.023) 0:00:40.911 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 11:13:29 +0000 (0:00:00.024) 0:00:40.935 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 11:13:29 +0000 (0:00:00.026) 0:00:40.962 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 11:13:30 +0000 (0:00:00.036) 0:00:40.998 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/vg1-lv3 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test3 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test3 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 11:13:30 +0000 (0:00:00.061) 0:00:41.060 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 11:13:30 +0000 (0:00:00.050) 0:00:41.110 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 11:13:30 +0000 (0:00:00.048) 0:00:41.159 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 11:13:30 +0000 (0:00:00.037) 0:00:41.197 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 11:13:30 +0000 (0:00:00.038) 0:00:41.235 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 11:13:30 +0000 (0:00:00.042) 0:00:41.278 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 11:13:30 +0000 (0:00:00.041) 0:00:41.320 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1658401988.5082843, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658401988.5082843, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 895, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658401988.5082843, "nlink": 1, "path": "/dev/mapper/vg1-lv3", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 11:13:30 +0000 (0:00:00.386) 0:00:41.706 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 11:13:30 +0000 (0:00:00.037) 0:00:41.744 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 11:13:30 +0000 (0:00:00.038) 0:00:41.783 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 11:13:30 +0000 (0:00:00.037) 0:00:41.820 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 11:13:30 +0000 (0:00:00.025) 0:00:41.845 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 11:13:30 +0000 (0:00:00.037) 0:00:41.883 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 11:13:30 +0000 (0:00:00.028) 0:00:41.912 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 11:13:31 +0000 (0:00:00.867) 0:00:42.780 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 11:13:31 +0000 (0:00:00.028) 0:00:42.809 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 11:13:31 +0000 (0:00:00.026) 0:00:42.835 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 11:13:31 +0000 (0:00:00.054) 0:00:42.890 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 11:13:31 +0000 (0:00:00.026) 0:00:42.916 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 11:13:31 +0000 (0:00:00.026) 0:00:42.942 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 11:13:32 +0000 (0:00:00.026) 0:00:42.969 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 11:13:32 +0000 (0:00:00.024) 0:00:42.994 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 11:13:32 +0000 (0:00:00.026) 0:00:43.020 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 11:13:32 +0000 (0:00:00.053) 0:00:43.073 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 11:13:32 +0000 (0:00:00.050) 0:00:43.123 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 11:13:32 +0000 (0:00:00.035) 0:00:43.158 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 11:13:32 +0000 (0:00:00.035) 0:00:43.194 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 11:13:32 +0000 (0:00:00.037) 0:00:43.231 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 11:13:32 +0000 (0:00:00.037) 0:00:43.269 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 11:13:32 +0000 (0:00:00.037) 0:00:43.307 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 11:13:32 +0000 (0:00:00.038) 0:00:43.346 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 11:13:32 +0000 (0:00:00.037) 0:00:43.383 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 11:13:32 +0000 (0:00:00.036) 0:00:43.419 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 11:13:32 +0000 (0:00:00.036) 0:00:43.456 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 11:13:32 +0000 (0:00:00.036) 0:00:43.492 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 11:13:32 +0000 (0:00:00.038) 0:00:43.530 ********* ok: [/cache/rhel-9.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 11:13:32 +0000 (0:00:00.364) 0:00:43.895 ********* ok: [/cache/rhel-9.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 11:13:33 +0000 (0:00:00.368) 0:00:44.263 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "3221225472" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 11:13:33 +0000 (0:00:00.054) 0:00:44.318 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 11:13:33 +0000 (0:00:00.037) 0:00:44.355 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 11:13:33 +0000 (0:00:00.040) 0:00:44.396 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 11:13:33 +0000 (0:00:00.039) 0:00:44.435 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 11:13:33 +0000 (0:00:00.043) 0:00:44.479 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 11:13:33 +0000 (0:00:00.038) 0:00:44.517 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 11:13:33 +0000 (0:00:00.038) 0:00:44.556 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_actual_size": { "bytes": 3221225472, "changed": false, "failed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 11:13:33 +0000 (0:00:00.107) 0:00:44.663 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 11:13:33 +0000 (0:00:00.037) 0:00:44.701 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 11:13:33 +0000 (0:00:00.051) 0:00:44.753 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "vg1/lv3" ], "delta": "0:00:00.033450", "end": "2022-07-21 07:13:33.986800", "rc": 0, "start": "2022-07-21 07:13:33.953350" } STDOUT: LVM2_LV_NAME=lv3 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 11:13:34 +0000 (0:00:00.401) 0:00:45.154 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 11:13:34 +0000 (0:00:00.054) 0:00:45.209 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 11:13:34 +0000 (0:00:00.068) 0:00:45.277 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 11:13:34 +0000 (0:00:00.041) 0:00:45.319 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 11:13:34 +0000 (0:00:00.039) 0:00:45.359 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 11:13:34 +0000 (0:00:00.037) 0:00:45.396 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 11:13:34 +0000 (0:00:00.044) 0:00:45.441 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 11:13:34 +0000 (0:00:00.035) 0:00:45.476 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 11:13:34 +0000 (0:00:00.021) 0:00:45.498 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Repeat the previous invocation to verify idempotence] ******************** task path: /tmp/tmpfc26zqih/tests/storage/tests_create_raid_pool_then_remove.yml:54 Thursday 21 July 2022 11:13:34 +0000 (0:00:00.034) 0:00:45.533 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 11:13:34 +0000 (0:00:00.053) 0:00:45.587 ********* included: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-9.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 11:13:34 +0000 (0:00:00.039) 0:00:45.626 ********* ok: [/cache/rhel-9.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 11:13:35 +0000 (0:00:00.526) 0:00:46.152 ********* skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.yml" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.0.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.0.yml", "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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 11:13:35 +0000 (0:00:00.067) 0:00:46.220 ********* ok: [/cache/rhel-9.qcow2.snap] => { "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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 11:13:35 +0000 (0:00:00.054) 0:00:46.274 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 11:13:35 +0000 (0:00:00.039) 0:00:46.314 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-9.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 11:13:35 +0000 (0:00:00.060) 0:00:46.375 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 11:13:35 +0000 (0:00:00.024) 0:00:46.399 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 11:13:35 +0000 (0:00:00.032) 0:00:46.431 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda", "sdb" ], "name": "vg1", "raid_level": "raid0", "state": "present", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "lv1", "size": "2g" }, { "mount_point": "/opt/test2", "name": "lv2", "size": "3g" }, { "mount_point": "/opt/test3", "name": "lv3", "size": "3g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 11:13:35 +0000 (0:00:00.092) 0:00:46.524 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 11:13:35 +0000 (0:00:00.075) 0:00:46.599 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 11:13:35 +0000 (0:00:00.032) 0:00:46.632 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 11:13:35 +0000 (0:00:00.032) 0:00:46.665 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 11:13:35 +0000 (0:00:00.090) 0:00:46.755 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 11:13:35 +0000 (0:00:00.035) 0:00:46.790 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 11:13:35 +0000 (0:00:00.062) 0:00:46.853 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 11:13:35 +0000 (0:00:00.024) 0:00:46.877 ********* ok: [/cache/rhel-9.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/mapper/vg1-lv1", "/dev/mapper/vg1-lv2", "/dev/mapper/vg1-lv3", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/vg1-lv2", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test3", "src": "/dev/mapper/vg1-lv3", "state": "mounted" } ], "packages": [ "dosfstools", "xfsprogs", "lvm2", "mdadm", "e2fsprogs" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 11:13:38 +0000 (0:00:02.288) 0:00:49.166 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 11:13:38 +0000 (0:00:00.051) 0:00:49.218 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 11:13:38 +0000 (0:00:00.025) 0:00:49.243 ********* ok: [/cache/rhel-9.qcow2.snap] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/mapper/vg1-lv1", "/dev/mapper/vg1-lv2", "/dev/mapper/vg1-lv3", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/vg1-lv2", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test3", "src": "/dev/mapper/vg1-lv3", "state": "mounted" } ], "packages": [ "dosfstools", "xfsprogs", "lvm2", "mdadm", "e2fsprogs" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 11:13:38 +0000 (0:00:00.043) 0:00:49.287 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 11:13:38 +0000 (0:00:00.041) 0:00:49.328 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 11:13:38 +0000 (0:00:00.043) 0:00:49.371 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 11:13:38 +0000 (0:00:00.041) 0:00:49.413 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 11:13:39 +0000 (0:00:00.667) 0:00:50.080 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/rhel-9.qcow2.snap] => (item={'src': '/dev/mapper/vg1-lv1', 'path': '/opt/test1', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv1" } redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/rhel-9.qcow2.snap] => (item={'src': '/dev/mapper/vg1-lv2', 'path': '/opt/test2', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/vg1-lv2", "state": "mounted" }, "name": "/opt/test2", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv2" } redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/rhel-9.qcow2.snap] => (item={'src': '/dev/mapper/vg1-lv3', 'path': '/opt/test3', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test3", "src": "/dev/mapper/vg1-lv3", "state": "mounted" }, "name": "/opt/test3", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv3" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 11:13:40 +0000 (0:00:01.129) 0:00:51.209 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 11:13:40 +0000 (0:00:00.682) 0:00:51.892 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 11:13:41 +0000 (0:00:00.356) 0:00:52.249 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 11:13:41 +0000 (0:00:00.025) 0:00:52.274 ********* ok: [/cache/rhel-9.qcow2.snap] META: role_complete for /cache/rhel-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/tests_create_raid_pool_then_remove.yml:75 Thursday 21 July 2022 11:13:42 +0000 (0:00:01.058) 0:00:53.332 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml for /cache/rhel-9.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 11:13:42 +0000 (0:00:00.075) 0:00:53.408 ********* ok: [/cache/rhel-9.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 11:13:42 +0000 (0:00:00.055) 0:00:53.464 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 11:13:42 +0000 (0:00:00.037) 0:00:53.501 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/vg1-lv1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv1", "size": "2G", "type": "lvm", "uuid": "4bff11aa-3121-4a4b-8f03-2f47ee201ce3" }, "/dev/mapper/vg1-lv2": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv2", "size": "3G", "type": "lvm", "uuid": "6ed9ed41-2306-4236-864c-614f4ab1f134" }, "/dev/mapper/vg1-lv3": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv3", "size": "3G", "type": "lvm", "uuid": "79679265-7724-4f93-81cf-32064abb2982" }, "/dev/md/vg1-1": { "fstype": "LVM2_member", "label": "", "name": "/dev/md/vg1-1", "size": "20G", "type": "raid0", "uuid": "Rdb2uQ-pC9N-Z7XC-BsoU-avod-pFmV-r8EjmH" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda1": { "fstype": "linux_raid_member", "label": "vg1-1", "name": "/dev/sda1", "size": "10G", "type": "partition", "uuid": "09e69d30-423e-f097-24f5-f3a4a8b46ff0" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb1": { "fstype": "linux_raid_member", "label": "vg1-1", "name": "/dev/sdb1", "size": "10G", "type": "partition", "uuid": "09e69d30-423e-f097-24f5-f3a4a8b46ff0" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-11-12-36-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "vfat", "label": "", "name": "/dev/vda2", "size": "200M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "boot", "name": "/dev/vda3", "size": "500M", "type": "partition", "uuid": "6e74e171-0370-451f-8340-f16ad2839183" }, "/dev/vda4": { "fstype": "xfs", "label": "root", "name": "/dev/vda4", "size": "9.3G", "type": "partition", "uuid": "1bb53e4d-984c-4316-908a-59b5a62fa30e" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "12be66f7-7f03-4d54-9a48-a520825d8fa9" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "9bd037ed-b1bb-4b9c-a008-9f07d34ab071" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 11:13:42 +0000 (0:00:00.376) 0:00:53.878 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002381", "end": "2022-07-21 07:13:43.068157", "rc": 0, "start": "2022-07-21 07:13:43.065776" } STDOUT: UUID=6e74e171-0370-451f-8340-f16ad2839183 /boot xfs defaults 0 0 UUID=1bb53e4d-984c-4316-908a-59b5a62fa30e / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/vdb1 /var/cache/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 /dev/mapper/vg1-lv1 /opt/test1 xfs defaults 0 0 /dev/mapper/vg1-lv2 /opt/test2 xfs defaults 0 0 /dev/mapper/vg1-lv3 /opt/test3 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 11:13:43 +0000 (0:00:00.360) 0:00:54.238 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002327", "end": "2022-07-21 07:13:43.426873", "failed_when_result": false, "rc": 1, "start": "2022-07-21 07:13:43.424546" } STDERR: cat: /etc/crypttab: No such file or directory MSG: non-zero return code TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 11:13:43 +0000 (0:00:00.357) 0:00:54.596 ********* included: /tmp/tmpfc26zqih/tests/storage/test-verify-pool.yml for /cache/rhel-9.qcow2.snap => (item={'disks': ['sda', 'sdb'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'vg1', 'raid_level': 'raid0', 'raid_device_count': 2, 'raid_spare_count': 0, 'raid_metadata_version': '1.2', 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}, {'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'lv2', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}, {'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test3', 'name': 'lv3', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': '512 KiB'}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 11:13:43 +0000 (0:00:00.063) 0:00:54.659 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 11:13:43 +0000 (0:00:00.034) 0:00:54.694 ********* included: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml for /cache/rhel-9.qcow2.snap => (item=members) included: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-volumes.yml for /cache/rhel-9.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 11:13:43 +0000 (0:00:00.049) 0:00:54.744 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/md127" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 11:13:43 +0000 (0:00:00.054) 0:00:54.799 ********* ok: [/cache/rhel-9.qcow2.snap] => (item=/dev/md127) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/md/vg1-1", "pv": "/dev/md127" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 11:13:44 +0000 (0:00:00.374) 0:00:55.173 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 11:13:44 +0000 (0:00:00.052) 0:00:55.226 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/md/vg1-1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 11:13:44 +0000 (0:00:00.066) 0:00:55.292 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 11:13:44 +0000 (0:00:00.051) 0:00:55.343 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 11:13:44 +0000 (0:00:00.040) 0:00:55.384 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "partition" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 11:13:44 +0000 (0:00:00.050) 0:00:55.434 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "raid0" }, "changed": false } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 11:13:44 +0000 (0:00:00.035) 0:00:55.470 ********* ok: [/cache/rhel-9.qcow2.snap] => (item=/dev/md/vg1-1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/md/vg1-1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 11:13:44 +0000 (0:00:00.088) 0:00:55.559 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml for /cache/rhel-9.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 11:13:44 +0000 (0:00:00.075) 0:00:55.634 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "mdadm", "--detail", "/dev/md/vg1-1" ], "delta": "0:00:00.006318", "end": "2022-07-21 07:13:44.840281", "rc": 0, "start": "2022-07-21 07:13:44.833963" } STDOUT: /dev/md/vg1-1: Version : 1.2 Creation Time : Thu Jul 21 07:13:02 2022 Raid Level : raid0 Array Size : 20951040 (19.98 GiB 21.45 GB) Raid Devices : 2 Total Devices : 2 Persistence : Superblock is persistent Update Time : Thu Jul 21 07:13:02 2022 State : clean Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 Layout : -unknown- Chunk Size : 512K Consistency Policy : none Name : vg1-1 UUID : 09e69d30:423ef097:24f5f3a4:a8b46ff0 Events : 0 Number Major Minor RaidDevice State 0 8 1 0 active sync /dev/sda1 1 8 17 1 active sync /dev/sdb1 TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 11:13:45 +0000 (0:00:00.374) 0:00:56.009 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": "Active\\ Devices\\ :\\ 2\\\n" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 11:13:45 +0000 (0:00:00.057) 0:00:56.066 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_md_spare_devices_re": "Spare\\ Devices\\ :\\ 0\\\n" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 11:13:45 +0000 (0:00:00.055) 0:00:56.122 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_md_metadata_version_re": "Version\\ :\\ 1\\.2\\\n" }, "changed": false } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 11:13:45 +0000 (0:00:00.056) 0:00:56.178 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 11:13:45 +0000 (0:00:00.046) 0:00:56.225 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 11:13:45 +0000 (0:00:00.043) 0:00:56.268 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 11:13:45 +0000 (0:00:00.045) 0:00:56.314 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 11:13:45 +0000 (0:00:00.036) 0:00:56.350 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-lvmraid.yml for /cache/rhel-9.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 11:13:45 +0000 (0:00:00.045) 0:00:56.395 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-lvmraid.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-lvmraid.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'lv2', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-lvmraid.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test3', 'name': 'lv3', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 11:13:45 +0000 (0:00:00.055) 0:00:56.450 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 11:13:45 +0000 (0:00:00.027) 0:00:56.478 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 11:13:45 +0000 (0:00:00.027) 0:00:56.505 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 11:13:45 +0000 (0:00:00.027) 0:00:56.533 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 11:13:45 +0000 (0:00:00.028) 0:00:56.561 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 11:13:45 +0000 (0:00:00.027) 0:00:56.589 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 11:13:45 +0000 (0:00:00.027) 0:00:56.616 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 11:13:45 +0000 (0:00:00.028) 0:00:56.645 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 11:13:45 +0000 (0:00:00.027) 0:00:56.673 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 11:13:45 +0000 (0:00:00.026) 0:00:56.700 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-thin.yml for /cache/rhel-9.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 11:13:45 +0000 (0:00:00.049) 0:00:56.749 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'lv2', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test3', 'name': 'lv3', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 11:13:45 +0000 (0:00:00.057) 0:00:56.806 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 11:13:45 +0000 (0:00:00.025) 0:00:56.831 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 11:13:45 +0000 (0:00:00.023) 0:00:56.855 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 11:13:45 +0000 (0:00:00.023) 0:00:56.878 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 11:13:45 +0000 (0:00:00.022) 0:00:56.901 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 11:13:45 +0000 (0:00:00.024) 0:00:56.925 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 11:13:45 +0000 (0:00:00.023) 0:00:56.948 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 11:13:46 +0000 (0:00:00.023) 0:00:56.972 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 11:13:46 +0000 (0:00:00.023) 0:00:56.995 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 11:13:46 +0000 (0:00:00.026) 0:00:57.022 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 11:13:46 +0000 (0:00:00.070) 0:00:57.092 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 11:13:46 +0000 (0:00:00.024) 0:00:57.117 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 11:13:46 +0000 (0:00:00.024) 0:00:57.142 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-encryption.yml for /cache/rhel-9.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 11:13:46 +0000 (0:00:00.048) 0:00:57.190 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 11:13:46 +0000 (0:00:00.052) 0:00:57.242 ********* skipping: [/cache/rhel-9.qcow2.snap] => (item=/dev/md/vg1-1) => { "_storage_test_pool_member_path": "/dev/md/vg1-1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 11:13:46 +0000 (0:00:00.028) 0:00:57.271 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml for /cache/rhel-9.qcow2.snap => (item=/dev/md/vg1-1) TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 11:13:46 +0000 (0:00:00.044) 0:00:57.315 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml:4 Thursday 21 July 2022 11:13:46 +0000 (0:00:00.052) 0:00:57.368 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml:9 Thursday 21 July 2022 11:13:46 +0000 (0:00:00.052) 0:00:57.420 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml:15 Thursday 21 July 2022 11:13:46 +0000 (0:00:00.035) 0:00:57.455 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml:21 Thursday 21 July 2022 11:13:46 +0000 (0:00:00.035) 0:00:57.491 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 11:13:46 +0000 (0:00:00.036) 0:00:57.528 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 11:13:46 +0000 (0:00:00.039) 0:00:57.568 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 11:13:46 +0000 (0:00:00.034) 0:00:57.602 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-vdo.yml for /cache/rhel-9.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 11:13:46 +0000 (0:00:00.077) 0:00:57.680 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'lv2', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test3', 'name': 'lv3', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 11:13:46 +0000 (0:00:00.063) 0:00:57.744 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 11:13:46 +0000 (0:00:00.026) 0:00:57.771 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 11:13:46 +0000 (0:00:00.026) 0:00:57.797 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 11:13:46 +0000 (0:00:00.025) 0:00:57.822 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 11:13:46 +0000 (0:00:00.023) 0:00:57.846 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 11:13:46 +0000 (0:00:00.024) 0:00:57.871 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 11:13:46 +0000 (0:00:00.024) 0:00:57.895 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 11:13:46 +0000 (0:00:00.023) 0:00:57.919 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 11:13:46 +0000 (0:00:00.036) 0:00:57.955 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 11:13:47 +0000 (0:00:00.028) 0:00:57.984 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 11:13:47 +0000 (0:00:00.027) 0:00:58.011 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 11:13:47 +0000 (0:00:00.026) 0:00:58.037 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 11:13:47 +0000 (0:00:00.024) 0:00:58.062 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 11:13:47 +0000 (0:00:00.028) 0:00:58.090 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 11:13:47 +0000 (0:00:00.025) 0:00:58.115 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 11:13:47 +0000 (0:00:00.026) 0:00:58.142 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 11:13:47 +0000 (0:00:00.035) 0:00:58.177 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 11:13:47 +0000 (0:00:00.026) 0:00:58.203 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 11:13:47 +0000 (0:00:00.025) 0:00:58.229 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 11:13:47 +0000 (0:00:00.024) 0:00:58.253 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 11:13:47 +0000 (0:00:00.023) 0:00:58.277 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 11:13:47 +0000 (0:00:00.054) 0:00:58.332 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 11:13:47 +0000 (0:00:00.025) 0:00:58.357 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 11:13:47 +0000 (0:00:00.024) 0:00:58.381 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 11:13:47 +0000 (0:00:00.034) 0:00:58.416 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 11:13:47 +0000 (0:00:00.037) 0:00:58.453 ********* included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'lv2', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test3', 'name': 'lv3', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 11:13:47 +0000 (0:00:00.052) 0:00:58.506 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 11:13:47 +0000 (0:00:00.049) 0:00:58.555 ********* included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml for /cache/rhel-9.qcow2.snap => (item=mount) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml for /cache/rhel-9.qcow2.snap => (item=fstab) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fs.yml for /cache/rhel-9.qcow2.snap => (item=fs) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml for /cache/rhel-9.qcow2.snap => (item=device) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml for /cache/rhel-9.qcow2.snap => (item=encryption) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml for /cache/rhel-9.qcow2.snap => (item=md) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml for /cache/rhel-9.qcow2.snap => (item=size) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml for /cache/rhel-9.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 11:13:47 +0000 (0:00:00.081) 0:00:58.637 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 11:13:47 +0000 (0:00:00.039) 0:00:58.677 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 508753, "block_size": 4096, "block_total": 520704, "block_used": 11951, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1046525, "inode_total": 1046528, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=1024,swidth=2048,noquota", "size_available": 2083852288, "size_total": 2132803584, "uuid": "4bff11aa-3121-4a4b-8f03-2f47ee201ce3" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 508753, "block_size": 4096, "block_total": 520704, "block_used": 11951, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1046525, "inode_total": 1046528, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=1024,swidth=2048,noquota", "size_available": 2083852288, "size_total": 2132803584, "uuid": "4bff11aa-3121-4a4b-8f03-2f47ee201ce3" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 11:13:47 +0000 (0:00:00.053) 0:00:58.730 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 11:13:47 +0000 (0:00:00.049) 0:00:58.780 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 11:13:47 +0000 (0:00:00.052) 0:00:58.833 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 11:13:47 +0000 (0:00:00.051) 0:00:58.884 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 11:13:47 +0000 (0:00:00.025) 0:00:58.909 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 11:13:47 +0000 (0:00:00.023) 0:00:58.933 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 11:13:47 +0000 (0:00:00.022) 0:00:58.956 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 11:13:48 +0000 (0:00:00.037) 0:00:58.994 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/vg1-lv1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 11:13:48 +0000 (0:00:00.064) 0:00:59.058 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 11:13:48 +0000 (0:00:00.053) 0:00:59.111 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 11:13:48 +0000 (0:00:00.053) 0:00:59.165 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 11:13:48 +0000 (0:00:00.042) 0:00:59.207 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 11:13:48 +0000 (0:00:00.038) 0:00:59.246 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 11:13:48 +0000 (0:00:00.043) 0:00:59.290 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 11:13:48 +0000 (0:00:00.045) 0:00:59.335 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1658401989.0122843, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658401989.0122843, "dev": 5, "device_type": 64770, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 964, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658401989.0122843, "nlink": 1, "path": "/dev/mapper/vg1-lv1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 11:13:48 +0000 (0:00:00.375) 0:00:59.711 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 11:13:48 +0000 (0:00:00.041) 0:00:59.753 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 11:13:48 +0000 (0:00:00.043) 0:00:59.797 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 11:13:48 +0000 (0:00:00.078) 0:00:59.875 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 11:13:48 +0000 (0:00:00.026) 0:00:59.902 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 11:13:49 +0000 (0:00:00.106) 0:01:00.008 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 11:13:49 +0000 (0:00:00.034) 0:01:00.043 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 11:13:49 +0000 (0:00:00.855) 0:01:00.899 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 11:13:49 +0000 (0:00:00.028) 0:01:00.927 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 11:13:49 +0000 (0:00:00.028) 0:01:00.955 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 11:13:50 +0000 (0:00:00.055) 0:01:01.011 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 11:13:50 +0000 (0:00:00.027) 0:01:01.038 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 11:13:50 +0000 (0:00:00.026) 0:01:01.064 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 11:13:50 +0000 (0:00:00.027) 0:01:01.092 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 11:13:50 +0000 (0:00:00.026) 0:01:01.119 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 11:13:50 +0000 (0:00:00.026) 0:01:01.145 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 11:13:50 +0000 (0:00:00.055) 0:01:01.200 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 11:13:50 +0000 (0:00:00.052) 0:01:01.252 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 11:13:50 +0000 (0:00:00.039) 0:01:01.292 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 11:13:50 +0000 (0:00:00.038) 0:01:01.330 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 11:13:50 +0000 (0:00:00.039) 0:01:01.369 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 11:13:50 +0000 (0:00:00.035) 0:01:01.405 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 11:13:50 +0000 (0:00:00.038) 0:01:01.444 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 11:13:50 +0000 (0:00:00.039) 0:01:01.483 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 11:13:50 +0000 (0:00:00.038) 0:01:01.521 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 11:13:50 +0000 (0:00:00.041) 0:01:01.563 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 11:13:50 +0000 (0:00:00.043) 0:01:01.606 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 11:13:50 +0000 (0:00:00.044) 0:01:01.651 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 11:13:50 +0000 (0:00:00.038) 0:01:01.690 ********* ok: [/cache/rhel-9.qcow2.snap] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 11:13:51 +0000 (0:00:00.352) 0:01:02.042 ********* ok: [/cache/rhel-9.qcow2.snap] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 11:13:51 +0000 (0:00:00.421) 0:01:02.464 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "2147483648" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 11:13:51 +0000 (0:00:00.051) 0:01:02.516 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "2147483648" } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 11:13:51 +0000 (0:00:00.040) 0:01:02.556 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 11:13:51 +0000 (0:00:00.038) 0:01:02.595 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 11:13:51 +0000 (0:00:00.041) 0:01:02.636 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 11:13:51 +0000 (0:00:00.037) 0:01:02.674 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 11:13:51 +0000 (0:00:00.038) 0:01:02.712 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 11:13:51 +0000 (0:00:00.042) 0:01:02.755 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_actual_size": { "bytes": 2147483648, "changed": false, "failed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 11:13:51 +0000 (0:00:00.037) 0:01:02.792 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "2147483648" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 11:13:51 +0000 (0:00:00.037) 0:01:02.830 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 11:13:51 +0000 (0:00:00.053) 0:01:02.883 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "vg1/lv1" ], "delta": "0:00:00.034499", "end": "2022-07-21 07:13:52.120486", "rc": 0, "start": "2022-07-21 07:13:52.085987" } STDOUT: LVM2_LV_NAME=lv1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 11:13:52 +0000 (0:00:00.405) 0:01:03.288 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 11:13:52 +0000 (0:00:00.053) 0:01:03.342 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 11:13:52 +0000 (0:00:00.052) 0:01:03.395 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 11:13:52 +0000 (0:00:00.039) 0:01:03.434 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 11:13:52 +0000 (0:00:00.039) 0:01:03.473 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 11:13:52 +0000 (0:00:00.039) 0:01:03.513 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 11:13:52 +0000 (0:00:00.035) 0:01:03.549 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 11:13:52 +0000 (0:00:00.033) 0:01:03.582 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 11:13:52 +0000 (0:00:00.047) 0:01:03.630 ********* included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml for /cache/rhel-9.qcow2.snap => (item=mount) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml for /cache/rhel-9.qcow2.snap => (item=fstab) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fs.yml for /cache/rhel-9.qcow2.snap => (item=fs) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml for /cache/rhel-9.qcow2.snap => (item=device) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml for /cache/rhel-9.qcow2.snap => (item=encryption) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml for /cache/rhel-9.qcow2.snap => (item=md) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml for /cache/rhel-9.qcow2.snap => (item=size) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml for /cache/rhel-9.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 11:13:52 +0000 (0:00:00.085) 0:01:03.715 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv2" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 11:13:52 +0000 (0:00:00.041) 0:01:03.757 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 769066, "block_size": 4096, "block_total": 782848, "block_used": 13782, "device": "/dev/mapper/vg1-lv2", "fstype": "xfs", "inode_available": 1570813, "inode_total": 1570816, "inode_used": 3, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=1024,swidth=2048,noquota", "size_available": 3150094336, "size_total": 3206545408, "uuid": "6ed9ed41-2306-4236-864c-614f4ab1f134" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 769066, "block_size": 4096, "block_total": 782848, "block_used": 13782, "device": "/dev/mapper/vg1-lv2", "fstype": "xfs", "inode_available": 1570813, "inode_total": 1570816, "inode_used": 3, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=1024,swidth=2048,noquota", "size_available": 3150094336, "size_total": 3206545408, "uuid": "6ed9ed41-2306-4236-864c-614f4ab1f134" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 11:13:52 +0000 (0:00:00.055) 0:01:03.813 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 11:13:52 +0000 (0:00:00.050) 0:01:03.863 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 11:13:52 +0000 (0:00:00.078) 0:01:03.942 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 11:13:53 +0000 (0:00:00.082) 0:01:04.024 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 11:13:53 +0000 (0:00:00.063) 0:01:04.088 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 11:13:53 +0000 (0:00:00.026) 0:01:04.114 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 11:13:53 +0000 (0:00:00.026) 0:01:04.140 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 11:13:53 +0000 (0:00:00.039) 0:01:04.179 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/vg1-lv2 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test2 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test2 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 11:13:53 +0000 (0:00:00.061) 0:01:04.241 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 11:13:53 +0000 (0:00:00.051) 0:01:04.293 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 11:13:53 +0000 (0:00:00.055) 0:01:04.349 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 11:13:53 +0000 (0:00:00.038) 0:01:04.388 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 11:13:53 +0000 (0:00:00.037) 0:01:04.426 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 11:13:53 +0000 (0:00:00.042) 0:01:04.468 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 11:13:53 +0000 (0:00:00.045) 0:01:04.514 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1658401988.7632844, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658401988.7632844, "dev": 5, "device_type": 64769, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 930, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658401988.7632844, "nlink": 1, "path": "/dev/mapper/vg1-lv2", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 11:13:53 +0000 (0:00:00.384) 0:01:04.898 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 11:13:53 +0000 (0:00:00.045) 0:01:04.943 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 11:13:54 +0000 (0:00:00.043) 0:01:04.987 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 11:13:54 +0000 (0:00:00.038) 0:01:05.025 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 11:13:54 +0000 (0:00:00.027) 0:01:05.052 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 11:13:54 +0000 (0:00:00.041) 0:01:05.094 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 11:13:54 +0000 (0:00:00.026) 0:01:05.120 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 11:13:54 +0000 (0:00:00.832) 0:01:05.953 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 11:13:55 +0000 (0:00:00.026) 0:01:05.980 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 11:13:55 +0000 (0:00:00.026) 0:01:06.007 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 11:13:55 +0000 (0:00:00.056) 0:01:06.063 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 11:13:55 +0000 (0:00:00.031) 0:01:06.095 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 11:13:55 +0000 (0:00:00.026) 0:01:06.121 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 11:13:55 +0000 (0:00:00.026) 0:01:06.147 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 11:13:55 +0000 (0:00:00.025) 0:01:06.173 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 11:13:55 +0000 (0:00:00.061) 0:01:06.235 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 11:13:55 +0000 (0:00:00.050) 0:01:06.286 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 11:13:55 +0000 (0:00:00.052) 0:01:06.338 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 11:13:55 +0000 (0:00:00.041) 0:01:06.380 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 11:13:55 +0000 (0:00:00.038) 0:01:06.418 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 11:13:55 +0000 (0:00:00.039) 0:01:06.458 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 11:13:55 +0000 (0:00:00.036) 0:01:06.495 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 11:13:55 +0000 (0:00:00.039) 0:01:06.534 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 11:13:55 +0000 (0:00:00.038) 0:01:06.573 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 11:13:55 +0000 (0:00:00.042) 0:01:06.615 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 11:13:55 +0000 (0:00:00.039) 0:01:06.655 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 11:13:55 +0000 (0:00:00.038) 0:01:06.694 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 11:13:55 +0000 (0:00:00.038) 0:01:06.733 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 11:13:55 +0000 (0:00:00.040) 0:01:06.773 ********* ok: [/cache/rhel-9.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 11:13:56 +0000 (0:00:00.376) 0:01:07.149 ********* ok: [/cache/rhel-9.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 11:13:56 +0000 (0:00:00.381) 0:01:07.531 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "3221225472" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 11:13:56 +0000 (0:00:00.054) 0:01:07.586 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 11:13:56 +0000 (0:00:00.038) 0:01:07.624 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 11:13:56 +0000 (0:00:00.038) 0:01:07.662 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 11:13:56 +0000 (0:00:00.042) 0:01:07.705 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 11:13:56 +0000 (0:00:00.050) 0:01:07.755 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 11:13:56 +0000 (0:00:00.040) 0:01:07.796 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 11:13:56 +0000 (0:00:00.038) 0:01:07.835 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_actual_size": { "bytes": 3221225472, "changed": false, "failed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 11:13:56 +0000 (0:00:00.039) 0:01:07.874 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 11:13:56 +0000 (0:00:00.037) 0:01:07.911 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 11:13:57 +0000 (0:00:00.054) 0:01:07.966 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "vg1/lv2" ], "delta": "0:00:00.031784", "end": "2022-07-21 07:13:57.191455", "rc": 0, "start": "2022-07-21 07:13:57.159671" } STDOUT: LVM2_LV_NAME=lv2 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 11:13:57 +0000 (0:00:00.391) 0:01:08.357 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 11:13:57 +0000 (0:00:00.097) 0:01:08.454 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 11:13:57 +0000 (0:00:00.133) 0:01:08.588 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 11:13:57 +0000 (0:00:00.042) 0:01:08.631 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 11:13:57 +0000 (0:00:00.041) 0:01:08.672 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 11:13:57 +0000 (0:00:00.041) 0:01:08.713 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 11:13:57 +0000 (0:00:00.037) 0:01:08.751 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 11:13:57 +0000 (0:00:00.039) 0:01:08.790 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 11:13:57 +0000 (0:00:00.053) 0:01:08.844 ********* included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml for /cache/rhel-9.qcow2.snap => (item=mount) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml for /cache/rhel-9.qcow2.snap => (item=fstab) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fs.yml for /cache/rhel-9.qcow2.snap => (item=fs) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml for /cache/rhel-9.qcow2.snap => (item=device) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml for /cache/rhel-9.qcow2.snap => (item=encryption) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml for /cache/rhel-9.qcow2.snap => (item=md) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml for /cache/rhel-9.qcow2.snap => (item=size) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml for /cache/rhel-9.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 11:13:57 +0000 (0:00:00.083) 0:01:08.927 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv3" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 11:13:58 +0000 (0:00:00.040) 0:01:08.967 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 769066, "block_size": 4096, "block_total": 782848, "block_used": 13782, "device": "/dev/mapper/vg1-lv3", "fstype": "xfs", "inode_available": 1570813, "inode_total": 1570816, "inode_used": 3, "mount": "/opt/test3", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=1024,swidth=2048,noquota", "size_available": 3150094336, "size_total": 3206545408, "uuid": "79679265-7724-4f93-81cf-32064abb2982" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 769066, "block_size": 4096, "block_total": 782848, "block_used": 13782, "device": "/dev/mapper/vg1-lv3", "fstype": "xfs", "inode_available": 1570813, "inode_total": 1570816, "inode_used": 3, "mount": "/opt/test3", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=1024,swidth=2048,noquota", "size_available": 3150094336, "size_total": 3206545408, "uuid": "79679265-7724-4f93-81cf-32064abb2982" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 11:13:58 +0000 (0:00:00.056) 0:01:09.024 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 11:13:58 +0000 (0:00:00.059) 0:01:09.083 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 11:13:58 +0000 (0:00:00.052) 0:01:09.135 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 11:13:58 +0000 (0:00:00.054) 0:01:09.190 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 11:13:58 +0000 (0:00:00.025) 0:01:09.215 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 11:13:58 +0000 (0:00:00.027) 0:01:09.243 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 11:13:58 +0000 (0:00:00.027) 0:01:09.270 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 11:13:58 +0000 (0:00:00.039) 0:01:09.309 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/vg1-lv3 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test3 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test3 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 11:13:58 +0000 (0:00:00.067) 0:01:09.377 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 11:13:58 +0000 (0:00:00.052) 0:01:09.429 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 11:13:58 +0000 (0:00:00.052) 0:01:09.482 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 11:13:58 +0000 (0:00:00.042) 0:01:09.524 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 11:13:58 +0000 (0:00:00.032) 0:01:09.557 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 11:13:58 +0000 (0:00:00.038) 0:01:09.595 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 11:13:58 +0000 (0:00:00.046) 0:01:09.642 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1658401988.5082843, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658401988.5082843, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 895, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658401988.5082843, "nlink": 1, "path": "/dev/mapper/vg1-lv3", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 11:13:59 +0000 (0:00:00.366) 0:01:10.009 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 11:13:59 +0000 (0:00:00.044) 0:01:10.053 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 11:13:59 +0000 (0:00:00.042) 0:01:10.096 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 11:13:59 +0000 (0:00:00.038) 0:01:10.134 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 11:13:59 +0000 (0:00:00.026) 0:01:10.161 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 11:13:59 +0000 (0:00:00.077) 0:01:10.238 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 11:13:59 +0000 (0:00:00.089) 0:01:10.327 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 11:14:00 +0000 (0:00:00.810) 0:01:11.138 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 11:14:00 +0000 (0:00:00.025) 0:01:11.164 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 11:14:00 +0000 (0:00:00.025) 0:01:11.189 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 11:14:00 +0000 (0:00:00.051) 0:01:11.241 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 11:14:00 +0000 (0:00:00.027) 0:01:11.268 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 11:14:00 +0000 (0:00:00.024) 0:01:11.292 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 11:14:00 +0000 (0:00:00.024) 0:01:11.316 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 11:14:00 +0000 (0:00:00.026) 0:01:11.343 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 11:14:00 +0000 (0:00:00.027) 0:01:11.371 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 11:14:00 +0000 (0:00:00.053) 0:01:11.424 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 11:14:00 +0000 (0:00:00.053) 0:01:11.478 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 11:14:00 +0000 (0:00:00.041) 0:01:11.519 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 11:14:00 +0000 (0:00:00.036) 0:01:11.555 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 11:14:00 +0000 (0:00:00.038) 0:01:11.594 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 11:14:00 +0000 (0:00:00.037) 0:01:11.632 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 11:14:00 +0000 (0:00:00.043) 0:01:11.675 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 11:14:00 +0000 (0:00:00.039) 0:01:11.714 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 11:14:00 +0000 (0:00:00.038) 0:01:11.753 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 11:14:00 +0000 (0:00:00.040) 0:01:11.793 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 11:14:00 +0000 (0:00:00.037) 0:01:11.831 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 11:14:00 +0000 (0:00:00.037) 0:01:11.869 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 11:14:00 +0000 (0:00:00.039) 0:01:11.908 ********* ok: [/cache/rhel-9.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 11:14:01 +0000 (0:00:00.373) 0:01:12.282 ********* ok: [/cache/rhel-9.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 11:14:01 +0000 (0:00:00.393) 0:01:12.675 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "3221225472" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 11:14:01 +0000 (0:00:00.055) 0:01:12.731 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 11:14:01 +0000 (0:00:00.041) 0:01:12.772 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 11:14:01 +0000 (0:00:00.037) 0:01:12.810 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 11:14:01 +0000 (0:00:00.036) 0:01:12.846 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 11:14:01 +0000 (0:00:00.038) 0:01:12.884 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 11:14:01 +0000 (0:00:00.039) 0:01:12.924 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 11:14:01 +0000 (0:00:00.037) 0:01:12.962 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_actual_size": { "bytes": 3221225472, "changed": false, "failed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 11:14:02 +0000 (0:00:00.043) 0:01:13.006 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 11:14:02 +0000 (0:00:00.041) 0:01:13.047 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 11:14:02 +0000 (0:00:00.055) 0:01:13.103 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "vg1/lv3" ], "delta": "0:00:00.038582", "end": "2022-07-21 07:14:02.357699", "rc": 0, "start": "2022-07-21 07:14:02.319117" } STDOUT: LVM2_LV_NAME=lv3 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 11:14:02 +0000 (0:00:00.426) 0:01:13.529 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 11:14:02 +0000 (0:00:00.053) 0:01:13.583 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 11:14:02 +0000 (0:00:00.052) 0:01:13.635 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 11:14:02 +0000 (0:00:00.038) 0:01:13.674 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 11:14:02 +0000 (0:00:00.040) 0:01:13.715 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 11:14:02 +0000 (0:00:00.040) 0:01:13.755 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 11:14:02 +0000 (0:00:00.038) 0:01:13.794 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 11:14:02 +0000 (0:00:00.037) 0:01:13.831 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 11:14:02 +0000 (0:00:00.022) 0:01:13.854 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Remove the device created above] ***************************************** task path: /tmp/tmpfc26zqih/tests/storage/tests_create_raid_pool_then_remove.yml:77 Thursday 21 July 2022 11:14:02 +0000 (0:00:00.035) 0:01:13.889 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 11:14:02 +0000 (0:00:00.069) 0:01:13.959 ********* included: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-9.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 11:14:03 +0000 (0:00:00.042) 0:01:14.002 ********* ok: [/cache/rhel-9.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 11:14:03 +0000 (0:00:00.527) 0:01:14.529 ********* skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.yml" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.0.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.0.yml", "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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 11:14:03 +0000 (0:00:00.133) 0:01:14.662 ********* ok: [/cache/rhel-9.qcow2.snap] => { "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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 11:14:03 +0000 (0:00:00.039) 0:01:14.702 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 11:14:03 +0000 (0:00:00.038) 0:01:14.741 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-9.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 11:14:03 +0000 (0:00:00.060) 0:01:14.801 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 11:14:03 +0000 (0:00:00.022) 0:01:14.824 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 11:14:03 +0000 (0:00:00.032) 0:01:14.856 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda", "sdb" ], "name": "vg1", "raid_level": "raid0", "state": "absent", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "lv1", "size": "2g" }, { "mount_point": "/opt/test2", "name": "lv2", "size": "3g" }, { "mount_point": "/opt/test3", "name": "lv3", "size": "3g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 11:14:03 +0000 (0:00:00.042) 0:01:14.898 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 11:14:03 +0000 (0:00:00.041) 0:01:14.939 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 11:14:04 +0000 (0:00:00.031) 0:01:14.970 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 11:14:04 +0000 (0:00:00.032) 0:01:15.003 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 11:14:04 +0000 (0:00:00.031) 0:01:15.035 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 11:14:04 +0000 (0:00:00.029) 0:01:15.065 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 11:14:04 +0000 (0:00:00.058) 0:01:15.124 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 11:14:04 +0000 (0:00:00.023) 0:01:15.147 ********* changed: [/cache/rhel-9.qcow2.snap] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/vg1-lv3", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv3", "fs_type": null }, { "action": "destroy format", "device": "/dev/mapper/vg1-lv2", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv2", "fs_type": null }, { "action": "destroy format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "destroy device", "device": "/dev/vg1", "fs_type": null }, { "action": "destroy format", "device": "/dev/md/vg1-1", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/md/vg1-1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb1", "fs_type": "mdmember" }, { "action": "destroy device", "device": "/dev/sdb1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb", "fs_type": "disklabel" }, { "action": "destroy format", "device": "/dev/sda1", "fs_type": "mdmember" }, { "action": "destroy device", "device": "/dev/sda1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "disklabel" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test3", "src": "/dev/mapper/vg1-lv3", "state": "absent" }, { "fstype": "xfs", "path": "/opt/test2", "src": "/dev/mapper/vg1-lv2", "state": "absent" }, { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "absent" } ], "packages": [ "e2fsprogs", "dosfstools", "xfsprogs" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 11:14:08 +0000 (0:00:04.311) 0:01:19.458 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 11:14:08 +0000 (0:00:00.039) 0:01:19.498 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 11:14:08 +0000 (0:00:00.025) 0:01:19.524 ********* ok: [/cache/rhel-9.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/vg1-lv3", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv3", "fs_type": null }, { "action": "destroy format", "device": "/dev/mapper/vg1-lv2", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv2", "fs_type": null }, { "action": "destroy format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "destroy device", "device": "/dev/vg1", "fs_type": null }, { "action": "destroy format", "device": "/dev/md/vg1-1", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/md/vg1-1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb1", "fs_type": "mdmember" }, { "action": "destroy device", "device": "/dev/sdb1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb", "fs_type": "disklabel" }, { "action": "destroy format", "device": "/dev/sda1", "fs_type": "mdmember" }, { "action": "destroy device", "device": "/dev/sda1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "disklabel" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test3", "src": "/dev/mapper/vg1-lv3", "state": "absent" }, { "fstype": "xfs", "path": "/opt/test2", "src": "/dev/mapper/vg1-lv2", "state": "absent" }, { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "absent" } ], "packages": [ "e2fsprogs", "dosfstools", "xfsprogs" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 11:14:08 +0000 (0:00:00.042) 0:01:19.566 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 11:14:08 +0000 (0:00:00.079) 0:01:19.646 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 11:14:08 +0000 (0:00:00.069) 0:01:19.716 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-9.qcow2.snap] => (item={'src': '/dev/mapper/vg1-lv3', 'path': '/opt/test3', 'state': 'absent', 'fstype': 'xfs'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "fstype": "xfs", "path": "/opt/test3", "src": "/dev/mapper/vg1-lv3", "state": "absent" }, "name": "/opt/test3", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv3" } redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-9.qcow2.snap] => (item={'src': '/dev/mapper/vg1-lv2', 'path': '/opt/test2', 'state': 'absent', 'fstype': 'xfs'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "fstype": "xfs", "path": "/opt/test2", "src": "/dev/mapper/vg1-lv2", "state": "absent" }, "name": "/opt/test2", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv2" } redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-9.qcow2.snap] => (item={'src': '/dev/mapper/vg1-lv1', 'path': '/opt/test1', 'state': 'absent', 'fstype': 'xfs'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 11:14:09 +0000 (0:00:01.129) 0:01:20.845 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 11:14:10 +0000 (0:00:00.665) 0:01:21.511 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 11:14:10 +0000 (0:00:00.041) 0:01:21.552 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 11:14:11 +0000 (0:00:00.646) 0:01:22.199 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 11:14:11 +0000 (0:00:00.362) 0:01:22.562 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 11:14:11 +0000 (0:00:00.024) 0:01:22.587 ********* ok: [/cache/rhel-9.qcow2.snap] META: role_complete for /cache/rhel-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/tests_create_raid_pool_then_remove.yml:98 Thursday 21 July 2022 11:14:12 +0000 (0:00:00.975) 0:01:23.563 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml for /cache/rhel-9.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 11:14:12 +0000 (0:00:00.052) 0:01:23.616 ********* ok: [/cache/rhel-9.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 11:14:12 +0000 (0:00:00.063) 0:01:23.679 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 11:14:12 +0000 (0:00:00.040) 0:01:23.720 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "info": { "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-11-12-36-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "vfat", "label": "", "name": "/dev/vda2", "size": "200M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "boot", "name": "/dev/vda3", "size": "500M", "type": "partition", "uuid": "6e74e171-0370-451f-8340-f16ad2839183" }, "/dev/vda4": { "fstype": "xfs", "label": "root", "name": "/dev/vda4", "size": "9.3G", "type": "partition", "uuid": "1bb53e4d-984c-4316-908a-59b5a62fa30e" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "12be66f7-7f03-4d54-9a48-a520825d8fa9" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "9bd037ed-b1bb-4b9c-a008-9f07d34ab071" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 11:14:13 +0000 (0:00:00.415) 0:01:24.135 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002510", "end": "2022-07-21 07:14:13.347588", "rc": 0, "start": "2022-07-21 07:14:13.345078" } STDOUT: UUID=6e74e171-0370-451f-8340-f16ad2839183 /boot xfs defaults 0 0 UUID=1bb53e4d-984c-4316-908a-59b5a62fa30e / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/vdb1 /var/cache/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 11:14:13 +0000 (0:00:00.381) 0:01:24.517 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002646", "end": "2022-07-21 07:14:13.753716", "failed_when_result": false, "rc": 1, "start": "2022-07-21 07:14:13.751070" } STDERR: cat: /etc/crypttab: No such file or directory MSG: non-zero return code TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 11:14:13 +0000 (0:00:00.406) 0:01:24.923 ********* included: /tmp/tmpfc26zqih/tests/storage/test-verify-pool.yml for /cache/rhel-9.qcow2.snap => (item={'disks': ['sda', 'sdb'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'vg1', 'raid_level': 'raid0', 'raid_device_count': 2, 'raid_spare_count': 0, 'raid_metadata_version': '1.2', 'state': 'absent', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}, {'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'lv2', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2'}, {'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test3', 'name': 'lv3', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3'}], 'raid_chunk_size': '512 KiB'}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 11:14:14 +0000 (0:00:00.099) 0:01:25.022 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 11:14:14 +0000 (0:00:00.079) 0:01:25.102 ********* included: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml for /cache/rhel-9.qcow2.snap => (item=members) included: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-volumes.yml for /cache/rhel-9.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 11:14:14 +0000 (0:00:00.079) 0:01:25.181 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "0", "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 11:14:14 +0000 (0:00:00.054) 0:01:25.235 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 11:14:14 +0000 (0:00:00.022) 0:01:25.258 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "0" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 11:14:14 +0000 (0:00:00.047) 0:01:25.305 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 11:14:14 +0000 (0:00:00.048) 0:01:25.353 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 11:14:14 +0000 (0:00:00.049) 0:01:25.403 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 11:14:14 +0000 (0:00:00.034) 0:01:25.438 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "partition" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 11:14:14 +0000 (0:00:00.047) 0:01:25.486 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "raid0" }, "changed": false } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 11:14:14 +0000 (0:00:00.039) 0:01:25.526 ********* TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 11:14:14 +0000 (0:00:00.021) 0:01:25.548 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml for /cache/rhel-9.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 11:14:14 +0000 (0:00:00.044) 0:01:25.592 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 11:14:14 +0000 (0:00:00.029) 0:01:25.622 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 11:14:14 +0000 (0:00:00.025) 0:01:25.647 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 11:14:14 +0000 (0:00:00.024) 0:01:25.671 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 11:14:14 +0000 (0:00:00.026) 0:01:25.698 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 11:14:14 +0000 (0:00:00.028) 0:01:25.727 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 11:14:14 +0000 (0:00:00.026) 0:01:25.753 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 11:14:14 +0000 (0:00:00.026) 0:01:25.780 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 11:14:14 +0000 (0:00:00.035) 0:01:25.815 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-lvmraid.yml for /cache/rhel-9.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 11:14:14 +0000 (0:00:00.046) 0:01:25.861 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-lvmraid.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}) included: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-lvmraid.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'lv2', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2'}) included: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-lvmraid.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test3', 'name': 'lv3', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 11:14:14 +0000 (0:00:00.057) 0:01:25.918 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 11:14:14 +0000 (0:00:00.028) 0:01:25.947 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 11:14:15 +0000 (0:00:00.027) 0:01:25.974 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 11:14:15 +0000 (0:00:00.027) 0:01:26.001 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 11:14:15 +0000 (0:00:00.029) 0:01:26.030 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 11:14:15 +0000 (0:00:00.027) 0:01:26.058 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 11:14:15 +0000 (0:00:00.027) 0:01:26.085 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 11:14:15 +0000 (0:00:00.027) 0:01:26.112 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 11:14:15 +0000 (0:00:00.029) 0:01:26.142 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 11:14:15 +0000 (0:00:00.027) 0:01:26.170 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-thin.yml for /cache/rhel-9.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 11:14:15 +0000 (0:00:00.045) 0:01:26.215 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}) included: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'lv2', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2'}) included: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test3', 'name': 'lv3', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 11:14:15 +0000 (0:00:00.057) 0:01:26.273 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 11:14:15 +0000 (0:00:00.024) 0:01:26.297 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 11:14:15 +0000 (0:00:00.024) 0:01:26.322 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 11:14:15 +0000 (0:00:00.053) 0:01:26.375 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 11:14:15 +0000 (0:00:00.024) 0:01:26.399 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 11:14:15 +0000 (0:00:00.023) 0:01:26.423 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 11:14:15 +0000 (0:00:00.022) 0:01:26.446 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 11:14:15 +0000 (0:00:00.023) 0:01:26.469 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 11:14:15 +0000 (0:00:00.022) 0:01:26.491 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 11:14:15 +0000 (0:00:00.022) 0:01:26.514 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 11:14:15 +0000 (0:00:00.022) 0:01:26.536 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 11:14:15 +0000 (0:00:00.023) 0:01:26.560 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 11:14:15 +0000 (0:00:00.022) 0:01:26.582 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-encryption.yml for /cache/rhel-9.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 11:14:15 +0000 (0:00:00.046) 0:01:26.629 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 11:14:15 +0000 (0:00:00.051) 0:01:26.680 ********* TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 11:14:15 +0000 (0:00:00.023) 0:01:26.704 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 11:14:15 +0000 (0:00:00.023) 0:01:26.727 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 11:14:15 +0000 (0:00:00.039) 0:01:26.767 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-vdo.yml for /cache/rhel-9.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 11:14:15 +0000 (0:00:00.049) 0:01:26.816 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}) included: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'lv2', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2'}) included: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test3', 'name': 'lv3', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 11:14:15 +0000 (0:00:00.062) 0:01:26.879 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 11:14:15 +0000 (0:00:00.026) 0:01:26.905 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 11:14:15 +0000 (0:00:00.030) 0:01:26.935 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 11:14:16 +0000 (0:00:00.030) 0:01:26.965 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 11:14:16 +0000 (0:00:00.026) 0:01:26.991 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 11:14:16 +0000 (0:00:00.026) 0:01:27.018 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 11:14:16 +0000 (0:00:00.025) 0:01:27.044 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 11:14:16 +0000 (0:00:00.026) 0:01:27.070 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 11:14:16 +0000 (0:00:00.036) 0:01:27.106 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 11:14:16 +0000 (0:00:00.025) 0:01:27.131 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 11:14:16 +0000 (0:00:00.026) 0:01:27.157 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 11:14:16 +0000 (0:00:00.026) 0:01:27.184 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 11:14:16 +0000 (0:00:00.023) 0:01:27.207 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 11:14:16 +0000 (0:00:00.025) 0:01:27.233 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 11:14:16 +0000 (0:00:00.025) 0:01:27.258 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 11:14:16 +0000 (0:00:00.026) 0:01:27.284 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 11:14:16 +0000 (0:00:00.036) 0:01:27.321 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 11:14:16 +0000 (0:00:00.025) 0:01:27.346 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 11:14:16 +0000 (0:00:00.023) 0:01:27.370 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 11:14:16 +0000 (0:00:00.024) 0:01:27.394 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 11:14:16 +0000 (0:00:00.024) 0:01:27.418 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 11:14:16 +0000 (0:00:00.024) 0:01:27.443 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 11:14:16 +0000 (0:00:00.024) 0:01:27.468 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 11:14:16 +0000 (0:00:00.064) 0:01:27.532 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 11:14:16 +0000 (0:00:00.037) 0:01:27.569 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 11:14:16 +0000 (0:00:00.037) 0:01:27.607 ********* included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'lv2', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2'}) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test3', 'name': 'lv3', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 11:14:16 +0000 (0:00:00.056) 0:01:27.663 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": false, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 11:14:16 +0000 (0:00:00.051) 0:01:27.715 ********* included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml for /cache/rhel-9.qcow2.snap => (item=mount) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml for /cache/rhel-9.qcow2.snap => (item=fstab) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fs.yml for /cache/rhel-9.qcow2.snap => (item=fs) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml for /cache/rhel-9.qcow2.snap => (item=device) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml for /cache/rhel-9.qcow2.snap => (item=encryption) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml for /cache/rhel-9.qcow2.snap => (item=md) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml for /cache/rhel-9.qcow2.snap => (item=size) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml for /cache/rhel-9.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 11:14:16 +0000 (0:00:00.079) 0:01:27.794 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 11:14:16 +0000 (0:00:00.044) 0:01:27.839 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 11:14:16 +0000 (0:00:00.057) 0:01:27.896 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 11:14:16 +0000 (0:00:00.026) 0:01:27.923 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 11:14:17 +0000 (0:00:00.050) 0:01:27.973 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 11:14:17 +0000 (0:00:00.038) 0:01:28.012 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 11:14:17 +0000 (0:00:00.024) 0:01:28.036 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 11:14:17 +0000 (0:00:00.024) 0:01:28.061 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 11:14:17 +0000 (0:00:00.023) 0:01:28.085 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 11:14:17 +0000 (0:00:00.036) 0:01:28.122 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "0", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 11:14:17 +0000 (0:00:00.058) 0:01:28.180 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 11:14:17 +0000 (0:00:00.022) 0:01:28.202 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 11:14:17 +0000 (0:00:00.049) 0:01:28.252 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 11:14:17 +0000 (0:00:00.037) 0:01:28.289 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 11:14:17 +0000 (0:00:00.037) 0:01:28.326 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 11:14:17 +0000 (0:00:00.024) 0:01:28.351 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 11:14:17 +0000 (0:00:00.025) 0:01:28.376 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 11:14:17 +0000 (0:00:00.380) 0:01:28.756 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 11:14:17 +0000 (0:00:00.038) 0:01:28.795 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 11:14:17 +0000 (0:00:00.025) 0:01:28.820 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 11:14:17 +0000 (0:00:00.041) 0:01:28.861 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 11:14:17 +0000 (0:00:00.025) 0:01:28.887 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 11:14:17 +0000 (0:00:00.024) 0:01:28.912 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 11:14:17 +0000 (0:00:00.022) 0:01:28.934 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 11:14:18 +0000 (0:00:00.856) 0:01:29.790 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 11:14:18 +0000 (0:00:00.081) 0:01:29.872 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 11:14:18 +0000 (0:00:00.024) 0:01:29.896 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 11:14:18 +0000 (0:00:00.024) 0:01:29.921 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 11:14:18 +0000 (0:00:00.024) 0:01:29.946 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 11:14:19 +0000 (0:00:00.026) 0:01:29.973 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 11:14:19 +0000 (0:00:00.025) 0:01:29.999 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 11:14:19 +0000 (0:00:00.025) 0:01:30.024 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 11:14:19 +0000 (0:00:00.025) 0:01:30.050 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 11:14:19 +0000 (0:00:00.056) 0:01:30.106 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 11:14:19 +0000 (0:00:00.050) 0:01:30.157 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 11:14:19 +0000 (0:00:00.039) 0:01:30.197 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 11:14:19 +0000 (0:00:00.038) 0:01:30.235 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 11:14:19 +0000 (0:00:00.042) 0:01:30.277 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 11:14:19 +0000 (0:00:00.036) 0:01:30.313 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 11:14:19 +0000 (0:00:00.038) 0:01:30.352 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 11:14:19 +0000 (0:00:00.038) 0:01:30.390 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 11:14:19 +0000 (0:00:00.041) 0:01:30.432 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 11:14:19 +0000 (0:00:00.038) 0:01:30.471 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 11:14:19 +0000 (0:00:00.038) 0:01:30.510 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 11:14:19 +0000 (0:00:00.038) 0:01:30.549 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 11:14:19 +0000 (0:00:00.041) 0:01:30.590 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 11:14:19 +0000 (0:00:00.027) 0:01:30.617 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 11:14:19 +0000 (0:00:00.038) 0:01:30.656 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 11:14:19 +0000 (0:00:00.039) 0:01:30.695 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 11:14:19 +0000 (0:00:00.041) 0:01:30.737 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 11:14:19 +0000 (0:00:00.040) 0:01:30.777 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 11:14:19 +0000 (0:00:00.037) 0:01:30.814 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 11:14:19 +0000 (0:00:00.035) 0:01:30.850 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 11:14:19 +0000 (0:00:00.040) 0:01:30.890 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 11:14:19 +0000 (0:00:00.039) 0:01:30.930 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 11:14:20 +0000 (0:00:00.040) 0:01:30.971 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 11:14:20 +0000 (0:00:00.037) 0:01:31.009 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 11:14:20 +0000 (0:00:00.025) 0:01:31.035 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 11:14:20 +0000 (0:00:00.025) 0:01:31.060 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 11:14:20 +0000 (0:00:00.023) 0:01:31.084 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 11:14:20 +0000 (0:00:00.023) 0:01:31.108 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 11:14:20 +0000 (0:00:00.026) 0:01:31.134 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 11:14:20 +0000 (0:00:00.024) 0:01:31.158 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 11:14:20 +0000 (0:00:00.024) 0:01:31.182 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 11:14:20 +0000 (0:00:00.023) 0:01:31.206 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 11:14:20 +0000 (0:00:00.036) 0:01:31.242 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": false, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 11:14:20 +0000 (0:00:00.048) 0:01:31.291 ********* included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml for /cache/rhel-9.qcow2.snap => (item=mount) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml for /cache/rhel-9.qcow2.snap => (item=fstab) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fs.yml for /cache/rhel-9.qcow2.snap => (item=fs) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml for /cache/rhel-9.qcow2.snap => (item=device) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml for /cache/rhel-9.qcow2.snap => (item=encryption) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml for /cache/rhel-9.qcow2.snap => (item=md) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml for /cache/rhel-9.qcow2.snap => (item=size) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml for /cache/rhel-9.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 11:14:20 +0000 (0:00:00.078) 0:01:31.369 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv2" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 11:14:20 +0000 (0:00:00.078) 0:01:31.447 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 11:14:20 +0000 (0:00:00.092) 0:01:31.539 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 11:14:20 +0000 (0:00:00.025) 0:01:31.564 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 11:14:20 +0000 (0:00:00.065) 0:01:31.630 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 11:14:20 +0000 (0:00:00.049) 0:01:31.679 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 11:14:20 +0000 (0:00:00.025) 0:01:31.704 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 11:14:20 +0000 (0:00:00.024) 0:01:31.729 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 11:14:20 +0000 (0:00:00.024) 0:01:31.753 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 11:14:20 +0000 (0:00:00.043) 0:01:31.796 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "0", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 11:14:20 +0000 (0:00:00.075) 0:01:31.872 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 11:14:20 +0000 (0:00:00.023) 0:01:31.896 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 11:14:20 +0000 (0:00:00.053) 0:01:31.950 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 11:14:21 +0000 (0:00:00.035) 0:01:31.986 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 11:14:21 +0000 (0:00:00.034) 0:01:32.021 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 11:14:21 +0000 (0:00:00.024) 0:01:32.045 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 11:14:21 +0000 (0:00:00.025) 0:01:32.070 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 11:14:21 +0000 (0:00:00.374) 0:01:32.445 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 11:14:21 +0000 (0:00:00.040) 0:01:32.486 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 11:14:21 +0000 (0:00:00.025) 0:01:32.512 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 11:14:21 +0000 (0:00:00.042) 0:01:32.554 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 11:14:21 +0000 (0:00:00.023) 0:01:32.578 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 11:14:21 +0000 (0:00:00.023) 0:01:32.601 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 11:14:21 +0000 (0:00:00.024) 0:01:32.625 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 11:14:22 +0000 (0:00:00.865) 0:01:33.491 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 11:14:22 +0000 (0:00:00.027) 0:01:33.518 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 11:14:22 +0000 (0:00:00.025) 0:01:33.544 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 11:14:22 +0000 (0:00:00.026) 0:01:33.570 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 11:14:22 +0000 (0:00:00.028) 0:01:33.599 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 11:14:22 +0000 (0:00:00.023) 0:01:33.623 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 11:14:22 +0000 (0:00:00.026) 0:01:33.650 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 11:14:22 +0000 (0:00:00.029) 0:01:33.679 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 11:14:22 +0000 (0:00:00.027) 0:01:33.706 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 11:14:22 +0000 (0:00:00.101) 0:01:33.807 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 11:14:22 +0000 (0:00:00.047) 0:01:33.855 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 11:14:22 +0000 (0:00:00.034) 0:01:33.889 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 11:14:22 +0000 (0:00:00.037) 0:01:33.927 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 11:14:22 +0000 (0:00:00.034) 0:01:33.962 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 11:14:23 +0000 (0:00:00.033) 0:01:33.995 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 11:14:23 +0000 (0:00:00.035) 0:01:34.031 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 11:14:23 +0000 (0:00:00.044) 0:01:34.075 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 11:14:23 +0000 (0:00:00.039) 0:01:34.114 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 11:14:23 +0000 (0:00:00.037) 0:01:34.152 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 11:14:23 +0000 (0:00:00.036) 0:01:34.189 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 11:14:23 +0000 (0:00:00.053) 0:01:34.242 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 11:14:23 +0000 (0:00:00.041) 0:01:34.284 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 11:14:23 +0000 (0:00:00.025) 0:01:34.309 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 11:14:23 +0000 (0:00:00.038) 0:01:34.347 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 11:14:23 +0000 (0:00:00.039) 0:01:34.387 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 11:14:23 +0000 (0:00:00.034) 0:01:34.422 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 11:14:23 +0000 (0:00:00.036) 0:01:34.458 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 11:14:23 +0000 (0:00:00.036) 0:01:34.495 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 11:14:23 +0000 (0:00:00.040) 0:01:34.535 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 11:14:23 +0000 (0:00:00.037) 0:01:34.572 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 11:14:23 +0000 (0:00:00.039) 0:01:34.612 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 11:14:23 +0000 (0:00:00.037) 0:01:34.649 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 11:14:23 +0000 (0:00:00.046) 0:01:34.695 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 11:14:23 +0000 (0:00:00.031) 0:01:34.727 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 11:14:23 +0000 (0:00:00.025) 0:01:34.752 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 11:14:23 +0000 (0:00:00.023) 0:01:34.776 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 11:14:23 +0000 (0:00:00.024) 0:01:34.800 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 11:14:23 +0000 (0:00:00.027) 0:01:34.828 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 11:14:23 +0000 (0:00:00.036) 0:01:34.864 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 11:14:23 +0000 (0:00:00.032) 0:01:34.897 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 11:14:23 +0000 (0:00:00.025) 0:01:34.922 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 11:14:23 +0000 (0:00:00.035) 0:01:34.958 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": false, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 11:14:24 +0000 (0:00:00.053) 0:01:35.012 ********* included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml for /cache/rhel-9.qcow2.snap => (item=mount) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml for /cache/rhel-9.qcow2.snap => (item=fstab) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fs.yml for /cache/rhel-9.qcow2.snap => (item=fs) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml for /cache/rhel-9.qcow2.snap => (item=device) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml for /cache/rhel-9.qcow2.snap => (item=encryption) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml for /cache/rhel-9.qcow2.snap => (item=md) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml for /cache/rhel-9.qcow2.snap => (item=size) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml for /cache/rhel-9.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 11:14:24 +0000 (0:00:00.083) 0:01:35.095 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv3" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 11:14:24 +0000 (0:00:00.045) 0:01:35.141 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 11:14:24 +0000 (0:00:00.061) 0:01:35.203 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 11:14:24 +0000 (0:00:00.026) 0:01:35.229 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 11:14:24 +0000 (0:00:00.091) 0:01:35.320 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 11:14:24 +0000 (0:00:00.084) 0:01:35.405 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 11:14:24 +0000 (0:00:00.024) 0:01:35.430 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 11:14:24 +0000 (0:00:00.023) 0:01:35.454 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 11:14:24 +0000 (0:00:00.024) 0:01:35.478 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 11:14:24 +0000 (0:00:00.036) 0:01:35.515 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "0", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 11:14:24 +0000 (0:00:00.061) 0:01:35.576 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 11:14:24 +0000 (0:00:00.026) 0:01:35.603 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 11:14:24 +0000 (0:00:00.057) 0:01:35.660 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 11:14:24 +0000 (0:00:00.038) 0:01:35.698 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 11:14:24 +0000 (0:00:00.036) 0:01:35.734 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 11:14:24 +0000 (0:00:00.025) 0:01:35.760 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 11:14:24 +0000 (0:00:00.026) 0:01:35.786 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 11:14:25 +0000 (0:00:00.371) 0:01:36.158 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 11:14:25 +0000 (0:00:00.040) 0:01:36.199 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 11:14:25 +0000 (0:00:00.025) 0:01:36.225 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 11:14:25 +0000 (0:00:00.037) 0:01:36.263 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 11:14:25 +0000 (0:00:00.025) 0:01:36.288 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 11:14:25 +0000 (0:00:00.025) 0:01:36.314 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 11:14:25 +0000 (0:00:00.026) 0:01:36.340 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 11:14:26 +0000 (0:00:00.851) 0:01:37.191 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 11:14:26 +0000 (0:00:00.027) 0:01:37.218 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 11:14:26 +0000 (0:00:00.025) 0:01:37.244 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 11:14:26 +0000 (0:00:00.025) 0:01:37.270 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 11:14:26 +0000 (0:00:00.024) 0:01:37.295 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 11:14:26 +0000 (0:00:00.027) 0:01:37.322 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 11:14:26 +0000 (0:00:00.025) 0:01:37.348 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 11:14:26 +0000 (0:00:00.026) 0:01:37.374 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 11:14:26 +0000 (0:00:00.025) 0:01:37.400 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 11:14:26 +0000 (0:00:00.052) 0:01:37.452 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 11:14:26 +0000 (0:00:00.093) 0:01:37.546 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 11:14:26 +0000 (0:00:00.038) 0:01:37.585 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 11:14:26 +0000 (0:00:00.040) 0:01:37.625 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 11:14:26 +0000 (0:00:00.038) 0:01:37.664 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 11:14:26 +0000 (0:00:00.074) 0:01:37.739 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 11:14:26 +0000 (0:00:00.074) 0:01:37.814 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 11:14:26 +0000 (0:00:00.042) 0:01:37.856 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 11:14:26 +0000 (0:00:00.039) 0:01:37.896 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 11:14:26 +0000 (0:00:00.039) 0:01:37.935 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 11:14:27 +0000 (0:00:00.038) 0:01:37.974 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 11:14:27 +0000 (0:00:00.035) 0:01:38.010 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 11:14:27 +0000 (0:00:00.035) 0:01:38.046 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 11:14:27 +0000 (0:00:00.023) 0:01:38.070 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 11:14:27 +0000 (0:00:00.035) 0:01:38.105 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 11:14:27 +0000 (0:00:00.034) 0:01:38.140 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 11:14:27 +0000 (0:00:00.035) 0:01:38.175 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 11:14:27 +0000 (0:00:00.042) 0:01:38.218 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 11:14:27 +0000 (0:00:00.048) 0:01:38.266 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 11:14:27 +0000 (0:00:00.040) 0:01:38.306 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 11:14:27 +0000 (0:00:00.040) 0:01:38.347 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 11:14:27 +0000 (0:00:00.041) 0:01:38.389 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 11:14:27 +0000 (0:00:00.044) 0:01:38.433 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 11:14:27 +0000 (0:00:00.039) 0:01:38.472 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 11:14:27 +0000 (0:00:00.028) 0:01:38.501 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 11:14:27 +0000 (0:00:00.026) 0:01:38.527 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 11:14:27 +0000 (0:00:00.028) 0:01:38.556 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 11:14:27 +0000 (0:00:00.026) 0:01:38.582 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 11:14:27 +0000 (0:00:00.027) 0:01:38.609 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 11:14:27 +0000 (0:00:00.026) 0:01:38.636 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 11:14:27 +0000 (0:00:00.026) 0:01:38.663 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 11:14:27 +0000 (0:00:00.023) 0:01:38.687 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 11:14:27 +0000 (0:00:00.038) 0:01:38.725 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 11:14:27 +0000 (0:00:00.023) 0:01:38.749 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Create a RAID1 lvm raid device] ****************************************** task path: /tmp/tmpfc26zqih/tests/storage/tests_create_raid_pool_then_remove.yml:100 Thursday 21 July 2022 11:14:27 +0000 (0:00:00.041) 0:01:38.791 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 11:14:27 +0000 (0:00:00.066) 0:01:38.857 ********* included: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-9.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 11:14:27 +0000 (0:00:00.036) 0:01:38.894 ********* ok: [/cache/rhel-9.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 11:14:28 +0000 (0:00:00.520) 0:01:39.414 ********* skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.yml" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.0.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.0.yml", "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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 11:14:28 +0000 (0:00:00.104) 0:01:39.518 ********* ok: [/cache/rhel-9.qcow2.snap] => { "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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 11:14:28 +0000 (0:00:00.106) 0:01:39.625 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 11:14:28 +0000 (0:00:00.034) 0:01:39.659 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-9.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 11:14:28 +0000 (0:00:00.058) 0:01:39.718 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 11:14:28 +0000 (0:00:00.021) 0:01:39.739 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 11:14:28 +0000 (0:00:00.027) 0:01:39.767 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda", "sdb" ], "name": "vg1", "state": "present", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "lv1", "raid_disks": [ "sda", "sdb" ], "raid_level": "raid1", "size": "2g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 11:14:28 +0000 (0:00:00.039) 0:01:39.807 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 11:14:28 +0000 (0:00:00.037) 0:01:39.844 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 11:14:28 +0000 (0:00:00.027) 0:01:39.871 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 11:14:28 +0000 (0:00:00.026) 0:01:39.898 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 11:14:28 +0000 (0:00:00.027) 0:01:39.925 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 11:14:28 +0000 (0:00:00.031) 0:01:39.957 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 11:14:29 +0000 (0:00:00.055) 0:01:40.013 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 11:14:29 +0000 (0:00:00.021) 0:01:40.034 ********* changed: [/cache/rhel-9.qcow2.snap] => { "actions": [ { "action": "create format", "device": "/dev/sdb", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sdb1", "fs_type": null }, { "action": "create format", "device": "/dev/sdb1", "fs_type": "lvmpv" }, { "action": "create format", "device": "/dev/sda", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sda1", "fs_type": null }, { "action": "create format", "device": "/dev/sda1", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/vg1", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/mapper/vg1-lv1" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" } ], "packages": [ "e2fsprogs", "dosfstools", "xfsprogs", "lvm2" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-4", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-4", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 11:14:32 +0000 (0:00:03.324) 0:01:43.359 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 11:14:32 +0000 (0:00:00.038) 0:01:43.397 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 11:14:32 +0000 (0:00:00.024) 0:01:43.422 ********* ok: [/cache/rhel-9.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sdb", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sdb1", "fs_type": null }, { "action": "create format", "device": "/dev/sdb1", "fs_type": "lvmpv" }, { "action": "create format", "device": "/dev/sda", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sda1", "fs_type": null }, { "action": "create format", "device": "/dev/sda1", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/vg1", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/mapper/vg1-lv1" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" } ], "packages": [ "e2fsprogs", "dosfstools", "xfsprogs", "lvm2" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-4", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-4", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 11:14:32 +0000 (0:00:00.041) 0:01:43.463 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-4", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-4", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 11:14:32 +0000 (0:00:00.043) 0:01:43.506 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 11:14:32 +0000 (0:00:00.038) 0:01:43.544 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 11:14:32 +0000 (0:00:00.037) 0:01:43.582 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 11:14:33 +0000 (0:00:00.697) 0:01:44.279 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-9.qcow2.snap] => (item={'src': '/dev/mapper/vg1-lv1', 'path': '/opt/test1', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 11:14:33 +0000 (0:00:00.421) 0:01:44.700 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 11:14:34 +0000 (0:00:00.696) 0:01:45.396 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 11:14:34 +0000 (0:00:00.360) 0:01:45.756 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 11:14:34 +0000 (0:00:00.024) 0:01:45.781 ********* ok: [/cache/rhel-9.qcow2.snap] META: role_complete for /cache/rhel-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/tests_create_raid_pool_then_remove.yml:116 Thursday 21 July 2022 11:14:35 +0000 (0:00:01.075) 0:01:46.856 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml for /cache/rhel-9.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 11:14:35 +0000 (0:00:00.050) 0:01:46.906 ********* ok: [/cache/rhel-9.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-4", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-4", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 11:14:35 +0000 (0:00:00.049) 0:01:46.955 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 11:14:36 +0000 (0:00:00.035) 0:01:46.990 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/vg1-lv1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv1", "size": "2G", "type": "lvm", "uuid": "fa114b38-73c8-4fb1-b897-58ce6027ccce" }, "/dev/mapper/vg1-lv1_rimage_0": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rimage_0", "size": "2G", "type": "lvm", "uuid": "" }, "/dev/mapper/vg1-lv1_rimage_1": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rimage_1", "size": "2G", "type": "lvm", "uuid": "" }, "/dev/mapper/vg1-lv1_rmeta_0": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rmeta_0", "size": "4M", "type": "lvm", "uuid": "" }, "/dev/mapper/vg1-lv1_rmeta_1": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rmeta_1", "size": "4M", "type": "lvm", "uuid": "" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda1": { "fstype": "LVM2_member", "label": "", "name": "/dev/sda1", "size": "10G", "type": "partition", "uuid": "kh2p8e-ffM1-9C0l-Ru1H-641f-b0yn-0UvUHT" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb1": { "fstype": "LVM2_member", "label": "", "name": "/dev/sdb1", "size": "10G", "type": "partition", "uuid": "OdXvkT-MHfU-DgIu-DjyP-ZOIo-lWzk-xA04Tt" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-11-12-36-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "vfat", "label": "", "name": "/dev/vda2", "size": "200M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "boot", "name": "/dev/vda3", "size": "500M", "type": "partition", "uuid": "6e74e171-0370-451f-8340-f16ad2839183" }, "/dev/vda4": { "fstype": "xfs", "label": "root", "name": "/dev/vda4", "size": "9.3G", "type": "partition", "uuid": "1bb53e4d-984c-4316-908a-59b5a62fa30e" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "12be66f7-7f03-4d54-9a48-a520825d8fa9" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "9bd037ed-b1bb-4b9c-a008-9f07d34ab071" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 11:14:36 +0000 (0:00:00.378) 0:01:47.369 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002410", "end": "2022-07-21 07:14:36.547345", "rc": 0, "start": "2022-07-21 07:14:36.544935" } STDOUT: UUID=6e74e171-0370-451f-8340-f16ad2839183 /boot xfs defaults 0 0 UUID=1bb53e4d-984c-4316-908a-59b5a62fa30e / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/vdb1 /var/cache/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 /dev/mapper/vg1-lv1 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 11:14:36 +0000 (0:00:00.349) 0:01:47.718 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002538", "end": "2022-07-21 07:14:36.903031", "failed_when_result": false, "rc": 1, "start": "2022-07-21 07:14:36.900493" } STDERR: cat: /etc/crypttab: No such file or directory MSG: non-zero return code TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 11:14:37 +0000 (0:00:00.356) 0:01:48.074 ********* included: /tmp/tmpfc26zqih/tests/storage/test-verify-pool.yml for /cache/rhel-9.qcow2.snap => (item={'disks': ['sda', 'sdb'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'vg1', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': 'raid1', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-4', '_raw_kernel_device': '/dev/dm-4'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 11:14:37 +0000 (0:00:00.063) 0:01:48.138 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 11:14:37 +0000 (0:00:00.036) 0:01:48.175 ********* included: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml for /cache/rhel-9.qcow2.snap => (item=members) included: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-volumes.yml for /cache/rhel-9.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 11:14:37 +0000 (0:00:00.048) 0:01:48.223 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "2", "_storage_test_pool_pvs_lvm": [ "/dev/sda1", "/dev/sdb1" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 11:14:37 +0000 (0:00:00.054) 0:01:48.278 ********* ok: [/cache/rhel-9.qcow2.snap] => (item=/dev/sda1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda1", "pv": "/dev/sda1" } ok: [/cache/rhel-9.qcow2.snap] => (item=/dev/sdb1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sdb1", "pv": "/dev/sdb1" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 11:14:38 +0000 (0:00:00.729) 0:01:49.007 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "2" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 11:14:38 +0000 (0:00:00.083) 0:01:49.091 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda1", "/dev/sdb1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 11:14:38 +0000 (0:00:00.083) 0:01:49.174 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 11:14:38 +0000 (0:00:00.049) 0:01:49.224 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 11:14:38 +0000 (0:00:00.069) 0:01:49.293 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "partition" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 11:14:38 +0000 (0:00:00.124) 0:01:49.418 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 11:14:38 +0000 (0:00:00.027) 0:01:49.445 ********* ok: [/cache/rhel-9.qcow2.snap] => (item=/dev/sda1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda1" } MSG: All assertions passed ok: [/cache/rhel-9.qcow2.snap] => (item=/dev/sdb1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sdb1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 11:14:38 +0000 (0:00:00.060) 0:01:49.506 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml for /cache/rhel-9.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 11:14:38 +0000 (0:00:00.048) 0:01:49.555 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 11:14:38 +0000 (0:00:00.027) 0:01:49.583 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 11:14:38 +0000 (0:00:00.027) 0:01:49.611 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 11:14:38 +0000 (0:00:00.027) 0:01:49.639 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 11:14:38 +0000 (0:00:00.026) 0:01:49.665 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 11:14:38 +0000 (0:00:00.028) 0:01:49.693 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 11:14:38 +0000 (0:00:00.028) 0:01:49.722 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 11:14:38 +0000 (0:00:00.025) 0:01:49.748 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 11:14:38 +0000 (0:00:00.032) 0:01:49.781 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-lvmraid.yml for /cache/rhel-9.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 11:14:38 +0000 (0:00:00.055) 0:01:49.836 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-lvmraid.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': 'raid1', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-4', '_raw_kernel_device': '/dev/dm-4'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 11:14:38 +0000 (0:00:00.048) 0:01:49.885 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheading", "-o", "lv_name", "--select", "lv_name=lv1&&lv_layout=raid1", "vg1" ], "delta": "0:00:00.034079", "end": "2022-07-21 07:14:39.136880", "rc": 0, "start": "2022-07-21 07:14:39.102801" } STDOUT: lv1 TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 11:14:39 +0000 (0:00:00.420) 0:01:50.306 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 11:14:39 +0000 (0:00:00.055) 0:01:50.361 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_lvmraid_status": null }, "changed": false } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 11:14:39 +0000 (0:00:00.048) 0:01:50.409 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-thin.yml for /cache/rhel-9.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 11:14:39 +0000 (0:00:00.048) 0:01:50.458 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': 'raid1', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-4', '_raw_kernel_device': '/dev/dm-4'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 11:14:39 +0000 (0:00:00.044) 0:01:50.502 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 11:14:39 +0000 (0:00:00.026) 0:01:50.528 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 11:14:39 +0000 (0:00:00.026) 0:01:50.555 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 11:14:39 +0000 (0:00:00.026) 0:01:50.581 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 11:14:39 +0000 (0:00:00.025) 0:01:50.607 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-encryption.yml for /cache/rhel-9.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 11:14:39 +0000 (0:00:00.051) 0:01:50.658 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 11:14:39 +0000 (0:00:00.053) 0:01:50.712 ********* skipping: [/cache/rhel-9.qcow2.snap] => (item=/dev/sda1) => { "_storage_test_pool_member_path": "/dev/sda1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-9.qcow2.snap] => (item=/dev/sdb1) => { "_storage_test_pool_member_path": "/dev/sdb1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 11:14:39 +0000 (0:00:00.032) 0:01:50.744 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml for /cache/rhel-9.qcow2.snap => (item=/dev/sda1) included: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml for /cache/rhel-9.qcow2.snap => (item=/dev/sdb1) TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 11:14:39 +0000 (0:00:00.052) 0:01:50.796 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml:4 Thursday 21 July 2022 11:14:39 +0000 (0:00:00.140) 0:01:50.937 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml:9 Thursday 21 July 2022 11:14:40 +0000 (0:00:00.053) 0:01:50.990 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml:15 Thursday 21 July 2022 11:14:40 +0000 (0:00:00.039) 0:01:51.029 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml:21 Thursday 21 July 2022 11:14:40 +0000 (0:00:00.038) 0:01:51.068 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 11:14:40 +0000 (0:00:00.042) 0:01:51.110 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 11:14:40 +0000 (0:00:00.036) 0:01:51.147 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml:4 Thursday 21 July 2022 11:14:40 +0000 (0:00:00.052) 0:01:51.200 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml:9 Thursday 21 July 2022 11:14:40 +0000 (0:00:00.056) 0:01:51.256 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml:15 Thursday 21 July 2022 11:14:40 +0000 (0:00:00.038) 0:01:51.295 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml:21 Thursday 21 July 2022 11:14:40 +0000 (0:00:00.035) 0:01:51.331 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 11:14:40 +0000 (0:00:00.038) 0:01:51.369 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 11:14:40 +0000 (0:00:00.035) 0:01:51.404 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 11:14:40 +0000 (0:00:00.038) 0:01:51.443 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-vdo.yml for /cache/rhel-9.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 11:14:40 +0000 (0:00:00.053) 0:01:51.496 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': 'raid1', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-4', '_raw_kernel_device': '/dev/dm-4'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 11:14:40 +0000 (0:00:00.048) 0:01:51.544 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 11:14:40 +0000 (0:00:00.026) 0:01:51.571 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 11:14:40 +0000 (0:00:00.025) 0:01:51.597 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 11:14:40 +0000 (0:00:00.024) 0:01:51.621 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 11:14:40 +0000 (0:00:00.026) 0:01:51.648 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 11:14:40 +0000 (0:00:00.028) 0:01:51.677 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 11:14:40 +0000 (0:00:00.026) 0:01:51.703 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 11:14:40 +0000 (0:00:00.026) 0:01:51.730 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 11:14:40 +0000 (0:00:00.037) 0:01:51.767 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 11:14:40 +0000 (0:00:00.042) 0:01:51.810 ********* included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': 'raid1', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-4', '_raw_kernel_device': '/dev/dm-4'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 11:14:40 +0000 (0:00:00.045) 0:01:51.855 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 11:14:40 +0000 (0:00:00.054) 0:01:51.910 ********* included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml for /cache/rhel-9.qcow2.snap => (item=mount) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml for /cache/rhel-9.qcow2.snap => (item=fstab) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fs.yml for /cache/rhel-9.qcow2.snap => (item=fs) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml for /cache/rhel-9.qcow2.snap => (item=device) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml for /cache/rhel-9.qcow2.snap => (item=encryption) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml for /cache/rhel-9.qcow2.snap => (item=md) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml for /cache/rhel-9.qcow2.snap => (item=size) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml for /cache/rhel-9.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 11:14:41 +0000 (0:00:00.084) 0:01:51.995 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 11:14:41 +0000 (0:00:00.043) 0:01:52.039 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 508813, "block_size": 4096, "block_total": 520704, "block_used": 11891, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1046525, "inode_total": 1046528, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 2084098048, "size_total": 2132803584, "uuid": "fa114b38-73c8-4fb1-b897-58ce6027ccce" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 508813, "block_size": 4096, "block_total": 520704, "block_used": 11891, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1046525, "inode_total": 1046528, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 2084098048, "size_total": 2132803584, "uuid": "fa114b38-73c8-4fb1-b897-58ce6027ccce" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 11:14:41 +0000 (0:00:00.063) 0:01:52.102 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 11:14:41 +0000 (0:00:00.056) 0:01:52.159 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 11:14:41 +0000 (0:00:00.103) 0:01:52.263 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 11:14:41 +0000 (0:00:00.162) 0:01:52.425 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 11:14:41 +0000 (0:00:00.029) 0:01:52.455 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 11:14:41 +0000 (0:00:00.028) 0:01:52.483 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 11:14:41 +0000 (0:00:00.027) 0:01:52.511 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 11:14:41 +0000 (0:00:00.042) 0:01:52.554 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/vg1-lv1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 11:14:41 +0000 (0:00:00.065) 0:01:52.619 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 11:14:41 +0000 (0:00:00.053) 0:01:52.672 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 11:14:41 +0000 (0:00:00.052) 0:01:52.725 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 11:14:41 +0000 (0:00:00.035) 0:01:52.761 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 11:14:41 +0000 (0:00:00.035) 0:01:52.796 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 11:14:41 +0000 (0:00:00.038) 0:01:52.834 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 11:14:41 +0000 (0:00:00.042) 0:01:52.877 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1658402072.1232843, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658402072.1232843, "dev": 5, "device_type": 64772, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 1448, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658402072.1232843, "nlink": 1, "path": "/dev/mapper/vg1-lv1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 11:14:42 +0000 (0:00:00.365) 0:01:53.242 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 11:14:42 +0000 (0:00:00.041) 0:01:53.284 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 11:14:42 +0000 (0:00:00.042) 0:01:53.327 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 11:14:42 +0000 (0:00:00.039) 0:01:53.366 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 11:14:42 +0000 (0:00:00.027) 0:01:53.393 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 11:14:42 +0000 (0:00:00.045) 0:01:53.438 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 11:14:42 +0000 (0:00:00.026) 0:01:53.465 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 11:14:43 +0000 (0:00:00.840) 0:01:54.305 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 11:14:43 +0000 (0:00:00.025) 0:01:54.331 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 11:14:43 +0000 (0:00:00.024) 0:01:54.355 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 11:14:43 +0000 (0:00:00.057) 0:01:54.412 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 11:14:43 +0000 (0:00:00.024) 0:01:54.436 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 11:14:43 +0000 (0:00:00.023) 0:01:54.460 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 11:14:43 +0000 (0:00:00.023) 0:01:54.484 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 11:14:43 +0000 (0:00:00.025) 0:01:54.509 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 11:14:43 +0000 (0:00:00.026) 0:01:54.535 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 11:14:43 +0000 (0:00:00.085) 0:01:54.620 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 11:14:43 +0000 (0:00:00.113) 0:01:54.733 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 11:14:43 +0000 (0:00:00.038) 0:01:54.772 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 11:14:43 +0000 (0:00:00.038) 0:01:54.810 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 11:14:43 +0000 (0:00:00.040) 0:01:54.850 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 11:14:43 +0000 (0:00:00.036) 0:01:54.887 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 11:14:43 +0000 (0:00:00.037) 0:01:54.925 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 11:14:44 +0000 (0:00:00.037) 0:01:54.963 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 11:14:44 +0000 (0:00:00.040) 0:01:55.003 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 11:14:44 +0000 (0:00:00.037) 0:01:55.041 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 11:14:44 +0000 (0:00:00.044) 0:01:55.086 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 11:14:44 +0000 (0:00:00.048) 0:01:55.134 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 11:14:44 +0000 (0:00:00.043) 0:01:55.177 ********* ok: [/cache/rhel-9.qcow2.snap] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 11:14:44 +0000 (0:00:00.367) 0:01:55.544 ********* ok: [/cache/rhel-9.qcow2.snap] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 11:14:44 +0000 (0:00:00.374) 0:01:55.919 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "2147483648" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 11:14:45 +0000 (0:00:00.054) 0:01:55.974 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "2147483648" } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 11:14:45 +0000 (0:00:00.039) 0:01:56.013 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 11:14:45 +0000 (0:00:00.043) 0:01:56.057 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 11:14:45 +0000 (0:00:00.038) 0:01:56.095 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 11:14:45 +0000 (0:00:00.037) 0:01:56.133 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 11:14:45 +0000 (0:00:00.042) 0:01:56.175 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 11:14:45 +0000 (0:00:00.041) 0:01:56.217 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_actual_size": { "bytes": 2147483648, "changed": false, "failed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 11:14:45 +0000 (0:00:00.040) 0:01:56.258 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "2147483648" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 11:14:45 +0000 (0:00:00.041) 0:01:56.299 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 11:14:45 +0000 (0:00:00.053) 0:01:56.353 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "vg1/lv1" ], "delta": "0:00:00.034946", "end": "2022-07-21 07:14:45.587655", "rc": 0, "start": "2022-07-21 07:14:45.552709" } STDOUT: LVM2_LV_NAME=lv1 LVM2_LV_ATTR=rwi-aor--- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=raid1 TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 11:14:45 +0000 (0:00:00.410) 0:01:56.763 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "raid1" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 11:14:45 +0000 (0:00:00.054) 0:01:56.818 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 11:14:45 +0000 (0:00:00.096) 0:01:56.915 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 11:14:45 +0000 (0:00:00.043) 0:01:56.958 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 11:14:46 +0000 (0:00:00.039) 0:01:56.998 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 11:14:46 +0000 (0:00:00.038) 0:01:57.037 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 11:14:46 +0000 (0:00:00.046) 0:01:57.083 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 11:14:46 +0000 (0:00:00.037) 0:01:57.120 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 11:14:46 +0000 (0:00:00.023) 0:01:57.144 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Repeat the previous invocation to verify idempotence] ******************** task path: /tmp/tmpfc26zqih/tests/storage/tests_create_raid_pool_then_remove.yml:118 Thursday 21 July 2022 11:14:46 +0000 (0:00:00.133) 0:01:57.277 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 11:14:46 +0000 (0:00:00.068) 0:01:57.345 ********* included: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-9.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 11:14:46 +0000 (0:00:00.038) 0:01:57.384 ********* ok: [/cache/rhel-9.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 11:14:46 +0000 (0:00:00.521) 0:01:57.905 ********* skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.yml" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.0.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.0.yml", "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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 11:14:47 +0000 (0:00:00.069) 0:01:57.975 ********* ok: [/cache/rhel-9.qcow2.snap] => { "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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 11:14:47 +0000 (0:00:00.037) 0:01:58.013 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 11:14:47 +0000 (0:00:00.037) 0:01:58.050 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-9.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 11:14:47 +0000 (0:00:00.060) 0:01:58.110 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 11:14:47 +0000 (0:00:00.023) 0:01:58.134 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 11:14:47 +0000 (0:00:00.030) 0:01:58.164 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda", "sdb" ], "name": "vg1", "state": "present", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "lv1", "raid_disks": [ "sda", "sdb" ], "raid_level": "raid1", "size": "2g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 11:14:47 +0000 (0:00:00.045) 0:01:58.210 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 11:14:47 +0000 (0:00:00.044) 0:01:58.255 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 11:14:47 +0000 (0:00:00.032) 0:01:58.287 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 11:14:47 +0000 (0:00:00.032) 0:01:58.319 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 11:14:47 +0000 (0:00:00.029) 0:01:58.348 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 11:14:47 +0000 (0:00:00.032) 0:01:58.381 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 11:14:47 +0000 (0:00:00.065) 0:01:58.447 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 11:14:47 +0000 (0:00:00.031) 0:01:58.478 ********* changed: [/cache/rhel-9.qcow2.snap] => { "actions": [ { "action": "resize device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "resize format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/mapper/vg1-lv1", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" } ], "packages": [ "e2fsprogs", "xfsprogs", "dosfstools", "lvm2" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-4", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-4", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 11:14:50 +0000 (0:00:03.061) 0:02:01.539 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 11:14:50 +0000 (0:00:00.114) 0:02:01.654 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 11:14:50 +0000 (0:00:00.025) 0:02:01.679 ********* ok: [/cache/rhel-9.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "resize device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "resize format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/mapper/vg1-lv1", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" } ], "packages": [ "e2fsprogs", "xfsprogs", "dosfstools", "lvm2" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-4", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-4", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 11:14:50 +0000 (0:00:00.044) 0:02:01.724 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-4", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-4", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 11:14:50 +0000 (0:00:00.044) 0:02:01.769 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 11:14:50 +0000 (0:00:00.040) 0:02:01.809 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 11:14:50 +0000 (0:00:00.040) 0:02:01.849 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 11:14:51 +0000 (0:00:00.691) 0:02:02.541 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-9.qcow2.snap] => (item={'src': '/dev/mapper/vg1-lv1', 'path': '/opt/test1', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 11:14:51 +0000 (0:00:00.414) 0:02:02.956 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 11:14:52 +0000 (0:00:00.664) 0:02:03.620 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 11:14:53 +0000 (0:00:00.344) 0:02:03.964 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 11:14:53 +0000 (0:00:00.026) 0:02:03.991 ********* ok: [/cache/rhel-9.qcow2.snap] META: role_complete for /cache/rhel-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/tests_create_raid_pool_then_remove.yml:134 Thursday 21 July 2022 11:14:54 +0000 (0:00:00.991) 0:02:04.982 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml for /cache/rhel-9.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 11:14:54 +0000 (0:00:00.058) 0:02:05.041 ********* ok: [/cache/rhel-9.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-4", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-4", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 11:14:54 +0000 (0:00:00.086) 0:02:05.128 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 11:14:54 +0000 (0:00:00.043) 0:02:05.171 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/vg1-lv1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv1", "size": "2G", "type": "lvm", "uuid": "fa114b38-73c8-4fb1-b897-58ce6027ccce" }, "/dev/mapper/vg1-lv1_rimage_0": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rimage_0", "size": "2G", "type": "lvm", "uuid": "" }, "/dev/mapper/vg1-lv1_rimage_1": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rimage_1", "size": "2G", "type": "lvm", "uuid": "" }, "/dev/mapper/vg1-lv1_rmeta_0": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rmeta_0", "size": "4M", "type": "lvm", "uuid": "" }, "/dev/mapper/vg1-lv1_rmeta_1": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rmeta_1", "size": "4M", "type": "lvm", "uuid": "" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda1": { "fstype": "LVM2_member", "label": "", "name": "/dev/sda1", "size": "10G", "type": "partition", "uuid": "kh2p8e-ffM1-9C0l-Ru1H-641f-b0yn-0UvUHT" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb1": { "fstype": "LVM2_member", "label": "", "name": "/dev/sdb1", "size": "10G", "type": "partition", "uuid": "OdXvkT-MHfU-DgIu-DjyP-ZOIo-lWzk-xA04Tt" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-11-12-36-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "vfat", "label": "", "name": "/dev/vda2", "size": "200M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "boot", "name": "/dev/vda3", "size": "500M", "type": "partition", "uuid": "6e74e171-0370-451f-8340-f16ad2839183" }, "/dev/vda4": { "fstype": "xfs", "label": "root", "name": "/dev/vda4", "size": "9.3G", "type": "partition", "uuid": "1bb53e4d-984c-4316-908a-59b5a62fa30e" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "12be66f7-7f03-4d54-9a48-a520825d8fa9" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "9bd037ed-b1bb-4b9c-a008-9f07d34ab071" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 11:14:54 +0000 (0:00:00.388) 0:02:05.559 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002457", "end": "2022-07-21 07:14:54.786892", "rc": 0, "start": "2022-07-21 07:14:54.784435" } STDOUT: UUID=6e74e171-0370-451f-8340-f16ad2839183 /boot xfs defaults 0 0 UUID=1bb53e4d-984c-4316-908a-59b5a62fa30e / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/vdb1 /var/cache/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 /dev/mapper/vg1-lv1 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 11:14:54 +0000 (0:00:00.401) 0:02:05.960 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:01.005146", "end": "2022-07-21 07:14:56.150654", "failed_when_result": false, "rc": 1, "start": "2022-07-21 07:14:55.145508" } STDERR: cat: /etc/crypttab: No such file or directory MSG: non-zero return code TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 11:14:56 +0000 (0:00:01.364) 0:02:07.325 ********* included: /tmp/tmpfc26zqih/tests/storage/test-verify-pool.yml for /cache/rhel-9.qcow2.snap => (item={'disks': ['sda', 'sdb'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'vg1', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': 'raid1', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-4', '_raw_kernel_device': '/dev/dm-4'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 11:14:56 +0000 (0:00:00.060) 0:02:07.386 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 11:14:56 +0000 (0:00:00.035) 0:02:07.422 ********* included: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml for /cache/rhel-9.qcow2.snap => (item=members) included: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-volumes.yml for /cache/rhel-9.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 11:14:56 +0000 (0:00:00.049) 0:02:07.471 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "2", "_storage_test_pool_pvs_lvm": [ "/dev/sda1", "/dev/sdb1" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 11:14:56 +0000 (0:00:00.059) 0:02:07.530 ********* ok: [/cache/rhel-9.qcow2.snap] => (item=/dev/sda1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda1", "pv": "/dev/sda1" } ok: [/cache/rhel-9.qcow2.snap] => (item=/dev/sdb1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sdb1", "pv": "/dev/sdb1" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 11:14:57 +0000 (0:00:00.699) 0:02:08.230 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "2" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 11:14:57 +0000 (0:00:00.050) 0:02:08.280 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda1", "/dev/sdb1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 11:14:57 +0000 (0:00:00.057) 0:02:08.337 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 11:14:57 +0000 (0:00:00.052) 0:02:08.390 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 11:14:57 +0000 (0:00:00.039) 0:02:08.430 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "partition" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 11:14:57 +0000 (0:00:00.049) 0:02:08.479 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 11:14:57 +0000 (0:00:00.023) 0:02:08.503 ********* ok: [/cache/rhel-9.qcow2.snap] => (item=/dev/sda1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda1" } MSG: All assertions passed ok: [/cache/rhel-9.qcow2.snap] => (item=/dev/sdb1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sdb1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 11:14:57 +0000 (0:00:00.061) 0:02:08.565 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml for /cache/rhel-9.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 11:14:57 +0000 (0:00:00.045) 0:02:08.611 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 11:14:57 +0000 (0:00:00.024) 0:02:08.635 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 11:14:57 +0000 (0:00:00.026) 0:02:08.662 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 11:14:57 +0000 (0:00:00.025) 0:02:08.688 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 11:14:57 +0000 (0:00:00.027) 0:02:08.716 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 11:14:57 +0000 (0:00:00.027) 0:02:08.743 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 11:14:57 +0000 (0:00:00.026) 0:02:08.769 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 11:14:57 +0000 (0:00:00.027) 0:02:08.797 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 11:14:57 +0000 (0:00:00.036) 0:02:08.834 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-lvmraid.yml for /cache/rhel-9.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 11:14:57 +0000 (0:00:00.048) 0:02:08.882 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-lvmraid.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': 'raid1', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-4', '_raw_kernel_device': '/dev/dm-4'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 11:14:58 +0000 (0:00:00.092) 0:02:08.975 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheading", "-o", "lv_name", "--select", "lv_name=lv1&&lv_layout=raid1", "vg1" ], "delta": "0:00:00.038657", "end": "2022-07-21 07:14:58.214691", "rc": 0, "start": "2022-07-21 07:14:58.176034" } STDOUT: lv1 TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 11:14:58 +0000 (0:00:00.413) 0:02:09.389 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 11:14:58 +0000 (0:00:00.059) 0:02:09.449 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_lvmraid_status": null }, "changed": false } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 11:14:58 +0000 (0:00:00.044) 0:02:09.493 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-thin.yml for /cache/rhel-9.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 11:14:58 +0000 (0:00:00.046) 0:02:09.540 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': 'raid1', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-4', '_raw_kernel_device': '/dev/dm-4'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 11:14:58 +0000 (0:00:00.043) 0:02:09.583 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 11:14:58 +0000 (0:00:00.023) 0:02:09.607 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 11:14:58 +0000 (0:00:00.025) 0:02:09.632 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 11:14:58 +0000 (0:00:00.023) 0:02:09.655 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 11:14:58 +0000 (0:00:00.022) 0:02:09.678 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-encryption.yml for /cache/rhel-9.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 11:14:58 +0000 (0:00:00.047) 0:02:09.726 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 11:14:58 +0000 (0:00:00.053) 0:02:09.779 ********* skipping: [/cache/rhel-9.qcow2.snap] => (item=/dev/sda1) => { "_storage_test_pool_member_path": "/dev/sda1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-9.qcow2.snap] => (item=/dev/sdb1) => { "_storage_test_pool_member_path": "/dev/sdb1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 11:14:58 +0000 (0:00:00.033) 0:02:09.812 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml for /cache/rhel-9.qcow2.snap => (item=/dev/sda1) included: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml for /cache/rhel-9.qcow2.snap => (item=/dev/sdb1) TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 11:14:58 +0000 (0:00:00.052) 0:02:09.864 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml:4 Thursday 21 July 2022 11:14:58 +0000 (0:00:00.048) 0:02:09.912 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml:9 Thursday 21 July 2022 11:14:59 +0000 (0:00:00.050) 0:02:09.963 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml:15 Thursday 21 July 2022 11:14:59 +0000 (0:00:00.038) 0:02:10.002 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml:21 Thursday 21 July 2022 11:14:59 +0000 (0:00:00.037) 0:02:10.040 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 11:14:59 +0000 (0:00:00.040) 0:02:10.080 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 11:14:59 +0000 (0:00:00.037) 0:02:10.118 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml:4 Thursday 21 July 2022 11:14:59 +0000 (0:00:00.053) 0:02:10.171 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml:9 Thursday 21 July 2022 11:14:59 +0000 (0:00:00.052) 0:02:10.223 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml:15 Thursday 21 July 2022 11:14:59 +0000 (0:00:00.039) 0:02:10.262 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml:21 Thursday 21 July 2022 11:14:59 +0000 (0:00:00.038) 0:02:10.300 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 11:14:59 +0000 (0:00:00.039) 0:02:10.340 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 11:14:59 +0000 (0:00:00.036) 0:02:10.376 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 11:14:59 +0000 (0:00:00.073) 0:02:10.449 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-vdo.yml for /cache/rhel-9.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 11:14:59 +0000 (0:00:00.115) 0:02:10.565 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': 'raid1', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-4', '_raw_kernel_device': '/dev/dm-4'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 11:14:59 +0000 (0:00:00.047) 0:02:10.613 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 11:14:59 +0000 (0:00:00.025) 0:02:10.639 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 11:14:59 +0000 (0:00:00.025) 0:02:10.664 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 11:14:59 +0000 (0:00:00.026) 0:02:10.691 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 11:14:59 +0000 (0:00:00.026) 0:02:10.717 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 11:14:59 +0000 (0:00:00.027) 0:02:10.745 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 11:14:59 +0000 (0:00:00.025) 0:02:10.770 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 11:14:59 +0000 (0:00:00.025) 0:02:10.796 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 11:14:59 +0000 (0:00:00.038) 0:02:10.835 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 11:14:59 +0000 (0:00:00.042) 0:02:10.877 ********* included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': 'raid1', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-4', '_raw_kernel_device': '/dev/dm-4'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 11:14:59 +0000 (0:00:00.048) 0:02:10.925 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 11:15:00 +0000 (0:00:00.054) 0:02:10.980 ********* included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml for /cache/rhel-9.qcow2.snap => (item=mount) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml for /cache/rhel-9.qcow2.snap => (item=fstab) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fs.yml for /cache/rhel-9.qcow2.snap => (item=fs) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml for /cache/rhel-9.qcow2.snap => (item=device) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml for /cache/rhel-9.qcow2.snap => (item=encryption) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml for /cache/rhel-9.qcow2.snap => (item=md) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml for /cache/rhel-9.qcow2.snap => (item=size) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml for /cache/rhel-9.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 11:15:00 +0000 (0:00:00.079) 0:02:11.059 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 11:15:00 +0000 (0:00:00.043) 0:02:11.102 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 509814, "block_size": 4096, "block_total": 521728, "block_used": 11914, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1048573, "inode_total": 1048576, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 2088198144, "size_total": 2136997888, "uuid": "fa114b38-73c8-4fb1-b897-58ce6027ccce" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 509814, "block_size": 4096, "block_total": 521728, "block_used": 11914, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1048573, "inode_total": 1048576, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 2088198144, "size_total": 2136997888, "uuid": "fa114b38-73c8-4fb1-b897-58ce6027ccce" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 11:15:00 +0000 (0:00:00.058) 0:02:11.161 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 11:15:00 +0000 (0:00:00.051) 0:02:11.213 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 11:15:00 +0000 (0:00:00.050) 0:02:11.263 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 11:15:00 +0000 (0:00:00.052) 0:02:11.316 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 11:15:00 +0000 (0:00:00.026) 0:02:11.343 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 11:15:00 +0000 (0:00:00.025) 0:02:11.368 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 11:15:00 +0000 (0:00:00.027) 0:02:11.396 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 11:15:00 +0000 (0:00:00.036) 0:02:11.433 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/vg1-lv1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 11:15:00 +0000 (0:00:00.060) 0:02:11.493 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 11:15:00 +0000 (0:00:00.048) 0:02:11.541 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 11:15:00 +0000 (0:00:00.050) 0:02:11.592 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 11:15:00 +0000 (0:00:00.039) 0:02:11.632 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 11:15:00 +0000 (0:00:00.033) 0:02:11.666 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 11:15:00 +0000 (0:00:00.039) 0:02:11.706 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 11:15:00 +0000 (0:00:00.041) 0:02:11.747 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1658402090.3172843, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658402090.3172843, "dev": 5, "device_type": 64772, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 1448, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658402090.3172843, "nlink": 1, "path": "/dev/mapper/vg1-lv1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 11:15:01 +0000 (0:00:00.357) 0:02:12.105 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 11:15:01 +0000 (0:00:00.082) 0:02:12.188 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 11:15:01 +0000 (0:00:00.104) 0:02:12.292 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 11:15:01 +0000 (0:00:00.039) 0:02:12.332 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 11:15:01 +0000 (0:00:00.024) 0:02:12.356 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 11:15:01 +0000 (0:00:00.039) 0:02:12.395 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 11:15:01 +0000 (0:00:00.022) 0:02:12.418 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 11:15:02 +0000 (0:00:00.839) 0:02:13.257 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 11:15:02 +0000 (0:00:00.024) 0:02:13.282 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 11:15:02 +0000 (0:00:00.024) 0:02:13.306 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 11:15:02 +0000 (0:00:00.052) 0:02:13.359 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 11:15:02 +0000 (0:00:00.024) 0:02:13.383 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 11:15:02 +0000 (0:00:00.025) 0:02:13.408 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 11:15:02 +0000 (0:00:00.030) 0:02:13.439 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 11:15:02 +0000 (0:00:00.034) 0:02:13.473 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 11:15:02 +0000 (0:00:00.026) 0:02:13.499 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 11:15:02 +0000 (0:00:00.053) 0:02:13.553 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 11:15:02 +0000 (0:00:00.051) 0:02:13.605 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 11:15:02 +0000 (0:00:00.037) 0:02:13.642 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 11:15:02 +0000 (0:00:00.036) 0:02:13.679 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 11:15:02 +0000 (0:00:00.036) 0:02:13.715 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 11:15:02 +0000 (0:00:00.036) 0:02:13.751 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 11:15:02 +0000 (0:00:00.035) 0:02:13.787 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 11:15:02 +0000 (0:00:00.035) 0:02:13.823 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 11:15:02 +0000 (0:00:00.035) 0:02:13.859 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 11:15:02 +0000 (0:00:00.040) 0:02:13.900 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 11:15:02 +0000 (0:00:00.036) 0:02:13.936 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 11:15:03 +0000 (0:00:00.036) 0:02:13.972 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 11:15:03 +0000 (0:00:00.037) 0:02:14.010 ********* ok: [/cache/rhel-9.qcow2.snap] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 11:15:03 +0000 (0:00:00.364) 0:02:14.374 ********* ok: [/cache/rhel-9.qcow2.snap] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 11:15:03 +0000 (0:00:00.418) 0:02:14.793 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "2147483648" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 11:15:03 +0000 (0:00:00.055) 0:02:14.849 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "2147483648" } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 11:15:03 +0000 (0:00:00.041) 0:02:14.890 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 11:15:03 +0000 (0:00:00.040) 0:02:14.931 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 11:15:04 +0000 (0:00:00.040) 0:02:14.971 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 11:15:04 +0000 (0:00:00.036) 0:02:15.008 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 11:15:04 +0000 (0:00:00.038) 0:02:15.047 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 11:15:04 +0000 (0:00:00.042) 0:02:15.089 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_actual_size": { "bytes": 2147483648, "changed": false, "failed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 11:15:04 +0000 (0:00:00.095) 0:02:15.184 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "2147483648" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 11:15:04 +0000 (0:00:00.037) 0:02:15.222 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 11:15:04 +0000 (0:00:00.054) 0:02:15.277 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "vg1/lv1" ], "delta": "0:00:00.032519", "end": "2022-07-21 07:15:04.510517", "rc": 0, "start": "2022-07-21 07:15:04.477998" } STDOUT: LVM2_LV_NAME=lv1 LVM2_LV_ATTR=rwi-aor--- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=raid1 TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 11:15:04 +0000 (0:00:00.404) 0:02:15.682 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "raid1" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 11:15:04 +0000 (0:00:00.055) 0:02:15.737 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 11:15:04 +0000 (0:00:00.056) 0:02:15.793 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 11:15:04 +0000 (0:00:00.041) 0:02:15.835 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 11:15:04 +0000 (0:00:00.039) 0:02:15.874 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 11:15:04 +0000 (0:00:00.041) 0:02:15.916 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 11:15:04 +0000 (0:00:00.037) 0:02:15.954 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 11:15:05 +0000 (0:00:00.034) 0:02:15.988 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 11:15:05 +0000 (0:00:00.022) 0:02:16.010 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Remove the device created above] ***************************************** task path: /tmp/tmpfc26zqih/tests/storage/tests_create_raid_pool_then_remove.yml:136 Thursday 21 July 2022 11:15:05 +0000 (0:00:00.041) 0:02:16.052 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 11:15:05 +0000 (0:00:00.076) 0:02:16.128 ********* included: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-9.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 11:15:05 +0000 (0:00:00.040) 0:02:16.169 ********* ok: [/cache/rhel-9.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 11:15:05 +0000 (0:00:00.506) 0:02:16.676 ********* skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.yml" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.0.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.0.yml", "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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 11:15:05 +0000 (0:00:00.069) 0:02:16.745 ********* ok: [/cache/rhel-9.qcow2.snap] => { "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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 11:15:05 +0000 (0:00:00.037) 0:02:16.783 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 11:15:05 +0000 (0:00:00.038) 0:02:16.822 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-9.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 11:15:05 +0000 (0:00:00.068) 0:02:16.890 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 11:15:05 +0000 (0:00:00.024) 0:02:16.915 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 11:15:05 +0000 (0:00:00.033) 0:02:16.948 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda", "sdb" ], "name": "vg1", "state": "absent", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "lv1", "raid_disks": [ "sda", "sdb" ], "raid_level": "raid1", "size": "2g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 11:15:06 +0000 (0:00:00.158) 0:02:17.107 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 11:15:06 +0000 (0:00:00.040) 0:02:17.147 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 11:15:06 +0000 (0:00:00.031) 0:02:17.178 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 11:15:06 +0000 (0:00:00.032) 0:02:17.211 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 11:15:06 +0000 (0:00:00.031) 0:02:17.242 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 11:15:06 +0000 (0:00:00.030) 0:02:17.272 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 11:15:06 +0000 (0:00:00.062) 0:02:17.335 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 11:15:06 +0000 (0:00:00.026) 0:02:17.361 ********* changed: [/cache/rhel-9.qcow2.snap] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "destroy device", "device": "/dev/vg1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb1", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/sdb1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb", "fs_type": "disklabel" }, { "action": "destroy format", "device": "/dev/sda1", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/sda1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "disklabel" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "absent" } ], "packages": [ "e2fsprogs", "dosfstools", "xfsprogs" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 11:15:09 +0000 (0:00:03.455) 0:02:20.816 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 11:15:09 +0000 (0:00:00.040) 0:02:20.857 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 11:15:09 +0000 (0:00:00.023) 0:02:20.880 ********* ok: [/cache/rhel-9.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "destroy device", "device": "/dev/vg1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb1", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/sdb1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb", "fs_type": "disklabel" }, { "action": "destroy format", "device": "/dev/sda1", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/sda1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "disklabel" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "absent" } ], "packages": [ "e2fsprogs", "dosfstools", "xfsprogs" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 11:15:09 +0000 (0:00:00.040) 0:02:20.921 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 11:15:09 +0000 (0:00:00.038) 0:02:20.959 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 11:15:10 +0000 (0:00:00.038) 0:02:20.997 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-9.qcow2.snap] => (item={'src': '/dev/mapper/vg1-lv1', 'path': '/opt/test1', 'state': 'absent', 'fstype': 'xfs'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 11:15:10 +0000 (0:00:00.385) 0:02:21.383 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 11:15:11 +0000 (0:00:00.669) 0:02:22.052 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 11:15:11 +0000 (0:00:00.039) 0:02:22.091 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 11:15:11 +0000 (0:00:00.669) 0:02:22.761 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 11:15:12 +0000 (0:00:00.387) 0:02:23.148 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 11:15:12 +0000 (0:00:00.026) 0:02:23.175 ********* ok: [/cache/rhel-9.qcow2.snap] META: role_complete for /cache/rhel-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/tests_create_raid_pool_then_remove.yml:152 Thursday 21 July 2022 11:15:13 +0000 (0:00:00.973) 0:02:24.149 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml for /cache/rhel-9.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 11:15:13 +0000 (0:00:00.057) 0:02:24.206 ********* ok: [/cache/rhel-9.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 11:15:13 +0000 (0:00:00.053) 0:02:24.259 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 11:15:13 +0000 (0:00:00.036) 0:02:24.296 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "info": { "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-11-12-36-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "vfat", "label": "", "name": "/dev/vda2", "size": "200M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "boot", "name": "/dev/vda3", "size": "500M", "type": "partition", "uuid": "6e74e171-0370-451f-8340-f16ad2839183" }, "/dev/vda4": { "fstype": "xfs", "label": "root", "name": "/dev/vda4", "size": "9.3G", "type": "partition", "uuid": "1bb53e4d-984c-4316-908a-59b5a62fa30e" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "12be66f7-7f03-4d54-9a48-a520825d8fa9" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "9bd037ed-b1bb-4b9c-a008-9f07d34ab071" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 11:15:13 +0000 (0:00:00.357) 0:02:24.653 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002336", "end": "2022-07-21 07:15:13.838973", "rc": 0, "start": "2022-07-21 07:15:13.836637" } STDOUT: UUID=6e74e171-0370-451f-8340-f16ad2839183 /boot xfs defaults 0 0 UUID=1bb53e4d-984c-4316-908a-59b5a62fa30e / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/vdb1 /var/cache/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 11:15:14 +0000 (0:00:00.357) 0:02:25.010 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:01.004118", "end": "2022-07-21 07:15:15.217075", "failed_when_result": false, "rc": 1, "start": "2022-07-21 07:15:14.212957" } STDERR: cat: /etc/crypttab: No such file or directory MSG: non-zero return code TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 11:15:15 +0000 (0:00:01.383) 0:02:26.394 ********* included: /tmp/tmpfc26zqih/tests/storage/test-verify-pool.yml for /cache/rhel-9.qcow2.snap => (item={'disks': ['sda', 'sdb'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'vg1', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'absent', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': 'raid1', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 11:15:15 +0000 (0:00:00.061) 0:02:26.455 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 11:15:15 +0000 (0:00:00.038) 0:02:26.494 ********* included: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml for /cache/rhel-9.qcow2.snap => (item=members) included: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-volumes.yml for /cache/rhel-9.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 11:15:15 +0000 (0:00:00.056) 0:02:26.551 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "0", "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 11:15:15 +0000 (0:00:00.061) 0:02:26.612 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 11:15:15 +0000 (0:00:00.024) 0:02:26.636 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "0" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 11:15:15 +0000 (0:00:00.100) 0:02:26.736 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 11:15:15 +0000 (0:00:00.093) 0:02:26.830 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 11:15:15 +0000 (0:00:00.084) 0:02:26.915 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 11:15:16 +0000 (0:00:00.073) 0:02:26.988 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "partition" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 11:15:16 +0000 (0:00:00.080) 0:02:27.069 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 11:15:16 +0000 (0:00:00.023) 0:02:27.093 ********* TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 11:15:16 +0000 (0:00:00.023) 0:02:27.116 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml for /cache/rhel-9.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 11:15:16 +0000 (0:00:00.043) 0:02:27.159 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 11:15:16 +0000 (0:00:00.023) 0:02:27.183 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 11:15:16 +0000 (0:00:00.023) 0:02:27.206 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 11:15:16 +0000 (0:00:00.024) 0:02:27.230 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 11:15:16 +0000 (0:00:00.023) 0:02:27.253 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 11:15:16 +0000 (0:00:00.023) 0:02:27.277 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 11:15:16 +0000 (0:00:00.023) 0:02:27.300 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 11:15:16 +0000 (0:00:00.024) 0:02:27.324 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 11:15:16 +0000 (0:00:00.032) 0:02:27.357 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-lvmraid.yml for /cache/rhel-9.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 11:15:16 +0000 (0:00:00.042) 0:02:27.400 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-lvmraid.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': 'raid1', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 11:15:16 +0000 (0:00:00.043) 0:02:27.443 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 11:15:16 +0000 (0:00:00.028) 0:02:27.472 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 11:15:16 +0000 (0:00:00.028) 0:02:27.501 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 11:15:16 +0000 (0:00:00.029) 0:02:27.530 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-thin.yml for /cache/rhel-9.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 11:15:16 +0000 (0:00:00.044) 0:02:27.574 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': 'raid1', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 11:15:16 +0000 (0:00:00.042) 0:02:27.617 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 11:15:16 +0000 (0:00:00.022) 0:02:27.639 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 11:15:16 +0000 (0:00:00.022) 0:02:27.661 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 11:15:16 +0000 (0:00:00.023) 0:02:27.685 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 11:15:16 +0000 (0:00:00.023) 0:02:27.708 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-encryption.yml for /cache/rhel-9.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 11:15:16 +0000 (0:00:00.045) 0:02:27.753 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 11:15:16 +0000 (0:00:00.052) 0:02:27.806 ********* TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 11:15:16 +0000 (0:00:00.022) 0:02:27.828 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 11:15:16 +0000 (0:00:00.021) 0:02:27.850 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 11:15:16 +0000 (0:00:00.034) 0:02:27.884 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-vdo.yml for /cache/rhel-9.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 11:15:16 +0000 (0:00:00.047) 0:02:27.931 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': 'raid1', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 11:15:17 +0000 (0:00:00.043) 0:02:27.974 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 11:15:17 +0000 (0:00:00.023) 0:02:27.998 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 11:15:17 +0000 (0:00:00.023) 0:02:28.021 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 11:15:17 +0000 (0:00:00.023) 0:02:28.044 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 11:15:17 +0000 (0:00:00.023) 0:02:28.067 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 11:15:17 +0000 (0:00:00.052) 0:02:28.120 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 11:15:17 +0000 (0:00:00.024) 0:02:28.144 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 11:15:17 +0000 (0:00:00.024) 0:02:28.168 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 11:15:17 +0000 (0:00:00.037) 0:02:28.206 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 11:15:17 +0000 (0:00:00.039) 0:02:28.246 ********* included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': 'raid1', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 11:15:17 +0000 (0:00:00.042) 0:02:28.288 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": false, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 11:15:17 +0000 (0:00:00.050) 0:02:28.339 ********* included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml for /cache/rhel-9.qcow2.snap => (item=mount) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml for /cache/rhel-9.qcow2.snap => (item=fstab) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fs.yml for /cache/rhel-9.qcow2.snap => (item=fs) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml for /cache/rhel-9.qcow2.snap => (item=device) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml for /cache/rhel-9.qcow2.snap => (item=encryption) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml for /cache/rhel-9.qcow2.snap => (item=md) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml for /cache/rhel-9.qcow2.snap => (item=size) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml for /cache/rhel-9.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 11:15:17 +0000 (0:00:00.081) 0:02:28.421 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 11:15:17 +0000 (0:00:00.047) 0:02:28.468 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 11:15:17 +0000 (0:00:00.056) 0:02:28.525 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 11:15:17 +0000 (0:00:00.023) 0:02:28.548 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 11:15:17 +0000 (0:00:00.049) 0:02:28.598 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 11:15:17 +0000 (0:00:00.038) 0:02:28.637 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 11:15:17 +0000 (0:00:00.023) 0:02:28.661 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 11:15:17 +0000 (0:00:00.022) 0:02:28.684 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 11:15:17 +0000 (0:00:00.024) 0:02:28.708 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 11:15:17 +0000 (0:00:00.033) 0:02:28.742 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "0", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 11:15:17 +0000 (0:00:00.063) 0:02:28.805 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 11:15:17 +0000 (0:00:00.025) 0:02:28.831 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 11:15:17 +0000 (0:00:00.051) 0:02:28.882 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 11:15:17 +0000 (0:00:00.038) 0:02:28.921 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 11:15:17 +0000 (0:00:00.038) 0:02:28.959 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 11:15:18 +0000 (0:00:00.027) 0:02:28.987 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 11:15:18 +0000 (0:00:00.025) 0:02:29.012 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 11:15:18 +0000 (0:00:00.366) 0:02:29.378 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 11:15:18 +0000 (0:00:00.044) 0:02:29.422 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 11:15:18 +0000 (0:00:00.025) 0:02:29.447 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 11:15:18 +0000 (0:00:00.038) 0:02:29.486 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 11:15:18 +0000 (0:00:00.026) 0:02:29.512 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 11:15:18 +0000 (0:00:00.023) 0:02:29.536 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 11:15:18 +0000 (0:00:00.025) 0:02:29.562 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 11:15:19 +0000 (0:00:00.922) 0:02:30.485 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 11:15:19 +0000 (0:00:00.026) 0:02:30.511 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 11:15:19 +0000 (0:00:00.024) 0:02:30.536 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 11:15:19 +0000 (0:00:00.023) 0:02:30.559 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 11:15:19 +0000 (0:00:00.025) 0:02:30.585 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 11:15:19 +0000 (0:00:00.024) 0:02:30.609 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 11:15:19 +0000 (0:00:00.023) 0:02:30.633 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 11:15:19 +0000 (0:00:00.025) 0:02:30.659 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 11:15:19 +0000 (0:00:00.026) 0:02:30.685 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 11:15:19 +0000 (0:00:00.050) 0:02:30.735 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 11:15:19 +0000 (0:00:00.052) 0:02:30.787 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 11:15:19 +0000 (0:00:00.038) 0:02:30.826 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 11:15:19 +0000 (0:00:00.042) 0:02:30.868 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 11:15:19 +0000 (0:00:00.039) 0:02:30.908 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 11:15:19 +0000 (0:00:00.037) 0:02:30.946 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 11:15:20 +0000 (0:00:00.036) 0:02:30.983 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 11:15:20 +0000 (0:00:00.040) 0:02:31.023 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 11:15:20 +0000 (0:00:00.038) 0:02:31.062 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 11:15:20 +0000 (0:00:00.037) 0:02:31.100 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 11:15:20 +0000 (0:00:00.036) 0:02:31.136 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 11:15:20 +0000 (0:00:00.039) 0:02:31.176 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 11:15:20 +0000 (0:00:00.036) 0:02:31.212 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 11:15:20 +0000 (0:00:00.024) 0:02:31.236 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 11:15:20 +0000 (0:00:00.039) 0:02:31.276 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 11:15:20 +0000 (0:00:00.040) 0:02:31.316 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "2147483648" } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 11:15:20 +0000 (0:00:00.040) 0:02:31.356 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 11:15:20 +0000 (0:00:00.039) 0:02:31.396 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 11:15:20 +0000 (0:00:00.038) 0:02:31.434 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 11:15:20 +0000 (0:00:00.040) 0:02:31.475 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 11:15:20 +0000 (0:00:00.037) 0:02:31.513 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 11:15:20 +0000 (0:00:00.036) 0:02:31.549 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 11:15:20 +0000 (0:00:00.036) 0:02:31.586 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "2147483648" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 11:15:20 +0000 (0:00:00.040) 0:02:31.626 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 11:15:20 +0000 (0:00:00.026) 0:02:31.653 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 11:15:20 +0000 (0:00:00.026) 0:02:31.679 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 11:15:20 +0000 (0:00:00.025) 0:02:31.705 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 11:15:20 +0000 (0:00:00.027) 0:02:31.732 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 11:15:20 +0000 (0:00:00.026) 0:02:31.759 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 11:15:20 +0000 (0:00:00.025) 0:02:31.784 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 11:15:20 +0000 (0:00:00.024) 0:02:31.808 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 11:15:20 +0000 (0:00:00.025) 0:02:31.834 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 11:15:20 +0000 (0:00:00.036) 0:02:31.870 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 11:15:20 +0000 (0:00:00.022) 0:02:31.892 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Create a RAID0 lvm raid device] ****************************************** task path: /tmp/tmpfc26zqih/tests/storage/tests_create_raid_pool_then_remove.yml:154 Thursday 21 July 2022 11:15:20 +0000 (0:00:00.043) 0:02:31.935 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 11:15:21 +0000 (0:00:00.138) 0:02:32.074 ********* included: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-9.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 11:15:21 +0000 (0:00:00.038) 0:02:32.113 ********* ok: [/cache/rhel-9.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 11:15:21 +0000 (0:00:00.524) 0:02:32.638 ********* skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.yml" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.0.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.0.yml", "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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 11:15:21 +0000 (0:00:00.071) 0:02:32.710 ********* ok: [/cache/rhel-9.qcow2.snap] => { "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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 11:15:21 +0000 (0:00:00.039) 0:02:32.749 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 11:15:21 +0000 (0:00:00.037) 0:02:32.786 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-9.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 11:15:21 +0000 (0:00:00.057) 0:02:32.844 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 11:15:21 +0000 (0:00:00.021) 0:02:32.865 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 11:15:21 +0000 (0:00:00.027) 0:02:32.893 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda", "sdb" ], "name": "vg1", "state": "present", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "lv1", "raid_disks": [ "sda", "sdb" ], "raid_level": "raid0", "size": "2g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 11:15:21 +0000 (0:00:00.043) 0:02:32.937 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 11:15:22 +0000 (0:00:00.040) 0:02:32.977 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 11:15:22 +0000 (0:00:00.035) 0:02:33.012 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 11:15:22 +0000 (0:00:00.030) 0:02:33.043 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 11:15:22 +0000 (0:00:00.030) 0:02:33.073 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 11:15:22 +0000 (0:00:00.029) 0:02:33.103 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 11:15:22 +0000 (0:00:00.060) 0:02:33.163 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 11:15:22 +0000 (0:00:00.023) 0:02:33.187 ********* changed: [/cache/rhel-9.qcow2.snap] => { "actions": [ { "action": "create format", "device": "/dev/sdb", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sdb1", "fs_type": null }, { "action": "create format", "device": "/dev/sdb1", "fs_type": "lvmpv" }, { "action": "create format", "device": "/dev/sda", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sda1", "fs_type": null }, { "action": "create format", "device": "/dev/sda1", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/vg1", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/mapper/vg1-lv1" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" } ], "packages": [ "xfsprogs", "dosfstools", "e2fsprogs", "lvm2" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 11:15:25 +0000 (0:00:03.190) 0:02:36.377 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 11:15:25 +0000 (0:00:00.038) 0:02:36.416 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 11:15:25 +0000 (0:00:00.023) 0:02:36.440 ********* ok: [/cache/rhel-9.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sdb", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sdb1", "fs_type": null }, { "action": "create format", "device": "/dev/sdb1", "fs_type": "lvmpv" }, { "action": "create format", "device": "/dev/sda", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sda1", "fs_type": null }, { "action": "create format", "device": "/dev/sda1", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/vg1", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/mapper/vg1-lv1" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" } ], "packages": [ "xfsprogs", "dosfstools", "e2fsprogs", "lvm2" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 11:15:25 +0000 (0:00:00.043) 0:02:36.483 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 11:15:25 +0000 (0:00:00.042) 0:02:36.526 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 11:15:25 +0000 (0:00:00.034) 0:02:36.561 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 11:15:25 +0000 (0:00:00.036) 0:02:36.597 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 11:15:26 +0000 (0:00:00.667) 0:02:37.265 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-9.qcow2.snap] => (item={'src': '/dev/mapper/vg1-lv1', 'path': '/opt/test1', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 11:15:26 +0000 (0:00:00.432) 0:02:37.698 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 11:15:27 +0000 (0:00:00.677) 0:02:38.376 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 11:15:27 +0000 (0:00:00.387) 0:02:38.763 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 11:15:27 +0000 (0:00:00.023) 0:02:38.787 ********* ok: [/cache/rhel-9.qcow2.snap] META: role_complete for /cache/rhel-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/tests_create_raid_pool_then_remove.yml:170 Thursday 21 July 2022 11:15:28 +0000 (0:00:01.066) 0:02:39.853 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml for /cache/rhel-9.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 11:15:28 +0000 (0:00:00.064) 0:02:39.918 ********* ok: [/cache/rhel-9.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 11:15:29 +0000 (0:00:00.053) 0:02:39.972 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 11:15:29 +0000 (0:00:00.037) 0:02:40.009 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/vg1-lv1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv1", "size": "2G", "type": "lvm", "uuid": "94d11f00-68bf-48cd-b5d0-d024bf0da325" }, "/dev/mapper/vg1-lv1_rimage_0": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rimage_0", "size": "1G", "type": "lvm", "uuid": "" }, "/dev/mapper/vg1-lv1_rimage_1": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rimage_1", "size": "1G", "type": "lvm", "uuid": "" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda1": { "fstype": "LVM2_member", "label": "", "name": "/dev/sda1", "size": "10G", "type": "partition", "uuid": "gq9ncd-Oe2z-Szen-jBfe-dinx-VmH2-TWe7iN" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb1": { "fstype": "LVM2_member", "label": "", "name": "/dev/sdb1", "size": "10G", "type": "partition", "uuid": "kMbVr7-sPlW-TBGI-H9Zd-roQp-0LWs-iusCv5" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-11-12-36-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "vfat", "label": "", "name": "/dev/vda2", "size": "200M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "boot", "name": "/dev/vda3", "size": "500M", "type": "partition", "uuid": "6e74e171-0370-451f-8340-f16ad2839183" }, "/dev/vda4": { "fstype": "xfs", "label": "root", "name": "/dev/vda4", "size": "9.3G", "type": "partition", "uuid": "1bb53e4d-984c-4316-908a-59b5a62fa30e" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "12be66f7-7f03-4d54-9a48-a520825d8fa9" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "9bd037ed-b1bb-4b9c-a008-9f07d34ab071" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 11:15:29 +0000 (0:00:00.374) 0:02:40.383 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003564", "end": "2022-07-21 07:15:29.565818", "rc": 0, "start": "2022-07-21 07:15:29.562254" } STDOUT: UUID=6e74e171-0370-451f-8340-f16ad2839183 /boot xfs defaults 0 0 UUID=1bb53e4d-984c-4316-908a-59b5a62fa30e / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/vdb1 /var/cache/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 /dev/mapper/vg1-lv1 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 11:15:29 +0000 (0:00:00.357) 0:02:40.741 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002607", "end": "2022-07-21 07:15:29.927368", "failed_when_result": false, "rc": 1, "start": "2022-07-21 07:15:29.924761" } STDERR: cat: /etc/crypttab: No such file or directory MSG: non-zero return code TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 11:15:30 +0000 (0:00:00.354) 0:02:41.096 ********* included: /tmp/tmpfc26zqih/tests/storage/test-verify-pool.yml for /cache/rhel-9.qcow2.snap => (item={'disks': ['sda', 'sdb'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'vg1', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': 'raid0', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 11:15:30 +0000 (0:00:00.064) 0:02:41.160 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 11:15:30 +0000 (0:00:00.038) 0:02:41.199 ********* included: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml for /cache/rhel-9.qcow2.snap => (item=members) included: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-volumes.yml for /cache/rhel-9.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 11:15:30 +0000 (0:00:00.047) 0:02:41.246 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "2", "_storage_test_pool_pvs_lvm": [ "/dev/sda1", "/dev/sdb1" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 11:15:30 +0000 (0:00:00.058) 0:02:41.305 ********* ok: [/cache/rhel-9.qcow2.snap] => (item=/dev/sda1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda1", "pv": "/dev/sda1" } ok: [/cache/rhel-9.qcow2.snap] => (item=/dev/sdb1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sdb1", "pv": "/dev/sdb1" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 11:15:31 +0000 (0:00:00.730) 0:02:42.036 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "2" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 11:15:31 +0000 (0:00:00.098) 0:02:42.135 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda1", "/dev/sdb1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 11:15:31 +0000 (0:00:00.051) 0:02:42.186 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 11:15:31 +0000 (0:00:00.086) 0:02:42.272 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 11:15:31 +0000 (0:00:00.111) 0:02:42.384 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "partition" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 11:15:31 +0000 (0:00:00.049) 0:02:42.434 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 11:15:31 +0000 (0:00:00.023) 0:02:42.458 ********* ok: [/cache/rhel-9.qcow2.snap] => (item=/dev/sda1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda1" } MSG: All assertions passed ok: [/cache/rhel-9.qcow2.snap] => (item=/dev/sdb1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sdb1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 11:15:31 +0000 (0:00:00.055) 0:02:42.513 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml for /cache/rhel-9.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 11:15:31 +0000 (0:00:00.046) 0:02:42.560 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 11:15:31 +0000 (0:00:00.024) 0:02:42.584 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 11:15:31 +0000 (0:00:00.024) 0:02:42.609 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 11:15:31 +0000 (0:00:00.026) 0:02:42.635 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 11:15:31 +0000 (0:00:00.023) 0:02:42.659 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 11:15:31 +0000 (0:00:00.027) 0:02:42.687 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 11:15:31 +0000 (0:00:00.028) 0:02:42.715 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 11:15:31 +0000 (0:00:00.026) 0:02:42.741 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 11:15:31 +0000 (0:00:00.037) 0:02:42.778 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-lvmraid.yml for /cache/rhel-9.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 11:15:31 +0000 (0:00:00.048) 0:02:42.827 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-lvmraid.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': 'raid0', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 11:15:31 +0000 (0:00:00.045) 0:02:42.873 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheading", "-o", "lv_name", "--select", "lv_name=lv1&&lv_layout=raid0", "vg1" ], "delta": "0:00:00.033139", "end": "2022-07-21 07:15:32.102408", "rc": 0, "start": "2022-07-21 07:15:32.069269" } STDOUT: lv1 TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 11:15:32 +0000 (0:00:00.400) 0:02:43.274 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 11:15:32 +0000 (0:00:00.057) 0:02:43.331 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_lvmraid_status": null }, "changed": false } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 11:15:32 +0000 (0:00:00.046) 0:02:43.378 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-thin.yml for /cache/rhel-9.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 11:15:32 +0000 (0:00:00.048) 0:02:43.426 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': 'raid0', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 11:15:32 +0000 (0:00:00.046) 0:02:43.473 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 11:15:32 +0000 (0:00:00.025) 0:02:43.498 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 11:15:32 +0000 (0:00:00.024) 0:02:43.523 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 11:15:32 +0000 (0:00:00.025) 0:02:43.548 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 11:15:32 +0000 (0:00:00.023) 0:02:43.571 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-encryption.yml for /cache/rhel-9.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 11:15:32 +0000 (0:00:00.058) 0:02:43.629 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 11:15:32 +0000 (0:00:00.056) 0:02:43.686 ********* skipping: [/cache/rhel-9.qcow2.snap] => (item=/dev/sda1) => { "_storage_test_pool_member_path": "/dev/sda1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-9.qcow2.snap] => (item=/dev/sdb1) => { "_storage_test_pool_member_path": "/dev/sdb1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 11:15:32 +0000 (0:00:00.035) 0:02:43.722 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml for /cache/rhel-9.qcow2.snap => (item=/dev/sda1) included: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml for /cache/rhel-9.qcow2.snap => (item=/dev/sdb1) TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 11:15:32 +0000 (0:00:00.051) 0:02:43.773 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml:4 Thursday 21 July 2022 11:15:32 +0000 (0:00:00.147) 0:02:43.921 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml:9 Thursday 21 July 2022 11:15:33 +0000 (0:00:00.053) 0:02:43.975 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml:15 Thursday 21 July 2022 11:15:33 +0000 (0:00:00.038) 0:02:44.013 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml:21 Thursday 21 July 2022 11:15:33 +0000 (0:00:00.039) 0:02:44.053 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 11:15:33 +0000 (0:00:00.042) 0:02:44.095 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 11:15:33 +0000 (0:00:00.037) 0:02:44.132 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml:4 Thursday 21 July 2022 11:15:33 +0000 (0:00:00.054) 0:02:44.187 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml:9 Thursday 21 July 2022 11:15:33 +0000 (0:00:00.052) 0:02:44.240 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml:15 Thursday 21 July 2022 11:15:33 +0000 (0:00:00.037) 0:02:44.278 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml:21 Thursday 21 July 2022 11:15:33 +0000 (0:00:00.039) 0:02:44.317 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 11:15:33 +0000 (0:00:00.037) 0:02:44.354 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 11:15:33 +0000 (0:00:00.036) 0:02:44.391 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 11:15:33 +0000 (0:00:00.033) 0:02:44.425 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-vdo.yml for /cache/rhel-9.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 11:15:33 +0000 (0:00:00.050) 0:02:44.475 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': 'raid0', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 11:15:33 +0000 (0:00:00.050) 0:02:44.526 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 11:15:33 +0000 (0:00:00.027) 0:02:44.553 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 11:15:33 +0000 (0:00:00.028) 0:02:44.582 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 11:15:33 +0000 (0:00:00.026) 0:02:44.608 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 11:15:33 +0000 (0:00:00.026) 0:02:44.635 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 11:15:33 +0000 (0:00:00.025) 0:02:44.661 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 11:15:33 +0000 (0:00:00.027) 0:02:44.688 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 11:15:33 +0000 (0:00:00.025) 0:02:44.714 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 11:15:33 +0000 (0:00:00.038) 0:02:44.752 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 11:15:33 +0000 (0:00:00.038) 0:02:44.790 ********* included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': 'raid0', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 11:15:33 +0000 (0:00:00.046) 0:02:44.836 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 11:15:33 +0000 (0:00:00.051) 0:02:44.888 ********* included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml for /cache/rhel-9.qcow2.snap => (item=mount) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml for /cache/rhel-9.qcow2.snap => (item=fstab) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fs.yml for /cache/rhel-9.qcow2.snap => (item=fs) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml for /cache/rhel-9.qcow2.snap => (item=device) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml for /cache/rhel-9.qcow2.snap => (item=encryption) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml for /cache/rhel-9.qcow2.snap => (item=md) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml for /cache/rhel-9.qcow2.snap => (item=size) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml for /cache/rhel-9.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 11:15:34 +0000 (0:00:00.078) 0:02:44.966 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 11:15:34 +0000 (0:00:00.040) 0:02:45.007 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 509649, "block_size": 4096, "block_total": 521600, "block_used": 11951, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1048317, "inode_total": 1048320, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=64k,sunit=128,swidth=256,noquota", "size_available": 2087522304, "size_total": 2136473600, "uuid": "94d11f00-68bf-48cd-b5d0-d024bf0da325" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 509649, "block_size": 4096, "block_total": 521600, "block_used": 11951, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1048317, "inode_total": 1048320, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=64k,sunit=128,swidth=256,noquota", "size_available": 2087522304, "size_total": 2136473600, "uuid": "94d11f00-68bf-48cd-b5d0-d024bf0da325" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 11:15:34 +0000 (0:00:00.054) 0:02:45.062 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 11:15:34 +0000 (0:00:00.050) 0:02:45.112 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 11:15:34 +0000 (0:00:00.047) 0:02:45.160 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 11:15:34 +0000 (0:00:00.088) 0:02:45.248 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 11:15:34 +0000 (0:00:00.024) 0:02:45.273 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 11:15:34 +0000 (0:00:00.058) 0:02:45.331 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 11:15:34 +0000 (0:00:00.026) 0:02:45.358 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 11:15:34 +0000 (0:00:00.036) 0:02:45.394 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/vg1-lv1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 11:15:34 +0000 (0:00:00.067) 0:02:45.462 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 11:15:34 +0000 (0:00:00.059) 0:02:45.521 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 11:15:34 +0000 (0:00:00.061) 0:02:45.582 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 11:15:34 +0000 (0:00:00.041) 0:02:45.624 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 11:15:34 +0000 (0:00:00.039) 0:02:45.663 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 11:15:34 +0000 (0:00:00.039) 0:02:45.702 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 11:15:34 +0000 (0:00:00.041) 0:02:45.744 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1658402125.1412842, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658402125.1412842, "dev": 5, "device_type": 64770, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 1975, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658402125.1412842, "nlink": 1, "path": "/dev/mapper/vg1-lv1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 11:15:35 +0000 (0:00:00.356) 0:02:46.100 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 11:15:35 +0000 (0:00:00.039) 0:02:46.140 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 11:15:35 +0000 (0:00:00.039) 0:02:46.179 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 11:15:35 +0000 (0:00:00.037) 0:02:46.217 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 11:15:35 +0000 (0:00:00.023) 0:02:46.240 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 11:15:35 +0000 (0:00:00.043) 0:02:46.284 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 11:15:35 +0000 (0:00:00.026) 0:02:46.310 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 11:15:36 +0000 (0:00:00.847) 0:02:47.158 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 11:15:36 +0000 (0:00:00.024) 0:02:47.183 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 11:15:36 +0000 (0:00:00.024) 0:02:47.207 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 11:15:36 +0000 (0:00:00.053) 0:02:47.260 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 11:15:36 +0000 (0:00:00.025) 0:02:47.286 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 11:15:36 +0000 (0:00:00.026) 0:02:47.313 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 11:15:36 +0000 (0:00:00.023) 0:02:47.337 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 11:15:36 +0000 (0:00:00.024) 0:02:47.361 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 11:15:36 +0000 (0:00:00.026) 0:02:47.388 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 11:15:36 +0000 (0:00:00.053) 0:02:47.441 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 11:15:36 +0000 (0:00:00.094) 0:02:47.536 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 11:15:36 +0000 (0:00:00.037) 0:02:47.573 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 11:15:36 +0000 (0:00:00.036) 0:02:47.609 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 11:15:36 +0000 (0:00:00.041) 0:02:47.650 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 11:15:36 +0000 (0:00:00.081) 0:02:47.732 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 11:15:36 +0000 (0:00:00.043) 0:02:47.775 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 11:15:36 +0000 (0:00:00.039) 0:02:47.815 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 11:15:36 +0000 (0:00:00.039) 0:02:47.854 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 11:15:36 +0000 (0:00:00.039) 0:02:47.893 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 11:15:37 +0000 (0:00:00.086) 0:02:47.980 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 11:15:37 +0000 (0:00:00.036) 0:02:48.017 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 11:15:37 +0000 (0:00:00.038) 0:02:48.055 ********* ok: [/cache/rhel-9.qcow2.snap] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 11:15:37 +0000 (0:00:00.364) 0:02:48.420 ********* ok: [/cache/rhel-9.qcow2.snap] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 11:15:37 +0000 (0:00:00.373) 0:02:48.793 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "2147483648" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 11:15:37 +0000 (0:00:00.054) 0:02:48.848 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "2147483648" } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 11:15:37 +0000 (0:00:00.040) 0:02:48.888 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 11:15:37 +0000 (0:00:00.040) 0:02:48.929 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 11:15:38 +0000 (0:00:00.041) 0:02:48.970 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 11:15:38 +0000 (0:00:00.040) 0:02:49.011 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 11:15:38 +0000 (0:00:00.045) 0:02:49.057 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 11:15:38 +0000 (0:00:00.049) 0:02:49.106 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_actual_size": { "bytes": 2147483648, "changed": false, "failed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 11:15:38 +0000 (0:00:00.040) 0:02:49.147 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "2147483648" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 11:15:38 +0000 (0:00:00.042) 0:02:49.190 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 11:15:38 +0000 (0:00:00.056) 0:02:49.246 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "vg1/lv1" ], "delta": "0:00:00.033192", "end": "2022-07-21 07:15:38.474618", "rc": 0, "start": "2022-07-21 07:15:38.441426" } STDOUT: LVM2_LV_NAME=lv1 LVM2_LV_ATTR=rwi-aor--- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=raid0 TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 11:15:38 +0000 (0:00:00.412) 0:02:49.658 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "raid0" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 11:15:38 +0000 (0:00:00.052) 0:02:49.711 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 11:15:38 +0000 (0:00:00.054) 0:02:49.765 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 11:15:38 +0000 (0:00:00.039) 0:02:49.805 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 11:15:38 +0000 (0:00:00.061) 0:02:49.867 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 11:15:38 +0000 (0:00:00.046) 0:02:49.914 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 11:15:38 +0000 (0:00:00.040) 0:02:49.955 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 11:15:39 +0000 (0:00:00.041) 0:02:49.996 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 11:15:39 +0000 (0:00:00.023) 0:02:50.020 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Repeat the previous invocation to verify idempotence] ******************** task path: /tmp/tmpfc26zqih/tests/storage/tests_create_raid_pool_then_remove.yml:172 Thursday 21 July 2022 11:15:39 +0000 (0:00:00.039) 0:02:50.059 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 11:15:39 +0000 (0:00:00.085) 0:02:50.145 ********* included: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-9.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 11:15:39 +0000 (0:00:00.093) 0:02:50.238 ********* ok: [/cache/rhel-9.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 11:15:39 +0000 (0:00:00.538) 0:02:50.776 ********* skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.yml" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.0.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.0.yml", "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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 11:15:39 +0000 (0:00:00.068) 0:02:50.844 ********* ok: [/cache/rhel-9.qcow2.snap] => { "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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 11:15:39 +0000 (0:00:00.040) 0:02:50.885 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 11:15:39 +0000 (0:00:00.039) 0:02:50.925 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-9.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 11:15:40 +0000 (0:00:00.060) 0:02:50.985 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 11:15:40 +0000 (0:00:00.024) 0:02:51.010 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 11:15:40 +0000 (0:00:00.032) 0:02:51.043 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda", "sdb" ], "name": "vg1", "state": "present", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "lv1", "raid_disks": [ "sda", "sdb" ], "raid_level": "raid0", "size": "2g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 11:15:40 +0000 (0:00:00.044) 0:02:51.087 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 11:15:40 +0000 (0:00:00.043) 0:02:51.131 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 11:15:40 +0000 (0:00:00.032) 0:02:51.164 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 11:15:40 +0000 (0:00:00.032) 0:02:51.196 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 11:15:40 +0000 (0:00:00.029) 0:02:51.226 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 11:15:40 +0000 (0:00:00.032) 0:02:51.259 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 11:15:40 +0000 (0:00:00.060) 0:02:51.320 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 11:15:40 +0000 (0:00:00.024) 0:02:51.344 ********* ok: [/cache/rhel-9.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/mapper/vg1-lv1", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" } ], "packages": [ "dosfstools", "xfsprogs", "lvm2", "e2fsprogs" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 11:15:42 +0000 (0:00:02.126) 0:02:53.471 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 11:15:42 +0000 (0:00:00.039) 0:02:53.510 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 11:15:42 +0000 (0:00:00.024) 0:02:53.535 ********* ok: [/cache/rhel-9.qcow2.snap] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/mapper/vg1-lv1", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" } ], "packages": [ "dosfstools", "xfsprogs", "lvm2", "e2fsprogs" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 11:15:42 +0000 (0:00:00.042) 0:02:53.577 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 11:15:42 +0000 (0:00:00.042) 0:02:53.620 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 11:15:42 +0000 (0:00:00.043) 0:02:53.663 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 11:15:42 +0000 (0:00:00.040) 0:02:53.703 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 11:15:43 +0000 (0:00:00.668) 0:02:54.372 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/rhel-9.qcow2.snap] => (item={'src': '/dev/mapper/vg1-lv1', 'path': '/opt/test1', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 11:15:43 +0000 (0:00:00.439) 0:02:54.812 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 11:15:44 +0000 (0:00:00.647) 0:02:55.459 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 11:15:44 +0000 (0:00:00.364) 0:02:55.824 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 11:15:44 +0000 (0:00:00.028) 0:02:55.852 ********* ok: [/cache/rhel-9.qcow2.snap] META: role_complete for /cache/rhel-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/tests_create_raid_pool_then_remove.yml:188 Thursday 21 July 2022 11:15:45 +0000 (0:00:01.060) 0:02:56.913 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml for /cache/rhel-9.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 11:15:46 +0000 (0:00:00.065) 0:02:56.978 ********* ok: [/cache/rhel-9.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 11:15:46 +0000 (0:00:00.056) 0:02:57.034 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 11:15:46 +0000 (0:00:00.040) 0:02:57.075 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/vg1-lv1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv1", "size": "2G", "type": "lvm", "uuid": "94d11f00-68bf-48cd-b5d0-d024bf0da325" }, "/dev/mapper/vg1-lv1_rimage_0": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rimage_0", "size": "1G", "type": "lvm", "uuid": "" }, "/dev/mapper/vg1-lv1_rimage_1": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rimage_1", "size": "1G", "type": "lvm", "uuid": "" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda1": { "fstype": "LVM2_member", "label": "", "name": "/dev/sda1", "size": "10G", "type": "partition", "uuid": "gq9ncd-Oe2z-Szen-jBfe-dinx-VmH2-TWe7iN" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb1": { "fstype": "LVM2_member", "label": "", "name": "/dev/sdb1", "size": "10G", "type": "partition", "uuid": "kMbVr7-sPlW-TBGI-H9Zd-roQp-0LWs-iusCv5" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-11-12-36-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "vfat", "label": "", "name": "/dev/vda2", "size": "200M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "boot", "name": "/dev/vda3", "size": "500M", "type": "partition", "uuid": "6e74e171-0370-451f-8340-f16ad2839183" }, "/dev/vda4": { "fstype": "xfs", "label": "root", "name": "/dev/vda4", "size": "9.3G", "type": "partition", "uuid": "1bb53e4d-984c-4316-908a-59b5a62fa30e" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "12be66f7-7f03-4d54-9a48-a520825d8fa9" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "9bd037ed-b1bb-4b9c-a008-9f07d34ab071" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 11:15:46 +0000 (0:00:00.369) 0:02:57.445 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002617", "end": "2022-07-21 07:15:46.649971", "rc": 0, "start": "2022-07-21 07:15:46.647354" } STDOUT: UUID=6e74e171-0370-451f-8340-f16ad2839183 /boot xfs defaults 0 0 UUID=1bb53e4d-984c-4316-908a-59b5a62fa30e / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/vdb1 /var/cache/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 /dev/mapper/vg1-lv1 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 11:15:46 +0000 (0:00:00.378) 0:02:57.823 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:01.003821", "end": "2022-07-21 07:15:48.015972", "failed_when_result": false, "rc": 1, "start": "2022-07-21 07:15:47.012151" } STDERR: cat: /etc/crypttab: No such file or directory MSG: non-zero return code TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 11:15:48 +0000 (0:00:01.377) 0:02:59.200 ********* included: /tmp/tmpfc26zqih/tests/storage/test-verify-pool.yml for /cache/rhel-9.qcow2.snap => (item={'disks': ['sda', 'sdb'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'vg1', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': 'raid0', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 11:15:48 +0000 (0:00:00.063) 0:02:59.264 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 11:15:48 +0000 (0:00:00.090) 0:02:59.355 ********* included: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml for /cache/rhel-9.qcow2.snap => (item=members) included: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-volumes.yml for /cache/rhel-9.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 11:15:48 +0000 (0:00:00.084) 0:02:59.440 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "2", "_storage_test_pool_pvs_lvm": [ "/dev/sda1", "/dev/sdb1" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 11:15:48 +0000 (0:00:00.059) 0:02:59.499 ********* ok: [/cache/rhel-9.qcow2.snap] => (item=/dev/sda1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda1", "pv": "/dev/sda1" } ok: [/cache/rhel-9.qcow2.snap] => (item=/dev/sdb1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sdb1", "pv": "/dev/sdb1" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 11:15:49 +0000 (0:00:00.721) 0:03:00.220 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "2" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 11:15:49 +0000 (0:00:00.049) 0:03:00.270 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda1", "/dev/sdb1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 11:15:49 +0000 (0:00:00.055) 0:03:00.326 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 11:15:49 +0000 (0:00:00.054) 0:03:00.381 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 11:15:49 +0000 (0:00:00.042) 0:03:00.423 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "partition" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 11:15:49 +0000 (0:00:00.055) 0:03:00.479 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 11:15:49 +0000 (0:00:00.026) 0:03:00.506 ********* ok: [/cache/rhel-9.qcow2.snap] => (item=/dev/sda1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda1" } MSG: All assertions passed ok: [/cache/rhel-9.qcow2.snap] => (item=/dev/sdb1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sdb1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 11:15:49 +0000 (0:00:00.060) 0:03:00.566 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml for /cache/rhel-9.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 11:15:49 +0000 (0:00:00.046) 0:03:00.613 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 11:15:49 +0000 (0:00:00.027) 0:03:00.640 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 11:15:49 +0000 (0:00:00.025) 0:03:00.665 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 11:15:49 +0000 (0:00:00.028) 0:03:00.693 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 11:15:49 +0000 (0:00:00.026) 0:03:00.720 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 11:15:49 +0000 (0:00:00.024) 0:03:00.745 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 11:15:49 +0000 (0:00:00.026) 0:03:00.771 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 11:15:49 +0000 (0:00:00.025) 0:03:00.797 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 11:15:49 +0000 (0:00:00.033) 0:03:00.830 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-lvmraid.yml for /cache/rhel-9.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 11:15:49 +0000 (0:00:00.045) 0:03:00.876 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-lvmraid.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': 'raid0', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 11:15:49 +0000 (0:00:00.048) 0:03:00.924 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheading", "-o", "lv_name", "--select", "lv_name=lv1&&lv_layout=raid0", "vg1" ], "delta": "0:00:00.037946", "end": "2022-07-21 07:15:50.168778", "rc": 0, "start": "2022-07-21 07:15:50.130832" } STDOUT: lv1 TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 11:15:50 +0000 (0:00:00.418) 0:03:01.342 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 11:15:50 +0000 (0:00:00.093) 0:03:01.436 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_lvmraid_status": null }, "changed": false } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 11:15:50 +0000 (0:00:00.085) 0:03:01.521 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-thin.yml for /cache/rhel-9.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 11:15:50 +0000 (0:00:00.092) 0:03:01.614 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': 'raid0', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 11:15:50 +0000 (0:00:00.049) 0:03:01.663 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 11:15:50 +0000 (0:00:00.027) 0:03:01.690 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 11:15:50 +0000 (0:00:00.025) 0:03:01.716 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 11:15:50 +0000 (0:00:00.025) 0:03:01.742 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 11:15:50 +0000 (0:00:00.025) 0:03:01.768 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-encryption.yml for /cache/rhel-9.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 11:15:50 +0000 (0:00:00.049) 0:03:01.817 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 11:15:50 +0000 (0:00:00.052) 0:03:01.869 ********* skipping: [/cache/rhel-9.qcow2.snap] => (item=/dev/sda1) => { "_storage_test_pool_member_path": "/dev/sda1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-9.qcow2.snap] => (item=/dev/sdb1) => { "_storage_test_pool_member_path": "/dev/sdb1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 11:15:50 +0000 (0:00:00.033) 0:03:01.903 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml for /cache/rhel-9.qcow2.snap => (item=/dev/sda1) included: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml for /cache/rhel-9.qcow2.snap => (item=/dev/sdb1) TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 11:15:50 +0000 (0:00:00.051) 0:03:01.955 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml:4 Thursday 21 July 2022 11:15:51 +0000 (0:00:00.053) 0:03:02.009 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml:9 Thursday 21 July 2022 11:15:51 +0000 (0:00:00.053) 0:03:02.062 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml:15 Thursday 21 July 2022 11:15:51 +0000 (0:00:00.039) 0:03:02.101 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml:21 Thursday 21 July 2022 11:15:51 +0000 (0:00:00.039) 0:03:02.140 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 11:15:51 +0000 (0:00:00.040) 0:03:02.181 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 11:15:51 +0000 (0:00:00.034) 0:03:02.216 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml:4 Thursday 21 July 2022 11:15:51 +0000 (0:00:00.050) 0:03:02.267 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml:9 Thursday 21 July 2022 11:15:51 +0000 (0:00:00.053) 0:03:02.320 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml:15 Thursday 21 July 2022 11:15:51 +0000 (0:00:00.042) 0:03:02.363 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml:21 Thursday 21 July 2022 11:15:51 +0000 (0:00:00.036) 0:03:02.399 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 11:15:51 +0000 (0:00:00.036) 0:03:02.436 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 11:15:51 +0000 (0:00:00.039) 0:03:02.476 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 11:15:51 +0000 (0:00:00.035) 0:03:02.511 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-vdo.yml for /cache/rhel-9.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 11:15:51 +0000 (0:00:00.050) 0:03:02.561 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': 'raid0', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 11:15:51 +0000 (0:00:00.048) 0:03:02.610 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 11:15:51 +0000 (0:00:00.027) 0:03:02.637 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 11:15:51 +0000 (0:00:00.027) 0:03:02.665 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 11:15:51 +0000 (0:00:00.026) 0:03:02.692 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 11:15:51 +0000 (0:00:00.025) 0:03:02.718 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 11:15:51 +0000 (0:00:00.026) 0:03:02.744 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 11:15:51 +0000 (0:00:00.028) 0:03:02.772 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 11:15:51 +0000 (0:00:00.026) 0:03:02.799 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 11:15:51 +0000 (0:00:00.076) 0:03:02.876 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 11:15:52 +0000 (0:00:00.121) 0:03:02.997 ********* included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': 'raid0', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 11:15:52 +0000 (0:00:00.045) 0:03:03.043 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 11:15:52 +0000 (0:00:00.053) 0:03:03.096 ********* included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml for /cache/rhel-9.qcow2.snap => (item=mount) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml for /cache/rhel-9.qcow2.snap => (item=fstab) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fs.yml for /cache/rhel-9.qcow2.snap => (item=fs) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml for /cache/rhel-9.qcow2.snap => (item=device) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml for /cache/rhel-9.qcow2.snap => (item=encryption) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml for /cache/rhel-9.qcow2.snap => (item=md) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml for /cache/rhel-9.qcow2.snap => (item=size) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml for /cache/rhel-9.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 11:15:52 +0000 (0:00:00.082) 0:03:03.179 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 11:15:52 +0000 (0:00:00.040) 0:03:03.219 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 509649, "block_size": 4096, "block_total": 521600, "block_used": 11951, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1048317, "inode_total": 1048320, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=64k,sunit=128,swidth=256,noquota", "size_available": 2087522304, "size_total": 2136473600, "uuid": "94d11f00-68bf-48cd-b5d0-d024bf0da325" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 509649, "block_size": 4096, "block_total": 521600, "block_used": 11951, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1048317, "inode_total": 1048320, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=64k,sunit=128,swidth=256,noquota", "size_available": 2087522304, "size_total": 2136473600, "uuid": "94d11f00-68bf-48cd-b5d0-d024bf0da325" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 11:15:52 +0000 (0:00:00.055) 0:03:03.275 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 11:15:52 +0000 (0:00:00.055) 0:03:03.330 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 11:15:52 +0000 (0:00:00.047) 0:03:03.378 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 11:15:52 +0000 (0:00:00.049) 0:03:03.427 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 11:15:52 +0000 (0:00:00.023) 0:03:03.450 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 11:15:52 +0000 (0:00:00.024) 0:03:03.474 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 11:15:52 +0000 (0:00:00.022) 0:03:03.497 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 11:15:52 +0000 (0:00:00.034) 0:03:03.532 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/vg1-lv1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 11:15:52 +0000 (0:00:00.066) 0:03:03.599 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 11:15:52 +0000 (0:00:00.050) 0:03:03.649 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 11:15:52 +0000 (0:00:00.051) 0:03:03.700 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 11:15:52 +0000 (0:00:00.040) 0:03:03.740 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 11:15:52 +0000 (0:00:00.037) 0:03:03.778 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 11:15:52 +0000 (0:00:00.041) 0:03:03.819 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 11:15:52 +0000 (0:00:00.043) 0:03:03.862 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1658402125.1412842, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658402125.1412842, "dev": 5, "device_type": 64770, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 1975, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658402125.1412842, "nlink": 1, "path": "/dev/mapper/vg1-lv1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 11:15:53 +0000 (0:00:00.379) 0:03:04.242 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 11:15:53 +0000 (0:00:00.057) 0:03:04.299 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 11:15:53 +0000 (0:00:00.044) 0:03:04.343 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 11:15:53 +0000 (0:00:00.042) 0:03:04.386 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 11:15:53 +0000 (0:00:00.026) 0:03:04.412 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 11:15:53 +0000 (0:00:00.041) 0:03:04.454 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 11:15:53 +0000 (0:00:00.028) 0:03:04.483 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 11:15:54 +0000 (0:00:00.911) 0:03:05.395 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 11:15:54 +0000 (0:00:00.027) 0:03:05.422 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 11:15:54 +0000 (0:00:00.026) 0:03:05.448 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 11:15:54 +0000 (0:00:00.156) 0:03:05.605 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 11:15:54 +0000 (0:00:00.027) 0:03:05.633 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 11:15:54 +0000 (0:00:00.024) 0:03:05.658 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 11:15:54 +0000 (0:00:00.024) 0:03:05.682 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 11:15:54 +0000 (0:00:00.025) 0:03:05.708 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 11:15:54 +0000 (0:00:00.025) 0:03:05.734 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 11:15:54 +0000 (0:00:00.054) 0:03:05.788 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 11:15:54 +0000 (0:00:00.053) 0:03:05.842 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 11:15:54 +0000 (0:00:00.039) 0:03:05.881 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 11:15:54 +0000 (0:00:00.039) 0:03:05.921 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 11:15:54 +0000 (0:00:00.037) 0:03:05.959 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 11:15:55 +0000 (0:00:00.039) 0:03:05.998 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 11:15:55 +0000 (0:00:00.038) 0:03:06.036 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 11:15:55 +0000 (0:00:00.037) 0:03:06.074 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 11:15:55 +0000 (0:00:00.038) 0:03:06.112 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 11:15:55 +0000 (0:00:00.044) 0:03:06.157 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 11:15:55 +0000 (0:00:00.038) 0:03:06.196 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 11:15:55 +0000 (0:00:00.037) 0:03:06.234 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 11:15:55 +0000 (0:00:00.037) 0:03:06.272 ********* ok: [/cache/rhel-9.qcow2.snap] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 11:15:55 +0000 (0:00:00.368) 0:03:06.640 ********* ok: [/cache/rhel-9.qcow2.snap] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 11:15:56 +0000 (0:00:00.379) 0:03:07.019 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "2147483648" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 11:15:56 +0000 (0:00:00.054) 0:03:07.074 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "2147483648" } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 11:15:56 +0000 (0:00:00.038) 0:03:07.112 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 11:15:56 +0000 (0:00:00.036) 0:03:07.149 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 11:15:56 +0000 (0:00:00.035) 0:03:07.184 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 11:15:56 +0000 (0:00:00.036) 0:03:07.220 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 11:15:56 +0000 (0:00:00.034) 0:03:07.254 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 11:15:56 +0000 (0:00:00.034) 0:03:07.289 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_actual_size": { "bytes": 2147483648, "changed": false, "failed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 11:15:56 +0000 (0:00:00.037) 0:03:07.326 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "2147483648" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 11:15:56 +0000 (0:00:00.038) 0:03:07.365 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 11:15:56 +0000 (0:00:00.052) 0:03:07.418 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "vg1/lv1" ], "delta": "0:00:00.033625", "end": "2022-07-21 07:15:56.673278", "rc": 0, "start": "2022-07-21 07:15:56.639653" } STDOUT: LVM2_LV_NAME=lv1 LVM2_LV_ATTR=rwi-aor--- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=raid0 TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 11:15:56 +0000 (0:00:00.425) 0:03:07.843 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "raid0" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 11:15:56 +0000 (0:00:00.100) 0:03:07.943 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 11:15:57 +0000 (0:00:00.054) 0:03:07.997 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 11:15:57 +0000 (0:00:00.042) 0:03:08.040 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 11:15:57 +0000 (0:00:00.044) 0:03:08.084 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 11:15:57 +0000 (0:00:00.039) 0:03:08.124 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 11:15:57 +0000 (0:00:00.037) 0:03:08.161 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 11:15:57 +0000 (0:00:00.035) 0:03:08.197 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 11:15:57 +0000 (0:00:00.021) 0:03:08.219 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Remove the device created above] ***************************************** task path: /tmp/tmpfc26zqih/tests/storage/tests_create_raid_pool_then_remove.yml:190 Thursday 21 July 2022 11:15:57 +0000 (0:00:00.033) 0:03:08.252 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 11:15:57 +0000 (0:00:00.089) 0:03:08.342 ********* included: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-9.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 11:15:57 +0000 (0:00:00.038) 0:03:08.381 ********* ok: [/cache/rhel-9.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 11:15:57 +0000 (0:00:00.530) 0:03:08.912 ********* skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.yml" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.0.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.0.yml", "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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 11:15:58 +0000 (0:00:00.065) 0:03:08.978 ********* ok: [/cache/rhel-9.qcow2.snap] => { "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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 11:15:58 +0000 (0:00:00.040) 0:03:09.018 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 11:15:58 +0000 (0:00:00.037) 0:03:09.056 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-9.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 11:15:58 +0000 (0:00:00.058) 0:03:09.115 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 11:15:58 +0000 (0:00:00.021) 0:03:09.136 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 11:15:58 +0000 (0:00:00.028) 0:03:09.165 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda", "sdb" ], "name": "vg1", "state": "absent", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "lv1", "raid_disks": [ "sda", "sdb" ], "raid_level": "raid0", "size": "2g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 11:15:58 +0000 (0:00:00.039) 0:03:09.205 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 11:15:58 +0000 (0:00:00.039) 0:03:09.244 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 11:15:58 +0000 (0:00:00.031) 0:03:09.276 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 11:15:58 +0000 (0:00:00.028) 0:03:09.304 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 11:15:58 +0000 (0:00:00.030) 0:03:09.335 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 11:15:58 +0000 (0:00:00.033) 0:03:09.368 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 11:15:58 +0000 (0:00:00.102) 0:03:09.471 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 11:15:58 +0000 (0:00:00.022) 0:03:09.493 ********* changed: [/cache/rhel-9.qcow2.snap] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "destroy device", "device": "/dev/vg1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda1", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/sda1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "disklabel" }, { "action": "destroy format", "device": "/dev/sdb1", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/sdb1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb", "fs_type": "disklabel" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "absent" } ], "packages": [ "dosfstools", "xfsprogs", "e2fsprogs" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 11:16:01 +0000 (0:00:03.265) 0:03:12.759 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 11:16:01 +0000 (0:00:00.037) 0:03:12.797 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 11:16:01 +0000 (0:00:00.024) 0:03:12.821 ********* ok: [/cache/rhel-9.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "destroy device", "device": "/dev/vg1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda1", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/sda1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "disklabel" }, { "action": "destroy format", "device": "/dev/sdb1", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/sdb1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb", "fs_type": "disklabel" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "absent" } ], "packages": [ "dosfstools", "xfsprogs", "e2fsprogs" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 11:16:01 +0000 (0:00:00.043) 0:03:12.865 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 11:16:01 +0000 (0:00:00.045) 0:03:12.910 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 11:16:01 +0000 (0:00:00.045) 0:03:12.956 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-9.qcow2.snap] => (item={'src': '/dev/mapper/vg1-lv1', 'path': '/opt/test1', 'state': 'absent', 'fstype': 'xfs'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 11:16:02 +0000 (0:00:00.385) 0:03:13.341 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 11:16:03 +0000 (0:00:00.663) 0:03:14.005 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 11:16:03 +0000 (0:00:00.044) 0:03:14.049 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 11:16:03 +0000 (0:00:00.657) 0:03:14.706 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 11:16:04 +0000 (0:00:00.384) 0:03:15.090 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 11:16:04 +0000 (0:00:00.025) 0:03:15.116 ********* ok: [/cache/rhel-9.qcow2.snap] META: role_complete for /cache/rhel-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/tests_create_raid_pool_then_remove.yml:206 Thursday 21 July 2022 11:16:05 +0000 (0:00:00.975) 0:03:16.092 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml for /cache/rhel-9.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 11:16:05 +0000 (0:00:00.107) 0:03:16.200 ********* ok: [/cache/rhel-9.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 11:16:05 +0000 (0:00:00.055) 0:03:16.256 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 11:16:05 +0000 (0:00:00.041) 0:03:16.297 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "info": { "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-11-12-36-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "vfat", "label": "", "name": "/dev/vda2", "size": "200M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "boot", "name": "/dev/vda3", "size": "500M", "type": "partition", "uuid": "6e74e171-0370-451f-8340-f16ad2839183" }, "/dev/vda4": { "fstype": "xfs", "label": "root", "name": "/dev/vda4", "size": "9.3G", "type": "partition", "uuid": "1bb53e4d-984c-4316-908a-59b5a62fa30e" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "12be66f7-7f03-4d54-9a48-a520825d8fa9" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "9bd037ed-b1bb-4b9c-a008-9f07d34ab071" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 11:16:05 +0000 (0:00:00.385) 0:03:16.682 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002736", "end": "2022-07-21 07:16:05.869324", "rc": 0, "start": "2022-07-21 07:16:05.866588" } STDOUT: UUID=6e74e171-0370-451f-8340-f16ad2839183 /boot xfs defaults 0 0 UUID=1bb53e4d-984c-4316-908a-59b5a62fa30e / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/vdb1 /var/cache/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 11:16:06 +0000 (0:00:00.359) 0:03:17.042 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003618", "end": "2022-07-21 07:16:06.258351", "failed_when_result": false, "rc": 1, "start": "2022-07-21 07:16:06.254733" } STDERR: cat: /etc/crypttab: No such file or directory MSG: non-zero return code TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 11:16:06 +0000 (0:00:00.391) 0:03:17.434 ********* included: /tmp/tmpfc26zqih/tests/storage/test-verify-pool.yml for /cache/rhel-9.qcow2.snap => (item={'disks': ['sda', 'sdb'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'vg1', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'absent', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': 'raid0', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 11:16:06 +0000 (0:00:00.059) 0:03:17.493 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 11:16:06 +0000 (0:00:00.035) 0:03:17.529 ********* included: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml for /cache/rhel-9.qcow2.snap => (item=members) included: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-volumes.yml for /cache/rhel-9.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 11:16:06 +0000 (0:00:00.048) 0:03:17.577 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "0", "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 11:16:06 +0000 (0:00:00.059) 0:03:17.636 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 11:16:06 +0000 (0:00:00.023) 0:03:17.660 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "0" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 11:16:06 +0000 (0:00:00.053) 0:03:17.714 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 11:16:06 +0000 (0:00:00.059) 0:03:17.773 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 11:16:06 +0000 (0:00:00.055) 0:03:17.828 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 11:16:06 +0000 (0:00:00.042) 0:03:17.870 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "partition" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 11:16:06 +0000 (0:00:00.052) 0:03:17.922 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 11:16:06 +0000 (0:00:00.025) 0:03:17.948 ********* TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 11:16:07 +0000 (0:00:00.022) 0:03:17.971 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml for /cache/rhel-9.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 11:16:07 +0000 (0:00:00.042) 0:03:18.013 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 11:16:07 +0000 (0:00:00.025) 0:03:18.039 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 11:16:07 +0000 (0:00:00.027) 0:03:18.066 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 11:16:07 +0000 (0:00:00.026) 0:03:18.093 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 11:16:07 +0000 (0:00:00.028) 0:03:18.121 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 11:16:07 +0000 (0:00:00.060) 0:03:18.182 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 11:16:07 +0000 (0:00:00.025) 0:03:18.207 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 11:16:07 +0000 (0:00:00.026) 0:03:18.234 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 11:16:07 +0000 (0:00:00.034) 0:03:18.268 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-lvmraid.yml for /cache/rhel-9.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 11:16:07 +0000 (0:00:00.043) 0:03:18.312 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-lvmraid.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': 'raid0', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 11:16:07 +0000 (0:00:00.041) 0:03:18.354 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 11:16:07 +0000 (0:00:00.036) 0:03:18.391 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 11:16:07 +0000 (0:00:00.034) 0:03:18.426 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 11:16:07 +0000 (0:00:00.032) 0:03:18.459 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-thin.yml for /cache/rhel-9.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 11:16:07 +0000 (0:00:00.050) 0:03:18.509 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': 'raid0', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 11:16:07 +0000 (0:00:00.049) 0:03:18.558 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 11:16:07 +0000 (0:00:00.028) 0:03:18.586 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 11:16:07 +0000 (0:00:00.025) 0:03:18.612 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 11:16:07 +0000 (0:00:00.026) 0:03:18.639 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 11:16:07 +0000 (0:00:00.024) 0:03:18.663 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-encryption.yml for /cache/rhel-9.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 11:16:07 +0000 (0:00:00.049) 0:03:18.712 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 11:16:07 +0000 (0:00:00.054) 0:03:18.767 ********* TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 11:16:07 +0000 (0:00:00.025) 0:03:18.792 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 11:16:07 +0000 (0:00:00.024) 0:03:18.816 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 11:16:07 +0000 (0:00:00.038) 0:03:18.855 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-vdo.yml for /cache/rhel-9.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 11:16:07 +0000 (0:00:00.051) 0:03:18.906 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': 'raid0', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 11:16:07 +0000 (0:00:00.044) 0:03:18.951 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 11:16:08 +0000 (0:00:00.023) 0:03:18.975 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 11:16:08 +0000 (0:00:00.026) 0:03:19.002 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 11:16:08 +0000 (0:00:00.024) 0:03:19.027 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 11:16:08 +0000 (0:00:00.023) 0:03:19.051 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 11:16:08 +0000 (0:00:00.024) 0:03:19.075 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 11:16:08 +0000 (0:00:00.025) 0:03:19.100 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 11:16:08 +0000 (0:00:00.023) 0:03:19.124 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 11:16:08 +0000 (0:00:00.035) 0:03:19.159 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 11:16:08 +0000 (0:00:00.036) 0:03:19.196 ********* included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': 'raid0', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 11:16:08 +0000 (0:00:00.043) 0:03:19.240 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": false, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 11:16:08 +0000 (0:00:00.108) 0:03:19.348 ********* included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml for /cache/rhel-9.qcow2.snap => (item=mount) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml for /cache/rhel-9.qcow2.snap => (item=fstab) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fs.yml for /cache/rhel-9.qcow2.snap => (item=fs) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml for /cache/rhel-9.qcow2.snap => (item=device) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml for /cache/rhel-9.qcow2.snap => (item=encryption) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml for /cache/rhel-9.qcow2.snap => (item=md) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml for /cache/rhel-9.qcow2.snap => (item=size) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml for /cache/rhel-9.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 11:16:08 +0000 (0:00:00.136) 0:03:19.485 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 11:16:08 +0000 (0:00:00.044) 0:03:19.530 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 11:16:08 +0000 (0:00:00.057) 0:03:19.588 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 11:16:08 +0000 (0:00:00.026) 0:03:19.614 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 11:16:08 +0000 (0:00:00.050) 0:03:19.664 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 11:16:08 +0000 (0:00:00.035) 0:03:19.699 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 11:16:08 +0000 (0:00:00.028) 0:03:19.727 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 11:16:08 +0000 (0:00:00.032) 0:03:19.760 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 11:16:08 +0000 (0:00:00.025) 0:03:19.786 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 11:16:08 +0000 (0:00:00.033) 0:03:19.819 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "0", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 11:16:08 +0000 (0:00:00.061) 0:03:19.880 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 11:16:08 +0000 (0:00:00.023) 0:03:19.904 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 11:16:08 +0000 (0:00:00.049) 0:03:19.954 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 11:16:09 +0000 (0:00:00.034) 0:03:19.988 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 11:16:09 +0000 (0:00:00.033) 0:03:20.021 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 11:16:09 +0000 (0:00:00.029) 0:03:20.051 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 11:16:09 +0000 (0:00:00.030) 0:03:20.082 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 11:16:09 +0000 (0:00:00.365) 0:03:20.447 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 11:16:09 +0000 (0:00:00.042) 0:03:20.489 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 11:16:09 +0000 (0:00:00.025) 0:03:20.515 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 11:16:09 +0000 (0:00:00.035) 0:03:20.550 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 11:16:09 +0000 (0:00:00.023) 0:03:20.574 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 11:16:09 +0000 (0:00:00.023) 0:03:20.598 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 11:16:09 +0000 (0:00:00.025) 0:03:20.623 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 11:16:10 +0000 (0:00:00.879) 0:03:21.503 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 11:16:10 +0000 (0:00:00.026) 0:03:21.530 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 11:16:10 +0000 (0:00:00.023) 0:03:21.553 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 11:16:10 +0000 (0:00:00.024) 0:03:21.578 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 11:16:10 +0000 (0:00:00.027) 0:03:21.606 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 11:16:10 +0000 (0:00:00.025) 0:03:21.632 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 11:16:10 +0000 (0:00:00.023) 0:03:21.656 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 11:16:10 +0000 (0:00:00.024) 0:03:21.680 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 11:16:10 +0000 (0:00:00.065) 0:03:21.746 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 11:16:10 +0000 (0:00:00.050) 0:03:21.796 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 11:16:10 +0000 (0:00:00.055) 0:03:21.852 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 11:16:10 +0000 (0:00:00.039) 0:03:21.891 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 11:16:10 +0000 (0:00:00.042) 0:03:21.934 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 11:16:11 +0000 (0:00:00.038) 0:03:21.972 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 11:16:11 +0000 (0:00:00.038) 0:03:22.011 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 11:16:11 +0000 (0:00:00.039) 0:03:22.050 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 11:16:11 +0000 (0:00:00.042) 0:03:22.093 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 11:16:11 +0000 (0:00:00.039) 0:03:22.132 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 11:16:11 +0000 (0:00:00.039) 0:03:22.172 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 11:16:11 +0000 (0:00:00.039) 0:03:22.211 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 11:16:11 +0000 (0:00:00.041) 0:03:22.252 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 11:16:11 +0000 (0:00:00.036) 0:03:22.289 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 11:16:11 +0000 (0:00:00.024) 0:03:22.314 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 11:16:11 +0000 (0:00:00.036) 0:03:22.350 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 11:16:11 +0000 (0:00:00.043) 0:03:22.394 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "2147483648" } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 11:16:11 +0000 (0:00:00.039) 0:03:22.433 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 11:16:11 +0000 (0:00:00.039) 0:03:22.473 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 11:16:11 +0000 (0:00:00.039) 0:03:22.512 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 11:16:11 +0000 (0:00:00.042) 0:03:22.555 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 11:16:11 +0000 (0:00:00.039) 0:03:22.594 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 11:16:11 +0000 (0:00:00.039) 0:03:22.633 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 11:16:11 +0000 (0:00:00.037) 0:03:22.670 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "2147483648" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 11:16:11 +0000 (0:00:00.038) 0:03:22.709 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 11:16:11 +0000 (0:00:00.025) 0:03:22.734 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 11:16:11 +0000 (0:00:00.024) 0:03:22.759 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 11:16:11 +0000 (0:00:00.026) 0:03:22.785 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 11:16:11 +0000 (0:00:00.026) 0:03:22.812 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 11:16:11 +0000 (0:00:00.025) 0:03:22.838 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 11:16:11 +0000 (0:00:00.026) 0:03:22.865 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 11:16:11 +0000 (0:00:00.026) 0:03:22.891 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 11:16:11 +0000 (0:00:00.025) 0:03:22.917 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 11:16:11 +0000 (0:00:00.036) 0:03:22.954 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 11:16:12 +0000 (0:00:00.024) 0:03:22.978 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-9.qcow2.snap : ok=1121 changed=14 unreachable=0 failed=0 skipped=989 rescued=0 ignored=0 Thursday 21 July 2022 11:16:12 +0000 (0:00:00.050) 0:03:23.029 ********* =============================================================================== fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 8.95s /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 4.31s /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 3.46s /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 3.32s /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 3.27s /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 3.19s /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 3.06s /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 2.29s /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 2.13s /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : get service facts ------------------- 1.89s /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Read the /etc/crypttab file --------------------------------------------- 1.38s /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:24 --------------------- Read the /etc/crypttab file --------------------------------------------- 1.38s /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:24 --------------------- Read the /etc/crypttab file --------------------------------------------- 1.37s /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:24 --------------------- Gathering Facts --------------------------------------------------------- 1.32s /tmp/tmpfc26zqih/tests/storage/tests_create_raid_pool_then_remove.yml:2 ------- fedora.linux_system_roles.storage : set up new/current mounts ----------- 1.27s /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 fedora.linux_system_roles.storage : make sure blivet is available ------- 1.26s /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 fedora.linux_system_roles.storage : set up new/current mounts ----------- 1.13s /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 fedora.linux_system_roles.storage : remove obsolete mounts -------------- 1.13s /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 fedora.linux_system_roles.storage : Update facts ------------------------ 1.08s /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 fedora.linux_system_roles.storage : Update facts ------------------------ 1.07s /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183