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/tmpp_vyhrdp 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_disk_then_remove_scsi_generated.yml ********************* 2 plays in /tmp/tmpafnwmbol/tests/tests_create_disk_then_remove_scsi_generated.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpafnwmbol/tests/tests_create_disk_then_remove_scsi_generated.yml:3 Thursday 21 July 2022 13:22:36 +0000 (0:00:00.013) 0:00:00.013 ********* ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [set disk interface for test] ********************************************* task path: /tmp/tmpafnwmbol/tests/tests_create_disk_then_remove_scsi_generated.yml:7 Thursday 21 July 2022 13:22:38 +0000 (0:00:01.343) 0:00:01.357 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_use_interface": "scsi" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpafnwmbol/tests/tests_create_disk_then_remove.yml:2 Thursday 21 July 2022 13:22:38 +0000 (0:00:00.051) 0:00:01.408 ********* ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [include_role : linux-system-roles.storage] ******************************* task path: /tmp/tmpafnwmbol/tests/tests_create_disk_then_remove.yml:9 Thursday 21 July 2022 13:22:39 +0000 (0:00:00.971) 0:00:02.380 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 13:22:39 +0000 (0:00:00.036) 0:00:02.417 ********* included: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 13:22:39 +0000 (0:00:00.030) 0:00:02.447 ********* ok: [/cache/rhel-8-y.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 13:22:39 +0000 (0:00:00.525) 0:00:02.972 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.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/tmpafnwmbol/tests/roles/linux-system-roles.storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.7.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/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 13:22:39 +0000 (0:00:00.056) 0:00:03.028 ********* ok: [/cache/rhel-8-y.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/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 13:22:39 +0000 (0:00:00.030) 0:00:03.059 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 13:22:39 +0000 (0:00:00.030) 0:00:03.089 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 13:22:39 +0000 (0:00:00.047) 0:00:03.137 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 13:22:39 +0000 (0:00:00.019) 0:00:03.156 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 13:22:41 +0000 (0:00:01.851) 0:00:05.008 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 13:22:41 +0000 (0:00:00.033) 0:00:05.041 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 13:22:41 +0000 (0:00:00.056) 0:00:05.098 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 13:22:42 +0000 (0:00:00.728) 0:00:05.827 ********* included: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.storage : check if the COPR support packages should be installed] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:2 Thursday 21 July 2022 13:22:42 +0000 (0:00:00.045) 0:00:05.872 ********* TASK [linux-system-roles.storage : make sure COPR support packages are present] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:13 Thursday 21 July 2022 13:22:42 +0000 (0:00:00.035) 0:00:05.908 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable COPRs] ******************************* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:18 Thursday 21 July 2022 13:22:42 +0000 (0:00:00.034) 0:00:05.943 ********* TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 13:22:42 +0000 (0:00:00.030) 0:00:05.974 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 13:22:44 +0000 (0:00:01.350) 0:00:07.324 ********* ok: [/cache/rhel-8-y.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" }, "arp-ethers.service": { "name": "arp-ethers.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "auditd.service": { "name": "auditd.service", "source": "systemd", "state": "running", "status": "enabled" }, "auth-rpcgss-module.service": { "name": "auth-rpcgss-module.service", "source": "systemd", "state": "stopped", "status": "static" }, "autovt@.service": { "name": "autovt@.service", "source": "systemd", "state": "unknown", "status": "enabled" }, "blivet.service": { "name": "blivet.service", "source": "systemd", "state": "inactive", "status": "static" }, "blk-availability.service": { "name": "blk-availability.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "chrony-dnssrv@.service": { "name": "chrony-dnssrv@.service", "source": "systemd", "state": "unknown", "status": "static" }, "chrony-wait.service": { "name": "chrony-wait.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "chronyd.service": { "name": "chronyd.service", "source": "systemd", "state": "running", "status": "enabled" }, "cloud-config.service": { "name": "cloud-config.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-final.service": { "name": "cloud-final.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init-hotplugd.service": { "name": "cloud-init-hotplugd.service", "source": "systemd", "state": "inactive", "status": "static" }, "cloud-init-local.service": { "name": "cloud-init-local.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init.service": { "name": "cloud-init.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "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-org.freedesktop.hostname1.service": { "name": "dbus-org.freedesktop.hostname1.service", "source": "systemd", "state": "active", "status": "static" }, "dbus-org.freedesktop.locale1.service": { "name": "dbus-org.freedesktop.locale1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.login1.service": { "name": "dbus-org.freedesktop.login1.service", "source": "systemd", "state": "active", "status": "static" }, "dbus-org.freedesktop.nm-dispatcher.service": { "name": "dbus-org.freedesktop.nm-dispatcher.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "dbus-org.freedesktop.portable1.service": { "name": "dbus-org.freedesktop.portable1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.timedate1.service": { "name": "dbus-org.freedesktop.timedate1.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "dbus.service": { "name": "dbus.service", "source": "systemd", "state": "running", "status": "static" }, "dbxtool.service": { "name": "dbxtool.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "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.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" }, "getty@.service": { "name": "getty@.service", "source": "systemd", "state": "unknown", "status": "enabled" }, "getty@tty1.service": { "name": "getty@tty1.service", "source": "systemd", "state": "running", "status": "active" }, "grub-boot-indeterminate.service": { "name": "grub-boot-indeterminate.service", "source": "systemd", "state": "inactive", "status": "static" }, "gssproxy.service": { "name": "gssproxy.service", "source": "systemd", "state": "running", "status": "disabled" }, "halt-local.service": { "name": "halt-local.service", "source": "systemd", "state": "inactive", "status": "static" }, "hv_kvp_daemon.service": { "name": "hv_kvp_daemon.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "import-state.service": { "name": "import-state.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "initrd-cleanup.service": { "name": "initrd-cleanup.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-parse-etc.service": { "name": "initrd-parse-etc.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-switch-root.service": { "name": "initrd-switch-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-udevadm-cleanup-db.service": { "name": "initrd-udevadm-cleanup-db.service", "source": "systemd", "state": "stopped", "status": "static" }, "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" }, "loadmodules.service": { "name": "loadmodules.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "lvm2-activation-early.service": { "name": "lvm2-activation-early.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "lvm2-activation.service": { "name": "lvm2-activation.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "lvm2-lvmpolld.service": { "name": "lvm2-lvmpolld.service", "source": "systemd", "state": "stopped", "status": "static" }, "lvm2-monitor.service": { "name": "lvm2-monitor.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "lvm2-pvscan@.service": { "name": "lvm2-pvscan@.service", "source": "systemd", "state": "unknown", "status": "static" }, "man-db-cache-update.service": { "name": "man-db-cache-update.service", "source": "systemd", "state": "inactive", "status": "static" }, "man-db-restart-cache-update.service": { "name": "man-db-restart-cache-update.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "mdadm-grow-continue@.service": { "name": "mdadm-grow-continue@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdadm-last-resort@.service": { "name": "mdadm-last-resort@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdcheck_continue.service": { "name": "mdcheck_continue.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdcheck_start.service": { "name": "mdcheck_start.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdmon@.service": { "name": "mdmon@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdmonitor-oneshot.service": { "name": "mdmonitor-oneshot.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdmonitor.service": { "name": "mdmonitor.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "messagebus.service": { "name": "messagebus.service", "source": "systemd", "state": "active", "status": "static" }, "microcode.service": { "name": "microcode.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "multipathd.service": { "name": "multipathd.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "ndctl-monitor.service": { "name": "ndctl-monitor.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "network.service": { "name": "network.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "nfs-blkmap.service": { "name": "nfs-blkmap.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfs-convert.service": { "name": "nfs-convert.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfs-idmapd.service": { "name": "nfs-idmapd.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-mountd.service": { "name": "nfs-mountd.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-server.service": { "name": "nfs-server.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "nfs-utils.service": { "name": "nfs-utils.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfsdcld.service": { "name": "nfsdcld.service", "source": "systemd", "state": "stopped", "status": "static" }, "nis-domainname.service": { "name": "nis-domainname.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "ntpd.service": { "name": "ntpd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ntpdate.service": { "name": "ntpdate.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "oddjobd.service": { "name": "oddjobd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "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" }, "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" }, "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" }, "rhcd.service": { "name": "rhcd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "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" }, "rpcbind.service": { "name": "rpcbind.service", "source": "systemd", "state": "running", "status": "enabled" }, "rsyslog.service": { "name": "rsyslog.service", "source": "systemd", "state": "running", "status": "enabled" }, "selinux-autorelabel-mark.service": { "name": "selinux-autorelabel-mark.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "selinux-autorelabel.service": { "name": "selinux-autorelabel.service", "source": "systemd", "state": "inactive", "status": "static" }, "serial-getty@.service": { "name": "serial-getty@.service", "source": "systemd", "state": "unknown", "status": "indirect" }, "serial-getty@ttyS0.service": { "name": "serial-getty@ttyS0.service", "source": "systemd", "state": "running", "status": "active" }, "snapd.seeded.service": { "name": "snapd.seeded.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sntp.service": { "name": "sntp.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sshd-keygen.service": { "name": "sshd-keygen.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sshd-keygen@.service": { "name": "sshd-keygen@.service", "source": "systemd", "state": "unknown", "status": "disabled" }, "sshd-keygen@ecdsa.service": { "name": "sshd-keygen@ecdsa.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd-keygen@ed25519.service": { "name": "sshd-keygen@ed25519.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd-keygen@rsa.service": { "name": "sshd-keygen@rsa.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd.service": { "name": "sshd.service", "source": "systemd", "state": "running", "status": "enabled" }, "sshd@.service": { "name": "sshd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "sssd-autofs.service": { "name": "sssd-autofs.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-kcm.service": { "name": "sssd-kcm.service", "source": "systemd", "state": "stopped", "status": "indirect" }, "sssd-nss.service": { "name": "sssd-nss.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-pac.service": { "name": "sssd-pac.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-pam.service": { "name": "sssd-pam.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-ssh.service": { "name": "sssd-ssh.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-sudo.service": { "name": "sssd-sudo.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd.service": { "name": "sssd.service", "source": "systemd", "state": "running", "status": "enabled" }, "syslog.service": { "name": "syslog.service", "source": "systemd", "state": "active", "status": "enabled" }, "system-update-cleanup.service": { "name": "system-update-cleanup.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-ask-password-console.service": { "name": "systemd-ask-password-console.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-ask-password-wall.service": { "name": "systemd-ask-password-wall.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-backlight@.service": { "name": "systemd-backlight@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-binfmt.service": { "name": "systemd-binfmt.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-coredump@.service": { "name": "systemd-coredump@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-exit.service": { "name": "systemd-exit.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-firstboot.service": { "name": "systemd-firstboot.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-fsck-root.service": { "name": "systemd-fsck-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-fsck@.service": { "name": "systemd-fsck@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-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-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-kexec.service": { "name": "systemd-kexec.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-localed.service": { "name": "systemd-localed.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-logind.service": { "name": "systemd-logind.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-machine-id-commit.service": { "name": "systemd-machine-id-commit.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-modules-load.service": { "name": "systemd-modules-load.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-networkd-wait-online.service": { "name": "systemd-networkd-wait-online.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "systemd-portabled.service": { "name": "systemd-portabled.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-poweroff.service": { "name": "systemd-poweroff.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-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": "static" }, "systemd-resolved.service": { "name": "systemd-resolved.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-rfkill.service": { "name": "systemd-rfkill.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-suspend-then-hibernate.service": { "name": "systemd-suspend-then-hibernate.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-suspend.service": { "name": "systemd-suspend.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-sysctl.service": { "name": "systemd-sysctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-sysusers.service": { "name": "systemd-sysusers.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-timedated.service": { "name": "systemd-timedated.service", "source": "systemd", "state": "inactive", "status": "masked" }, "systemd-timesyncd.service": { "name": "systemd-timesyncd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "systemd-tmpfiles-clean.service": { "name": "systemd-tmpfiles-clean.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup-dev.service": { "name": "systemd-tmpfiles-setup-dev.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup.service": { "name": "systemd-tmpfiles-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udev-settle.service": { "name": "systemd-udev-settle.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udev-trigger.service": { "name": "systemd-udev-trigger.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udevd.service": { "name": "systemd-udevd.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-update-done.service": { "name": "systemd-update-done.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-update-utmp-runlevel.service": { "name": "systemd-update-utmp-runlevel.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-update-utmp.service": { "name": "systemd-update-utmp.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-user-sessions.service": { "name": "systemd-user-sessions.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-vconsole-setup.service": { "name": "systemd-vconsole-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-volatile-root.service": { "name": "systemd-volatile-root.service", "source": "systemd", "state": "inactive", "status": "static" }, "tcsd.service": { "name": "tcsd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "teamd@.service": { "name": "teamd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "timedatex.service": { "name": "timedatex.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "tuned.service": { "name": "tuned.service", "source": "systemd", "state": "running", "status": "enabled" }, "unbound-anchor.service": { "name": "unbound-anchor.service", "source": "systemd", "state": "stopped", "status": "static" }, "user-runtime-dir@.service": { "name": "user-runtime-dir@.service", "source": "systemd", "state": "unknown", "status": "static" }, "user-runtime-dir@0.service": { "name": "user-runtime-dir@0.service", "source": "systemd", "state": "stopped", "status": "active" }, "user@.service": { "name": "user@.service", "source": "systemd", "state": "unknown", "status": "static" }, "user@0.service": { "name": "user@0.service", "source": "systemd", "state": "running", "status": "active" }, "vdo-start-by-dev@.service": { "name": "vdo-start-by-dev@.service", "source": "systemd", "state": "unknown", "status": "static" }, "vdo.service": { "name": "vdo.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "ypbind.service": { "name": "ypbind.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "yppasswdd.service": { "name": "yppasswdd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ypserv.service": { "name": "ypserv.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ypxfrd.service": { "name": "ypxfrd.service", "source": "systemd", "state": "stopped", "status": "not-found" } } }, "changed": false } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 13:22:46 +0000 (0:00:01.914) 0:00:09.238 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 13:22:46 +0000 (0:00:00.056) 0:00:09.295 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 13:22:46 +0000 (0:00:00.022) 0:00:09.318 ********* ok: [/cache/rhel-8-y.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/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 13:22:46 +0000 (0:00:00.597) 0:00:09.915 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 13:22:46 +0000 (0:00:00.036) 0:00:09.952 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 13:22:46 +0000 (0:00:00.020) 0:00:09.973 ********* ok: [/cache/rhel-8-y.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/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 13:22:46 +0000 (0:00:00.033) 0:00:10.007 ********* ok: [/cache/rhel-8-y.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/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 13:22:46 +0000 (0:00:00.033) 0:00:10.040 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 13:22:46 +0000 (0:00:00.034) 0:00:10.075 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 13:22:46 +0000 (0:00:00.032) 0:00:10.108 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 13:22:46 +0000 (0:00:00.023) 0:00:10.132 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 13:22:46 +0000 (0:00:00.036) 0:00:10.168 ********* skipping: [/cache/rhel-8-y.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/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 13:22:46 +0000 (0:00:00.026) 0:00:10.194 ********* ok: [/cache/rhel-8-y.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/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 13:22:47 +0000 (0:00:00.495) 0:00:10.690 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 13:22:47 +0000 (0:00:00.023) 0:00:10.713 ********* ok: [/cache/rhel-8-y.qcow2.snap] META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [Mark tasks to be skipped] ************************************************ task path: /tmp/tmpafnwmbol/tests/tests_create_disk_then_remove.yml:12 Thursday 21 July 2022 13:22:48 +0000 (0:00:00.980) 0:00:11.693 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_skip_checks": [ "blivet_available", "packages_installed", "service_facts" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpafnwmbol/tests/tests_create_disk_then_remove.yml:19 Thursday 21 July 2022 13:22:48 +0000 (0:00:00.063) 0:00:11.757 ********* included: /tmp/tmpafnwmbol/tests/get_unused_disk.yml for /cache/rhel-8-y.qcow2.snap TASK [Find unused disks in the system] ***************************************** task path: /tmp/tmpafnwmbol/tests/get_unused_disk.yml:2 Thursday 21 July 2022 13:22:48 +0000 (0:00:00.062) 0:00:11.820 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "disks": [ "sda" ] } TASK [Set unused_disks if necessary] ******************************************* task path: /tmp/tmpafnwmbol/tests/get_unused_disk.yml:9 Thursday 21 July 2022 13:22:49 +0000 (0:00:00.486) 0:00:12.307 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "unused_disks": [ "sda" ] }, "changed": false } TASK [Exit playbook when there's not enough unused disks in the system] ******** task path: /tmp/tmpafnwmbol/tests/get_unused_disk.yml:14 Thursday 21 July 2022 13:22:49 +0000 (0:00:00.038) 0:00:12.345 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Print unused disks] ****************************************************** task path: /tmp/tmpafnwmbol/tests/get_unused_disk.yml:19 Thursday 21 July 2022 13:22:49 +0000 (0:00:00.037) 0:00:12.382 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "unused_disks": [ "sda" ] } TASK [Create a disk device mounted on "/opt/test1"; specify disks as non-list] *** task path: /tmp/tmpafnwmbol/tests/tests_create_disk_then_remove.yml:23 Thursday 21 July 2022 13:22:49 +0000 (0:00:00.035) 0:00:12.418 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 13:22:49 +0000 (0:00:00.042) 0:00:12.461 ********* included: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 13:22:49 +0000 (0:00:00.034) 0:00:12.495 ********* ok: [/cache/rhel-8-y.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 13:22:49 +0000 (0:00:00.519) 0:00:13.015 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.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/tmpafnwmbol/tests/roles/linux-system-roles.storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.7.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/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 13:22:49 +0000 (0:00:00.060) 0:00:13.075 ********* ok: [/cache/rhel-8-y.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/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 13:22:49 +0000 (0:00:00.035) 0:00:13.110 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 13:22:49 +0000 (0:00:00.035) 0:00:13.146 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 13:22:49 +0000 (0:00:00.050) 0:00:13.196 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 13:22:50 +0000 (0:00:00.020) 0:00:13.217 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 13:22:50 +0000 (0:00:00.030) 0:00:13.247 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 13:22:50 +0000 (0:00:00.036) 0:00:13.283 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_volumes": [ { "disks": "sda", "fs_type": "ext4", "mount_point": "/opt/test1", "name": "test1", "type": "disk" } ] } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 13:22:50 +0000 (0:00:00.036) 0:00:13.320 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 13:22:50 +0000 (0:00:00.026) 0:00:13.347 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 13:22:50 +0000 (0:00:00.027) 0:00:13.375 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 13:22:50 +0000 (0:00:00.027) 0:00:13.403 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 13:22:50 +0000 (0:00:00.031) 0:00:13.434 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 13:22:50 +0000 (0:00:00.056) 0:00:13.490 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 13:22:50 +0000 (0:00:00.022) 0:00:13.512 ********* changed: [/cache/rhel-8-y.qcow2.snap] => { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "ext4" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=71df7dde-18b0-4669-8593-6404fd11e508", "state": "mounted" } ], "packages": [ "xfsprogs", "e2fsprogs", "dosfstools" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=71df7dde-18b0-4669-8593-6404fd11e508", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 13:22:51 +0000 (0:00:01.666) 0:00:15.178 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 13:22:52 +0000 (0:00:00.035) 0:00:15.214 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 13:22:52 +0000 (0:00:00.021) 0:00:15.235 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "ext4" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=71df7dde-18b0-4669-8593-6404fd11e508", "state": "mounted" } ], "packages": [ "xfsprogs", "e2fsprogs", "dosfstools" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=71df7dde-18b0-4669-8593-6404fd11e508", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 13:22:52 +0000 (0:00:00.034) 0:00:15.270 ********* ok: [/cache/rhel-8-y.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/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 13:22:52 +0000 (0:00:00.037) 0:00:15.307 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=71df7dde-18b0-4669-8593-6404fd11e508", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 13:22:52 +0000 (0:00:00.039) 0:00:15.347 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 13:22:52 +0000 (0:00:00.042) 0:00:15.389 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 13:22:53 +0000 (0:00:00.873) 0:00:16.262 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8-y.qcow2.snap] => (item={'src': 'UUID=71df7dde-18b0-4669-8593-6404fd11e508', 'path': '/opt/test1', 'fstype': 'ext4', '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": "ext4", "mount_info": { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=71df7dde-18b0-4669-8593-6404fd11e508", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "UUID=71df7dde-18b0-4669-8593-6404fd11e508" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 13:22:53 +0000 (0:00:00.579) 0:00:16.842 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 13:22:54 +0000 (0:00:00.620) 0:00:17.463 ********* ok: [/cache/rhel-8-y.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/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 13:22:54 +0000 (0:00:00.381) 0:00:17.845 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 13:22:54 +0000 (0:00:00.023) 0:00:17.869 ********* ok: [/cache/rhel-8-y.qcow2.snap] META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpafnwmbol/tests/tests_create_disk_then_remove.yml:34 Thursday 21 July 2022 13:22:55 +0000 (0:00:00.966) 0:00:18.835 ********* included: /tmp/tmpafnwmbol/tests/verify-role-results.yml for /cache/rhel-8-y.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:1 Thursday 21 July 2022 13:22:55 +0000 (0:00:00.041) 0:00:18.877 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:6 Thursday 21 July 2022 13:22:55 +0000 (0:00:00.035) 0:00:18.913 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "_storage_volumes_list": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=71df7dde-18b0-4669-8593-6404fd11e508", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:14 Thursday 21 July 2022 13:22:55 +0000 (0:00:00.083) 0:00:18.996 ********* ok: [/cache/rhel-8-y.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": "ext4", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "71df7dde-18b0-4669-8593-6404fd11e508" }, "/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-13-22-24-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": "100M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "root", "name": "/dev/vda3", "size": "9.9G", "type": "partition", "uuid": "58dca2db-4ccd-4171-a017-dd53ad8c1c54" }, "/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": "4d1ed9a1-5608-4ff8-ad89-21d95caa66fa" }, "/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": "a7abcc97-edc5-476c-8ccd-694b4621fd28" }, "/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/tmpafnwmbol/tests/verify-role-results.yml:19 Thursday 21 July 2022 13:22:56 +0000 (0:00:00.512) 0:00:19.508 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002763", "end": "2022-07-21 09:22:56.571772", "rc": 0, "start": "2022-07-21 09:22:56.569009" } STDOUT: UUID=58dca2db-4ccd-4171-a017-dd53ad8c1c54 / 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 UUID=71df7dde-18b0-4669-8593-6404fd11e508 /opt/test1 ext4 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:24 Thursday 21 July 2022 13:22:56 +0000 (0:00:00.461) 0:00:19.969 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003037", "end": "2022-07-21 09:22:56.947409", "failed_when_result": false, "rc": 1, "start": "2022-07-21 09:22:56.944372" } 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/tmpafnwmbol/tests/verify-role-results.yml:33 Thursday 21 July 2022 13:22:57 +0000 (0:00:00.376) 0:00:20.346 ********* TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:43 Thursday 21 July 2022 13:22:57 +0000 (0:00:00.023) 0:00:20.369 ********* included: /tmp/tmpafnwmbol/tests/test-verify-volume.yml for /cache/rhel-8-y.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': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': 10737418240, 'state': 'present', 'type': 'disk', 'disks': ['sda'], 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_chunk_size': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': [], '_device': '/dev/sda', '_raw_device': '/dev/sda', '_mount_id': 'UUID=71df7dde-18b0-4669-8593-6404fd11e508', '_kernel_device': '/dev/sda', '_raw_kernel_device': '/dev/sda'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume.yml:2 Thursday 21 July 2022 13:22:57 +0000 (0:00:00.058) 0:00:20.428 ********* ok: [/cache/rhel-8-y.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/tmpafnwmbol/tests/test-verify-volume.yml:10 Thursday 21 July 2022 13:22:57 +0000 (0:00:00.046) 0:00:20.475 ********* included: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml for /cache/rhel-8-y.qcow2.snap => (item=mount) included: /tmp/tmpafnwmbol/tests/test-verify-volume-fstab.yml for /cache/rhel-8-y.qcow2.snap => (item=fstab) included: /tmp/tmpafnwmbol/tests/test-verify-volume-fs.yml for /cache/rhel-8-y.qcow2.snap => (item=fs) included: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml for /cache/rhel-8-y.qcow2.snap => (item=device) included: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml for /cache/rhel-8-y.qcow2.snap => (item=encryption) included: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml for /cache/rhel-8-y.qcow2.snap => (item=md) included: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml for /cache/rhel-8-y.qcow2.snap => (item=size) included: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml for /cache/rhel-8-y.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 13:22:57 +0000 (0:00:00.080) 0:00:20.555 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/sda" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 13:22:57 +0000 (0:00:00.037) 0:00:20.593 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 2419519, "block_size": 4096, "block_total": 2554693, "block_used": 135174, "device": "/dev/sda", "fstype": "ext4", "inode_available": 655349, "inode_total": 655360, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 9910349824, "size_total": 10464022528, "uuid": "71df7dde-18b0-4669-8593-6404fd11e508" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 2419519, "block_size": 4096, "block_total": 2554693, "block_used": 135174, "device": "/dev/sda", "fstype": "ext4", "inode_available": 655349, "inode_total": 655360, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 9910349824, "size_total": 10464022528, "uuid": "71df7dde-18b0-4669-8593-6404fd11e508" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 13:22:57 +0000 (0:00:00.051) 0:00:20.644 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 13:22:57 +0000 (0:00:00.046) 0:00:20.691 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 13:22:57 +0000 (0:00:00.049) 0:00:20.740 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 13:22:57 +0000 (0:00:00.048) 0:00:20.789 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 13:22:57 +0000 (0:00:00.022) 0:00:20.811 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 13:22:57 +0000 (0:00:00.026) 0:00:20.838 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 13:22:57 +0000 (0:00:00.024) 0:00:20.862 ********* ok: [/cache/rhel-8-y.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/tmpafnwmbol/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 13:22:57 +0000 (0:00:00.031) 0:00:20.894 ********* ok: [/cache/rhel-8-y.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": [ "UUID=71df7dde-18b0-4669-8593-6404fd11e508 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 ext4 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 13:22:57 +0000 (0:00:00.056) 0:00:20.951 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 13:22:57 +0000 (0:00:00.053) 0:00:21.005 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 13:22:57 +0000 (0:00:00.084) 0:00:21.089 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 13:22:57 +0000 (0:00:00.038) 0:00:21.127 ********* ok: [/cache/rhel-8-y.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/tmpafnwmbol/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 13:22:58 +0000 (0:00:00.097) 0:00:21.224 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 13:22:58 +0000 (0:00:00.037) 0:00:21.261 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 13:22:58 +0000 (0:00:00.038) 0:00:21.299 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "atime": 1658409771.7219298, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658409771.7219298, "dev": 6, "device_type": 2048, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 1866, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658409771.7219298, "nlink": 1, "path": "/dev/sda", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 13:22:58 +0000 (0:00:00.375) 0:00:21.675 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 13:22:58 +0000 (0:00:00.037) 0:00:21.712 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 13:22:58 +0000 (0:00:00.039) 0:00:21.752 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "st_volume_type": "disk" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 13:22:58 +0000 (0:00:00.037) 0:00:21.789 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 13:22:58 +0000 (0:00:00.024) 0:00:21.814 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 13:22:58 +0000 (0:00:00.036) 0:00:21.851 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 13:22:58 +0000 (0:00:00.022) 0:00:21.874 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 13:23:00 +0000 (0:00:01.373) 0:00:23.247 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 13:23:00 +0000 (0:00:00.025) 0:00:23.272 ********* skipping: [/cache/rhel-8-y.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/tmpafnwmbol/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 13:23:00 +0000 (0:00:00.025) 0:00:23.297 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 13:23:00 +0000 (0:00:00.052) 0:00:23.349 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 13:23:00 +0000 (0:00:00.023) 0:00:23.373 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 13:23:00 +0000 (0:00:00.022) 0:00:23.395 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 13:23:00 +0000 (0:00:00.023) 0:00:23.419 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 13:23:00 +0000 (0:00:00.025) 0:00:23.444 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 13:23:00 +0000 (0:00:00.025) 0:00:23.470 ********* ok: [/cache/rhel-8-y.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/tmpafnwmbol/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 13:23:00 +0000 (0:00:00.052) 0:00:23.522 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 13:23:00 +0000 (0:00:00.051) 0:00:23.573 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 13:23:00 +0000 (0:00:00.037) 0:00:23.610 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 13:23:00 +0000 (0:00:00.036) 0:00:23.646 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 13:23:00 +0000 (0:00:00.038) 0:00:23.684 ********* ok: [/cache/rhel-8-y.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/tmpafnwmbol/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 13:23:00 +0000 (0:00:00.039) 0:00:23.724 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 13:23:00 +0000 (0:00:00.047) 0:00:23.771 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 13:23:00 +0000 (0:00:00.037) 0:00:23.808 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 13:23:00 +0000 (0:00:00.042) 0:00:23.851 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 13:23:00 +0000 (0:00:00.044) 0:00:23.896 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 13:23:00 +0000 (0:00:00.044) 0:00:23.941 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 13:23:00 +0000 (0:00:00.045) 0:00:23.986 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 13:23:00 +0000 (0:00:00.045) 0:00:24.031 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 13:23:00 +0000 (0:00:00.026) 0:00:24.058 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 13:23:00 +0000 (0:00:00.038) 0:00:24.096 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 13:23:00 +0000 (0:00:00.037) 0:00:24.134 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 13:23:00 +0000 (0:00:00.066) 0:00:24.201 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 13:23:01 +0000 (0:00:00.065) 0:00:24.266 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 13:23:01 +0000 (0:00:00.039) 0:00:24.306 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 13:23:01 +0000 (0:00:00.036) 0:00:24.343 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 13:23:01 +0000 (0:00:00.036) 0:00:24.380 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 13:23:01 +0000 (0:00:00.035) 0:00:24.415 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 13:23:01 +0000 (0:00:00.035) 0:00:24.450 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 13:23:01 +0000 (0:00:00.036) 0:00:24.487 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 13:23:01 +0000 (0:00:00.026) 0:00:24.513 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 13:23:01 +0000 (0:00:00.024) 0:00:24.538 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 13:23:01 +0000 (0:00:00.025) 0:00:24.563 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 13:23:01 +0000 (0:00:00.023) 0:00:24.586 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 13:23:01 +0000 (0:00:00.023) 0:00:24.610 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 13:23:01 +0000 (0:00:00.024) 0:00:24.635 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 13:23:01 +0000 (0:00:00.024) 0:00:24.659 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume.yml:16 Thursday 21 July 2022 13:23:01 +0000 (0:00:00.023) 0:00:24.683 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:53 Thursday 21 July 2022 13:23:01 +0000 (0:00:00.034) 0:00:24.718 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Repeat the previous invocation minus fs_type to verify idempotence] ****** task path: /tmp/tmpafnwmbol/tests/tests_create_disk_then_remove.yml:36 Thursday 21 July 2022 13:23:01 +0000 (0:00:00.031) 0:00:24.749 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 13:23:01 +0000 (0:00:00.050) 0:00:24.800 ********* included: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 13:23:01 +0000 (0:00:00.034) 0:00:24.834 ********* ok: [/cache/rhel-8-y.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 13:23:02 +0000 (0:00:00.528) 0:00:25.363 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.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/tmpafnwmbol/tests/roles/linux-system-roles.storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.7.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/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 13:23:02 +0000 (0:00:00.063) 0:00:25.426 ********* ok: [/cache/rhel-8-y.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/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 13:23:02 +0000 (0:00:00.037) 0:00:25.463 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 13:23:02 +0000 (0:00:00.035) 0:00:25.499 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 13:23:02 +0000 (0:00:00.048) 0:00:25.547 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 13:23:02 +0000 (0:00:00.022) 0:00:25.570 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 13:23:02 +0000 (0:00:00.029) 0:00:25.600 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 13:23:02 +0000 (0:00:00.037) 0:00:25.638 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_volumes": [ { "disks": [ "sda" ], "mount_point": "/opt/test1", "name": "test1", "type": "disk" } ] } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 13:23:02 +0000 (0:00:00.039) 0:00:25.678 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 13:23:02 +0000 (0:00:00.033) 0:00:25.711 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 13:23:02 +0000 (0:00:00.030) 0:00:25.742 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 13:23:02 +0000 (0:00:00.026) 0:00:25.768 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 13:23:02 +0000 (0:00:00.026) 0:00:25.795 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 13:23:02 +0000 (0:00:00.094) 0:00:25.889 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 13:23:02 +0000 (0:00:00.022) 0:00:25.912 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=71df7dde-18b0-4669-8593-6404fd11e508", "state": "mounted" } ], "packages": [ "xfsprogs", "e2fsprogs", "dosfstools" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=71df7dde-18b0-4669-8593-6404fd11e508", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 13:23:04 +0000 (0:00:01.358) 0:00:27.270 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 13:23:04 +0000 (0:00:00.035) 0:00:27.305 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 13:23:04 +0000 (0:00:00.020) 0:00:27.326 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=71df7dde-18b0-4669-8593-6404fd11e508", "state": "mounted" } ], "packages": [ "xfsprogs", "e2fsprogs", "dosfstools" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=71df7dde-18b0-4669-8593-6404fd11e508", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 13:23:04 +0000 (0:00:00.036) 0:00:27.363 ********* ok: [/cache/rhel-8-y.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/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 13:23:04 +0000 (0:00:00.039) 0:00:27.403 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=71df7dde-18b0-4669-8593-6404fd11e508", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 13:23:04 +0000 (0:00:00.034) 0:00:27.438 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 13:23:04 +0000 (0:00:00.038) 0:00:27.476 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 13:23:04 +0000 (0:00:00.637) 0:00:28.113 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/rhel-8-y.qcow2.snap] => (item={'src': 'UUID=71df7dde-18b0-4669-8593-6404fd11e508', 'path': '/opt/test1', 'fstype': 'ext4', '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": "ext4", "mount_info": { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=71df7dde-18b0-4669-8593-6404fd11e508", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "UUID=71df7dde-18b0-4669-8593-6404fd11e508" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 13:23:05 +0000 (0:00:00.406) 0:00:28.520 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 13:23:05 +0000 (0:00:00.640) 0:00:29.160 ********* ok: [/cache/rhel-8-y.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/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 13:23:06 +0000 (0:00:00.381) 0:00:29.542 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 13:23:06 +0000 (0:00:00.023) 0:00:29.566 ********* ok: [/cache/rhel-8-y.qcow2.snap] META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [Assert file system is preserved on existing partition volume] ************ task path: /tmp/tmpafnwmbol/tests/tests_create_disk_then_remove.yml:46 Thursday 21 July 2022 13:23:07 +0000 (0:00:01.003) 0:00:30.569 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmpafnwmbol/tests/tests_create_disk_then_remove.yml:51 Thursday 21 July 2022 13:23:07 +0000 (0:00:00.040) 0:00:30.609 ********* included: /tmp/tmpafnwmbol/tests/verify-role-results.yml for /cache/rhel-8-y.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:1 Thursday 21 July 2022 13:23:07 +0000 (0:00:00.043) 0:00:30.653 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:6 Thursday 21 July 2022 13:23:07 +0000 (0:00:00.069) 0:00:30.722 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "_storage_volumes_list": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=71df7dde-18b0-4669-8593-6404fd11e508", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:14 Thursday 21 July 2022 13:23:07 +0000 (0:00:00.050) 0:00:30.773 ********* ok: [/cache/rhel-8-y.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": "ext4", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "71df7dde-18b0-4669-8593-6404fd11e508" }, "/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-13-22-24-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": "100M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "root", "name": "/dev/vda3", "size": "9.9G", "type": "partition", "uuid": "58dca2db-4ccd-4171-a017-dd53ad8c1c54" }, "/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": "4d1ed9a1-5608-4ff8-ad89-21d95caa66fa" }, "/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": "a7abcc97-edc5-476c-8ccd-694b4621fd28" }, "/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/tmpafnwmbol/tests/verify-role-results.yml:19 Thursday 21 July 2022 13:23:07 +0000 (0:00:00.391) 0:00:31.164 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002521", "end": "2022-07-21 09:23:08.132840", "rc": 0, "start": "2022-07-21 09:23:08.130319" } STDOUT: UUID=58dca2db-4ccd-4171-a017-dd53ad8c1c54 / 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 UUID=71df7dde-18b0-4669-8593-6404fd11e508 /opt/test1 ext4 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:24 Thursday 21 July 2022 13:23:08 +0000 (0:00:00.364) 0:00:31.528 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002970", "end": "2022-07-21 09:23:08.502430", "failed_when_result": false, "rc": 1, "start": "2022-07-21 09:23:08.499460" } 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/tmpafnwmbol/tests/verify-role-results.yml:33 Thursday 21 July 2022 13:23:08 +0000 (0:00:00.373) 0:00:31.902 ********* TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:43 Thursday 21 July 2022 13:23:08 +0000 (0:00:00.023) 0:00:31.926 ********* included: /tmp/tmpafnwmbol/tests/test-verify-volume.yml for /cache/rhel-8-y.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': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': 10737418240, 'state': 'present', 'type': 'disk', 'disks': ['sda'], 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_chunk_size': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': [], '_device': '/dev/sda', '_raw_device': '/dev/sda', '_mount_id': 'UUID=71df7dde-18b0-4669-8593-6404fd11e508', '_kernel_device': '/dev/sda', '_raw_kernel_device': '/dev/sda'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume.yml:2 Thursday 21 July 2022 13:23:08 +0000 (0:00:00.064) 0:00:31.991 ********* ok: [/cache/rhel-8-y.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/tmpafnwmbol/tests/test-verify-volume.yml:10 Thursday 21 July 2022 13:23:08 +0000 (0:00:00.051) 0:00:32.042 ********* included: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml for /cache/rhel-8-y.qcow2.snap => (item=mount) included: /tmp/tmpafnwmbol/tests/test-verify-volume-fstab.yml for /cache/rhel-8-y.qcow2.snap => (item=fstab) included: /tmp/tmpafnwmbol/tests/test-verify-volume-fs.yml for /cache/rhel-8-y.qcow2.snap => (item=fs) included: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml for /cache/rhel-8-y.qcow2.snap => (item=device) included: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml for /cache/rhel-8-y.qcow2.snap => (item=encryption) included: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml for /cache/rhel-8-y.qcow2.snap => (item=md) included: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml for /cache/rhel-8-y.qcow2.snap => (item=size) included: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml for /cache/rhel-8-y.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 13:23:08 +0000 (0:00:00.075) 0:00:32.118 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/sda" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 13:23:08 +0000 (0:00:00.056) 0:00:32.175 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 2419519, "block_size": 4096, "block_total": 2554693, "block_used": 135174, "device": "/dev/sda", "fstype": "ext4", "inode_available": 655349, "inode_total": 655360, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 9910349824, "size_total": 10464022528, "uuid": "71df7dde-18b0-4669-8593-6404fd11e508" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 2419519, "block_size": 4096, "block_total": 2554693, "block_used": 135174, "device": "/dev/sda", "fstype": "ext4", "inode_available": 655349, "inode_total": 655360, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 9910349824, "size_total": 10464022528, "uuid": "71df7dde-18b0-4669-8593-6404fd11e508" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 13:23:09 +0000 (0:00:00.059) 0:00:32.234 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 13:23:09 +0000 (0:00:00.049) 0:00:32.283 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 13:23:09 +0000 (0:00:00.046) 0:00:32.330 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 13:23:09 +0000 (0:00:00.046) 0:00:32.377 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 13:23:09 +0000 (0:00:00.022) 0:00:32.399 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 13:23:09 +0000 (0:00:00.021) 0:00:32.421 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 13:23:09 +0000 (0:00:00.023) 0:00:32.445 ********* ok: [/cache/rhel-8-y.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/tmpafnwmbol/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 13:23:09 +0000 (0:00:00.031) 0:00:32.476 ********* ok: [/cache/rhel-8-y.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": [ "UUID=71df7dde-18b0-4669-8593-6404fd11e508 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 ext4 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 13:23:09 +0000 (0:00:00.057) 0:00:32.534 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 13:23:09 +0000 (0:00:00.047) 0:00:32.582 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 13:23:09 +0000 (0:00:00.046) 0:00:32.628 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 13:23:09 +0000 (0:00:00.035) 0:00:32.663 ********* ok: [/cache/rhel-8-y.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/tmpafnwmbol/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 13:23:09 +0000 (0:00:00.103) 0:00:32.766 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 13:23:09 +0000 (0:00:00.039) 0:00:32.806 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 13:23:09 +0000 (0:00:00.040) 0:00:32.847 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "atime": 1658409771.7219298, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658409771.7219298, "dev": 6, "device_type": 2048, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 1866, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658409771.7219298, "nlink": 1, "path": "/dev/sda", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 13:23:10 +0000 (0:00:00.382) 0:00:33.230 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 13:23:10 +0000 (0:00:00.036) 0:00:33.266 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 13:23:10 +0000 (0:00:00.036) 0:00:33.303 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "st_volume_type": "disk" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 13:23:10 +0000 (0:00:00.041) 0:00:33.344 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 13:23:10 +0000 (0:00:00.025) 0:00:33.369 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 13:23:10 +0000 (0:00:00.050) 0:00:33.420 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 13:23:10 +0000 (0:00:00.025) 0:00:33.445 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 13:23:11 +0000 (0:00:01.373) 0:00:34.819 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 13:23:11 +0000 (0:00:00.026) 0:00:34.846 ********* skipping: [/cache/rhel-8-y.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/tmpafnwmbol/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 13:23:11 +0000 (0:00:00.025) 0:00:34.871 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 13:23:11 +0000 (0:00:00.055) 0:00:34.926 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 13:23:11 +0000 (0:00:00.026) 0:00:34.953 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 13:23:11 +0000 (0:00:00.024) 0:00:34.978 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 13:23:11 +0000 (0:00:00.024) 0:00:35.002 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 13:23:11 +0000 (0:00:00.025) 0:00:35.027 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 13:23:11 +0000 (0:00:00.025) 0:00:35.053 ********* ok: [/cache/rhel-8-y.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/tmpafnwmbol/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 13:23:11 +0000 (0:00:00.052) 0:00:35.106 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 13:23:11 +0000 (0:00:00.051) 0:00:35.157 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 13:23:11 +0000 (0:00:00.039) 0:00:35.196 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 13:23:12 +0000 (0:00:00.035) 0:00:35.231 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 13:23:12 +0000 (0:00:00.033) 0:00:35.265 ********* ok: [/cache/rhel-8-y.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/tmpafnwmbol/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 13:23:12 +0000 (0:00:00.032) 0:00:35.298 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 13:23:12 +0000 (0:00:00.038) 0:00:35.337 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 13:23:12 +0000 (0:00:00.039) 0:00:35.376 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 13:23:12 +0000 (0:00:00.038) 0:00:35.414 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 13:23:12 +0000 (0:00:00.037) 0:00:35.451 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 13:23:12 +0000 (0:00:00.041) 0:00:35.492 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 13:23:12 +0000 (0:00:00.038) 0:00:35.530 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 13:23:12 +0000 (0:00:00.038) 0:00:35.569 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 13:23:12 +0000 (0:00:00.026) 0:00:35.595 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 13:23:12 +0000 (0:00:00.041) 0:00:35.637 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 13:23:12 +0000 (0:00:00.038) 0:00:35.675 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 13:23:12 +0000 (0:00:00.066) 0:00:35.742 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 13:23:12 +0000 (0:00:00.037) 0:00:35.779 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 13:23:12 +0000 (0:00:00.040) 0:00:35.819 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 13:23:12 +0000 (0:00:00.037) 0:00:35.857 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 13:23:12 +0000 (0:00:00.044) 0:00:35.902 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 13:23:12 +0000 (0:00:00.046) 0:00:35.948 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 13:23:12 +0000 (0:00:00.112) 0:00:36.061 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 13:23:12 +0000 (0:00:00.037) 0:00:36.098 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 13:23:12 +0000 (0:00:00.026) 0:00:36.125 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 13:23:12 +0000 (0:00:00.026) 0:00:36.151 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 13:23:12 +0000 (0:00:00.024) 0:00:36.176 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 13:23:12 +0000 (0:00:00.025) 0:00:36.201 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 13:23:13 +0000 (0:00:00.026) 0:00:36.227 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 13:23:13 +0000 (0:00:00.025) 0:00:36.252 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 13:23:13 +0000 (0:00:00.022) 0:00:36.275 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume.yml:16 Thursday 21 July 2022 13:23:13 +0000 (0:00:00.024) 0:00:36.300 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:53 Thursday 21 July 2022 13:23:13 +0000 (0:00:00.036) 0:00:36.337 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Remove the disk device created above] ************************************ task path: /tmp/tmpafnwmbol/tests/tests_create_disk_then_remove.yml:53 Thursday 21 July 2022 13:23:13 +0000 (0:00:00.038) 0:00:36.375 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 13:23:13 +0000 (0:00:00.053) 0:00:36.429 ********* included: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 13:23:13 +0000 (0:00:00.037) 0:00:36.466 ********* ok: [/cache/rhel-8-y.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 13:23:13 +0000 (0:00:00.539) 0:00:37.006 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.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/tmpafnwmbol/tests/roles/linux-system-roles.storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.7.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/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 13:23:13 +0000 (0:00:00.065) 0:00:37.071 ********* ok: [/cache/rhel-8-y.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/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 13:23:13 +0000 (0:00:00.036) 0:00:37.107 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 13:23:13 +0000 (0:00:00.036) 0:00:37.144 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 13:23:13 +0000 (0:00:00.050) 0:00:37.194 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 13:23:14 +0000 (0:00:00.022) 0:00:37.216 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 13:23:14 +0000 (0:00:00.028) 0:00:37.245 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 13:23:14 +0000 (0:00:00.035) 0:00:37.280 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_volumes": [ { "disks": [ "sda" ], "mount_point": "/opt/test1", "name": "test1", "state": "absent", "type": "disk" } ] } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 13:23:14 +0000 (0:00:00.040) 0:00:37.321 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 13:23:14 +0000 (0:00:00.031) 0:00:37.353 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 13:23:14 +0000 (0:00:00.030) 0:00:37.383 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 13:23:14 +0000 (0:00:00.029) 0:00:37.413 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 13:23:14 +0000 (0:00:00.028) 0:00:37.442 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 13:23:14 +0000 (0:00:00.059) 0:00:37.502 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 13:23:14 +0000 (0:00:00.023) 0:00:37.526 ********* changed: [/cache/rhel-8-y.qcow2.snap] => { "actions": [ { "action": "destroy format", "device": "/dev/sda", "fs_type": "ext4" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "fstype": "ext4", "path": "/opt/test1", "src": "UUID=71df7dde-18b0-4669-8593-6404fd11e508", "state": "absent" } ], "packages": [ "e2fsprogs", "xfsprogs", "dosfstools" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_mount_id": "UUID=71df7dde-18b0-4669-8593-6404fd11e508", "_raw_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 13:23:16 +0000 (0:00:01.723) 0:00:39.249 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 13:23:16 +0000 (0:00:00.039) 0:00:39.289 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 13:23:16 +0000 (0:00:00.021) 0:00:39.310 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/sda", "fs_type": "ext4" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "fstype": "ext4", "path": "/opt/test1", "src": "UUID=71df7dde-18b0-4669-8593-6404fd11e508", "state": "absent" } ], "packages": [ "e2fsprogs", "xfsprogs", "dosfstools" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_mount_id": "UUID=71df7dde-18b0-4669-8593-6404fd11e508", "_raw_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 13:23:16 +0000 (0:00:00.039) 0:00:39.350 ********* ok: [/cache/rhel-8-y.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/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 13:23:16 +0000 (0:00:00.038) 0:00:39.388 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/sda", "_mount_id": "UUID=71df7dde-18b0-4669-8593-6404fd11e508", "_raw_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 13:23:16 +0000 (0:00:00.040) 0:00:39.429 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8-y.qcow2.snap] => (item={'src': 'UUID=71df7dde-18b0-4669-8593-6404fd11e508', 'path': '/opt/test1', 'state': 'absent', 'fstype': 'ext4'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext4", "mount_info": { "fstype": "ext4", "path": "/opt/test1", "src": "UUID=71df7dde-18b0-4669-8593-6404fd11e508", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "UUID=71df7dde-18b0-4669-8593-6404fd11e508" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 13:23:16 +0000 (0:00:00.438) 0:00:39.868 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 13:23:17 +0000 (0:00:00.644) 0:00:40.512 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 13:23:17 +0000 (0:00:00.040) 0:00:40.553 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 13:23:17 +0000 (0:00:00.624) 0:00:41.177 ********* ok: [/cache/rhel-8-y.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/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 13:23:18 +0000 (0:00:00.376) 0:00:41.554 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 13:23:18 +0000 (0:00:00.023) 0:00:41.577 ********* ok: [/cache/rhel-8-y.qcow2.snap] META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpafnwmbol/tests/tests_create_disk_then_remove.yml:64 Thursday 21 July 2022 13:23:19 +0000 (0:00:01.000) 0:00:42.577 ********* included: /tmp/tmpafnwmbol/tests/verify-role-results.yml for /cache/rhel-8-y.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:1 Thursday 21 July 2022 13:23:19 +0000 (0:00:00.046) 0:00:42.624 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:6 Thursday 21 July 2022 13:23:19 +0000 (0:00:00.035) 0:00:42.659 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "_storage_volumes_list": [ { "_device": "/dev/sda", "_mount_id": "UUID=71df7dde-18b0-4669-8593-6404fd11e508", "_raw_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:14 Thursday 21 July 2022 13:23:19 +0000 (0:00:00.111) 0:00:42.771 ********* ok: [/cache/rhel-8-y.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-13-22-24-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": "100M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "root", "name": "/dev/vda3", "size": "9.9G", "type": "partition", "uuid": "58dca2db-4ccd-4171-a017-dd53ad8c1c54" }, "/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": "4d1ed9a1-5608-4ff8-ad89-21d95caa66fa" }, "/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": "a7abcc97-edc5-476c-8ccd-694b4621fd28" }, "/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/tmpafnwmbol/tests/verify-role-results.yml:19 Thursday 21 July 2022 13:23:19 +0000 (0:00:00.399) 0:00:43.171 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:01.004878", "end": "2022-07-21 09:23:21.148570", "rc": 0, "start": "2022-07-21 09:23:20.143692" } STDOUT: UUID=58dca2db-4ccd-4171-a017-dd53ad8c1c54 / 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/tmpafnwmbol/tests/verify-role-results.yml:24 Thursday 21 July 2022 13:23:21 +0000 (0:00:01.384) 0:00:44.556 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002939", "end": "2022-07-21 09:23:21.534677", "failed_when_result": false, "rc": 1, "start": "2022-07-21 09:23:21.531738" } 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/tmpafnwmbol/tests/verify-role-results.yml:33 Thursday 21 July 2022 13:23:21 +0000 (0:00:00.378) 0:00:44.935 ********* TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:43 Thursday 21 July 2022 13:23:21 +0000 (0:00:00.022) 0:00:44.957 ********* included: /tmp/tmpafnwmbol/tests/test-verify-volume.yml for /cache/rhel-8-y.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': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': 10737418240, 'state': 'absent', 'type': 'disk', 'disks': ['sda'], 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_chunk_size': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': [], '_device': '/dev/sda', '_raw_device': '/dev/sda', '_mount_id': 'UUID=71df7dde-18b0-4669-8593-6404fd11e508'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume.yml:2 Thursday 21 July 2022 13:23:21 +0000 (0:00:00.058) 0:00:45.016 ********* ok: [/cache/rhel-8-y.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/tmpafnwmbol/tests/test-verify-volume.yml:10 Thursday 21 July 2022 13:23:21 +0000 (0:00:00.046) 0:00:45.062 ********* included: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml for /cache/rhel-8-y.qcow2.snap => (item=mount) included: /tmp/tmpafnwmbol/tests/test-verify-volume-fstab.yml for /cache/rhel-8-y.qcow2.snap => (item=fstab) included: /tmp/tmpafnwmbol/tests/test-verify-volume-fs.yml for /cache/rhel-8-y.qcow2.snap => (item=fs) included: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml for /cache/rhel-8-y.qcow2.snap => (item=device) included: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml for /cache/rhel-8-y.qcow2.snap => (item=encryption) included: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml for /cache/rhel-8-y.qcow2.snap => (item=md) included: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml for /cache/rhel-8-y.qcow2.snap => (item=size) included: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml for /cache/rhel-8-y.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 13:23:21 +0000 (0:00:00.071) 0:00:45.134 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/sda" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 13:23:21 +0000 (0:00:00.038) 0:00:45.173 ********* ok: [/cache/rhel-8-y.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/tmpafnwmbol/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 13:23:22 +0000 (0:00:00.051) 0:00:45.225 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 13:23:22 +0000 (0:00:00.023) 0:00:45.248 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 13:23:22 +0000 (0:00:00.052) 0:00:45.301 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 13:23:22 +0000 (0:00:00.037) 0:00:45.338 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 13:23:22 +0000 (0:00:00.024) 0:00:45.362 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 13:23:22 +0000 (0:00:00.022) 0:00:45.385 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 13:23:22 +0000 (0:00:00.023) 0:00:45.409 ********* ok: [/cache/rhel-8-y.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/tmpafnwmbol/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 13:23:22 +0000 (0:00:00.040) 0:00:45.450 ********* ok: [/cache/rhel-8-y.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/tmpafnwmbol/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 13:23:22 +0000 (0:00:00.119) 0:00:45.569 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 13:23:22 +0000 (0:00:00.025) 0:00:45.595 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 13:23:22 +0000 (0:00:00.084) 0:00:45.680 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 13:23:22 +0000 (0:00:00.041) 0:00:45.722 ********* ok: [/cache/rhel-8-y.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/tmpafnwmbol/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 13:23:22 +0000 (0:00:00.041) 0:00:45.764 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 13:23:22 +0000 (0:00:00.025) 0:00:45.789 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 13:23:22 +0000 (0:00:00.024) 0:00:45.813 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "atime": 1658409795.7869296, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658409795.7869296, "dev": 6, "device_type": 2048, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 1866, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658409795.7869296, "nlink": 1, "path": "/dev/sda", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 13:23:23 +0000 (0:00:00.397) 0:00:46.211 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 13:23:23 +0000 (0:00:00.037) 0:00:46.249 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 13:23:23 +0000 (0:00:00.025) 0:00:46.275 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "st_volume_type": "disk" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 13:23:23 +0000 (0:00:00.039) 0:00:46.314 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 13:23:23 +0000 (0:00:00.024) 0:00:46.338 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 13:23:23 +0000 (0:00:00.025) 0:00:46.364 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 13:23:23 +0000 (0:00:00.024) 0:00:46.389 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 13:23:24 +0000 (0:00:01.368) 0:00:47.757 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 13:23:24 +0000 (0:00:00.024) 0:00:47.782 ********* skipping: [/cache/rhel-8-y.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/tmpafnwmbol/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 13:23:24 +0000 (0:00:00.023) 0:00:47.806 ********* skipping: [/cache/rhel-8-y.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/tmpafnwmbol/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 13:23:24 +0000 (0:00:00.023) 0:00:47.830 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 13:23:24 +0000 (0:00:00.023) 0:00:47.854 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 13:23:24 +0000 (0:00:00.024) 0:00:47.878 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 13:23:24 +0000 (0:00:00.023) 0:00:47.902 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 13:23:24 +0000 (0:00:00.023) 0:00:47.925 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 13:23:24 +0000 (0:00:00.022) 0:00:47.947 ********* ok: [/cache/rhel-8-y.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/tmpafnwmbol/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 13:23:24 +0000 (0:00:00.049) 0:00:47.996 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 13:23:24 +0000 (0:00:00.077) 0:00:48.074 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 13:23:24 +0000 (0:00:00.037) 0:00:48.111 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 13:23:24 +0000 (0:00:00.037) 0:00:48.149 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 13:23:24 +0000 (0:00:00.035) 0:00:48.184 ********* ok: [/cache/rhel-8-y.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/tmpafnwmbol/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 13:23:25 +0000 (0:00:00.062) 0:00:48.247 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 13:23:25 +0000 (0:00:00.037) 0:00:48.284 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 13:23:25 +0000 (0:00:00.086) 0:00:48.371 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 13:23:25 +0000 (0:00:00.037) 0:00:48.408 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 13:23:25 +0000 (0:00:00.039) 0:00:48.447 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 13:23:25 +0000 (0:00:00.036) 0:00:48.483 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 13:23:25 +0000 (0:00:00.036) 0:00:48.520 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 13:23:25 +0000 (0:00:00.039) 0:00:48.560 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 13:23:25 +0000 (0:00:00.027) 0:00:48.587 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 13:23:25 +0000 (0:00:00.037) 0:00:48.624 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 13:23:25 +0000 (0:00:00.039) 0:00:48.664 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 13:23:25 +0000 (0:00:00.036) 0:00:48.700 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 13:23:25 +0000 (0:00:00.034) 0:00:48.735 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 13:23:25 +0000 (0:00:00.035) 0:00:48.770 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 13:23:25 +0000 (0:00:00.038) 0:00:48.809 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 13:23:25 +0000 (0:00:00.035) 0:00:48.844 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 13:23:25 +0000 (0:00:00.034) 0:00:48.879 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 13:23:25 +0000 (0:00:00.034) 0:00:48.914 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 13:23:25 +0000 (0:00:00.042) 0:00:48.956 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 13:23:25 +0000 (0:00:00.026) 0:00:48.983 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 13:23:25 +0000 (0:00:00.026) 0:00:49.009 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 13:23:25 +0000 (0:00:00.026) 0:00:49.036 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 13:23:25 +0000 (0:00:00.027) 0:00:49.064 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 13:23:25 +0000 (0:00:00.025) 0:00:49.090 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 13:23:25 +0000 (0:00:00.023) 0:00:49.113 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 13:23:25 +0000 (0:00:00.024) 0:00:49.138 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume.yml:16 Thursday 21 July 2022 13:23:25 +0000 (0:00:00.026) 0:00:49.165 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:53 Thursday 21 July 2022 13:23:25 +0000 (0:00:00.038) 0:00:49.204 ********* ok: [/cache/rhel-8-y.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-8-y.qcow2.snap : ok=201 changed=4 unreachable=0 failed=0 skipped=177 rescued=0 ignored=0 Thursday 21 July 2022 13:23:26 +0000 (0:00:00.048) 0:00:49.252 ********* =============================================================================== linux-system-roles.storage : get service facts -------------------------- 1.91s /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 linux-system-roles.storage : make sure blivet is available -------------- 1.85s /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 1.72s /tmp/tmpafnwmbol/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 --- 1.67s /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Read the /etc/fstab file for volume existence --------------------------- 1.38s /tmp/tmpafnwmbol/tests/verify-role-results.yml:19 ----------------------------- Ensure cryptsetup is present -------------------------------------------- 1.37s /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:10 ------------------- Ensure cryptsetup is present -------------------------------------------- 1.37s /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:10 ------------------- Ensure cryptsetup is present -------------------------------------------- 1.37s /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:10 ------------------- linux-system-roles.storage : manage the pools and volumes to match the specified state --- 1.36s /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : make sure required packages are installed --- 1.35s /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Gathering Facts --------------------------------------------------------- 1.34s /tmp/tmpafnwmbol/tests/tests_create_disk_then_remove_scsi_generated.yml:3 ----- linux-system-roles.storage : Update facts ------------------------------- 1.00s /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 linux-system-roles.storage : Update facts ------------------------------- 1.00s /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 linux-system-roles.storage : Update facts ------------------------------- 0.98s /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Gathering Facts --------------------------------------------------------- 0.97s /tmp/tmpafnwmbol/tests/tests_create_disk_then_remove.yml:2 -------------------- linux-system-roles.storage : Update facts ------------------------------- 0.97s /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab --- 0.87s /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 linux-system-roles.storage : get required packages ---------------------- 0.73s /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab --- 0.64s /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab --- 0.64s /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 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/tmpp_vyhrdp 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_disk_then_remove_scsi_generated.yml ********************* 2 plays in /tmp/tmpmnqeja9w/tests/storage/tests_create_disk_then_remove_scsi_generated.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/tests_create_disk_then_remove_scsi_generated.yml:3 Thursday 21 July 2022 17:03:47 +0000 (0:00:00.012) 0:00:00.012 ********* ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [set disk interface for test] ********************************************* task path: /tmp/tmpmnqeja9w/tests/storage/tests_create_disk_then_remove_scsi_generated.yml:7 Thursday 21 July 2022 17:03:48 +0000 (0:00:01.347) 0:00:01.360 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_use_interface": "scsi" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/tests_create_disk_then_remove.yml:2 Thursday 21 July 2022 17:03:48 +0000 (0:00:00.047) 0:00:01.407 ********* ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [include_role : fedora.linux_system_roles.storage] ************************ task path: /tmp/tmpmnqeja9w/tests/storage/tests_create_disk_then_remove.yml:9 Thursday 21 July 2022 17:03:49 +0000 (0:00:00.981) 0:00:02.389 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 17:03:49 +0000 (0:00:00.038) 0:00:02.428 ********* included: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 17:03:49 +0000 (0:00:00.032) 0:00:02.461 ********* ok: [/cache/rhel-8-y.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 17:03:50 +0000 (0:00:00.525) 0:00:02.986 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.7.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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 17:03:50 +0000 (0:00:00.057) 0:00:03.044 ********* ok: [/cache/rhel-8-y.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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 17:03:50 +0000 (0:00:00.030) 0:00:03.074 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 17:03:50 +0000 (0:00:00.030) 0:00:03.105 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 17:03:50 +0000 (0:00:00.053) 0:00:03.159 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 17:03:50 +0000 (0:00:00.017) 0:00:03.176 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 17:03:52 +0000 (0:00:01.780) 0:00:04.956 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 17:03:52 +0000 (0:00:00.035) 0:00:04.992 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 17:03:52 +0000 (0:00:00.059) 0:00:05.051 ********* ok: [/cache/rhel-8-y.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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 17:03:53 +0000 (0:00:00.737) 0:00:05.789 ********* included: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.storage : check if the COPR support packages should be installed] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:2 Thursday 21 July 2022 17:03:53 +0000 (0:00:00.059) 0:00:05.848 ********* TASK [fedora.linux_system_roles.storage : make sure COPR support packages are present] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:13 Thursday 21 July 2022 17:03:53 +0000 (0:00:00.033) 0:00:05.882 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable COPRs] ************************ task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:18 Thursday 21 July 2022 17:03:53 +0000 (0:00:00.035) 0:00:05.917 ********* TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 17:03:53 +0000 (0:00:00.031) 0:00:05.949 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 17:03:54 +0000 (0:00:01.297) 0:00:07.246 ********* ok: [/cache/rhel-8-y.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" }, "arp-ethers.service": { "name": "arp-ethers.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "auditd.service": { "name": "auditd.service", "source": "systemd", "state": "running", "status": "enabled" }, "auth-rpcgss-module.service": { "name": "auth-rpcgss-module.service", "source": "systemd", "state": "stopped", "status": "static" }, "autovt@.service": { "name": "autovt@.service", "source": "systemd", "state": "unknown", "status": "enabled" }, "blivet.service": { "name": "blivet.service", "source": "systemd", "state": "inactive", "status": "static" }, "blk-availability.service": { "name": "blk-availability.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "chrony-dnssrv@.service": { "name": "chrony-dnssrv@.service", "source": "systemd", "state": "unknown", "status": "static" }, "chrony-wait.service": { "name": "chrony-wait.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "chronyd.service": { "name": "chronyd.service", "source": "systemd", "state": "running", "status": "enabled" }, "cloud-config.service": { "name": "cloud-config.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-final.service": { "name": "cloud-final.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init-hotplugd.service": { "name": "cloud-init-hotplugd.service", "source": "systemd", "state": "inactive", "status": "static" }, "cloud-init-local.service": { "name": "cloud-init-local.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init.service": { "name": "cloud-init.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "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-org.freedesktop.hostname1.service": { "name": "dbus-org.freedesktop.hostname1.service", "source": "systemd", "state": "active", "status": "static" }, "dbus-org.freedesktop.locale1.service": { "name": "dbus-org.freedesktop.locale1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.login1.service": { "name": "dbus-org.freedesktop.login1.service", "source": "systemd", "state": "active", "status": "static" }, "dbus-org.freedesktop.nm-dispatcher.service": { "name": "dbus-org.freedesktop.nm-dispatcher.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "dbus-org.freedesktop.portable1.service": { "name": "dbus-org.freedesktop.portable1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.timedate1.service": { "name": "dbus-org.freedesktop.timedate1.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "dbus.service": { "name": "dbus.service", "source": "systemd", "state": "running", "status": "static" }, "dbxtool.service": { "name": "dbxtool.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "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.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" }, "getty@.service": { "name": "getty@.service", "source": "systemd", "state": "unknown", "status": "enabled" }, "getty@tty1.service": { "name": "getty@tty1.service", "source": "systemd", "state": "running", "status": "active" }, "grub-boot-indeterminate.service": { "name": "grub-boot-indeterminate.service", "source": "systemd", "state": "inactive", "status": "static" }, "gssproxy.service": { "name": "gssproxy.service", "source": "systemd", "state": "running", "status": "disabled" }, "halt-local.service": { "name": "halt-local.service", "source": "systemd", "state": "inactive", "status": "static" }, "hv_kvp_daemon.service": { "name": "hv_kvp_daemon.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "import-state.service": { "name": "import-state.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "initrd-cleanup.service": { "name": "initrd-cleanup.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-parse-etc.service": { "name": "initrd-parse-etc.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-switch-root.service": { "name": "initrd-switch-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-udevadm-cleanup-db.service": { "name": "initrd-udevadm-cleanup-db.service", "source": "systemd", "state": "stopped", "status": "static" }, "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" }, "loadmodules.service": { "name": "loadmodules.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "lvm2-activation-early.service": { "name": "lvm2-activation-early.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "lvm2-activation.service": { "name": "lvm2-activation.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "lvm2-lvmpolld.service": { "name": "lvm2-lvmpolld.service", "source": "systemd", "state": "stopped", "status": "static" }, "lvm2-monitor.service": { "name": "lvm2-monitor.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "lvm2-pvscan@.service": { "name": "lvm2-pvscan@.service", "source": "systemd", "state": "unknown", "status": "static" }, "man-db-cache-update.service": { "name": "man-db-cache-update.service", "source": "systemd", "state": "inactive", "status": "static" }, "man-db-restart-cache-update.service": { "name": "man-db-restart-cache-update.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "mdadm-grow-continue@.service": { "name": "mdadm-grow-continue@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdadm-last-resort@.service": { "name": "mdadm-last-resort@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdcheck_continue.service": { "name": "mdcheck_continue.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdcheck_start.service": { "name": "mdcheck_start.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdmon@.service": { "name": "mdmon@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdmonitor-oneshot.service": { "name": "mdmonitor-oneshot.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdmonitor.service": { "name": "mdmonitor.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "messagebus.service": { "name": "messagebus.service", "source": "systemd", "state": "active", "status": "static" }, "microcode.service": { "name": "microcode.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "multipathd.service": { "name": "multipathd.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "ndctl-monitor.service": { "name": "ndctl-monitor.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "network.service": { "name": "network.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "nfs-blkmap.service": { "name": "nfs-blkmap.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfs-convert.service": { "name": "nfs-convert.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfs-idmapd.service": { "name": "nfs-idmapd.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-mountd.service": { "name": "nfs-mountd.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-server.service": { "name": "nfs-server.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "nfs-utils.service": { "name": "nfs-utils.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfsdcld.service": { "name": "nfsdcld.service", "source": "systemd", "state": "stopped", "status": "static" }, "nis-domainname.service": { "name": "nis-domainname.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "ntpd.service": { "name": "ntpd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ntpdate.service": { "name": "ntpdate.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "oddjobd.service": { "name": "oddjobd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "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" }, "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" }, "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" }, "rhcd.service": { "name": "rhcd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "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" }, "rpcbind.service": { "name": "rpcbind.service", "source": "systemd", "state": "running", "status": "enabled" }, "rsyslog.service": { "name": "rsyslog.service", "source": "systemd", "state": "running", "status": "enabled" }, "selinux-autorelabel-mark.service": { "name": "selinux-autorelabel-mark.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "selinux-autorelabel.service": { "name": "selinux-autorelabel.service", "source": "systemd", "state": "inactive", "status": "static" }, "serial-getty@.service": { "name": "serial-getty@.service", "source": "systemd", "state": "unknown", "status": "indirect" }, "serial-getty@ttyS0.service": { "name": "serial-getty@ttyS0.service", "source": "systemd", "state": "running", "status": "active" }, "snapd.seeded.service": { "name": "snapd.seeded.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sntp.service": { "name": "sntp.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sshd-keygen.service": { "name": "sshd-keygen.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sshd-keygen@.service": { "name": "sshd-keygen@.service", "source": "systemd", "state": "unknown", "status": "disabled" }, "sshd-keygen@ecdsa.service": { "name": "sshd-keygen@ecdsa.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd-keygen@ed25519.service": { "name": "sshd-keygen@ed25519.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd-keygen@rsa.service": { "name": "sshd-keygen@rsa.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd.service": { "name": "sshd.service", "source": "systemd", "state": "running", "status": "enabled" }, "sshd@.service": { "name": "sshd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "sssd-autofs.service": { "name": "sssd-autofs.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-kcm.service": { "name": "sssd-kcm.service", "source": "systemd", "state": "stopped", "status": "indirect" }, "sssd-nss.service": { "name": "sssd-nss.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-pac.service": { "name": "sssd-pac.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-pam.service": { "name": "sssd-pam.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-ssh.service": { "name": "sssd-ssh.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-sudo.service": { "name": "sssd-sudo.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd.service": { "name": "sssd.service", "source": "systemd", "state": "running", "status": "enabled" }, "syslog.service": { "name": "syslog.service", "source": "systemd", "state": "active", "status": "enabled" }, "system-update-cleanup.service": { "name": "system-update-cleanup.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-ask-password-console.service": { "name": "systemd-ask-password-console.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-ask-password-wall.service": { "name": "systemd-ask-password-wall.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-backlight@.service": { "name": "systemd-backlight@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-binfmt.service": { "name": "systemd-binfmt.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-coredump@.service": { "name": "systemd-coredump@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-exit.service": { "name": "systemd-exit.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-firstboot.service": { "name": "systemd-firstboot.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-fsck-root.service": { "name": "systemd-fsck-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-fsck@.service": { "name": "systemd-fsck@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-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-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-kexec.service": { "name": "systemd-kexec.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-localed.service": { "name": "systemd-localed.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-logind.service": { "name": "systemd-logind.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-machine-id-commit.service": { "name": "systemd-machine-id-commit.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-modules-load.service": { "name": "systemd-modules-load.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-networkd-wait-online.service": { "name": "systemd-networkd-wait-online.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "systemd-portabled.service": { "name": "systemd-portabled.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-poweroff.service": { "name": "systemd-poweroff.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-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": "static" }, "systemd-resolved.service": { "name": "systemd-resolved.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-rfkill.service": { "name": "systemd-rfkill.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-suspend-then-hibernate.service": { "name": "systemd-suspend-then-hibernate.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-suspend.service": { "name": "systemd-suspend.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-sysctl.service": { "name": "systemd-sysctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-sysusers.service": { "name": "systemd-sysusers.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-timedated.service": { "name": "systemd-timedated.service", "source": "systemd", "state": "inactive", "status": "masked" }, "systemd-timesyncd.service": { "name": "systemd-timesyncd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "systemd-tmpfiles-clean.service": { "name": "systemd-tmpfiles-clean.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup-dev.service": { "name": "systemd-tmpfiles-setup-dev.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup.service": { "name": "systemd-tmpfiles-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udev-settle.service": { "name": "systemd-udev-settle.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udev-trigger.service": { "name": "systemd-udev-trigger.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udevd.service": { "name": "systemd-udevd.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-update-done.service": { "name": "systemd-update-done.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-update-utmp-runlevel.service": { "name": "systemd-update-utmp-runlevel.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-update-utmp.service": { "name": "systemd-update-utmp.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-user-sessions.service": { "name": "systemd-user-sessions.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-vconsole-setup.service": { "name": "systemd-vconsole-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-volatile-root.service": { "name": "systemd-volatile-root.service", "source": "systemd", "state": "inactive", "status": "static" }, "tcsd.service": { "name": "tcsd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "teamd@.service": { "name": "teamd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "timedatex.service": { "name": "timedatex.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "tuned.service": { "name": "tuned.service", "source": "systemd", "state": "running", "status": "enabled" }, "unbound-anchor.service": { "name": "unbound-anchor.service", "source": "systemd", "state": "stopped", "status": "static" }, "user-runtime-dir@.service": { "name": "user-runtime-dir@.service", "source": "systemd", "state": "unknown", "status": "static" }, "user-runtime-dir@0.service": { "name": "user-runtime-dir@0.service", "source": "systemd", "state": "stopped", "status": "active" }, "user@.service": { "name": "user@.service", "source": "systemd", "state": "unknown", "status": "static" }, "user@0.service": { "name": "user@0.service", "source": "systemd", "state": "running", "status": "active" }, "vdo-start-by-dev@.service": { "name": "vdo-start-by-dev@.service", "source": "systemd", "state": "unknown", "status": "static" }, "vdo.service": { "name": "vdo.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "ypbind.service": { "name": "ypbind.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "yppasswdd.service": { "name": "yppasswdd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ypserv.service": { "name": "ypserv.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ypxfrd.service": { "name": "ypxfrd.service", "source": "systemd", "state": "stopped", "status": "not-found" } } }, "changed": false } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 17:03:56 +0000 (0:00:01.876) 0:00:09.123 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 17:03:56 +0000 (0:00:00.107) 0:00:09.230 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 17:03:56 +0000 (0:00:00.021) 0:00:09.252 ********* ok: [/cache/rhel-8-y.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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 17:03:57 +0000 (0:00:00.540) 0:00:09.792 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 17:03:57 +0000 (0:00:00.040) 0:00:09.833 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 17:03:57 +0000 (0:00:00.023) 0:00:09.856 ********* ok: [/cache/rhel-8-y.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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 17:03:57 +0000 (0:00:00.037) 0:00:09.894 ********* ok: [/cache/rhel-8-y.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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 17:03:57 +0000 (0:00:00.037) 0:00:09.931 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 17:03:57 +0000 (0:00:00.037) 0:00:09.969 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 17:03:57 +0000 (0:00:00.036) 0:00:10.005 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 17:03:57 +0000 (0:00:00.025) 0:00:10.031 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 17:03:57 +0000 (0:00:00.035) 0:00:10.067 ********* skipping: [/cache/rhel-8-y.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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 17:03:57 +0000 (0:00:00.022) 0:00:10.089 ********* ok: [/cache/rhel-8-y.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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 17:03:57 +0000 (0:00:00.498) 0:00:10.587 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 17:03:57 +0000 (0:00:00.025) 0:00:10.613 ********* ok: [/cache/rhel-8-y.qcow2.snap] META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [Mark tasks to be skipped] ************************************************ task path: /tmp/tmpmnqeja9w/tests/storage/tests_create_disk_then_remove.yml:12 Thursday 21 July 2022 17:03:58 +0000 (0:00:00.989) 0:00:11.602 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_skip_checks": [ "blivet_available", "packages_installed", "service_facts" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/tests_create_disk_then_remove.yml:19 Thursday 21 July 2022 17:03:59 +0000 (0:00:00.033) 0:00:11.636 ********* included: /tmp/tmpmnqeja9w/tests/storage/get_unused_disk.yml for /cache/rhel-8-y.qcow2.snap TASK [Find unused disks in the system] ***************************************** task path: /tmp/tmpmnqeja9w/tests/storage/get_unused_disk.yml:2 Thursday 21 July 2022 17:03:59 +0000 (0:00:00.038) 0:00:11.675 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "disks": [ "sda" ] } TASK [Set unused_disks if necessary] ******************************************* task path: /tmp/tmpmnqeja9w/tests/storage/get_unused_disk.yml:9 Thursday 21 July 2022 17:04:00 +0000 (0:00:01.517) 0:00:13.193 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "unused_disks": [ "sda" ] }, "changed": false } TASK [Exit playbook when there's not enough unused disks in the system] ******** task path: /tmp/tmpmnqeja9w/tests/storage/get_unused_disk.yml:14 Thursday 21 July 2022 17:04:00 +0000 (0:00:00.036) 0:00:13.229 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Print unused disks] ****************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/get_unused_disk.yml:19 Thursday 21 July 2022 17:04:00 +0000 (0:00:00.036) 0:00:13.266 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "unused_disks": [ "sda" ] } TASK [Create a disk device mounted on "/opt/test1"; specify disks as non-list] *** task path: /tmp/tmpmnqeja9w/tests/storage/tests_create_disk_then_remove.yml:23 Thursday 21 July 2022 17:04:00 +0000 (0:00:00.035) 0:00:13.302 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 17:04:00 +0000 (0:00:00.042) 0:00:13.344 ********* included: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 17:04:00 +0000 (0:00:00.061) 0:00:13.405 ********* ok: [/cache/rhel-8-y.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 17:04:01 +0000 (0:00:00.524) 0:00:13.930 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.7.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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 17:04:01 +0000 (0:00:00.062) 0:00:13.992 ********* ok: [/cache/rhel-8-y.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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 17:04:01 +0000 (0:00:00.038) 0:00:14.031 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 17:04:01 +0000 (0:00:00.035) 0:00:14.067 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 17:04:01 +0000 (0:00:00.057) 0:00:14.124 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 17:04:01 +0000 (0:00:00.021) 0:00:14.145 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 17:04:01 +0000 (0:00:00.035) 0:00:14.181 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 17:04:01 +0000 (0:00:00.035) 0:00:14.216 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_volumes": [ { "disks": "sda", "fs_type": "ext4", "mount_point": "/opt/test1", "name": "test1", "type": "disk" } ] } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 17:04:01 +0000 (0:00:00.039) 0:00:14.256 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 17:04:01 +0000 (0:00:00.028) 0:00:14.284 ********* skipping: [/cache/rhel-8-y.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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 17:04:01 +0000 (0:00:00.029) 0:00:14.314 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 17:04:01 +0000 (0:00:00.027) 0:00:14.341 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 17:04:01 +0000 (0:00:00.026) 0:00:14.367 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 17:04:01 +0000 (0:00:00.058) 0:00:14.426 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 17:04:01 +0000 (0:00:00.022) 0:00:14.448 ********* changed: [/cache/rhel-8-y.qcow2.snap] => { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "ext4" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=d99f8055-9e98-41e0-a7dc-7b17c2d11d47", "state": "mounted" } ], "packages": [ "xfsprogs", "e2fsprogs", "dosfstools" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=d99f8055-9e98-41e0-a7dc-7b17c2d11d47", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 17:04:03 +0000 (0:00:01.662) 0:00:16.111 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 17:04:03 +0000 (0:00:00.035) 0:00:16.147 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 17:04:03 +0000 (0:00:00.022) 0:00:16.169 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "ext4" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=d99f8055-9e98-41e0-a7dc-7b17c2d11d47", "state": "mounted" } ], "packages": [ "xfsprogs", "e2fsprogs", "dosfstools" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=d99f8055-9e98-41e0-a7dc-7b17c2d11d47", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 17:04:03 +0000 (0:00:00.048) 0:00:16.218 ********* ok: [/cache/rhel-8-y.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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 17:04:03 +0000 (0:00:00.065) 0:00:16.283 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=d99f8055-9e98-41e0-a7dc-7b17c2d11d47", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 17:04:03 +0000 (0:00:00.068) 0:00:16.351 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 17:04:03 +0000 (0:00:00.036) 0:00:16.388 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 17:04:04 +0000 (0:00:00.914) 0:00:17.303 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8-y.qcow2.snap] => (item={'src': 'UUID=d99f8055-9e98-41e0-a7dc-7b17c2d11d47', 'path': '/opt/test1', 'fstype': 'ext4', '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": "ext4", "mount_info": { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=d99f8055-9e98-41e0-a7dc-7b17c2d11d47", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "UUID=d99f8055-9e98-41e0-a7dc-7b17c2d11d47" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 17:04:05 +0000 (0:00:00.510) 0:00:17.813 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 17:04:05 +0000 (0:00:00.639) 0:00:18.453 ********* ok: [/cache/rhel-8-y.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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 17:04:06 +0000 (0:00:00.366) 0:00:18.820 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 17:04:06 +0000 (0:00:00.021) 0:00:18.842 ********* ok: [/cache/rhel-8-y.qcow2.snap] META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/tests_create_disk_then_remove.yml:34 Thursday 21 July 2022 17:04:07 +0000 (0:00:00.984) 0:00:19.827 ********* included: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml for /cache/rhel-8-y.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 17:04:07 +0000 (0:00:00.042) 0:00:19.869 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 17:04:07 +0000 (0:00:00.037) 0:00:19.906 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "_storage_volumes_list": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=d99f8055-9e98-41e0-a7dc-7b17c2d11d47", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 17:04:07 +0000 (0:00:00.049) 0:00:19.955 ********* ok: [/cache/rhel-8-y.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": "ext4", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "d99f8055-9e98-41e0-a7dc-7b17c2d11d47" }, "/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-17-03-34-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": "100M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "root", "name": "/dev/vda3", "size": "9.9G", "type": "partition", "uuid": "58dca2db-4ccd-4171-a017-dd53ad8c1c54" }, "/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": "4d1ed9a1-5608-4ff8-ad89-21d95caa66fa" }, "/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": "a7abcc97-edc5-476c-8ccd-694b4621fd28" }, "/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/tmpmnqeja9w/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 17:04:07 +0000 (0:00:00.502) 0:00:20.458 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002400", "end": "2022-07-21 13:04:08.403361", "rc": 0, "start": "2022-07-21 13:04:08.400961" } STDOUT: UUID=58dca2db-4ccd-4171-a017-dd53ad8c1c54 / 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 UUID=d99f8055-9e98-41e0-a7dc-7b17c2d11d47 /opt/test1 ext4 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 17:04:08 +0000 (0:00:00.498) 0:00:20.957 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003184", "end": "2022-07-21 13:04:08.848990", "failed_when_result": false, "rc": 1, "start": "2022-07-21 13:04:08.845806" } 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/tmpmnqeja9w/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 17:04:08 +0000 (0:00:00.452) 0:00:21.409 ********* TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 17:04:08 +0000 (0:00:00.021) 0:00:21.431 ********* included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume.yml for /cache/rhel-8-y.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': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': 10737418240, 'state': 'present', 'type': 'disk', 'disks': ['sda'], 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_chunk_size': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': [], '_device': '/dev/sda', '_raw_device': '/dev/sda', '_mount_id': 'UUID=d99f8055-9e98-41e0-a7dc-7b17c2d11d47', '_kernel_device': '/dev/sda', '_raw_kernel_device': '/dev/sda'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 17:04:08 +0000 (0:00:00.056) 0:00:21.487 ********* ok: [/cache/rhel-8-y.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/tmpmnqeja9w/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 17:04:08 +0000 (0:00:00.090) 0:00:21.578 ********* included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml for /cache/rhel-8-y.qcow2.snap => (item=mount) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fstab.yml for /cache/rhel-8-y.qcow2.snap => (item=fstab) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fs.yml for /cache/rhel-8-y.qcow2.snap => (item=fs) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml for /cache/rhel-8-y.qcow2.snap => (item=device) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml for /cache/rhel-8-y.qcow2.snap => (item=encryption) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml for /cache/rhel-8-y.qcow2.snap => (item=md) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml for /cache/rhel-8-y.qcow2.snap => (item=size) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml for /cache/rhel-8-y.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 17:04:09 +0000 (0:00:00.085) 0:00:21.663 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/sda" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 17:04:09 +0000 (0:00:00.041) 0:00:21.705 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 2419519, "block_size": 4096, "block_total": 2554693, "block_used": 135174, "device": "/dev/sda", "fstype": "ext4", "inode_available": 655349, "inode_total": 655360, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 9910349824, "size_total": 10464022528, "uuid": "d99f8055-9e98-41e0-a7dc-7b17c2d11d47" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 2419519, "block_size": 4096, "block_total": 2554693, "block_used": 135174, "device": "/dev/sda", "fstype": "ext4", "inode_available": 655349, "inode_total": 655360, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 9910349824, "size_total": 10464022528, "uuid": "d99f8055-9e98-41e0-a7dc-7b17c2d11d47" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 17:04:09 +0000 (0:00:00.056) 0:00:21.761 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 17:04:09 +0000 (0:00:00.051) 0:00:21.813 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 17:04:09 +0000 (0:00:00.055) 0:00:21.868 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 17:04:09 +0000 (0:00:00.048) 0:00:21.916 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 17:04:09 +0000 (0:00:00.025) 0:00:21.942 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 17:04:09 +0000 (0:00:00.029) 0:00:21.971 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 17:04:09 +0000 (0:00:00.024) 0:00:21.996 ********* ok: [/cache/rhel-8-y.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/tmpmnqeja9w/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 17:04:09 +0000 (0:00:00.032) 0:00:22.029 ********* ok: [/cache/rhel-8-y.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": [ "UUID=d99f8055-9e98-41e0-a7dc-7b17c2d11d47 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 ext4 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 17:04:09 +0000 (0:00:00.061) 0:00:22.090 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 17:04:09 +0000 (0:00:00.051) 0:00:22.142 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 17:04:09 +0000 (0:00:00.059) 0:00:22.202 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 17:04:09 +0000 (0:00:00.034) 0:00:22.236 ********* ok: [/cache/rhel-8-y.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/tmpmnqeja9w/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 17:04:09 +0000 (0:00:00.034) 0:00:22.271 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 17:04:09 +0000 (0:00:00.038) 0:00:22.310 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 17:04:09 +0000 (0:00:00.036) 0:00:22.347 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "atime": 1658423043.4990096, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658423043.4990096, "dev": 6, "device_type": 2048, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 17720, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658423043.4990096, "nlink": 1, "path": "/dev/sda", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 17:04:10 +0000 (0:00:00.392) 0:00:22.739 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 17:04:10 +0000 (0:00:00.038) 0:00:22.778 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 17:04:10 +0000 (0:00:00.040) 0:00:22.819 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "st_volume_type": "disk" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 17:04:10 +0000 (0:00:00.036) 0:00:22.855 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 17:04:10 +0000 (0:00:00.028) 0:00:22.883 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 17:04:10 +0000 (0:00:00.041) 0:00:22.925 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 17:04:10 +0000 (0:00:00.029) 0:00:22.954 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 17:04:11 +0000 (0:00:01.323) 0:00:24.278 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 17:04:11 +0000 (0:00:00.025) 0:00:24.303 ********* skipping: [/cache/rhel-8-y.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/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 17:04:11 +0000 (0:00:00.023) 0:00:24.326 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 17:04:11 +0000 (0:00:00.050) 0:00:24.376 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 17:04:11 +0000 (0:00:00.022) 0:00:24.399 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 17:04:11 +0000 (0:00:00.022) 0:00:24.422 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 17:04:11 +0000 (0:00:00.025) 0:00:24.447 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 17:04:11 +0000 (0:00:00.028) 0:00:24.476 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 17:04:11 +0000 (0:00:00.024) 0:00:24.501 ********* ok: [/cache/rhel-8-y.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/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 17:04:11 +0000 (0:00:00.058) 0:00:24.560 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 17:04:11 +0000 (0:00:00.050) 0:00:24.610 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 17:04:12 +0000 (0:00:00.035) 0:00:24.646 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 17:04:12 +0000 (0:00:00.037) 0:00:24.683 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 17:04:12 +0000 (0:00:00.035) 0:00:24.718 ********* ok: [/cache/rhel-8-y.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/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 17:04:12 +0000 (0:00:00.037) 0:00:24.755 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 17:04:12 +0000 (0:00:00.037) 0:00:24.793 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 17:04:12 +0000 (0:00:00.037) 0:00:24.831 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 17:04:12 +0000 (0:00:00.040) 0:00:24.871 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 17:04:12 +0000 (0:00:00.050) 0:00:24.922 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 17:04:12 +0000 (0:00:00.039) 0:00:24.961 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 17:04:12 +0000 (0:00:00.037) 0:00:24.998 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 17:04:12 +0000 (0:00:00.037) 0:00:25.036 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 17:04:12 +0000 (0:00:00.026) 0:00:25.062 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 17:04:12 +0000 (0:00:00.038) 0:00:25.100 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 17:04:12 +0000 (0:00:00.035) 0:00:25.136 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 17:04:12 +0000 (0:00:00.038) 0:00:25.175 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 17:04:12 +0000 (0:00:00.036) 0:00:25.212 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 17:04:12 +0000 (0:00:00.037) 0:00:25.249 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 17:04:12 +0000 (0:00:00.037) 0:00:25.286 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 17:04:12 +0000 (0:00:00.037) 0:00:25.324 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 17:04:12 +0000 (0:00:00.045) 0:00:25.370 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 17:04:12 +0000 (0:00:00.046) 0:00:25.416 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 17:04:12 +0000 (0:00:00.069) 0:00:25.486 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 17:04:12 +0000 (0:00:00.024) 0:00:25.511 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 17:04:12 +0000 (0:00:00.050) 0:00:25.562 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 17:04:12 +0000 (0:00:00.024) 0:00:25.586 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 17:04:12 +0000 (0:00:00.022) 0:00:25.609 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 17:04:12 +0000 (0:00:00.022) 0:00:25.631 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 17:04:13 +0000 (0:00:00.022) 0:00:25.654 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 17:04:13 +0000 (0:00:00.021) 0:00:25.675 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 17:04:13 +0000 (0:00:00.021) 0:00:25.696 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 17:04:13 +0000 (0:00:00.031) 0:00:25.728 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Repeat the previous invocation minus fs_type to verify idempotence] ****** task path: /tmp/tmpmnqeja9w/tests/storage/tests_create_disk_then_remove.yml:36 Thursday 21 July 2022 17:04:13 +0000 (0:00:00.032) 0:00:25.760 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 17:04:13 +0000 (0:00:00.046) 0:00:25.806 ********* included: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 17:04:13 +0000 (0:00:00.037) 0:00:25.844 ********* ok: [/cache/rhel-8-y.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 17:04:13 +0000 (0:00:00.530) 0:00:26.374 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.7.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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 17:04:13 +0000 (0:00:00.062) 0:00:26.437 ********* ok: [/cache/rhel-8-y.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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 17:04:13 +0000 (0:00:00.036) 0:00:26.473 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 17:04:13 +0000 (0:00:00.036) 0:00:26.509 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 17:04:13 +0000 (0:00:00.054) 0:00:26.564 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 17:04:13 +0000 (0:00:00.020) 0:00:26.585 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 17:04:13 +0000 (0:00:00.028) 0:00:26.614 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 17:04:14 +0000 (0:00:00.036) 0:00:26.650 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_volumes": [ { "disks": [ "sda" ], "mount_point": "/opt/test1", "name": "test1", "type": "disk" } ] } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 17:04:14 +0000 (0:00:00.038) 0:00:26.689 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 17:04:14 +0000 (0:00:00.031) 0:00:26.720 ********* skipping: [/cache/rhel-8-y.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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 17:04:14 +0000 (0:00:00.028) 0:00:26.749 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 17:04:14 +0000 (0:00:00.026) 0:00:26.776 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 17:04:14 +0000 (0:00:00.026) 0:00:26.802 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 17:04:14 +0000 (0:00:00.056) 0:00:26.859 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 17:04:14 +0000 (0:00:00.021) 0:00:26.881 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=d99f8055-9e98-41e0-a7dc-7b17c2d11d47", "state": "mounted" } ], "packages": [ "dosfstools", "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=d99f8055-9e98-41e0-a7dc-7b17c2d11d47", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 17:04:15 +0000 (0:00:01.345) 0:00:28.227 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 17:04:15 +0000 (0:00:00.037) 0:00:28.264 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 17:04:15 +0000 (0:00:00.021) 0:00:28.286 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=d99f8055-9e98-41e0-a7dc-7b17c2d11d47", "state": "mounted" } ], "packages": [ "dosfstools", "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=d99f8055-9e98-41e0-a7dc-7b17c2d11d47", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 17:04:15 +0000 (0:00:00.038) 0:00:28.324 ********* ok: [/cache/rhel-8-y.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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 17:04:15 +0000 (0:00:00.040) 0:00:28.365 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=d99f8055-9e98-41e0-a7dc-7b17c2d11d47", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 17:04:15 +0000 (0:00:00.042) 0:00:28.407 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 17:04:15 +0000 (0:00:00.040) 0:00:28.447 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 17:04:16 +0000 (0:00:00.625) 0:00:29.073 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/rhel-8-y.qcow2.snap] => (item={'src': 'UUID=d99f8055-9e98-41e0-a7dc-7b17c2d11d47', 'path': '/opt/test1', 'fstype': 'ext4', '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": "ext4", "mount_info": { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=d99f8055-9e98-41e0-a7dc-7b17c2d11d47", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "UUID=d99f8055-9e98-41e0-a7dc-7b17c2d11d47" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 17:04:16 +0000 (0:00:00.399) 0:00:29.472 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 17:04:17 +0000 (0:00:00.635) 0:00:30.108 ********* ok: [/cache/rhel-8-y.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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 17:04:17 +0000 (0:00:00.371) 0:00:30.480 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 17:04:17 +0000 (0:00:00.024) 0:00:30.504 ********* ok: [/cache/rhel-8-y.qcow2.snap] META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [Assert file system is preserved on existing partition volume] ************ task path: /tmp/tmpmnqeja9w/tests/storage/tests_create_disk_then_remove.yml:46 Thursday 21 July 2022 17:04:18 +0000 (0:00:00.986) 0:00:31.491 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/tests_create_disk_then_remove.yml:51 Thursday 21 July 2022 17:04:18 +0000 (0:00:00.080) 0:00:31.571 ********* included: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml for /cache/rhel-8-y.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 17:04:18 +0000 (0:00:00.044) 0:00:31.615 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 17:04:19 +0000 (0:00:00.039) 0:00:31.655 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "_storage_volumes_list": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=d99f8055-9e98-41e0-a7dc-7b17c2d11d47", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 17:04:19 +0000 (0:00:00.143) 0:00:31.799 ********* ok: [/cache/rhel-8-y.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": "ext4", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "d99f8055-9e98-41e0-a7dc-7b17c2d11d47" }, "/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-17-03-34-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": "100M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "root", "name": "/dev/vda3", "size": "9.9G", "type": "partition", "uuid": "58dca2db-4ccd-4171-a017-dd53ad8c1c54" }, "/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": "4d1ed9a1-5608-4ff8-ad89-21d95caa66fa" }, "/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": "a7abcc97-edc5-476c-8ccd-694b4621fd28" }, "/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/tmpmnqeja9w/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 17:04:19 +0000 (0:00:00.393) 0:00:32.193 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002526", "end": "2022-07-21 13:04:20.011655", "rc": 0, "start": "2022-07-21 13:04:20.009129" } STDOUT: UUID=58dca2db-4ccd-4171-a017-dd53ad8c1c54 / 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 UUID=d99f8055-9e98-41e0-a7dc-7b17c2d11d47 /opt/test1 ext4 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 17:04:19 +0000 (0:00:00.387) 0:00:32.580 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003199", "end": "2022-07-21 13:04:20.406784", "failed_when_result": false, "rc": 1, "start": "2022-07-21 13:04:20.403585" } 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/tmpmnqeja9w/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 17:04:20 +0000 (0:00:00.384) 0:00:32.964 ********* TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 17:04:20 +0000 (0:00:00.023) 0:00:32.987 ********* included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume.yml for /cache/rhel-8-y.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': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': 10737418240, 'state': 'present', 'type': 'disk', 'disks': ['sda'], 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_chunk_size': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': [], '_device': '/dev/sda', '_raw_device': '/dev/sda', '_mount_id': 'UUID=d99f8055-9e98-41e0-a7dc-7b17c2d11d47', '_kernel_device': '/dev/sda', '_raw_kernel_device': '/dev/sda'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 17:04:20 +0000 (0:00:00.062) 0:00:33.050 ********* ok: [/cache/rhel-8-y.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/tmpmnqeja9w/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 17:04:20 +0000 (0:00:00.049) 0:00:33.099 ********* included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml for /cache/rhel-8-y.qcow2.snap => (item=mount) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fstab.yml for /cache/rhel-8-y.qcow2.snap => (item=fstab) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fs.yml for /cache/rhel-8-y.qcow2.snap => (item=fs) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml for /cache/rhel-8-y.qcow2.snap => (item=device) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml for /cache/rhel-8-y.qcow2.snap => (item=encryption) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml for /cache/rhel-8-y.qcow2.snap => (item=md) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml for /cache/rhel-8-y.qcow2.snap => (item=size) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml for /cache/rhel-8-y.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 17:04:20 +0000 (0:00:00.077) 0:00:33.176 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/sda" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 17:04:20 +0000 (0:00:00.042) 0:00:33.219 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 2419519, "block_size": 4096, "block_total": 2554693, "block_used": 135174, "device": "/dev/sda", "fstype": "ext4", "inode_available": 655349, "inode_total": 655360, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 9910349824, "size_total": 10464022528, "uuid": "d99f8055-9e98-41e0-a7dc-7b17c2d11d47" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 2419519, "block_size": 4096, "block_total": 2554693, "block_used": 135174, "device": "/dev/sda", "fstype": "ext4", "inode_available": 655349, "inode_total": 655360, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 9910349824, "size_total": 10464022528, "uuid": "d99f8055-9e98-41e0-a7dc-7b17c2d11d47" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 17:04:20 +0000 (0:00:00.056) 0:00:33.275 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 17:04:20 +0000 (0:00:00.048) 0:00:33.323 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 17:04:20 +0000 (0:00:00.048) 0:00:33.372 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 17:04:20 +0000 (0:00:00.053) 0:00:33.426 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 17:04:20 +0000 (0:00:00.025) 0:00:33.451 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 17:04:20 +0000 (0:00:00.025) 0:00:33.476 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 17:04:20 +0000 (0:00:00.023) 0:00:33.500 ********* ok: [/cache/rhel-8-y.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/tmpmnqeja9w/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 17:04:20 +0000 (0:00:00.037) 0:00:33.537 ********* ok: [/cache/rhel-8-y.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": [ "UUID=d99f8055-9e98-41e0-a7dc-7b17c2d11d47 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 ext4 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 17:04:20 +0000 (0:00:00.061) 0:00:33.598 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 17:04:21 +0000 (0:00:00.051) 0:00:33.650 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 17:04:21 +0000 (0:00:00.051) 0:00:33.702 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 17:04:21 +0000 (0:00:00.037) 0:00:33.739 ********* ok: [/cache/rhel-8-y.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/tmpmnqeja9w/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 17:04:21 +0000 (0:00:00.062) 0:00:33.802 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 17:04:21 +0000 (0:00:00.040) 0:00:33.843 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 17:04:21 +0000 (0:00:00.040) 0:00:33.883 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "atime": 1658423043.4990096, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658423043.4990096, "dev": 6, "device_type": 2048, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 17720, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658423043.4990096, "nlink": 1, "path": "/dev/sda", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 17:04:21 +0000 (0:00:00.406) 0:00:34.290 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 17:04:21 +0000 (0:00:00.037) 0:00:34.327 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 17:04:21 +0000 (0:00:00.036) 0:00:34.364 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "st_volume_type": "disk" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 17:04:21 +0000 (0:00:00.036) 0:00:34.400 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 17:04:21 +0000 (0:00:00.023) 0:00:34.424 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 17:04:21 +0000 (0:00:00.038) 0:00:34.462 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 17:04:21 +0000 (0:00:00.025) 0:00:34.488 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 17:04:23 +0000 (0:00:01.302) 0:00:35.791 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 17:04:23 +0000 (0:00:00.024) 0:00:35.815 ********* skipping: [/cache/rhel-8-y.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/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 17:04:23 +0000 (0:00:00.023) 0:00:35.839 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 17:04:23 +0000 (0:00:00.048) 0:00:35.887 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 17:04:23 +0000 (0:00:00.024) 0:00:35.912 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 17:04:23 +0000 (0:00:00.023) 0:00:35.936 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 17:04:23 +0000 (0:00:00.024) 0:00:35.960 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 17:04:23 +0000 (0:00:00.023) 0:00:35.983 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 17:04:23 +0000 (0:00:00.024) 0:00:36.008 ********* ok: [/cache/rhel-8-y.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/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 17:04:23 +0000 (0:00:00.053) 0:00:36.061 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 17:04:23 +0000 (0:00:00.049) 0:00:36.111 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 17:04:23 +0000 (0:00:00.040) 0:00:36.152 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 17:04:23 +0000 (0:00:00.040) 0:00:36.193 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 17:04:23 +0000 (0:00:00.041) 0:00:36.234 ********* ok: [/cache/rhel-8-y.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/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 17:04:23 +0000 (0:00:00.038) 0:00:36.272 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 17:04:23 +0000 (0:00:00.041) 0:00:36.314 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 17:04:23 +0000 (0:00:00.038) 0:00:36.352 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 17:04:23 +0000 (0:00:00.039) 0:00:36.392 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 17:04:23 +0000 (0:00:00.039) 0:00:36.431 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 17:04:23 +0000 (0:00:00.041) 0:00:36.472 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 17:04:23 +0000 (0:00:00.035) 0:00:36.507 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 17:04:23 +0000 (0:00:00.036) 0:00:36.543 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 17:04:23 +0000 (0:00:00.055) 0:00:36.599 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 17:04:24 +0000 (0:00:00.035) 0:00:36.634 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 17:04:24 +0000 (0:00:00.034) 0:00:36.669 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 17:04:24 +0000 (0:00:00.035) 0:00:36.704 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 17:04:24 +0000 (0:00:00.038) 0:00:36.743 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 17:04:24 +0000 (0:00:00.035) 0:00:36.778 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 17:04:24 +0000 (0:00:00.034) 0:00:36.812 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 17:04:24 +0000 (0:00:00.033) 0:00:36.846 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 17:04:24 +0000 (0:00:00.036) 0:00:36.883 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 17:04:24 +0000 (0:00:00.033) 0:00:36.917 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 17:04:24 +0000 (0:00:00.038) 0:00:36.955 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 17:04:24 +0000 (0:00:00.023) 0:00:36.979 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 17:04:24 +0000 (0:00:00.024) 0:00:37.003 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 17:04:24 +0000 (0:00:00.022) 0:00:37.026 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 17:04:24 +0000 (0:00:00.024) 0:00:37.051 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 17:04:24 +0000 (0:00:00.023) 0:00:37.074 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 17:04:24 +0000 (0:00:00.024) 0:00:37.099 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 17:04:24 +0000 (0:00:00.025) 0:00:37.124 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 17:04:24 +0000 (0:00:00.024) 0:00:37.148 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 17:04:24 +0000 (0:00:00.036) 0:00:37.185 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Remove the disk device created above] ************************************ task path: /tmp/tmpmnqeja9w/tests/storage/tests_create_disk_then_remove.yml:53 Thursday 21 July 2022 17:04:24 +0000 (0:00:00.037) 0:00:37.222 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 17:04:24 +0000 (0:00:00.054) 0:00:37.277 ********* included: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 17:04:24 +0000 (0:00:00.037) 0:00:37.315 ********* ok: [/cache/rhel-8-y.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 17:04:25 +0000 (0:00:00.524) 0:00:37.839 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.7.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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 17:04:25 +0000 (0:00:00.067) 0:00:37.906 ********* ok: [/cache/rhel-8-y.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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 17:04:25 +0000 (0:00:00.036) 0:00:37.943 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 17:04:25 +0000 (0:00:00.036) 0:00:37.980 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 17:04:25 +0000 (0:00:00.056) 0:00:38.036 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 17:04:25 +0000 (0:00:00.023) 0:00:38.059 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 17:04:25 +0000 (0:00:00.030) 0:00:38.090 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 17:04:25 +0000 (0:00:00.070) 0:00:38.160 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_volumes": [ { "disks": [ "sda" ], "mount_point": "/opt/test1", "name": "test1", "state": "absent", "type": "disk" } ] } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 17:04:25 +0000 (0:00:00.100) 0:00:38.260 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 17:04:25 +0000 (0:00:00.028) 0:00:38.289 ********* skipping: [/cache/rhel-8-y.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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 17:04:25 +0000 (0:00:00.026) 0:00:38.316 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 17:04:25 +0000 (0:00:00.028) 0:00:38.345 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 17:04:25 +0000 (0:00:00.036) 0:00:38.381 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 17:04:25 +0000 (0:00:00.066) 0:00:38.448 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 17:04:25 +0000 (0:00:00.033) 0:00:38.481 ********* changed: [/cache/rhel-8-y.qcow2.snap] => { "actions": [ { "action": "destroy format", "device": "/dev/sda", "fs_type": "ext4" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "fstype": "ext4", "path": "/opt/test1", "src": "UUID=d99f8055-9e98-41e0-a7dc-7b17c2d11d47", "state": "absent" } ], "packages": [ "dosfstools", "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_mount_id": "UUID=d99f8055-9e98-41e0-a7dc-7b17c2d11d47", "_raw_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 17:04:27 +0000 (0:00:01.638) 0:00:40.119 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 17:04:27 +0000 (0:00:00.036) 0:00:40.155 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 17:04:27 +0000 (0:00:00.021) 0:00:40.176 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/sda", "fs_type": "ext4" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "fstype": "ext4", "path": "/opt/test1", "src": "UUID=d99f8055-9e98-41e0-a7dc-7b17c2d11d47", "state": "absent" } ], "packages": [ "dosfstools", "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_mount_id": "UUID=d99f8055-9e98-41e0-a7dc-7b17c2d11d47", "_raw_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 17:04:27 +0000 (0:00:00.051) 0:00:40.228 ********* ok: [/cache/rhel-8-y.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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 17:04:27 +0000 (0:00:00.041) 0:00:40.270 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/sda", "_mount_id": "UUID=d99f8055-9e98-41e0-a7dc-7b17c2d11d47", "_raw_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 17:04:27 +0000 (0:00:00.047) 0:00:40.317 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8-y.qcow2.snap] => (item={'src': 'UUID=d99f8055-9e98-41e0-a7dc-7b17c2d11d47', 'path': '/opt/test1', 'state': 'absent', 'fstype': 'ext4'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext4", "mount_info": { "fstype": "ext4", "path": "/opt/test1", "src": "UUID=d99f8055-9e98-41e0-a7dc-7b17c2d11d47", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "UUID=d99f8055-9e98-41e0-a7dc-7b17c2d11d47" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 17:04:28 +0000 (0:00:00.418) 0:00:40.735 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 17:04:28 +0000 (0:00:00.622) 0:00:41.358 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 17:04:28 +0000 (0:00:00.040) 0:00:41.398 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 17:04:29 +0000 (0:00:00.619) 0:00:42.017 ********* ok: [/cache/rhel-8-y.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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 17:04:29 +0000 (0:00:00.387) 0:00:42.404 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 17:04:29 +0000 (0:00:00.024) 0:00:42.428 ********* ok: [/cache/rhel-8-y.qcow2.snap] META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/tests_create_disk_then_remove.yml:64 Thursday 21 July 2022 17:04:30 +0000 (0:00:00.978) 0:00:43.407 ********* included: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml for /cache/rhel-8-y.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 17:04:30 +0000 (0:00:00.087) 0:00:43.495 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 17:04:30 +0000 (0:00:00.037) 0:00:43.532 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "_storage_volumes_list": [ { "_device": "/dev/sda", "_mount_id": "UUID=d99f8055-9e98-41e0-a7dc-7b17c2d11d47", "_raw_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 17:04:30 +0000 (0:00:00.050) 0:00:43.583 ********* ok: [/cache/rhel-8-y.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-17-03-34-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": "100M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "root", "name": "/dev/vda3", "size": "9.9G", "type": "partition", "uuid": "58dca2db-4ccd-4171-a017-dd53ad8c1c54" }, "/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": "4d1ed9a1-5608-4ff8-ad89-21d95caa66fa" }, "/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": "a7abcc97-edc5-476c-8ccd-694b4621fd28" }, "/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/tmpmnqeja9w/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 17:04:31 +0000 (0:00:00.383) 0:00:43.967 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003526", "end": "2022-07-21 13:04:31.792350", "rc": 0, "start": "2022-07-21 13:04:31.788824" } STDOUT: UUID=58dca2db-4ccd-4171-a017-dd53ad8c1c54 / 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/tmpmnqeja9w/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 17:04:31 +0000 (0:00:00.381) 0:00:44.349 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.004148", "end": "2022-07-21 13:04:32.170563", "failed_when_result": false, "rc": 1, "start": "2022-07-21 13:04:32.166415" } 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/tmpmnqeja9w/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 17:04:32 +0000 (0:00:00.382) 0:00:44.731 ********* TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 17:04:32 +0000 (0:00:00.022) 0:00:44.753 ********* included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume.yml for /cache/rhel-8-y.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': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': 10737418240, 'state': 'absent', 'type': 'disk', 'disks': ['sda'], 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_chunk_size': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': [], '_device': '/dev/sda', '_raw_device': '/dev/sda', '_mount_id': 'UUID=d99f8055-9e98-41e0-a7dc-7b17c2d11d47'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 17:04:32 +0000 (0:00:00.057) 0:00:44.810 ********* ok: [/cache/rhel-8-y.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/tmpmnqeja9w/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 17:04:32 +0000 (0:00:00.046) 0:00:44.856 ********* included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml for /cache/rhel-8-y.qcow2.snap => (item=mount) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fstab.yml for /cache/rhel-8-y.qcow2.snap => (item=fstab) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fs.yml for /cache/rhel-8-y.qcow2.snap => (item=fs) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml for /cache/rhel-8-y.qcow2.snap => (item=device) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml for /cache/rhel-8-y.qcow2.snap => (item=encryption) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml for /cache/rhel-8-y.qcow2.snap => (item=md) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml for /cache/rhel-8-y.qcow2.snap => (item=size) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml for /cache/rhel-8-y.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 17:04:32 +0000 (0:00:00.075) 0:00:44.932 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/sda" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 17:04:32 +0000 (0:00:00.039) 0:00:44.972 ********* ok: [/cache/rhel-8-y.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/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 17:04:32 +0000 (0:00:00.057) 0:00:45.029 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 17:04:32 +0000 (0:00:00.023) 0:00:45.052 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 17:04:32 +0000 (0:00:00.050) 0:00:45.103 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 17:04:32 +0000 (0:00:00.035) 0:00:45.139 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 17:04:32 +0000 (0:00:00.025) 0:00:45.164 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 17:04:32 +0000 (0:00:00.023) 0:00:45.187 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 17:04:32 +0000 (0:00:00.025) 0:00:45.213 ********* ok: [/cache/rhel-8-y.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/tmpmnqeja9w/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 17:04:32 +0000 (0:00:00.036) 0:00:45.249 ********* ok: [/cache/rhel-8-y.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/tmpmnqeja9w/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 17:04:32 +0000 (0:00:00.062) 0:00:45.312 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 17:04:32 +0000 (0:00:00.023) 0:00:45.336 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 17:04:32 +0000 (0:00:00.077) 0:00:45.414 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 17:04:32 +0000 (0:00:00.064) 0:00:45.478 ********* ok: [/cache/rhel-8-y.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/tmpmnqeja9w/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 17:04:32 +0000 (0:00:00.032) 0:00:45.510 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 17:04:32 +0000 (0:00:00.022) 0:00:45.533 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 17:04:32 +0000 (0:00:00.024) 0:00:45.557 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "atime": 1658423067.4980097, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658423067.4980097, "dev": 6, "device_type": 2048, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 17720, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658423067.4980097, "nlink": 1, "path": "/dev/sda", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 17:04:33 +0000 (0:00:00.405) 0:00:45.962 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 17:04:33 +0000 (0:00:00.037) 0:00:46.000 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 17:04:33 +0000 (0:00:00.024) 0:00:46.024 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "st_volume_type": "disk" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 17:04:33 +0000 (0:00:00.035) 0:00:46.059 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 17:04:33 +0000 (0:00:00.024) 0:00:46.084 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 17:04:33 +0000 (0:00:00.023) 0:00:46.107 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 17:04:33 +0000 (0:00:00.023) 0:00:46.130 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 17:04:34 +0000 (0:00:01.298) 0:00:47.428 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 17:04:34 +0000 (0:00:00.028) 0:00:47.457 ********* skipping: [/cache/rhel-8-y.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/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 17:04:34 +0000 (0:00:00.027) 0:00:47.484 ********* skipping: [/cache/rhel-8-y.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/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 17:04:34 +0000 (0:00:00.025) 0:00:47.509 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 17:04:34 +0000 (0:00:00.025) 0:00:47.535 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 17:04:34 +0000 (0:00:00.025) 0:00:47.561 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 17:04:34 +0000 (0:00:00.025) 0:00:47.587 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 17:04:34 +0000 (0:00:00.025) 0:00:47.612 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 17:04:35 +0000 (0:00:00.025) 0:00:47.637 ********* ok: [/cache/rhel-8-y.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/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 17:04:35 +0000 (0:00:00.049) 0:00:47.687 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 17:04:35 +0000 (0:00:00.050) 0:00:47.738 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 17:04:35 +0000 (0:00:00.037) 0:00:47.775 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 17:04:35 +0000 (0:00:00.035) 0:00:47.810 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 17:04:35 +0000 (0:00:00.033) 0:00:47.844 ********* ok: [/cache/rhel-8-y.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/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 17:04:35 +0000 (0:00:00.034) 0:00:47.879 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 17:04:35 +0000 (0:00:00.037) 0:00:47.916 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 17:04:35 +0000 (0:00:00.034) 0:00:47.951 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 17:04:35 +0000 (0:00:00.036) 0:00:47.987 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 17:04:35 +0000 (0:00:00.038) 0:00:48.025 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 17:04:35 +0000 (0:00:00.039) 0:00:48.065 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 17:04:35 +0000 (0:00:00.035) 0:00:48.100 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 17:04:35 +0000 (0:00:00.038) 0:00:48.139 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 17:04:35 +0000 (0:00:00.024) 0:00:48.164 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 17:04:35 +0000 (0:00:00.039) 0:00:48.203 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 17:04:35 +0000 (0:00:00.069) 0:00:48.273 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 17:04:35 +0000 (0:00:00.035) 0:00:48.308 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 17:04:35 +0000 (0:00:00.036) 0:00:48.345 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 17:04:35 +0000 (0:00:00.041) 0:00:48.386 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 17:04:35 +0000 (0:00:00.039) 0:00:48.425 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 17:04:35 +0000 (0:00:00.037) 0:00:48.463 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 17:04:35 +0000 (0:00:00.038) 0:00:48.501 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 17:04:35 +0000 (0:00:00.042) 0:00:48.544 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 17:04:35 +0000 (0:00:00.036) 0:00:48.581 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 17:04:35 +0000 (0:00:00.024) 0:00:48.606 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 17:04:35 +0000 (0:00:00.023) 0:00:48.629 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 17:04:36 +0000 (0:00:00.026) 0:00:48.655 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 17:04:36 +0000 (0:00:00.025) 0:00:48.680 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 17:04:36 +0000 (0:00:00.025) 0:00:48.706 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 17:04:36 +0000 (0:00:00.025) 0:00:48.732 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 17:04:36 +0000 (0:00:00.026) 0:00:48.759 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 17:04:36 +0000 (0:00:00.025) 0:00:48.784 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 17:04:36 +0000 (0:00:00.036) 0:00:48.821 ********* ok: [/cache/rhel-8-y.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-8-y.qcow2.snap : ok=201 changed=4 unreachable=0 failed=0 skipped=177 rescued=0 ignored=0 Thursday 21 July 2022 17:04:36 +0000 (0:00:00.048) 0:00:48.869 ********* =============================================================================== fedora.linux_system_roles.storage : get service facts ------------------- 1.88s /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 fedora.linux_system_roles.storage : make sure blivet is available ------- 1.78s /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 1.66s /tmp/tmpp_vyhrdp/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 --- 1.64s /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Find unused disks in the system ----------------------------------------- 1.52s /tmp/tmpmnqeja9w/tests/storage/get_unused_disk.yml:2 -------------------------- Gathering Facts --------------------------------------------------------- 1.35s /tmp/tmpmnqeja9w/tests/storage/tests_create_disk_then_remove_scsi_generated.yml:3 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 1.35s /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Ensure cryptsetup is present -------------------------------------------- 1.32s /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:10 ----------- Ensure cryptsetup is present -------------------------------------------- 1.30s /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:10 ----------- Ensure cryptsetup is present -------------------------------------------- 1.30s /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:10 ----------- fedora.linux_system_roles.storage : make sure required packages are installed --- 1.30s /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 fedora.linux_system_roles.storage : Update facts ------------------------ 0.99s /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 fedora.linux_system_roles.storage : Update facts ------------------------ 0.99s /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 fedora.linux_system_roles.storage : Update facts ------------------------ 0.98s /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Gathering Facts --------------------------------------------------------- 0.98s /tmp/tmpmnqeja9w/tests/storage/tests_create_disk_then_remove.yml:2 ------------ fedora.linux_system_roles.storage : Update facts ------------------------ 0.98s /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab --- 0.91s /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 fedora.linux_system_roles.storage : get required packages --------------- 0.74s /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab --- 0.64s /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab --- 0.64s /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148