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/tmpq6mp_rlx 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_change_mount_nvme_generated.yml ******************************** 2 plays in /tmp/tmpnhy4yzav/tests/tests_change_mount_nvme_generated.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpnhy4yzav/tests/tests_change_mount_nvme_generated.yml:3 Wednesday 06 July 2022 13:50:00 +0000 (0:00:00.012) 0:00:00.012 ******** ok: [/cache/centos-9.qcow2.snap] META: ran handlers TASK [set disk interface for test] ********************************************* task path: /tmp/tmpnhy4yzav/tests/tests_change_mount_nvme_generated.yml:7 Wednesday 06 July 2022 13:50:01 +0000 (0:00:01.348) 0:00:01.360 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_use_interface": "nvme" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpnhy4yzav/tests/tests_change_mount.yml:2 Wednesday 06 July 2022 13:50:01 +0000 (0:00:00.049) 0:00:01.410 ******** ok: [/cache/centos-9.qcow2.snap] META: ran handlers TASK [include_role : linux-system-roles.storage] ******************************* task path: /tmp/tmpnhy4yzav/tests/tests_change_mount.yml:12 Wednesday 06 July 2022 13:50:02 +0000 (0:00:00.972) 0:00:02.382 ******** TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Wednesday 06 July 2022 13:50:02 +0000 (0:00:00.034) 0:00:02.417 ******** included: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/centos-9.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 13:50:02 +0000 (0:00:00.029) 0:00:02.446 ******** ok: [/cache/centos-9.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Wednesday 06 July 2022 13:50:03 +0000 (0:00:00.513) 0:00:02.960 ******** skipping: [/cache/centos-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-9.qcow2.snap] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-9.qcow2.snap] => (item=CentOS_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } ok: [/cache/centos-9.qcow2.snap] => (item=CentOS_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Wednesday 06 July 2022 13:50:03 +0000 (0:00:00.065) 0:00:03.025 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Wednesday 06 July 2022 13:50:03 +0000 (0:00:00.029) 0:00:03.055 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Wednesday 06 July 2022 13:50:03 +0000 (0:00:00.027) 0:00:03.083 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/centos-9.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 13:50:03 +0000 (0:00:00.046) 0:00:03.129 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 13:50:03 +0000 (0:00:00.018) 0:00:03.148 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Wednesday 06 July 2022 13:50:04 +0000 (0:00:01.281) 0:00:04.429 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Wednesday 06 July 2022 13:50:04 +0000 (0:00:00.063) 0:00:04.493 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Wednesday 06 July 2022 13:50:04 +0000 (0:00:00.035) 0:00:04.528 ******** ok: [/cache/centos-9.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Wednesday 06 July 2022 13:50:05 +0000 (0:00:00.722) 0:00:05.250 ******** included: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml for /cache/centos-9.qcow2.snap TASK [linux-system-roles.storage : check if the COPR support packages should be installed] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:2 Wednesday 06 July 2022 13:50:05 +0000 (0:00:00.046) 0:00:05.297 ******** TASK [linux-system-roles.storage : make sure COPR support packages are present] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:13 Wednesday 06 July 2022 13:50:05 +0000 (0:00:00.032) 0:00:05.329 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable COPRs] ******************************* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:18 Wednesday 06 July 2022 13:50:05 +0000 (0:00:00.040) 0:00:05.370 ******** TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Wednesday 06 July 2022 13:50:05 +0000 (0:00:00.030) 0:00:05.400 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Wednesday 06 July 2022 13:50:06 +0000 (0:00:00.909) 0:00:06.309 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "services": { "NetworkManager-dispatcher.service": { "name": "NetworkManager-dispatcher.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "NetworkManager-wait-online.service": { "name": "NetworkManager-wait-online.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "NetworkManager.service": { "name": "NetworkManager.service", "source": "systemd", "state": "running", "status": "enabled" }, "auditd.service": { "name": "auditd.service", "source": "systemd", "state": "running", "status": "enabled" }, "auth-rpcgss-module.service": { "name": "auth-rpcgss-module.service", "source": "systemd", "state": "stopped", "status": "static" }, "autofs.service": { "name": "autofs.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "autovt@.service": { "name": "autovt@.service", "source": "systemd", "state": "unknown", "status": "alias" }, "blivet.service": { "name": "blivet.service", "source": "systemd", "state": "inactive", "status": "static" }, "blk-availability.service": { "name": "blk-availability.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "chrony-wait.service": { "name": "chrony-wait.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "chronyd.service": { "name": "chronyd.service", "source": "systemd", "state": "running", "status": "enabled" }, "cloud-config.service": { "name": "cloud-config.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-final.service": { "name": "cloud-final.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init-local.service": { "name": "cloud-init-local.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init.service": { "name": "cloud-init.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cockpit-motd.service": { "name": "cockpit-motd.service", "source": "systemd", "state": "inactive", "status": "static" }, "cockpit-wsinstance-http.service": { "name": "cockpit-wsinstance-http.service", "source": "systemd", "state": "inactive", "status": "static" }, "cockpit-wsinstance-https-factory@.service": { "name": "cockpit-wsinstance-https-factory@.service", "source": "systemd", "state": "unknown", "status": "static" }, "cockpit-wsinstance-https@.service": { "name": "cockpit-wsinstance-https@.service", "source": "systemd", "state": "unknown", "status": "static" }, "cockpit.service": { "name": "cockpit.service", "source": "systemd", "state": "inactive", "status": "static" }, "console-getty.service": { "name": "console-getty.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "container-getty@.service": { "name": "container-getty@.service", "source": "systemd", "state": "unknown", "status": "static" }, "cpupower.service": { "name": "cpupower.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "crond.service": { "name": "crond.service", "source": "systemd", "state": "running", "status": "enabled" }, "dbus-broker.service": { "name": "dbus-broker.service", "source": "systemd", "state": "running", "status": "enabled" }, "dbus-org.freedesktop.hostname1.service": { "name": "dbus-org.freedesktop.hostname1.service", "source": "systemd", "state": "active", "status": "alias" }, "dbus-org.freedesktop.locale1.service": { "name": "dbus-org.freedesktop.locale1.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus-org.freedesktop.login1.service": { "name": "dbus-org.freedesktop.login1.service", "source": "systemd", "state": "active", "status": "alias" }, "dbus-org.freedesktop.nm-dispatcher.service": { "name": "dbus-org.freedesktop.nm-dispatcher.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus-org.freedesktop.timedate1.service": { "name": "dbus-org.freedesktop.timedate1.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus.service": { "name": "dbus.service", "source": "systemd", "state": "active", "status": "alias" }, "debug-shell.service": { "name": "debug-shell.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "display-manager.service": { "name": "display-manager.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "dm-event.service": { "name": "dm-event.service", "source": "systemd", "state": "stopped", "status": "static" }, "dnf-makecache.service": { "name": "dnf-makecache.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-cmdline.service": { "name": "dracut-cmdline.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-initqueue.service": { "name": "dracut-initqueue.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-mount.service": { "name": "dracut-mount.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-mount.service": { "name": "dracut-pre-mount.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-pivot.service": { "name": "dracut-pre-pivot.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-trigger.service": { "name": "dracut-pre-trigger.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-udev.service": { "name": "dracut-pre-udev.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-shutdown.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" }, "grub2-systemd-integration.service": { "name": "grub2-systemd-integration.service", "source": "systemd", "state": "inactive", "status": "static" }, "gssproxy.service": { "name": "gssproxy.service", "source": "systemd", "state": "running", "status": "disabled" }, "initrd-cleanup.service": { "name": "initrd-cleanup.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-parse-etc.service": { "name": "initrd-parse-etc.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-switch-root.service": { "name": "initrd-switch-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-udevadm-cleanup-db.service": { "name": "initrd-udevadm-cleanup-db.service", "source": "systemd", "state": "stopped", "status": "static" }, "irqbalance.service": { "name": "irqbalance.service", "source": "systemd", "state": "running", "status": "enabled" }, "iscsi-shutdown.service": { "name": "iscsi-shutdown.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "iscsi.service": { "name": "iscsi.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "iscsid.service": { "name": "iscsid.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "kdump.service": { "name": "kdump.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "kmod-static-nodes.service": { "name": "kmod-static-nodes.service", "source": "systemd", "state": "stopped", "status": "static" }, "kvm_stat.service": { "name": "kvm_stat.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "ldconfig.service": { "name": "ldconfig.service", "source": "systemd", "state": "stopped", "status": "static" }, "logrotate.service": { "name": "logrotate.service", "source": "systemd", "state": "stopped", "status": "static" }, "lvm2-activation-early.service": { "name": "lvm2-activation-early.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "lvm2-lvmpolld.service": { "name": "lvm2-lvmpolld.service", "source": "systemd", "state": "stopped", "status": "static" }, "lvm2-monitor.service": { "name": "lvm2-monitor.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "man-db-cache-update.service": { "name": "man-db-cache-update.service", "source": "systemd", "state": "inactive", "status": "static" }, "man-db-restart-cache-update.service": { "name": "man-db-restart-cache-update.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "mdadm-grow-continue@.service": { "name": "mdadm-grow-continue@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdadm-last-resort@.service": { "name": "mdadm-last-resort@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdcheck_continue.service": { "name": "mdcheck_continue.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdcheck_start.service": { "name": "mdcheck_start.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdmon@.service": { "name": "mdmon@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdmonitor-oneshot.service": { "name": "mdmonitor-oneshot.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdmonitor.service": { "name": "mdmonitor.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "microcode.service": { "name": "microcode.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "modprobe@.service": { "name": "modprobe@.service", "source": "systemd", "state": "unknown", "status": "static" }, "modprobe@configfs.service": { "name": "modprobe@configfs.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "modprobe@drm.service": { "name": "modprobe@drm.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "modprobe@fuse.service": { "name": "modprobe@fuse.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "multipathd.service": { "name": "multipathd.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "ndctl-monitor.service": { "name": "ndctl-monitor.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "network.service": { "name": "network.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "nfs-blkmap.service": { "name": "nfs-blkmap.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfs-idmapd.service": { "name": "nfs-idmapd.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-mountd.service": { "name": "nfs-mountd.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-server.service": { "name": "nfs-server.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "nfs-utils.service": { "name": "nfs-utils.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfsdcld.service": { "name": "nfsdcld.service", "source": "systemd", "state": "stopped", "status": "static" }, "nis-domainname.service": { "name": "nis-domainname.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "nm-priv-helper.service": { "name": "nm-priv-helper.service", "source": "systemd", "state": "inactive", "status": "static" }, "ntpd.service": { "name": "ntpd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ntpdate.service": { "name": "ntpdate.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "oddjobd.service": { "name": "oddjobd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "packagekit-offline-update.service": { "name": "packagekit-offline-update.service", "source": "systemd", "state": "inactive", "status": "static" }, "packagekit.service": { "name": "packagekit.service", "source": "systemd", "state": "inactive", "status": "static" }, "pam_namespace.service": { "name": "pam_namespace.service", "source": "systemd", "state": "inactive", "status": "static" }, "plymouth-quit-wait.service": { "name": "plymouth-quit-wait.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "plymouth-start.service": { "name": "plymouth-start.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "polkit.service": { "name": "polkit.service", "source": "systemd", "state": "inactive", "status": "static" }, "qemu-guest-agent.service": { "name": "qemu-guest-agent.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "quotaon.service": { "name": "quotaon.service", "source": "systemd", "state": "inactive", "status": "static" }, "raid-check.service": { "name": "raid-check.service", "source": "systemd", "state": "inactive", "status": "static" }, "rbdmap.service": { "name": "rbdmap.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "rc-local.service": { "name": "rc-local.service", "source": "systemd", "state": "stopped", "status": "static" }, "rdisc.service": { "name": "rdisc.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rescue.service": { "name": "rescue.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-gssd.service": { "name": "rpc-gssd.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-statd-notify.service": { "name": "rpc-statd-notify.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-statd.service": { "name": "rpc-statd.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-svcgssd.service": { "name": "rpc-svcgssd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "rpcbind.service": { "name": "rpcbind.service", "source": "systemd", "state": "running", "status": "enabled" }, "rpmdb-rebuild.service": { "name": "rpmdb-rebuild.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rsyslog.service": { "name": "rsyslog.service", "source": "systemd", "state": "running", "status": "enabled" }, "selinux-autorelabel-mark.service": { "name": "selinux-autorelabel-mark.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "selinux-autorelabel.service": { "name": "selinux-autorelabel.service", "source": "systemd", "state": "inactive", "status": "static" }, "serial-getty@.service": { "name": "serial-getty@.service", "source": "systemd", "state": "unknown", "status": "indirect" }, "serial-getty@ttyS0.service": { "name": "serial-getty@ttyS0.service", "source": "systemd", "state": "running", "status": "active" }, "sntp.service": { "name": "sntp.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sshd-keygen.service": { "name": "sshd-keygen.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sshd-keygen@.service": { "name": "sshd-keygen@.service", "source": "systemd", "state": "unknown", "status": "disabled" }, "sshd-keygen@ecdsa.service": { "name": "sshd-keygen@ecdsa.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd-keygen@ed25519.service": { "name": "sshd-keygen@ed25519.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd-keygen@rsa.service": { "name": "sshd-keygen@rsa.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd.service": { "name": "sshd.service", "source": "systemd", "state": "running", "status": "enabled" }, "sshd@.service": { "name": "sshd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "sssd-autofs.service": { "name": "sssd-autofs.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-kcm.service": { "name": "sssd-kcm.service", "source": "systemd", "state": "stopped", "status": "indirect" }, "sssd-nss.service": { "name": "sssd-nss.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-pac.service": { "name": "sssd-pac.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-pam.service": { "name": "sssd-pam.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-ssh.service": { "name": "sssd-ssh.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-sudo.service": { "name": "sssd-sudo.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd.service": { "name": "sssd.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "syslog.service": { "name": "syslog.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "system-update-cleanup.service": { "name": "system-update-cleanup.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-ask-password-console.service": { "name": "systemd-ask-password-console.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-ask-password-wall.service": { "name": "systemd-ask-password-wall.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-backlight@.service": { "name": "systemd-backlight@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-binfmt.service": { "name": "systemd-binfmt.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-boot-check-no-failures.service": { "name": "systemd-boot-check-no-failures.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-coredump@.service": { "name": "systemd-coredump@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-exit.service": { "name": "systemd-exit.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-firstboot.service": { "name": "systemd-firstboot.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-fsck-root.service": { "name": "systemd-fsck-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-fsck@.service": { "name": "systemd-fsck@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-fsck@dev-vdb1.service": { "name": "systemd-fsck@dev-vdb1.service", "source": "systemd", "state": "stopped", "status": "active" }, "systemd-fsck@dev-vdc1.service": { "name": "systemd-fsck@dev-vdc1.service", "source": "systemd", "state": "stopped", "status": "active" }, "systemd-halt.service": { "name": "systemd-halt.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-hibernate-resume@.service": { "name": "systemd-hibernate-resume@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-hibernate.service": { "name": "systemd-hibernate.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-hostnamed.service": { "name": "systemd-hostnamed.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-hwdb-update.service": { "name": "systemd-hwdb-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-hybrid-sleep.service": { "name": "systemd-hybrid-sleep.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-initctl.service": { "name": "systemd-initctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-catalog-update.service": { "name": "systemd-journal-catalog-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-flush.service": { "name": "systemd-journal-flush.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journald.service": { "name": "systemd-journald.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-journald@.service": { "name": "systemd-journald@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-kexec.service": { "name": "systemd-kexec.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-localed.service": { "name": "systemd-localed.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-logind.service": { "name": "systemd-logind.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-machine-id-commit.service": { "name": "systemd-machine-id-commit.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-modules-load.service": { "name": "systemd-modules-load.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-network-generator.service": { "name": "systemd-network-generator.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "systemd-poweroff.service": { "name": "systemd-poweroff.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-pstore.service": { "name": "systemd-pstore.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-quotacheck.service": { "name": "systemd-quotacheck.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-random-seed.service": { "name": "systemd-random-seed.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-reboot.service": { "name": "systemd-reboot.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-remount-fs.service": { "name": "systemd-remount-fs.service", "source": "systemd", "state": "stopped", "status": "enabled-runtime" }, "systemd-repart.service": { "name": "systemd-repart.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-rfkill.service": { "name": "systemd-rfkill.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-suspend-then-hibernate.service": { "name": "systemd-suspend-then-hibernate.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-suspend.service": { "name": "systemd-suspend.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-sysctl.service": { "name": "systemd-sysctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-sysext.service": { "name": "systemd-sysext.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-sysusers.service": { "name": "systemd-sysusers.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-timedated.service": { "name": "systemd-timedated.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-timesyncd.service": { "name": "systemd-timesyncd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "systemd-tmpfiles-clean.service": { "name": "systemd-tmpfiles-clean.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup-dev.service": { "name": "systemd-tmpfiles-setup-dev.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup.service": { "name": "systemd-tmpfiles-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udev-settle.service": { "name": "systemd-udev-settle.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udev-trigger.service": { "name": "systemd-udev-trigger.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udevd.service": { "name": "systemd-udevd.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-update-done.service": { "name": "systemd-update-done.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-update-utmp-runlevel.service": { "name": "systemd-update-utmp-runlevel.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-update-utmp.service": { "name": "systemd-update-utmp.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-user-sessions.service": { "name": "systemd-user-sessions.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-vconsole-setup.service": { "name": "systemd-vconsole-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-volatile-root.service": { "name": "systemd-volatile-root.service", "source": "systemd", "state": "inactive", "status": "static" }, "teamd@.service": { "name": "teamd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "user-runtime-dir@.service": { "name": "user-runtime-dir@.service", "source": "systemd", "state": "unknown", "status": "static" }, "user-runtime-dir@0.service": { "name": "user-runtime-dir@0.service", "source": "systemd", "state": "stopped", "status": "active" }, "user@.service": { "name": "user@.service", "source": "systemd", "state": "unknown", "status": "static" }, "user@0.service": { "name": "user@0.service", "source": "systemd", "state": "running", "status": "active" }, "ypbind.service": { "name": "ypbind.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "yppasswdd.service": { "name": "yppasswdd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ypserv.service": { "name": "ypserv.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ypxfrd.service": { "name": "ypxfrd.service", "source": "systemd", "state": "stopped", "status": "not-found" } } }, "changed": false } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 13:50:09 +0000 (0:00:02.797) 0:00:09.107 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Wednesday 06 July 2022 13:50:09 +0000 (0:00:00.058) 0:00:09.165 ******** TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Wednesday 06 July 2022 13:50:09 +0000 (0:00:00.022) 0:00:09.188 ******** ok: [/cache/centos-9.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Wednesday 06 July 2022 13:50:10 +0000 (0:00:00.563) 0:00:09.751 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Wednesday 06 July 2022 13:50:10 +0000 (0:00:00.038) 0:00:09.790 ******** TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Wednesday 06 July 2022 13:50:10 +0000 (0:00:00.021) 0:00:09.811 ******** ok: [/cache/centos-9.qcow2.snap] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Wednesday 06 July 2022 13:50:10 +0000 (0:00:00.038) 0:00:09.850 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Wednesday 06 July 2022 13:50:10 +0000 (0:00:00.036) 0:00:09.886 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Wednesday 06 July 2022 13:50:10 +0000 (0:00:00.037) 0:00:09.924 ******** TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Wednesday 06 July 2022 13:50:10 +0000 (0:00:00.036) 0:00:09.961 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Wednesday 06 July 2022 13:50:10 +0000 (0:00:00.025) 0:00:09.986 ******** TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Wednesday 06 July 2022 13:50:10 +0000 (0:00:00.035) 0:00:10.022 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Wednesday 06 July 2022 13:50:10 +0000 (0:00:00.022) 0:00:10.045 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1657114115.7373767, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1654524050.107, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4194436, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1654523851.529, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "610860986", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Wednesday 06 July 2022 13:50:10 +0000 (0:00:00.509) 0:00:10.555 ******** TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Wednesday 06 July 2022 13:50:10 +0000 (0:00:00.022) 0:00:10.578 ******** ok: [/cache/centos-9.qcow2.snap] META: role_complete for /cache/centos-9.qcow2.snap TASK [Mark tasks to be skipped] ************************************************ task path: /tmp/tmpnhy4yzav/tests/tests_change_mount.yml:15 Wednesday 06 July 2022 13:50:11 +0000 (0:00:01.045) 0:00:11.623 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_skip_checks": [ "blivet_available", "packages_installed", "service_facts" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpnhy4yzav/tests/tests_change_mount.yml:22 Wednesday 06 July 2022 13:50:11 +0000 (0:00:00.035) 0:00:11.659 ******** included: /tmp/tmpnhy4yzav/tests/get_unused_disk.yml for /cache/centos-9.qcow2.snap TASK [Find unused disks in the system] ***************************************** task path: /tmp/tmpnhy4yzav/tests/get_unused_disk.yml:2 Wednesday 06 July 2022 13:50:12 +0000 (0:00:00.036) 0:00:11.696 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "disks": [ "nvme1n1" ] } TASK [Set unused_disks if necessary] ******************************************* task path: /tmp/tmpnhy4yzav/tests/get_unused_disk.yml:9 Wednesday 06 July 2022 13:50:12 +0000 (0:00:00.540) 0:00:12.237 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "unused_disks": [ "nvme1n1" ] }, "changed": false } TASK [Exit playbook when there's not enough unused disks in the system] ******** task path: /tmp/tmpnhy4yzav/tests/get_unused_disk.yml:14 Wednesday 06 July 2022 13:50:12 +0000 (0:00:00.037) 0:00:12.274 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Print unused disks] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/get_unused_disk.yml:19 Wednesday 06 July 2022 13:50:12 +0000 (0:00:00.038) 0:00:12.313 ******** ok: [/cache/centos-9.qcow2.snap] => { "unused_disks": [ "nvme1n1" ] } TASK [Create a LVM logical volume mounted at "/opt/test1"] ********************* task path: /tmp/tmpnhy4yzav/tests/tests_change_mount.yml:27 Wednesday 06 July 2022 13:50:12 +0000 (0:00:00.037) 0:00:12.351 ******** TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Wednesday 06 July 2022 13:50:12 +0000 (0:00:00.043) 0:00:12.394 ******** included: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/centos-9.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 13:50:12 +0000 (0:00:00.034) 0:00:12.429 ******** ok: [/cache/centos-9.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Wednesday 06 July 2022 13:50:13 +0000 (0:00:00.531) 0:00:12.960 ******** skipping: [/cache/centos-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-9.qcow2.snap] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-9.qcow2.snap] => (item=CentOS_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } ok: [/cache/centos-9.qcow2.snap] => (item=CentOS_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Wednesday 06 July 2022 13:50:13 +0000 (0:00:00.076) 0:00:13.036 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Wednesday 06 July 2022 13:50:13 +0000 (0:00:00.036) 0:00:13.073 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Wednesday 06 July 2022 13:50:13 +0000 (0:00:00.035) 0:00:13.109 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/centos-9.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 13:50:13 +0000 (0:00:00.048) 0:00:13.157 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 13:50:13 +0000 (0:00:00.020) 0:00:13.178 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Wednesday 06 July 2022 13:50:13 +0000 (0:00:00.028) 0:00:13.206 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_pools": [ { "disks": [ "nvme1n1" ], "name": "foo", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "3g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Wednesday 06 July 2022 13:50:13 +0000 (0:00:00.041) 0:00:13.247 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Wednesday 06 July 2022 13:50:13 +0000 (0:00:00.036) 0:00:13.283 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Wednesday 06 July 2022 13:50:13 +0000 (0:00:00.029) 0:00:13.313 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Wednesday 06 July 2022 13:50:13 +0000 (0:00:00.027) 0:00:13.340 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Wednesday 06 July 2022 13:50:13 +0000 (0:00:00.027) 0:00:13.368 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 13:50:13 +0000 (0:00:00.027) 0:00:13.396 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Wednesday 06 July 2022 13:50:13 +0000 (0:00:00.085) 0:00:13.481 ******** TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Wednesday 06 July 2022 13:50:13 +0000 (0:00:00.023) 0:00:13.505 ******** changed: [/cache/centos-9.qcow2.snap] => { "actions": [ { "action": "create format", "device": "/dev/nvme1n1", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/mapper/foo-test1" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "xfsprogs", "lvm2", "e2fsprogs" ], "pools": [ { "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Wednesday 06 July 2022 13:50:15 +0000 (0:00:01.940) 0:00:15.446 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Wednesday 06 July 2022 13:50:15 +0000 (0:00:00.035) 0:00:15.481 ******** TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Wednesday 06 July 2022 13:50:15 +0000 (0:00:00.020) 0:00:15.501 ******** ok: [/cache/centos-9.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/nvme1n1", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/mapper/foo-test1" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "xfsprogs", "lvm2", "e2fsprogs" ], "pools": [ { "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Wednesday 06 July 2022 13:50:15 +0000 (0:00:00.040) 0:00:15.542 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Wednesday 06 July 2022 13:50:15 +0000 (0:00:00.034) 0:00:15.577 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Wednesday 06 July 2022 13:50:15 +0000 (0:00:00.037) 0:00:15.614 ******** TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Wednesday 06 July 2022 13:50:15 +0000 (0:00:00.037) 0:00:15.652 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Wednesday 06 July 2022 13:50:16 +0000 (0:00:00.974) 0:00:16.626 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-9.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Wednesday 06 July 2022 13:50:17 +0000 (0:00:00.577) 0:00:17.204 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Wednesday 06 July 2022 13:50:18 +0000 (0:00:00.687) 0:00:17.892 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1657114115.7373767, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1654524050.107, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4194436, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1654523851.529, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "610860986", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Wednesday 06 July 2022 13:50:18 +0000 (0:00:00.393) 0:00:18.285 ******** TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Wednesday 06 July 2022 13:50:18 +0000 (0:00:00.024) 0:00:18.310 ******** ok: [/cache/centos-9.qcow2.snap] META: role_complete for /cache/centos-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpnhy4yzav/tests/tests_change_mount.yml:39 Wednesday 06 July 2022 13:50:19 +0000 (0:00:00.987) 0:00:19.298 ******** included: /tmp/tmpnhy4yzav/tests/verify-role-results.yml for /cache/centos-9.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:1 Wednesday 06 July 2022 13:50:19 +0000 (0:00:00.039) 0:00:19.337 ******** ok: [/cache/centos-9.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:6 Wednesday 06 July 2022 13:50:19 +0000 (0:00:00.075) 0:00:19.413 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:14 Wednesday 06 July 2022 13:50:19 +0000 (0:00:00.067) 0:00:19.480 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test1", "size": "3G", "type": "lvm", "uuid": "f46fbc7e-16e3-4633-bc35-eda543f19426" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "LVM2_member", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "6Fg2EX-Be5Q-26zK-YyMV-mSlo-2D9j-jbLPVZ" }, "/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-06-13-49-46-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "10G", "type": "partition", "uuid": "4a8e5519-5f4a-41ef-bec6-391aaa7a9737" }, "/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": "7e2b11b8-7ad7-4ea1-8ccb-c55a9090cba2" }, "/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": "8ea8e052-f2d2-4f4b-8ff7-0b4eb5686df5" }, "/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/tmpnhy4yzav/tests/verify-role-results.yml:19 Wednesday 06 July 2022 13:50:20 +0000 (0:00:00.505) 0:00:19.985 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:01.004284", "end": "2022-07-06 09:50:21.870547", "rc": 0, "start": "2022-07-06 09:50:20.866263" } STDOUT: # # /etc/fstab # Created by anaconda on Mon Jun 6 13:57:31 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=4a8e5519-5f4a-41ef-bec6-391aaa7a9737 / xfs defaults 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 /dev/mapper/foo-test1 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:24 Wednesday 06 July 2022 13:50:21 +0000 (0:00:01.478) 0:00:21.464 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003227", "end": "2022-07-06 09:50:22.269648", "failed_when_result": false, "rc": 0, "start": "2022-07-06 09:50:22.266421" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:33 Wednesday 06 July 2022 13:50:22 +0000 (0:00:00.399) 0:00:21.863 ******** included: /tmp/tmpnhy4yzav/tests/test-verify-pool.yml for /cache/centos-9.qcow2.snap => (item={'disks': ['nvme1n1'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-pool.yml:5 Wednesday 06 July 2022 13:50:22 +0000 (0:00:00.063) 0:00:21.926 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool.yml:18 Wednesday 06 July 2022 13:50:22 +0000 (0:00:00.033) 0:00:21.960 ******** included: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml for /cache/centos-9.qcow2.snap => (item=members) included: /tmp/tmpnhy4yzav/tests/test-verify-pool-volumes.yml for /cache/centos-9.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:1 Wednesday 06 July 2022 13:50:22 +0000 (0:00:00.048) 0:00:22.009 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/nvme1n1" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:10 Wednesday 06 July 2022 13:50:22 +0000 (0:00:00.060) 0:00:22.069 ******** ok: [/cache/centos-9.qcow2.snap] => (item=/dev/nvme1n1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/nvme1n1", "pv": "/dev/nvme1n1" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:19 Wednesday 06 July 2022 13:50:22 +0000 (0:00:00.506) 0:00:22.575 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:23 Wednesday 06 July 2022 13:50:22 +0000 (0:00:00.047) 0:00:22.623 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/nvme1n1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:27 Wednesday 06 July 2022 13:50:23 +0000 (0:00:00.081) 0:00:22.704 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:34 Wednesday 06 July 2022 13:50:23 +0000 (0:00:00.055) 0:00:22.759 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:38 Wednesday 06 July 2022 13:50:23 +0000 (0:00:00.038) 0:00:22.797 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:42 Wednesday 06 July 2022 13:50:23 +0000 (0:00:00.089) 0:00:22.887 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:46 Wednesday 06 July 2022 13:50:23 +0000 (0:00:00.024) 0:00:22.911 ******** ok: [/cache/centos-9.qcow2.snap] => (item=/dev/nvme1n1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/nvme1n1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:56 Wednesday 06 July 2022 13:50:23 +0000 (0:00:00.040) 0:00:22.952 ******** included: /tmp/tmpnhy4yzav/tests/verify-pool-md.yml for /cache/centos-9.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-md.yml:6 Wednesday 06 July 2022 13:50:23 +0000 (0:00:00.042) 0:00:22.995 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-md.yml:12 Wednesday 06 July 2022 13:50:23 +0000 (0:00:00.056) 0:00:23.051 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-md.yml:16 Wednesday 06 July 2022 13:50:23 +0000 (0:00:00.023) 0:00:23.075 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-md.yml:20 Wednesday 06 July 2022 13:50:23 +0000 (0:00:00.024) 0:00:23.100 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-md.yml:24 Wednesday 06 July 2022 13:50:23 +0000 (0:00:00.024) 0:00:23.125 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-md.yml:30 Wednesday 06 July 2022 13:50:23 +0000 (0:00:00.026) 0:00:23.151 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpnhy4yzav/tests/verify-pool-md.yml:36 Wednesday 06 July 2022 13:50:23 +0000 (0:00:00.023) 0:00:23.175 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-md.yml:44 Wednesday 06 July 2022 13:50:23 +0000 (0:00:00.025) 0:00:23.200 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:59 Wednesday 06 July 2022 13:50:23 +0000 (0:00:00.037) 0:00:23.237 ******** included: /tmp/tmpnhy4yzav/tests/verify-pool-members-lvmraid.yml for /cache/centos-9.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-members-lvmraid.yml:1 Wednesday 06 July 2022 13:50:23 +0000 (0:00:00.045) 0:00:23.283 ******** included: /tmp/tmpnhy4yzav/tests/verify-pool-member-lvmraid.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 13:50:23 +0000 (0:00:00.044) 0:00:23.328 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 13:50:23 +0000 (0:00:00.029) 0:00:23.358 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 13:50:23 +0000 (0:00:00.028) 0:00:23.386 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:62 Wednesday 06 July 2022 13:50:23 +0000 (0:00:00.029) 0:00:23.416 ******** included: /tmp/tmpnhy4yzav/tests/verify-pool-members-thin.yml for /cache/centos-9.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-members-thin.yml:1 Wednesday 06 July 2022 13:50:23 +0000 (0:00:00.046) 0:00:23.463 ******** included: /tmp/tmpnhy4yzav/tests/verify-pool-member-thin.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 13:50:23 +0000 (0:00:00.045) 0:00:23.508 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 13:50:23 +0000 (0:00:00.023) 0:00:23.532 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 13:50:23 +0000 (0:00:00.025) 0:00:23.557 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 13:50:23 +0000 (0:00:00.024) 0:00:23.582 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:65 Wednesday 06 July 2022 13:50:23 +0000 (0:00:00.024) 0:00:23.607 ******** included: /tmp/tmpnhy4yzav/tests/verify-pool-members-encryption.yml for /cache/centos-9.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-members-encryption.yml:4 Wednesday 06 July 2022 13:50:23 +0000 (0:00:00.061) 0:00:23.668 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-members-encryption.yml:8 Wednesday 06 July 2022 13:50:24 +0000 (0:00:00.050) 0:00:23.719 ******** skipping: [/cache/centos-9.qcow2.snap] => (item=/dev/nvme1n1) => { "_storage_test_pool_member_path": "/dev/nvme1n1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-members-encryption.yml:15 Wednesday 06 July 2022 13:50:24 +0000 (0:00:00.027) 0:00:23.747 ******** included: /tmp/tmpnhy4yzav/tests/verify-pool-member-crypttab.yml for /cache/centos-9.qcow2.snap => (item=/dev/nvme1n1) TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-crypttab.yml:1 Wednesday 06 July 2022 13:50:24 +0000 (0:00:00.044) 0:00:23.791 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-crypttab.yml:6 Wednesday 06 July 2022 13:50:24 +0000 (0:00:00.049) 0:00:23.841 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-crypttab.yml:11 Wednesday 06 July 2022 13:50:24 +0000 (0:00:00.053) 0:00:23.894 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-crypttab.yml:17 Wednesday 06 July 2022 13:50:24 +0000 (0:00:00.038) 0:00:23.933 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-crypttab.yml:23 Wednesday 06 July 2022 13:50:24 +0000 (0:00:00.037) 0:00:23.970 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-crypttab.yml:29 Wednesday 06 July 2022 13:50:24 +0000 (0:00:00.034) 0:00:24.004 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-members-encryption.yml:22 Wednesday 06 July 2022 13:50:24 +0000 (0:00:00.035) 0:00:24.039 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:68 Wednesday 06 July 2022 13:50:24 +0000 (0:00:00.034) 0:00:24.074 ******** included: /tmp/tmpnhy4yzav/tests/verify-pool-members-vdo.yml for /cache/centos-9.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-members-vdo.yml:1 Wednesday 06 July 2022 13:50:24 +0000 (0:00:00.046) 0:00:24.121 ******** included: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 13:50:24 +0000 (0:00:00.044) 0:00:24.165 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 13:50:24 +0000 (0:00:00.025) 0:00:24.191 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 13:50:24 +0000 (0:00:00.022) 0:00:24.214 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 13:50:24 +0000 (0:00:00.049) 0:00:24.263 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 13:50:24 +0000 (0:00:00.023) 0:00:24.286 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 13:50:24 +0000 (0:00:00.025) 0:00:24.312 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 13:50:24 +0000 (0:00:00.026) 0:00:24.339 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 13:50:24 +0000 (0:00:00.036) 0:00:24.375 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:71 Wednesday 06 July 2022 13:50:24 +0000 (0:00:00.035) 0:00:24.410 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-volumes.yml:3 Wednesday 06 July 2022 13:50:24 +0000 (0:00:00.038) 0:00:24.448 ******** included: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml:2 Wednesday 06 July 2022 13:50:24 +0000 (0:00:00.045) 0:00:24.494 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml:10 Wednesday 06 July 2022 13:50:24 +0000 (0:00:00.048) 0:00:24.543 ******** included: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml for /cache/centos-9.qcow2.snap => (item=mount) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml for /cache/centos-9.qcow2.snap => (item=fstab) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-fs.yml for /cache/centos-9.qcow2.snap => (item=fs) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml for /cache/centos-9.qcow2.snap => (item=device) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml for /cache/centos-9.qcow2.snap => (item=encryption) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml for /cache/centos-9.qcow2.snap => (item=md) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml for /cache/centos-9.qcow2.snap => (item=size) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml for /cache/centos-9.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 13:50:24 +0000 (0:00:00.085) 0:00:24.628 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:14 Wednesday 06 July 2022 13:50:24 +0000 (0:00:00.044) 0:00:24.673 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 770146, "block_size": 4096, "block_total": 783872, "block_used": 13726, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 1572861, "inode_total": 1572864, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 3154518016, "size_total": 3210739712, "uuid": "f46fbc7e-16e3-4633-bc35-eda543f19426" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 770146, "block_size": 4096, "block_total": 783872, "block_used": 13726, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 1572861, "inode_total": 1572864, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 3154518016, "size_total": 3210739712, "uuid": "f46fbc7e-16e3-4633-bc35-eda543f19426" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:28 Wednesday 06 July 2022 13:50:25 +0000 (0:00:00.057) 0:00:24.730 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 13:50:25 +0000 (0:00:00.053) 0:00:24.783 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:45 Wednesday 06 July 2022 13:50:25 +0000 (0:00:00.053) 0:00:24.837 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:54 Wednesday 06 July 2022 13:50:25 +0000 (0:00:00.051) 0:00:24.889 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:58 Wednesday 06 July 2022 13:50:25 +0000 (0:00:00.023) 0:00:24.912 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:63 Wednesday 06 July 2022 13:50:25 +0000 (0:00:00.024) 0:00:24.936 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:75 Wednesday 06 July 2022 13:50:25 +0000 (0:00:00.025) 0:00:24.962 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 13:50:25 +0000 (0:00:00.033) 0:00:24.996 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 13:50:25 +0000 (0:00:00.064) 0:00:25.060 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:32 Wednesday 06 July 2022 13:50:25 +0000 (0:00:00.064) 0:00:25.125 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:39 Wednesday 06 July 2022 13:50:25 +0000 (0:00:00.056) 0:00:25.181 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:49 Wednesday 06 July 2022 13:50:25 +0000 (0:00:00.036) 0:00:25.217 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 13:50:25 +0000 (0:00:00.036) 0:00:25.254 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 13:50:25 +0000 (0:00:00.043) 0:00:25.298 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:4 Wednesday 06 July 2022 13:50:25 +0000 (0:00:00.039) 0:00:25.337 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1657115415.8005354, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657115415.8005354, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 671, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657115415.8005354, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:10 Wednesday 06 July 2022 13:50:26 +0000 (0:00:00.403) 0:00:25.741 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:18 Wednesday 06 July 2022 13:50:26 +0000 (0:00:00.045) 0:00:25.786 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:24 Wednesday 06 July 2022 13:50:26 +0000 (0:00:00.039) 0:00:25.826 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:28 Wednesday 06 July 2022 13:50:26 +0000 (0:00:00.079) 0:00:25.905 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:33 Wednesday 06 July 2022 13:50:26 +0000 (0:00:00.025) 0:00:25.931 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 13:50:26 +0000 (0:00:00.100) 0:00:26.032 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 13:50:26 +0000 (0:00:00.025) 0:00:26.057 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 13:50:27 +0000 (0:00:00.857) 0:00:26.915 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 13:50:27 +0000 (0:00:00.025) 0:00:26.940 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:30 Wednesday 06 July 2022 13:50:27 +0000 (0:00:00.024) 0:00:26.964 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:38 Wednesday 06 July 2022 13:50:27 +0000 (0:00:00.053) 0:00:27.018 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 13:50:27 +0000 (0:00:00.025) 0:00:27.043 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:49 Wednesday 06 July 2022 13:50:27 +0000 (0:00:00.023) 0:00:27.067 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:55 Wednesday 06 July 2022 13:50:27 +0000 (0:00:00.025) 0:00:27.092 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:61 Wednesday 06 July 2022 13:50:27 +0000 (0:00:00.029) 0:00:27.121 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 13:50:27 +0000 (0:00:00.031) 0:00:27.153 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:74 Wednesday 06 July 2022 13:50:27 +0000 (0:00:00.053) 0:00:27.206 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:79 Wednesday 06 July 2022 13:50:27 +0000 (0:00:00.052) 0:00:27.259 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:85 Wednesday 06 July 2022 13:50:27 +0000 (0:00:00.037) 0:00:27.296 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:91 Wednesday 06 July 2022 13:50:27 +0000 (0:00:00.037) 0:00:27.334 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:97 Wednesday 06 July 2022 13:50:27 +0000 (0:00:00.037) 0:00:27.371 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:7 Wednesday 06 July 2022 13:50:27 +0000 (0:00:00.036) 0:00:27.408 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:13 Wednesday 06 July 2022 13:50:27 +0000 (0:00:00.037) 0:00:27.445 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:17 Wednesday 06 July 2022 13:50:27 +0000 (0:00:00.037) 0:00:27.483 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:21 Wednesday 06 July 2022 13:50:27 +0000 (0:00:00.038) 0:00:27.521 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:25 Wednesday 06 July 2022 13:50:27 +0000 (0:00:00.041) 0:00:27.562 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:31 Wednesday 06 July 2022 13:50:27 +0000 (0:00:00.040) 0:00:27.602 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:37 Wednesday 06 July 2022 13:50:27 +0000 (0:00:00.037) 0:00:27.640 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:3 Wednesday 06 July 2022 13:50:27 +0000 (0:00:00.037) 0:00:27.677 ******** ok: [/cache/centos-9.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:9 Wednesday 06 July 2022 13:50:28 +0000 (0:00:00.507) 0:00:28.185 ******** ok: [/cache/centos-9.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:15 Wednesday 06 July 2022 13:50:28 +0000 (0:00:00.388) 0:00:28.573 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "3221225472" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:20 Wednesday 06 July 2022 13:50:28 +0000 (0:00:00.051) 0:00:28.625 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:25 Wednesday 06 July 2022 13:50:28 +0000 (0:00:00.037) 0:00:28.662 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:28 Wednesday 06 July 2022 13:50:29 +0000 (0:00:00.044) 0:00:28.706 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:31 Wednesday 06 July 2022 13:50:29 +0000 (0:00:00.041) 0:00:28.748 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:36 Wednesday 06 July 2022 13:50:29 +0000 (0:00:00.038) 0:00:28.786 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:39 Wednesday 06 July 2022 13:50:29 +0000 (0:00:00.035) 0:00:28.822 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:44 Wednesday 06 July 2022 13:50:29 +0000 (0:00:00.036) 0:00:28.859 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_actual_size": { "bytes": 3221225472, "changed": false, "failed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:47 Wednesday 06 July 2022 13:50:29 +0000 (0:00:00.034) 0:00:28.893 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:50 Wednesday 06 July 2022 13:50:29 +0000 (0:00:00.068) 0:00:28.962 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 13:50:29 +0000 (0:00:00.095) 0:00:29.057 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.034009", "end": "2022-07-06 09:50:29.919787", "rc": 0, "start": "2022-07-06 09:50:29.885778" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 13:50:29 +0000 (0:00:00.456) 0:00:29.514 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 13:50:29 +0000 (0:00:00.052) 0:00:29.566 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 13:50:29 +0000 (0:00:00.054) 0:00:29.620 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 13:50:29 +0000 (0:00:00.036) 0:00:29.657 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 13:50:30 +0000 (0:00:00.036) 0:00:29.693 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 13:50:30 +0000 (0:00:00.039) 0:00:29.733 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml:16 Wednesday 06 July 2022 13:50:30 +0000 (0:00:00.041) 0:00:29.774 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:40 Wednesday 06 July 2022 13:50:30 +0000 (0:00:00.035) 0:00:29.809 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_pool": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:47 Wednesday 06 July 2022 13:50:30 +0000 (0:00:00.035) 0:00:29.844 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:57 Wednesday 06 July 2022 13:50:30 +0000 (0:00:00.022) 0:00:29.867 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null, "storage_test_volume": null }, "changed": false } TASK [Change the mount location to "/opt/test2"] ******************************* task path: /tmp/tmpnhy4yzav/tests/tests_change_mount.yml:41 Wednesday 06 July 2022 13:50:30 +0000 (0:00:00.038) 0:00:29.905 ******** TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Wednesday 06 July 2022 13:50:30 +0000 (0:00:00.052) 0:00:29.958 ******** included: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/centos-9.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 13:50:30 +0000 (0:00:00.038) 0:00:29.996 ******** ok: [/cache/centos-9.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Wednesday 06 July 2022 13:50:30 +0000 (0:00:00.541) 0:00:30.537 ******** skipping: [/cache/centos-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-9.qcow2.snap] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-9.qcow2.snap] => (item=CentOS_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } ok: [/cache/centos-9.qcow2.snap] => (item=CentOS_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Wednesday 06 July 2022 13:50:30 +0000 (0:00:00.074) 0:00:30.611 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Wednesday 06 July 2022 13:50:30 +0000 (0:00:00.037) 0:00:30.649 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Wednesday 06 July 2022 13:50:31 +0000 (0:00:00.035) 0:00:30.684 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/centos-9.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 13:50:31 +0000 (0:00:00.050) 0:00:30.735 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 13:50:31 +0000 (0:00:00.021) 0:00:30.757 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Wednesday 06 July 2022 13:50:31 +0000 (0:00:00.027) 0:00:30.784 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_pools": [ { "disks": [ "nvme1n1" ], "name": "foo", "volumes": [ { "mount_point": "/opt/test2", "name": "test1", "size": "3g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Wednesday 06 July 2022 13:50:31 +0000 (0:00:00.038) 0:00:30.823 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Wednesday 06 July 2022 13:50:31 +0000 (0:00:00.036) 0:00:30.859 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Wednesday 06 July 2022 13:50:31 +0000 (0:00:00.032) 0:00:30.892 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Wednesday 06 July 2022 13:50:31 +0000 (0:00:00.028) 0:00:30.920 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Wednesday 06 July 2022 13:50:31 +0000 (0:00:00.027) 0:00:30.948 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 13:50:31 +0000 (0:00:00.028) 0:00:30.976 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Wednesday 06 July 2022 13:50:31 +0000 (0:00:00.059) 0:00:31.035 ******** TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Wednesday 06 July 2022 13:50:31 +0000 (0:00:00.022) 0:00:31.058 ******** ok: [/cache/centos-9.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/mapper/foo-test1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "path": "/opt/test1", "state": "absent" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "lvm2", "xfsprogs", "e2fsprogs" ], "pools": [ { "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Wednesday 06 July 2022 13:50:32 +0000 (0:00:01.433) 0:00:32.492 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Wednesday 06 July 2022 13:50:32 +0000 (0:00:00.035) 0:00:32.527 ******** TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Wednesday 06 July 2022 13:50:32 +0000 (0:00:00.020) 0:00:32.548 ******** ok: [/cache/centos-9.qcow2.snap] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/mapper/foo-test1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "path": "/opt/test1", "state": "absent" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "lvm2", "xfsprogs", "e2fsprogs" ], "pools": [ { "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Wednesday 06 July 2022 13:50:32 +0000 (0:00:00.097) 0:00:32.645 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Wednesday 06 July 2022 13:50:33 +0000 (0:00:00.046) 0:00:32.692 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Wednesday 06 July 2022 13:50:33 +0000 (0:00:00.049) 0:00:32.741 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-9.qcow2.snap] => (item={'path': '/opt/test1', 'state': 'absent'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "mount_info": { "path": "/opt/test1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Wednesday 06 July 2022 13:50:33 +0000 (0:00:00.420) 0:00:33.162 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Wednesday 06 July 2022 13:50:34 +0000 (0:00:00.672) 0:00:33.834 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-9.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test2', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test2", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Wednesday 06 July 2022 13:50:34 +0000 (0:00:00.428) 0:00:34.263 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Wednesday 06 July 2022 13:50:35 +0000 (0:00:00.672) 0:00:34.935 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1657114115.7373767, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1654524050.107, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4194436, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1654523851.529, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "610860986", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Wednesday 06 July 2022 13:50:35 +0000 (0:00:00.390) 0:00:35.326 ******** TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Wednesday 06 July 2022 13:50:35 +0000 (0:00:00.022) 0:00:35.348 ******** ok: [/cache/centos-9.qcow2.snap] META: role_complete for /cache/centos-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpnhy4yzav/tests/tests_change_mount.yml:53 Wednesday 06 July 2022 13:50:36 +0000 (0:00:01.019) 0:00:36.367 ******** included: /tmp/tmpnhy4yzav/tests/verify-role-results.yml for /cache/centos-9.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:1 Wednesday 06 July 2022 13:50:36 +0000 (0:00:00.043) 0:00:36.410 ******** ok: [/cache/centos-9.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:6 Wednesday 06 July 2022 13:50:36 +0000 (0:00:00.081) 0:00:36.492 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:14 Wednesday 06 July 2022 13:50:36 +0000 (0:00:00.040) 0:00:36.533 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test1", "size": "3G", "type": "lvm", "uuid": "f46fbc7e-16e3-4633-bc35-eda543f19426" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "LVM2_member", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "6Fg2EX-Be5Q-26zK-YyMV-mSlo-2D9j-jbLPVZ" }, "/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-06-13-49-46-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "10G", "type": "partition", "uuid": "4a8e5519-5f4a-41ef-bec6-391aaa7a9737" }, "/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": "7e2b11b8-7ad7-4ea1-8ccb-c55a9090cba2" }, "/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": "8ea8e052-f2d2-4f4b-8ff7-0b4eb5686df5" }, "/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/tmpnhy4yzav/tests/verify-role-results.yml:19 Wednesday 06 July 2022 13:50:37 +0000 (0:00:00.394) 0:00:36.927 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003000", "end": "2022-07-06 09:50:37.762913", "rc": 0, "start": "2022-07-06 09:50:37.759913" } STDOUT: # # /etc/fstab # Created by anaconda on Mon Jun 6 13:57:31 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=4a8e5519-5f4a-41ef-bec6-391aaa7a9737 / xfs defaults 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 /dev/mapper/foo-test1 /opt/test2 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:24 Wednesday 06 July 2022 13:50:37 +0000 (0:00:00.427) 0:00:37.355 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:01.004422", "end": "2022-07-06 09:50:39.187761", "failed_when_result": false, "rc": 0, "start": "2022-07-06 09:50:38.183339" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:33 Wednesday 06 July 2022 13:50:39 +0000 (0:00:01.424) 0:00:38.780 ******** [WARNING]: The loop variable 'storage_test_pool' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmpnhy4yzav/tests/test-verify-pool.yml for /cache/centos-9.qcow2.snap => (item={'disks': ['nvme1n1'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['nvme1n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-pool.yml:5 Wednesday 06 July 2022 13:50:39 +0000 (0:00:00.059) 0:00:38.840 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool.yml:18 Wednesday 06 July 2022 13:50:39 +0000 (0:00:00.036) 0:00:38.876 ******** included: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml for /cache/centos-9.qcow2.snap => (item=members) included: /tmp/tmpnhy4yzav/tests/test-verify-pool-volumes.yml for /cache/centos-9.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:1 Wednesday 06 July 2022 13:50:39 +0000 (0:00:00.049) 0:00:38.925 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/nvme1n1" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:10 Wednesday 06 July 2022 13:50:39 +0000 (0:00:00.056) 0:00:38.981 ******** ok: [/cache/centos-9.qcow2.snap] => (item=/dev/nvme1n1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/nvme1n1", "pv": "/dev/nvme1n1" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:19 Wednesday 06 July 2022 13:50:39 +0000 (0:00:00.380) 0:00:39.362 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:23 Wednesday 06 July 2022 13:50:39 +0000 (0:00:00.049) 0:00:39.412 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/nvme1n1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:27 Wednesday 06 July 2022 13:50:39 +0000 (0:00:00.055) 0:00:39.467 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:34 Wednesday 06 July 2022 13:50:39 +0000 (0:00:00.052) 0:00:39.520 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:38 Wednesday 06 July 2022 13:50:39 +0000 (0:00:00.041) 0:00:39.561 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:42 Wednesday 06 July 2022 13:50:39 +0000 (0:00:00.050) 0:00:39.612 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:46 Wednesday 06 July 2022 13:50:39 +0000 (0:00:00.025) 0:00:39.638 ******** ok: [/cache/centos-9.qcow2.snap] => (item=/dev/nvme1n1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/nvme1n1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:56 Wednesday 06 July 2022 13:50:40 +0000 (0:00:00.046) 0:00:39.684 ******** included: /tmp/tmpnhy4yzav/tests/verify-pool-md.yml for /cache/centos-9.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-md.yml:6 Wednesday 06 July 2022 13:50:40 +0000 (0:00:00.044) 0:00:39.729 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-md.yml:12 Wednesday 06 July 2022 13:50:40 +0000 (0:00:00.029) 0:00:39.758 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-md.yml:16 Wednesday 06 July 2022 13:50:40 +0000 (0:00:00.026) 0:00:39.785 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-md.yml:20 Wednesday 06 July 2022 13:50:40 +0000 (0:00:00.024) 0:00:39.810 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-md.yml:24 Wednesday 06 July 2022 13:50:40 +0000 (0:00:00.024) 0:00:39.835 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-md.yml:30 Wednesday 06 July 2022 13:50:40 +0000 (0:00:00.023) 0:00:39.858 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpnhy4yzav/tests/verify-pool-md.yml:36 Wednesday 06 July 2022 13:50:40 +0000 (0:00:00.026) 0:00:39.885 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-md.yml:44 Wednesday 06 July 2022 13:50:40 +0000 (0:00:00.025) 0:00:39.910 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:59 Wednesday 06 July 2022 13:50:40 +0000 (0:00:00.065) 0:00:39.976 ******** included: /tmp/tmpnhy4yzav/tests/verify-pool-members-lvmraid.yml for /cache/centos-9.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-members-lvmraid.yml:1 Wednesday 06 July 2022 13:50:40 +0000 (0:00:00.076) 0:00:40.052 ******** included: /tmp/tmpnhy4yzav/tests/verify-pool-member-lvmraid.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['nvme1n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 13:50:40 +0000 (0:00:00.055) 0:00:40.108 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 13:50:40 +0000 (0:00:00.031) 0:00:40.140 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 13:50:40 +0000 (0:00:00.033) 0:00:40.173 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:62 Wednesday 06 July 2022 13:50:40 +0000 (0:00:00.031) 0:00:40.205 ******** included: /tmp/tmpnhy4yzav/tests/verify-pool-members-thin.yml for /cache/centos-9.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-members-thin.yml:1 Wednesday 06 July 2022 13:50:40 +0000 (0:00:00.077) 0:00:40.282 ******** included: /tmp/tmpnhy4yzav/tests/verify-pool-member-thin.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['nvme1n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 13:50:40 +0000 (0:00:00.047) 0:00:40.329 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 13:50:40 +0000 (0:00:00.024) 0:00:40.354 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 13:50:40 +0000 (0:00:00.025) 0:00:40.379 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 13:50:40 +0000 (0:00:00.024) 0:00:40.404 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:65 Wednesday 06 July 2022 13:50:40 +0000 (0:00:00.023) 0:00:40.428 ******** included: /tmp/tmpnhy4yzav/tests/verify-pool-members-encryption.yml for /cache/centos-9.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-members-encryption.yml:4 Wednesday 06 July 2022 13:50:40 +0000 (0:00:00.047) 0:00:40.475 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-members-encryption.yml:8 Wednesday 06 July 2022 13:50:40 +0000 (0:00:00.051) 0:00:40.527 ******** skipping: [/cache/centos-9.qcow2.snap] => (item=/dev/nvme1n1) => { "_storage_test_pool_member_path": "/dev/nvme1n1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-members-encryption.yml:15 Wednesday 06 July 2022 13:50:40 +0000 (0:00:00.029) 0:00:40.557 ******** included: /tmp/tmpnhy4yzav/tests/verify-pool-member-crypttab.yml for /cache/centos-9.qcow2.snap => (item=/dev/nvme1n1) TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-crypttab.yml:1 Wednesday 06 July 2022 13:50:40 +0000 (0:00:00.045) 0:00:40.602 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-crypttab.yml:6 Wednesday 06 July 2022 13:50:40 +0000 (0:00:00.051) 0:00:40.653 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-crypttab.yml:11 Wednesday 06 July 2022 13:50:41 +0000 (0:00:00.060) 0:00:40.714 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-crypttab.yml:17 Wednesday 06 July 2022 13:50:41 +0000 (0:00:00.041) 0:00:40.756 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-crypttab.yml:23 Wednesday 06 July 2022 13:50:41 +0000 (0:00:00.034) 0:00:40.791 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-crypttab.yml:29 Wednesday 06 July 2022 13:50:41 +0000 (0:00:00.034) 0:00:40.825 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-members-encryption.yml:22 Wednesday 06 July 2022 13:50:41 +0000 (0:00:00.039) 0:00:40.865 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:68 Wednesday 06 July 2022 13:50:41 +0000 (0:00:00.038) 0:00:40.904 ******** included: /tmp/tmpnhy4yzav/tests/verify-pool-members-vdo.yml for /cache/centos-9.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-members-vdo.yml:1 Wednesday 06 July 2022 13:50:41 +0000 (0:00:00.047) 0:00:40.951 ******** included: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['nvme1n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 13:50:41 +0000 (0:00:00.045) 0:00:40.996 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 13:50:41 +0000 (0:00:00.023) 0:00:41.020 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 13:50:41 +0000 (0:00:00.025) 0:00:41.045 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 13:50:41 +0000 (0:00:00.025) 0:00:41.070 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 13:50:41 +0000 (0:00:00.025) 0:00:41.096 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 13:50:41 +0000 (0:00:00.025) 0:00:41.122 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 13:50:41 +0000 (0:00:00.025) 0:00:41.147 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 13:50:41 +0000 (0:00:00.027) 0:00:41.175 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:71 Wednesday 06 July 2022 13:50:41 +0000 (0:00:00.036) 0:00:41.212 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-volumes.yml:3 Wednesday 06 July 2022 13:50:41 +0000 (0:00:00.035) 0:00:41.247 ******** [WARNING]: The loop variable 'storage_test_volume' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['nvme1n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml:2 Wednesday 06 July 2022 13:50:41 +0000 (0:00:00.041) 0:00:41.289 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml:10 Wednesday 06 July 2022 13:50:41 +0000 (0:00:00.110) 0:00:41.399 ******** included: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml for /cache/centos-9.qcow2.snap => (item=mount) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml for /cache/centos-9.qcow2.snap => (item=fstab) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-fs.yml for /cache/centos-9.qcow2.snap => (item=fs) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml for /cache/centos-9.qcow2.snap => (item=device) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml for /cache/centos-9.qcow2.snap => (item=encryption) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml for /cache/centos-9.qcow2.snap => (item=md) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml for /cache/centos-9.qcow2.snap => (item=size) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml for /cache/centos-9.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 13:50:41 +0000 (0:00:00.080) 0:00:41.480 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:14 Wednesday 06 July 2022 13:50:41 +0000 (0:00:00.046) 0:00:41.527 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 770146, "block_size": 4096, "block_total": 783872, "block_used": 13726, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 1572861, "inode_total": 1572864, "inode_used": 3, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 3154518016, "size_total": 3210739712, "uuid": "f46fbc7e-16e3-4633-bc35-eda543f19426" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 770146, "block_size": 4096, "block_total": 783872, "block_used": 13726, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 1572861, "inode_total": 1572864, "inode_used": 3, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 3154518016, "size_total": 3210739712, "uuid": "f46fbc7e-16e3-4633-bc35-eda543f19426" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:28 Wednesday 06 July 2022 13:50:41 +0000 (0:00:00.057) 0:00:41.585 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 13:50:41 +0000 (0:00:00.051) 0:00:41.636 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:45 Wednesday 06 July 2022 13:50:42 +0000 (0:00:00.050) 0:00:41.687 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:54 Wednesday 06 July 2022 13:50:42 +0000 (0:00:00.061) 0:00:41.748 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:58 Wednesday 06 July 2022 13:50:42 +0000 (0:00:00.028) 0:00:41.777 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:63 Wednesday 06 July 2022 13:50:42 +0000 (0:00:00.028) 0:00:41.805 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:75 Wednesday 06 July 2022 13:50:42 +0000 (0:00:00.027) 0:00:41.832 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 13:50:42 +0000 (0:00:00.039) 0:00:41.872 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test2 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test2 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 13:50:42 +0000 (0:00:00.064) 0:00:41.937 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:32 Wednesday 06 July 2022 13:50:42 +0000 (0:00:00.049) 0:00:41.986 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:39 Wednesday 06 July 2022 13:50:42 +0000 (0:00:00.051) 0:00:42.038 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:49 Wednesday 06 July 2022 13:50:42 +0000 (0:00:00.040) 0:00:42.078 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 13:50:42 +0000 (0:00:00.041) 0:00:42.119 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 13:50:42 +0000 (0:00:00.042) 0:00:42.162 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:4 Wednesday 06 July 2022 13:50:42 +0000 (0:00:00.043) 0:00:42.205 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1657115415.8005354, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657115415.8005354, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 671, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657115415.8005354, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:10 Wednesday 06 July 2022 13:50:42 +0000 (0:00:00.398) 0:00:42.604 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:18 Wednesday 06 July 2022 13:50:42 +0000 (0:00:00.038) 0:00:42.643 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:24 Wednesday 06 July 2022 13:50:43 +0000 (0:00:00.040) 0:00:42.683 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:28 Wednesday 06 July 2022 13:50:43 +0000 (0:00:00.046) 0:00:42.730 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:33 Wednesday 06 July 2022 13:50:43 +0000 (0:00:00.025) 0:00:42.755 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 13:50:43 +0000 (0:00:00.041) 0:00:42.797 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 13:50:43 +0000 (0:00:00.023) 0:00:42.821 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 13:50:44 +0000 (0:00:00.875) 0:00:43.697 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 13:50:44 +0000 (0:00:00.026) 0:00:43.723 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:30 Wednesday 06 July 2022 13:50:44 +0000 (0:00:00.025) 0:00:43.748 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:38 Wednesday 06 July 2022 13:50:44 +0000 (0:00:00.054) 0:00:43.803 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 13:50:44 +0000 (0:00:00.026) 0:00:43.829 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:49 Wednesday 06 July 2022 13:50:44 +0000 (0:00:00.026) 0:00:43.856 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:55 Wednesday 06 July 2022 13:50:44 +0000 (0:00:00.025) 0:00:43.882 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:61 Wednesday 06 July 2022 13:50:44 +0000 (0:00:00.025) 0:00:43.908 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 13:50:44 +0000 (0:00:00.025) 0:00:43.933 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:74 Wednesday 06 July 2022 13:50:44 +0000 (0:00:00.055) 0:00:43.989 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:79 Wednesday 06 July 2022 13:50:44 +0000 (0:00:00.052) 0:00:44.041 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:85 Wednesday 06 July 2022 13:50:44 +0000 (0:00:00.051) 0:00:44.092 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:91 Wednesday 06 July 2022 13:50:44 +0000 (0:00:00.041) 0:00:44.133 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:97 Wednesday 06 July 2022 13:50:44 +0000 (0:00:00.036) 0:00:44.170 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:7 Wednesday 06 July 2022 13:50:44 +0000 (0:00:00.034) 0:00:44.204 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:13 Wednesday 06 July 2022 13:50:44 +0000 (0:00:00.037) 0:00:44.241 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:17 Wednesday 06 July 2022 13:50:44 +0000 (0:00:00.037) 0:00:44.279 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:21 Wednesday 06 July 2022 13:50:44 +0000 (0:00:00.035) 0:00:44.314 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:25 Wednesday 06 July 2022 13:50:44 +0000 (0:00:00.035) 0:00:44.349 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:31 Wednesday 06 July 2022 13:50:44 +0000 (0:00:00.040) 0:00:44.390 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:37 Wednesday 06 July 2022 13:50:44 +0000 (0:00:00.037) 0:00:44.428 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:3 Wednesday 06 July 2022 13:50:44 +0000 (0:00:00.039) 0:00:44.468 ******** ok: [/cache/centos-9.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:9 Wednesday 06 July 2022 13:50:45 +0000 (0:00:00.396) 0:00:44.864 ******** ok: [/cache/centos-9.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:15 Wednesday 06 July 2022 13:50:45 +0000 (0:00:00.390) 0:00:45.255 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "3221225472" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:20 Wednesday 06 July 2022 13:50:45 +0000 (0:00:00.054) 0:00:45.309 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:25 Wednesday 06 July 2022 13:50:45 +0000 (0:00:00.040) 0:00:45.349 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:28 Wednesday 06 July 2022 13:50:45 +0000 (0:00:00.040) 0:00:45.389 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:31 Wednesday 06 July 2022 13:50:45 +0000 (0:00:00.042) 0:00:45.432 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:36 Wednesday 06 July 2022 13:50:45 +0000 (0:00:00.039) 0:00:45.472 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:39 Wednesday 06 July 2022 13:50:45 +0000 (0:00:00.038) 0:00:45.510 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:44 Wednesday 06 July 2022 13:50:45 +0000 (0:00:00.039) 0:00:45.550 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_actual_size": { "bytes": 3221225472, "changed": false, "failed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:47 Wednesday 06 July 2022 13:50:45 +0000 (0:00:00.101) 0:00:45.652 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:50 Wednesday 06 July 2022 13:50:46 +0000 (0:00:00.043) 0:00:45.695 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 13:50:46 +0000 (0:00:00.089) 0:00:45.785 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.034138", "end": "2022-07-06 09:50:46.757041", "rc": 0, "start": "2022-07-06 09:50:46.722903" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 13:50:46 +0000 (0:00:00.566) 0:00:46.351 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 13:50:46 +0000 (0:00:00.053) 0:00:46.404 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 13:50:46 +0000 (0:00:00.053) 0:00:46.458 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 13:50:46 +0000 (0:00:00.038) 0:00:46.497 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 13:50:46 +0000 (0:00:00.038) 0:00:46.536 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 13:50:46 +0000 (0:00:00.041) 0:00:46.577 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml:16 Wednesday 06 July 2022 13:50:46 +0000 (0:00:00.040) 0:00:46.617 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:40 Wednesday 06 July 2022 13:50:46 +0000 (0:00:00.037) 0:00:46.655 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_pool": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:47 Wednesday 06 July 2022 13:50:47 +0000 (0:00:00.038) 0:00:46.693 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:57 Wednesday 06 July 2022 13:50:47 +0000 (0:00:00.024) 0:00:46.717 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null, "storage_test_volume": null }, "changed": false } TASK [Repeat the previous invocation to verify idempotence] ******************** task path: /tmp/tmpnhy4yzav/tests/tests_change_mount.yml:55 Wednesday 06 July 2022 13:50:47 +0000 (0:00:00.034) 0:00:46.752 ******** TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Wednesday 06 July 2022 13:50:47 +0000 (0:00:00.052) 0:00:46.804 ******** included: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/centos-9.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 13:50:47 +0000 (0:00:00.035) 0:00:46.840 ******** ok: [/cache/centos-9.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Wednesday 06 July 2022 13:50:47 +0000 (0:00:00.542) 0:00:47.382 ******** skipping: [/cache/centos-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-9.qcow2.snap] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-9.qcow2.snap] => (item=CentOS_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } ok: [/cache/centos-9.qcow2.snap] => (item=CentOS_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Wednesday 06 July 2022 13:50:47 +0000 (0:00:00.071) 0:00:47.453 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Wednesday 06 July 2022 13:50:47 +0000 (0:00:00.038) 0:00:47.492 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Wednesday 06 July 2022 13:50:47 +0000 (0:00:00.042) 0:00:47.535 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/centos-9.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 13:50:47 +0000 (0:00:00.070) 0:00:47.605 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 13:50:47 +0000 (0:00:00.031) 0:00:47.636 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Wednesday 06 July 2022 13:50:47 +0000 (0:00:00.036) 0:00:47.673 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_pools": [ { "disks": [ "nvme1n1" ], "name": "foo", "volumes": [ { "mount_point": "/opt/test2", "name": "test1", "size": "3g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Wednesday 06 July 2022 13:50:48 +0000 (0:00:00.136) 0:00:47.810 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Wednesday 06 July 2022 13:50:48 +0000 (0:00:00.038) 0:00:47.848 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Wednesday 06 July 2022 13:50:48 +0000 (0:00:00.030) 0:00:47.878 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Wednesday 06 July 2022 13:50:48 +0000 (0:00:00.030) 0:00:47.909 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Wednesday 06 July 2022 13:50:48 +0000 (0:00:00.031) 0:00:47.940 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 13:50:48 +0000 (0:00:00.029) 0:00:47.970 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Wednesday 06 July 2022 13:50:48 +0000 (0:00:00.069) 0:00:48.039 ******** TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Wednesday 06 July 2022 13:50:48 +0000 (0:00:00.023) 0:00:48.062 ******** ok: [/cache/centos-9.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/mapper/foo-test1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "xfsprogs", "e2fsprogs", "lvm2" ], "pools": [ { "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Wednesday 06 July 2022 13:50:49 +0000 (0:00:01.426) 0:00:49.488 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Wednesday 06 July 2022 13:50:49 +0000 (0:00:00.036) 0:00:49.525 ******** TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Wednesday 06 July 2022 13:50:49 +0000 (0:00:00.023) 0:00:49.548 ******** ok: [/cache/centos-9.qcow2.snap] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/mapper/foo-test1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "xfsprogs", "e2fsprogs", "lvm2" ], "pools": [ { "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Wednesday 06 July 2022 13:50:49 +0000 (0:00:00.038) 0:00:49.586 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Wednesday 06 July 2022 13:50:49 +0000 (0:00:00.036) 0:00:49.622 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Wednesday 06 July 2022 13:50:49 +0000 (0:00:00.034) 0:00:49.657 ******** TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Wednesday 06 July 2022 13:50:50 +0000 (0:00:00.038) 0:00:49.696 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Wednesday 06 July 2022 13:50:50 +0000 (0:00:00.670) 0:00:50.366 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/centos-9.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test2', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test2", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Wednesday 06 July 2022 13:50:51 +0000 (0:00:00.409) 0:00:50.775 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Wednesday 06 July 2022 13:50:51 +0000 (0:00:00.698) 0:00:51.474 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1657114115.7373767, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1654524050.107, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4194436, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1654523851.529, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "610860986", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Wednesday 06 July 2022 13:50:52 +0000 (0:00:00.401) 0:00:51.875 ******** TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Wednesday 06 July 2022 13:50:52 +0000 (0:00:00.025) 0:00:51.901 ******** ok: [/cache/centos-9.qcow2.snap] META: role_complete for /cache/centos-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpnhy4yzav/tests/tests_change_mount.yml:67 Wednesday 06 July 2022 13:50:53 +0000 (0:00:00.991) 0:00:52.892 ******** included: /tmp/tmpnhy4yzav/tests/verify-role-results.yml for /cache/centos-9.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:1 Wednesday 06 July 2022 13:50:53 +0000 (0:00:00.073) 0:00:52.965 ******** ok: [/cache/centos-9.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:6 Wednesday 06 July 2022 13:50:53 +0000 (0:00:00.053) 0:00:53.018 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:14 Wednesday 06 July 2022 13:50:53 +0000 (0:00:00.039) 0:00:53.057 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test1", "size": "3G", "type": "lvm", "uuid": "f46fbc7e-16e3-4633-bc35-eda543f19426" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "LVM2_member", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "6Fg2EX-Be5Q-26zK-YyMV-mSlo-2D9j-jbLPVZ" }, "/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-06-13-49-46-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "10G", "type": "partition", "uuid": "4a8e5519-5f4a-41ef-bec6-391aaa7a9737" }, "/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": "7e2b11b8-7ad7-4ea1-8ccb-c55a9090cba2" }, "/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": "8ea8e052-f2d2-4f4b-8ff7-0b4eb5686df5" }, "/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/tmpnhy4yzav/tests/verify-role-results.yml:19 Wednesday 06 July 2022 13:50:53 +0000 (0:00:00.399) 0:00:53.457 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003370", "end": "2022-07-06 09:50:54.245625", "rc": 0, "start": "2022-07-06 09:50:54.242255" } STDOUT: # # /etc/fstab # Created by anaconda on Mon Jun 6 13:57:31 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=4a8e5519-5f4a-41ef-bec6-391aaa7a9737 / xfs defaults 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 /dev/mapper/foo-test1 /opt/test2 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:24 Wednesday 06 July 2022 13:50:54 +0000 (0:00:00.382) 0:00:53.840 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002985", "end": "2022-07-06 09:50:54.619224", "failed_when_result": false, "rc": 0, "start": "2022-07-06 09:50:54.616239" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:33 Wednesday 06 July 2022 13:50:54 +0000 (0:00:00.370) 0:00:54.211 ******** [WARNING]: The loop variable 'storage_test_pool' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmpnhy4yzav/tests/test-verify-pool.yml for /cache/centos-9.qcow2.snap => (item={'disks': ['nvme1n1'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['nvme1n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-pool.yml:5 Wednesday 06 July 2022 13:50:54 +0000 (0:00:00.061) 0:00:54.272 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool.yml:18 Wednesday 06 July 2022 13:50:54 +0000 (0:00:00.036) 0:00:54.308 ******** included: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml for /cache/centos-9.qcow2.snap => (item=members) included: /tmp/tmpnhy4yzav/tests/test-verify-pool-volumes.yml for /cache/centos-9.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:1 Wednesday 06 July 2022 13:50:54 +0000 (0:00:00.045) 0:00:54.354 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/nvme1n1" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:10 Wednesday 06 July 2022 13:50:54 +0000 (0:00:00.054) 0:00:54.408 ******** ok: [/cache/centos-9.qcow2.snap] => (item=/dev/nvme1n1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/nvme1n1", "pv": "/dev/nvme1n1" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:19 Wednesday 06 July 2022 13:50:55 +0000 (0:00:00.386) 0:00:54.795 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:23 Wednesday 06 July 2022 13:50:55 +0000 (0:00:00.051) 0:00:54.847 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/nvme1n1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:27 Wednesday 06 July 2022 13:50:55 +0000 (0:00:00.052) 0:00:54.899 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:34 Wednesday 06 July 2022 13:50:55 +0000 (0:00:00.052) 0:00:54.952 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:38 Wednesday 06 July 2022 13:50:55 +0000 (0:00:00.044) 0:00:54.997 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:42 Wednesday 06 July 2022 13:50:55 +0000 (0:00:00.062) 0:00:55.059 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:46 Wednesday 06 July 2022 13:50:55 +0000 (0:00:00.026) 0:00:55.085 ******** ok: [/cache/centos-9.qcow2.snap] => (item=/dev/nvme1n1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/nvme1n1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:56 Wednesday 06 July 2022 13:50:55 +0000 (0:00:00.093) 0:00:55.179 ******** included: /tmp/tmpnhy4yzav/tests/verify-pool-md.yml for /cache/centos-9.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-md.yml:6 Wednesday 06 July 2022 13:50:55 +0000 (0:00:00.073) 0:00:55.252 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-md.yml:12 Wednesday 06 July 2022 13:50:55 +0000 (0:00:00.025) 0:00:55.278 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-md.yml:16 Wednesday 06 July 2022 13:50:55 +0000 (0:00:00.024) 0:00:55.303 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-md.yml:20 Wednesday 06 July 2022 13:50:55 +0000 (0:00:00.023) 0:00:55.326 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-md.yml:24 Wednesday 06 July 2022 13:50:55 +0000 (0:00:00.025) 0:00:55.352 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-md.yml:30 Wednesday 06 July 2022 13:50:55 +0000 (0:00:00.024) 0:00:55.376 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpnhy4yzav/tests/verify-pool-md.yml:36 Wednesday 06 July 2022 13:50:55 +0000 (0:00:00.024) 0:00:55.401 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-md.yml:44 Wednesday 06 July 2022 13:50:55 +0000 (0:00:00.026) 0:00:55.427 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:59 Wednesday 06 July 2022 13:50:55 +0000 (0:00:00.034) 0:00:55.462 ******** included: /tmp/tmpnhy4yzav/tests/verify-pool-members-lvmraid.yml for /cache/centos-9.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-members-lvmraid.yml:1 Wednesday 06 July 2022 13:50:55 +0000 (0:00:00.042) 0:00:55.504 ******** included: /tmp/tmpnhy4yzav/tests/verify-pool-member-lvmraid.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['nvme1n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 13:50:55 +0000 (0:00:00.043) 0:00:55.547 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 13:50:55 +0000 (0:00:00.025) 0:00:55.573 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 13:50:55 +0000 (0:00:00.029) 0:00:55.603 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:62 Wednesday 06 July 2022 13:50:55 +0000 (0:00:00.030) 0:00:55.634 ******** included: /tmp/tmpnhy4yzav/tests/verify-pool-members-thin.yml for /cache/centos-9.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-members-thin.yml:1 Wednesday 06 July 2022 13:50:55 +0000 (0:00:00.045) 0:00:55.679 ******** included: /tmp/tmpnhy4yzav/tests/verify-pool-member-thin.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['nvme1n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 13:50:56 +0000 (0:00:00.046) 0:00:55.725 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 13:50:56 +0000 (0:00:00.026) 0:00:55.751 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 13:50:56 +0000 (0:00:00.026) 0:00:55.777 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 13:50:56 +0000 (0:00:00.027) 0:00:55.805 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:65 Wednesday 06 July 2022 13:50:56 +0000 (0:00:00.024) 0:00:55.829 ******** included: /tmp/tmpnhy4yzav/tests/verify-pool-members-encryption.yml for /cache/centos-9.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-members-encryption.yml:4 Wednesday 06 July 2022 13:50:56 +0000 (0:00:00.051) 0:00:55.881 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-members-encryption.yml:8 Wednesday 06 July 2022 13:50:56 +0000 (0:00:00.051) 0:00:55.932 ******** skipping: [/cache/centos-9.qcow2.snap] => (item=/dev/nvme1n1) => { "_storage_test_pool_member_path": "/dev/nvme1n1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-members-encryption.yml:15 Wednesday 06 July 2022 13:50:56 +0000 (0:00:00.028) 0:00:55.960 ******** included: /tmp/tmpnhy4yzav/tests/verify-pool-member-crypttab.yml for /cache/centos-9.qcow2.snap => (item=/dev/nvme1n1) TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-crypttab.yml:1 Wednesday 06 July 2022 13:50:56 +0000 (0:00:00.047) 0:00:56.007 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-crypttab.yml:6 Wednesday 06 July 2022 13:50:56 +0000 (0:00:00.051) 0:00:56.059 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-crypttab.yml:11 Wednesday 06 July 2022 13:50:56 +0000 (0:00:00.051) 0:00:56.111 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-crypttab.yml:17 Wednesday 06 July 2022 13:50:56 +0000 (0:00:00.034) 0:00:56.145 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-crypttab.yml:23 Wednesday 06 July 2022 13:50:56 +0000 (0:00:00.038) 0:00:56.183 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-crypttab.yml:29 Wednesday 06 July 2022 13:50:56 +0000 (0:00:00.034) 0:00:56.218 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-members-encryption.yml:22 Wednesday 06 July 2022 13:50:56 +0000 (0:00:00.037) 0:00:56.256 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:68 Wednesday 06 July 2022 13:50:56 +0000 (0:00:00.033) 0:00:56.290 ******** included: /tmp/tmpnhy4yzav/tests/verify-pool-members-vdo.yml for /cache/centos-9.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-members-vdo.yml:1 Wednesday 06 July 2022 13:50:56 +0000 (0:00:00.047) 0:00:56.337 ******** included: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['nvme1n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 13:50:56 +0000 (0:00:00.045) 0:00:56.382 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 13:50:56 +0000 (0:00:00.056) 0:00:56.438 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 13:50:56 +0000 (0:00:00.024) 0:00:56.462 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 13:50:56 +0000 (0:00:00.025) 0:00:56.487 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 13:50:56 +0000 (0:00:00.024) 0:00:56.512 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 13:50:56 +0000 (0:00:00.026) 0:00:56.539 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 13:50:56 +0000 (0:00:00.024) 0:00:56.564 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 13:50:56 +0000 (0:00:00.026) 0:00:56.590 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:71 Wednesday 06 July 2022 13:50:56 +0000 (0:00:00.045) 0:00:56.636 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-volumes.yml:3 Wednesday 06 July 2022 13:50:56 +0000 (0:00:00.043) 0:00:56.679 ******** [WARNING]: The loop variable 'storage_test_volume' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['nvme1n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml:2 Wednesday 06 July 2022 13:50:57 +0000 (0:00:00.046) 0:00:56.726 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml:10 Wednesday 06 July 2022 13:50:57 +0000 (0:00:00.048) 0:00:56.775 ******** included: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml for /cache/centos-9.qcow2.snap => (item=mount) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml for /cache/centos-9.qcow2.snap => (item=fstab) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-fs.yml for /cache/centos-9.qcow2.snap => (item=fs) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml for /cache/centos-9.qcow2.snap => (item=device) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml for /cache/centos-9.qcow2.snap => (item=encryption) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml for /cache/centos-9.qcow2.snap => (item=md) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml for /cache/centos-9.qcow2.snap => (item=size) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml for /cache/centos-9.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 13:50:57 +0000 (0:00:00.078) 0:00:56.853 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:14 Wednesday 06 July 2022 13:50:57 +0000 (0:00:00.044) 0:00:56.897 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 770146, "block_size": 4096, "block_total": 783872, "block_used": 13726, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 1572861, "inode_total": 1572864, "inode_used": 3, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 3154518016, "size_total": 3210739712, "uuid": "f46fbc7e-16e3-4633-bc35-eda543f19426" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 770146, "block_size": 4096, "block_total": 783872, "block_used": 13726, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 1572861, "inode_total": 1572864, "inode_used": 3, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 3154518016, "size_total": 3210739712, "uuid": "f46fbc7e-16e3-4633-bc35-eda543f19426" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:28 Wednesday 06 July 2022 13:50:57 +0000 (0:00:00.055) 0:00:56.953 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 13:50:57 +0000 (0:00:00.050) 0:00:57.004 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:45 Wednesday 06 July 2022 13:50:57 +0000 (0:00:00.050) 0:00:57.054 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:54 Wednesday 06 July 2022 13:50:57 +0000 (0:00:00.059) 0:00:57.114 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:58 Wednesday 06 July 2022 13:50:57 +0000 (0:00:00.028) 0:00:57.143 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:63 Wednesday 06 July 2022 13:50:57 +0000 (0:00:00.026) 0:00:57.169 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:75 Wednesday 06 July 2022 13:50:57 +0000 (0:00:00.023) 0:00:57.192 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 13:50:57 +0000 (0:00:00.033) 0:00:57.226 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test2 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test2 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 13:50:57 +0000 (0:00:00.061) 0:00:57.287 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:32 Wednesday 06 July 2022 13:50:57 +0000 (0:00:00.050) 0:00:57.338 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:39 Wednesday 06 July 2022 13:50:57 +0000 (0:00:00.050) 0:00:57.388 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:49 Wednesday 06 July 2022 13:50:57 +0000 (0:00:00.037) 0:00:57.426 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 13:50:57 +0000 (0:00:00.037) 0:00:57.464 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 13:50:57 +0000 (0:00:00.041) 0:00:57.505 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:4 Wednesday 06 July 2022 13:50:57 +0000 (0:00:00.042) 0:00:57.547 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1657115415.8005354, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657115415.8005354, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 671, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657115415.8005354, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:10 Wednesday 06 July 2022 13:50:58 +0000 (0:00:00.389) 0:00:57.936 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:18 Wednesday 06 July 2022 13:50:58 +0000 (0:00:00.041) 0:00:57.978 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:24 Wednesday 06 July 2022 13:50:58 +0000 (0:00:00.039) 0:00:58.017 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:28 Wednesday 06 July 2022 13:50:58 +0000 (0:00:00.090) 0:00:58.107 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:33 Wednesday 06 July 2022 13:50:58 +0000 (0:00:00.064) 0:00:58.172 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 13:50:58 +0000 (0:00:00.039) 0:00:58.211 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 13:50:58 +0000 (0:00:00.025) 0:00:58.237 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 13:50:59 +0000 (0:00:00.911) 0:00:59.148 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 13:50:59 +0000 (0:00:00.025) 0:00:59.174 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:30 Wednesday 06 July 2022 13:50:59 +0000 (0:00:00.024) 0:00:59.199 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:38 Wednesday 06 July 2022 13:50:59 +0000 (0:00:00.049) 0:00:59.248 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 13:50:59 +0000 (0:00:00.023) 0:00:59.272 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:49 Wednesday 06 July 2022 13:50:59 +0000 (0:00:00.023) 0:00:59.295 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:55 Wednesday 06 July 2022 13:50:59 +0000 (0:00:00.025) 0:00:59.321 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:61 Wednesday 06 July 2022 13:50:59 +0000 (0:00:00.026) 0:00:59.347 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 13:50:59 +0000 (0:00:00.024) 0:00:59.372 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:74 Wednesday 06 July 2022 13:50:59 +0000 (0:00:00.051) 0:00:59.423 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:79 Wednesday 06 July 2022 13:50:59 +0000 (0:00:00.046) 0:00:59.470 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:85 Wednesday 06 July 2022 13:50:59 +0000 (0:00:00.035) 0:00:59.506 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:91 Wednesday 06 July 2022 13:50:59 +0000 (0:00:00.035) 0:00:59.541 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:97 Wednesday 06 July 2022 13:50:59 +0000 (0:00:00.042) 0:00:59.583 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:7 Wednesday 06 July 2022 13:50:59 +0000 (0:00:00.033) 0:00:59.617 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:13 Wednesday 06 July 2022 13:50:59 +0000 (0:00:00.034) 0:00:59.651 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:17 Wednesday 06 July 2022 13:51:00 +0000 (0:00:00.033) 0:00:59.685 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:21 Wednesday 06 July 2022 13:51:00 +0000 (0:00:00.038) 0:00:59.724 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:25 Wednesday 06 July 2022 13:51:00 +0000 (0:00:00.036) 0:00:59.761 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:31 Wednesday 06 July 2022 13:51:00 +0000 (0:00:00.036) 0:00:59.797 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:37 Wednesday 06 July 2022 13:51:00 +0000 (0:00:00.036) 0:00:59.834 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:3 Wednesday 06 July 2022 13:51:00 +0000 (0:00:00.048) 0:00:59.883 ******** ok: [/cache/centos-9.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:9 Wednesday 06 July 2022 13:51:00 +0000 (0:00:00.390) 0:01:00.273 ******** ok: [/cache/centos-9.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:15 Wednesday 06 July 2022 13:51:00 +0000 (0:00:00.396) 0:01:00.670 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "3221225472" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:20 Wednesday 06 July 2022 13:51:01 +0000 (0:00:00.054) 0:01:00.724 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:25 Wednesday 06 July 2022 13:51:01 +0000 (0:00:00.038) 0:01:00.763 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:28 Wednesday 06 July 2022 13:51:01 +0000 (0:00:00.042) 0:01:00.806 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:31 Wednesday 06 July 2022 13:51:01 +0000 (0:00:00.041) 0:01:00.848 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:36 Wednesday 06 July 2022 13:51:01 +0000 (0:00:00.041) 0:01:00.889 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:39 Wednesday 06 July 2022 13:51:01 +0000 (0:00:00.039) 0:01:00.928 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:44 Wednesday 06 July 2022 13:51:01 +0000 (0:00:00.039) 0:01:00.968 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_actual_size": { "bytes": 3221225472, "changed": false, "failed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:47 Wednesday 06 July 2022 13:51:01 +0000 (0:00:00.130) 0:01:01.098 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:50 Wednesday 06 July 2022 13:51:01 +0000 (0:00:00.037) 0:01:01.136 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 13:51:01 +0000 (0:00:00.055) 0:01:01.191 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.048429", "end": "2022-07-06 09:51:02.056903", "rc": 0, "start": "2022-07-06 09:51:02.008474" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 13:51:01 +0000 (0:00:00.460) 0:01:01.652 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 13:51:02 +0000 (0:00:00.056) 0:01:01.708 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 13:51:02 +0000 (0:00:00.062) 0:01:01.771 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 13:51:02 +0000 (0:00:00.044) 0:01:01.815 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 13:51:02 +0000 (0:00:00.039) 0:01:01.855 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 13:51:02 +0000 (0:00:00.038) 0:01:01.893 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml:16 Wednesday 06 July 2022 13:51:02 +0000 (0:00:00.039) 0:01:01.933 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:40 Wednesday 06 July 2022 13:51:02 +0000 (0:00:00.036) 0:01:01.970 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_pool": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:47 Wednesday 06 July 2022 13:51:02 +0000 (0:00:00.037) 0:01:02.007 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:57 Wednesday 06 July 2022 13:51:02 +0000 (0:00:00.021) 0:01:02.029 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null, "storage_test_volume": null }, "changed": false } TASK [Clean up] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/tests_change_mount.yml:69 Wednesday 06 July 2022 13:51:02 +0000 (0:00:00.037) 0:01:02.067 ******** TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Wednesday 06 July 2022 13:51:02 +0000 (0:00:00.069) 0:01:02.136 ******** included: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/centos-9.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 13:51:02 +0000 (0:00:00.037) 0:01:02.173 ******** ok: [/cache/centos-9.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Wednesday 06 July 2022 13:51:03 +0000 (0:00:00.548) 0:01:02.722 ******** skipping: [/cache/centos-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-9.qcow2.snap] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-9.qcow2.snap] => (item=CentOS_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } ok: [/cache/centos-9.qcow2.snap] => (item=CentOS_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Wednesday 06 July 2022 13:51:03 +0000 (0:00:00.075) 0:01:02.797 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Wednesday 06 July 2022 13:51:03 +0000 (0:00:00.036) 0:01:02.834 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Wednesday 06 July 2022 13:51:03 +0000 (0:00:00.033) 0:01:02.867 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/centos-9.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 13:51:03 +0000 (0:00:00.046) 0:01:02.914 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 13:51:03 +0000 (0:00:00.019) 0:01:02.933 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Wednesday 06 July 2022 13:51:03 +0000 (0:00:00.030) 0:01:02.964 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_pools": [ { "disks": [ "nvme1n1" ], "name": "foo", "state": "absent", "volumes": [ { "mount_point": "/opt/test2", "name": "test1", "size": "3g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Wednesday 06 July 2022 13:51:03 +0000 (0:00:00.078) 0:01:03.042 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Wednesday 06 July 2022 13:51:03 +0000 (0:00:00.104) 0:01:03.146 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Wednesday 06 July 2022 13:51:03 +0000 (0:00:00.028) 0:01:03.175 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Wednesday 06 July 2022 13:51:03 +0000 (0:00:00.027) 0:01:03.203 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Wednesday 06 July 2022 13:51:03 +0000 (0:00:00.028) 0:01:03.232 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 13:51:03 +0000 (0:00:00.029) 0:01:03.262 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Wednesday 06 July 2022 13:51:03 +0000 (0:00:00.059) 0:01:03.321 ******** TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Wednesday 06 July 2022 13:51:03 +0000 (0:00:00.021) 0:01:03.343 ******** changed: [/cache/centos-9.qcow2.snap] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/nvme1n1", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test2", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "xfsprogs", "e2fsprogs" ], "pools": [ { "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Wednesday 06 July 2022 13:51:05 +0000 (0:00:02.040) 0:01:05.383 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Wednesday 06 July 2022 13:51:05 +0000 (0:00:00.037) 0:01:05.421 ******** TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Wednesday 06 July 2022 13:51:05 +0000 (0:00:00.024) 0:01:05.446 ******** ok: [/cache/centos-9.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/nvme1n1", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test2", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "xfsprogs", "e2fsprogs" ], "pools": [ { "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Wednesday 06 July 2022 13:51:05 +0000 (0:00:00.040) 0:01:05.486 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Wednesday 06 July 2022 13:51:05 +0000 (0:00:00.039) 0:01:05.526 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Wednesday 06 July 2022 13:51:05 +0000 (0:00:00.038) 0:01:05.564 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-9.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test2', 'state': 'absent', 'fstype': 'xfs'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "fstype": "xfs", "path": "/opt/test2", "src": "/dev/mapper/foo-test1", "state": "absent" }, "name": "/opt/test2", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Wednesday 06 July 2022 13:51:06 +0000 (0:00:00.414) 0:01:05.979 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Wednesday 06 July 2022 13:51:06 +0000 (0:00:00.656) 0:01:06.635 ******** TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Wednesday 06 July 2022 13:51:06 +0000 (0:00:00.039) 0:01:06.674 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Wednesday 06 July 2022 13:51:07 +0000 (0:00:00.670) 0:01:07.345 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1657114115.7373767, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1654524050.107, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4194436, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1654523851.529, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "610860986", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Wednesday 06 July 2022 13:51:08 +0000 (0:00:00.390) 0:01:07.736 ******** TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Wednesday 06 July 2022 13:51:08 +0000 (0:00:00.025) 0:01:07.762 ******** ok: [/cache/centos-9.qcow2.snap] META: role_complete for /cache/centos-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpnhy4yzav/tests/tests_change_mount.yml:82 Wednesday 06 July 2022 13:51:09 +0000 (0:00:00.954) 0:01:08.717 ******** included: /tmp/tmpnhy4yzav/tests/verify-role-results.yml for /cache/centos-9.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:1 Wednesday 06 July 2022 13:51:09 +0000 (0:00:00.051) 0:01:08.768 ******** ok: [/cache/centos-9.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:6 Wednesday 06 July 2022 13:51:09 +0000 (0:00:00.094) 0:01:08.862 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:14 Wednesday 06 July 2022 13:51:09 +0000 (0:00:00.038) 0:01:08.901 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "info": { "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-06-13-49-46-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "10G", "type": "partition", "uuid": "4a8e5519-5f4a-41ef-bec6-391aaa7a9737" }, "/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": "7e2b11b8-7ad7-4ea1-8ccb-c55a9090cba2" }, "/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": "8ea8e052-f2d2-4f4b-8ff7-0b4eb5686df5" }, "/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/tmpnhy4yzav/tests/verify-role-results.yml:19 Wednesday 06 July 2022 13:51:09 +0000 (0:00:00.453) 0:01:09.354 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003384", "end": "2022-07-06 09:51:10.190879", "rc": 0, "start": "2022-07-06 09:51:10.187495" } STDOUT: # # /etc/fstab # Created by anaconda on Mon Jun 6 13:57:31 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=4a8e5519-5f4a-41ef-bec6-391aaa7a9737 / xfs defaults 0 0 /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/tmpnhy4yzav/tests/verify-role-results.yml:24 Wednesday 06 July 2022 13:51:10 +0000 (0:00:00.428) 0:01:09.782 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003630", "end": "2022-07-06 09:51:10.577164", "failed_when_result": false, "rc": 0, "start": "2022-07-06 09:51:10.573534" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:33 Wednesday 06 July 2022 13:51:10 +0000 (0:00:00.391) 0:01:10.174 ******** [WARNING]: The loop variable 'storage_test_pool' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmpnhy4yzav/tests/test-verify-pool.yml for /cache/centos-9.qcow2.snap => (item={'disks': ['nvme1n1'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'absent', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['nvme1n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-pool.yml:5 Wednesday 06 July 2022 13:51:10 +0000 (0:00:00.059) 0:01:10.233 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool.yml:18 Wednesday 06 July 2022 13:51:10 +0000 (0:00:00.038) 0:01:10.272 ******** included: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml for /cache/centos-9.qcow2.snap => (item=members) included: /tmp/tmpnhy4yzav/tests/test-verify-pool-volumes.yml for /cache/centos-9.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:1 Wednesday 06 July 2022 13:51:10 +0000 (0:00:00.048) 0:01:10.321 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "0", "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:10 Wednesday 06 July 2022 13:51:10 +0000 (0:00:00.055) 0:01:10.376 ******** TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:19 Wednesday 06 July 2022 13:51:10 +0000 (0:00:00.023) 0:01:10.399 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "0" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:23 Wednesday 06 July 2022 13:51:10 +0000 (0:00:00.049) 0:01:10.449 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:27 Wednesday 06 July 2022 13:51:10 +0000 (0:00:00.054) 0:01:10.503 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:34 Wednesday 06 July 2022 13:51:10 +0000 (0:00:00.051) 0:01:10.555 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:38 Wednesday 06 July 2022 13:51:10 +0000 (0:00:00.040) 0:01:10.595 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:42 Wednesday 06 July 2022 13:51:10 +0000 (0:00:00.054) 0:01:10.649 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:46 Wednesday 06 July 2022 13:51:10 +0000 (0:00:00.026) 0:01:10.675 ******** TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:56 Wednesday 06 July 2022 13:51:11 +0000 (0:00:00.023) 0:01:10.699 ******** included: /tmp/tmpnhy4yzav/tests/verify-pool-md.yml for /cache/centos-9.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-md.yml:6 Wednesday 06 July 2022 13:51:11 +0000 (0:00:00.042) 0:01:10.742 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-md.yml:12 Wednesday 06 July 2022 13:51:11 +0000 (0:00:00.025) 0:01:10.768 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-md.yml:16 Wednesday 06 July 2022 13:51:11 +0000 (0:00:00.025) 0:01:10.793 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-md.yml:20 Wednesday 06 July 2022 13:51:11 +0000 (0:00:00.025) 0:01:10.819 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-md.yml:24 Wednesday 06 July 2022 13:51:11 +0000 (0:00:00.025) 0:01:10.844 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-md.yml:30 Wednesday 06 July 2022 13:51:11 +0000 (0:00:00.024) 0:01:10.869 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpnhy4yzav/tests/verify-pool-md.yml:36 Wednesday 06 July 2022 13:51:11 +0000 (0:00:00.023) 0:01:10.892 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-md.yml:44 Wednesday 06 July 2022 13:51:11 +0000 (0:00:00.022) 0:01:10.915 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:59 Wednesday 06 July 2022 13:51:11 +0000 (0:00:00.039) 0:01:10.955 ******** included: /tmp/tmpnhy4yzav/tests/verify-pool-members-lvmraid.yml for /cache/centos-9.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-members-lvmraid.yml:1 Wednesday 06 July 2022 13:51:11 +0000 (0:00:00.043) 0:01:10.998 ******** included: /tmp/tmpnhy4yzav/tests/verify-pool-member-lvmraid.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['nvme1n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 13:51:11 +0000 (0:00:00.043) 0:01:11.042 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 13:51:11 +0000 (0:00:00.030) 0:01:11.073 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 13:51:11 +0000 (0:00:00.026) 0:01:11.099 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:62 Wednesday 06 July 2022 13:51:11 +0000 (0:00:00.026) 0:01:11.126 ******** included: /tmp/tmpnhy4yzav/tests/verify-pool-members-thin.yml for /cache/centos-9.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-members-thin.yml:1 Wednesday 06 July 2022 13:51:11 +0000 (0:00:00.075) 0:01:11.202 ******** included: /tmp/tmpnhy4yzav/tests/verify-pool-member-thin.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['nvme1n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 13:51:11 +0000 (0:00:00.043) 0:01:11.245 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 13:51:11 +0000 (0:00:00.022) 0:01:11.268 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 13:51:11 +0000 (0:00:00.025) 0:01:11.294 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 13:51:11 +0000 (0:00:00.030) 0:01:11.324 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:65 Wednesday 06 July 2022 13:51:11 +0000 (0:00:00.027) 0:01:11.352 ******** included: /tmp/tmpnhy4yzav/tests/verify-pool-members-encryption.yml for /cache/centos-9.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-members-encryption.yml:4 Wednesday 06 July 2022 13:51:11 +0000 (0:00:00.048) 0:01:11.400 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-members-encryption.yml:8 Wednesday 06 July 2022 13:51:11 +0000 (0:00:00.050) 0:01:11.451 ******** TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-members-encryption.yml:15 Wednesday 06 July 2022 13:51:11 +0000 (0:00:00.025) 0:01:11.476 ******** TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-members-encryption.yml:22 Wednesday 06 July 2022 13:51:11 +0000 (0:00:00.021) 0:01:11.497 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:68 Wednesday 06 July 2022 13:51:11 +0000 (0:00:00.036) 0:01:11.534 ******** included: /tmp/tmpnhy4yzav/tests/verify-pool-members-vdo.yml for /cache/centos-9.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-members-vdo.yml:1 Wednesday 06 July 2022 13:51:11 +0000 (0:00:00.048) 0:01:11.583 ******** included: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['nvme1n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 13:51:11 +0000 (0:00:00.049) 0:01:11.632 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 13:51:11 +0000 (0:00:00.024) 0:01:11.656 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 13:51:11 +0000 (0:00:00.023) 0:01:11.680 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 13:51:12 +0000 (0:00:00.025) 0:01:11.706 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 13:51:12 +0000 (0:00:00.024) 0:01:11.731 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 13:51:12 +0000 (0:00:00.026) 0:01:11.757 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 13:51:12 +0000 (0:00:00.028) 0:01:11.785 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 13:51:12 +0000 (0:00:00.029) 0:01:11.815 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:71 Wednesday 06 July 2022 13:51:12 +0000 (0:00:00.038) 0:01:11.854 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-volumes.yml:3 Wednesday 06 July 2022 13:51:12 +0000 (0:00:00.038) 0:01:11.892 ******** [WARNING]: The loop variable 'storage_test_volume' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['nvme1n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml:2 Wednesday 06 July 2022 13:51:12 +0000 (0:00:00.043) 0:01:11.935 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": false, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml:10 Wednesday 06 July 2022 13:51:12 +0000 (0:00:00.053) 0:01:11.989 ******** included: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml for /cache/centos-9.qcow2.snap => (item=mount) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml for /cache/centos-9.qcow2.snap => (item=fstab) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-fs.yml for /cache/centos-9.qcow2.snap => (item=fs) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml for /cache/centos-9.qcow2.snap => (item=device) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml for /cache/centos-9.qcow2.snap => (item=encryption) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml for /cache/centos-9.qcow2.snap => (item=md) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml for /cache/centos-9.qcow2.snap => (item=size) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml for /cache/centos-9.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 13:51:12 +0000 (0:00:00.078) 0:01:12.067 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:14 Wednesday 06 July 2022 13:51:12 +0000 (0:00:00.046) 0:01:12.114 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:28 Wednesday 06 July 2022 13:51:12 +0000 (0:00:00.059) 0:01:12.173 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 13:51:12 +0000 (0:00:00.023) 0:01:12.196 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:45 Wednesday 06 July 2022 13:51:12 +0000 (0:00:00.050) 0:01:12.247 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:54 Wednesday 06 July 2022 13:51:12 +0000 (0:00:00.039) 0:01:12.286 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:58 Wednesday 06 July 2022 13:51:12 +0000 (0:00:00.024) 0:01:12.311 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:63 Wednesday 06 July 2022 13:51:12 +0000 (0:00:00.030) 0:01:12.341 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:75 Wednesday 06 July 2022 13:51:12 +0000 (0:00:00.028) 0:01:12.369 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 13:51:12 +0000 (0:00:00.108) 0:01:12.478 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "0", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 13:51:12 +0000 (0:00:00.060) 0:01:12.538 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:32 Wednesday 06 July 2022 13:51:12 +0000 (0:00:00.025) 0:01:12.564 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:39 Wednesday 06 July 2022 13:51:12 +0000 (0:00:00.062) 0:01:12.626 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:49 Wednesday 06 July 2022 13:51:12 +0000 (0:00:00.036) 0:01:12.663 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 13:51:13 +0000 (0:00:00.034) 0:01:12.698 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 13:51:13 +0000 (0:00:00.025) 0:01:12.723 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:4 Wednesday 06 July 2022 13:51:13 +0000 (0:00:00.027) 0:01:12.750 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:10 Wednesday 06 July 2022 13:51:13 +0000 (0:00:00.384) 0:01:13.135 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:18 Wednesday 06 July 2022 13:51:13 +0000 (0:00:00.038) 0:01:13.174 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:24 Wednesday 06 July 2022 13:51:13 +0000 (0:00:00.024) 0:01:13.198 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:28 Wednesday 06 July 2022 13:51:13 +0000 (0:00:00.035) 0:01:13.234 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:33 Wednesday 06 July 2022 13:51:13 +0000 (0:00:00.024) 0:01:13.259 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 13:51:13 +0000 (0:00:00.024) 0:01:13.283 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 13:51:13 +0000 (0:00:00.023) 0:01:13.307 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 13:51:14 +0000 (0:00:00.915) 0:01:14.222 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 13:51:14 +0000 (0:00:00.026) 0:01:14.249 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:30 Wednesday 06 July 2022 13:51:14 +0000 (0:00:00.026) 0:01:14.275 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:38 Wednesday 06 July 2022 13:51:14 +0000 (0:00:00.027) 0:01:14.302 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 13:51:14 +0000 (0:00:00.027) 0:01:14.330 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:49 Wednesday 06 July 2022 13:51:14 +0000 (0:00:00.026) 0:01:14.357 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:55 Wednesday 06 July 2022 13:51:14 +0000 (0:00:00.025) 0:01:14.382 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:61 Wednesday 06 July 2022 13:51:14 +0000 (0:00:00.026) 0:01:14.408 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 13:51:14 +0000 (0:00:00.027) 0:01:14.436 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:74 Wednesday 06 July 2022 13:51:14 +0000 (0:00:00.056) 0:01:14.493 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:79 Wednesday 06 July 2022 13:51:14 +0000 (0:00:00.052) 0:01:14.545 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:85 Wednesday 06 July 2022 13:51:14 +0000 (0:00:00.044) 0:01:14.589 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:91 Wednesday 06 July 2022 13:51:14 +0000 (0:00:00.037) 0:01:14.627 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:97 Wednesday 06 July 2022 13:51:14 +0000 (0:00:00.038) 0:01:14.665 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:7 Wednesday 06 July 2022 13:51:15 +0000 (0:00:00.040) 0:01:14.706 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:13 Wednesday 06 July 2022 13:51:15 +0000 (0:00:00.041) 0:01:14.748 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:17 Wednesday 06 July 2022 13:51:15 +0000 (0:00:00.039) 0:01:14.788 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:21 Wednesday 06 July 2022 13:51:15 +0000 (0:00:00.038) 0:01:14.827 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:25 Wednesday 06 July 2022 13:51:15 +0000 (0:00:00.039) 0:01:14.866 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:31 Wednesday 06 July 2022 13:51:15 +0000 (0:00:00.044) 0:01:14.910 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:37 Wednesday 06 July 2022 13:51:15 +0000 (0:00:00.037) 0:01:14.948 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:3 Wednesday 06 July 2022 13:51:15 +0000 (0:00:00.035) 0:01:14.984 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:9 Wednesday 06 July 2022 13:51:15 +0000 (0:00:00.023) 0:01:15.008 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:15 Wednesday 06 July 2022 13:51:15 +0000 (0:00:00.042) 0:01:15.050 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:20 Wednesday 06 July 2022 13:51:15 +0000 (0:00:00.037) 0:01:15.088 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:25 Wednesday 06 July 2022 13:51:15 +0000 (0:00:00.075) 0:01:15.163 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:28 Wednesday 06 July 2022 13:51:15 +0000 (0:00:00.039) 0:01:15.203 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:31 Wednesday 06 July 2022 13:51:15 +0000 (0:00:00.079) 0:01:15.283 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:36 Wednesday 06 July 2022 13:51:15 +0000 (0:00:00.039) 0:01:15.322 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:39 Wednesday 06 July 2022 13:51:15 +0000 (0:00:00.040) 0:01:15.363 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:44 Wednesday 06 July 2022 13:51:15 +0000 (0:00:00.039) 0:01:15.402 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:47 Wednesday 06 July 2022 13:51:15 +0000 (0:00:00.035) 0:01:15.438 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:50 Wednesday 06 July 2022 13:51:15 +0000 (0:00:00.038) 0:01:15.476 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 13:51:15 +0000 (0:00:00.024) 0:01:15.501 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 13:51:15 +0000 (0:00:00.025) 0:01:15.526 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 13:51:15 +0000 (0:00:00.024) 0:01:15.551 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 13:51:15 +0000 (0:00:00.024) 0:01:15.575 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 13:51:15 +0000 (0:00:00.022) 0:01:15.598 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 13:51:15 +0000 (0:00:00.023) 0:01:15.622 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 13:51:15 +0000 (0:00:00.022) 0:01:15.644 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml:16 Wednesday 06 July 2022 13:51:15 +0000 (0:00:00.024) 0:01:15.669 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:40 Wednesday 06 July 2022 13:51:16 +0000 (0:00:00.036) 0:01:15.705 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_pool": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:47 Wednesday 06 July 2022 13:51:16 +0000 (0:00:00.040) 0:01:15.746 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:57 Wednesday 06 July 2022 13:51:16 +0000 (0:00:00.022) 0:01:15.768 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null, "storage_test_volume": null }, "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-9.qcow2.snap : ok=396 changed=6 unreachable=0 failed=0 skipped=311 rescued=0 ignored=0 Wednesday 06 July 2022 13:51:16 +0000 (0:00:00.048) 0:01:15.817 ******** =============================================================================== linux-system-roles.storage : get service facts -------------------------- 2.80s /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 2.04s /tmp/tmpnhy4yzav/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.94s /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Read the /etc/fstab file for volume existence --------------------------- 1.48s /tmp/tmpnhy4yzav/tests/verify-role-results.yml:19 ----------------------------- linux-system-roles.storage : manage the pools and volumes to match the specified state --- 1.43s /tmp/tmpnhy4yzav/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.43s /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Read the /etc/crypttab file --------------------------------------------- 1.42s /tmp/tmpnhy4yzav/tests/verify-role-results.yml:24 ----------------------------- Gathering Facts --------------------------------------------------------- 1.35s /tmp/tmpnhy4yzav/tests/tests_change_mount_nvme_generated.yml:3 ---------------- linux-system-roles.storage : make sure blivet is available -------------- 1.28s /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 linux-system-roles.storage : Update facts ------------------------------- 1.05s /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 linux-system-roles.storage : Update facts ------------------------------- 1.02s /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 linux-system-roles.storage : Update facts ------------------------------- 0.99s /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 linux-system-roles.storage : Update facts ------------------------------- 0.99s /tmp/tmpnhy4yzav/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.97s /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Gathering Facts --------------------------------------------------------- 0.97s /tmp/tmpnhy4yzav/tests/tests_change_mount.yml:2 ------------------------------- linux-system-roles.storage : Update facts ------------------------------- 0.95s /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Ensure cryptsetup is present -------------------------------------------- 0.92s /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:10 ------------------- Ensure cryptsetup is present -------------------------------------------- 0.91s /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:10 ------------------- linux-system-roles.storage : make sure required packages are installed --- 0.91s /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Ensure cryptsetup is present -------------------------------------------- 0.88s /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:10 ------------------- 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/tmpq6mp_rlx 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_change_mount_nvme_generated.yml ******************************** 2 plays in /tmp/tmpaxpydj_h/tests/storage/tests_change_mount_nvme_generated.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/tests_change_mount_nvme_generated.yml:3 Wednesday 06 July 2022 17:17:33 +0000 (0:00:00.012) 0:00:00.012 ******** ok: [/cache/centos-9.qcow2.snap] META: ran handlers TASK [set disk interface for test] ********************************************* task path: /tmp/tmpaxpydj_h/tests/storage/tests_change_mount_nvme_generated.yml:7 Wednesday 06 July 2022 17:17:34 +0000 (0:00:01.281) 0:00:01.294 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_use_interface": "nvme" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/tests_change_mount.yml:2 Wednesday 06 July 2022 17:17:34 +0000 (0:00:00.049) 0:00:01.343 ******** ok: [/cache/centos-9.qcow2.snap] META: ran handlers TASK [include_role : fedora.linux_system_roles.storage] ************************ task path: /tmp/tmpaxpydj_h/tests/storage/tests_change_mount.yml:12 Wednesday 06 July 2022 17:17:35 +0000 (0:00:00.934) 0:00:02.278 ******** TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Wednesday 06 July 2022 17:17:35 +0000 (0:00:00.037) 0:00:02.316 ******** included: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/centos-9.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 17:17:35 +0000 (0:00:00.031) 0:00:02.347 ******** ok: [/cache/centos-9.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Wednesday 06 July 2022 17:17:36 +0000 (0:00:00.517) 0:00:02.865 ******** skipping: [/cache/centos-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-9.qcow2.snap] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-9.qcow2.snap] => (item=CentOS_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } ok: [/cache/centos-9.qcow2.snap] => (item=CentOS_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Wednesday 06 July 2022 17:17:36 +0000 (0:00:00.064) 0:00:02.930 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Wednesday 06 July 2022 17:17:36 +0000 (0:00:00.032) 0:00:02.962 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Wednesday 06 July 2022 17:17:36 +0000 (0:00:00.032) 0:00:02.995 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/centos-9.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 17:17:36 +0000 (0:00:00.054) 0:00:03.049 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 17:17:36 +0000 (0:00:00.019) 0:00:03.069 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Wednesday 06 July 2022 17:17:37 +0000 (0:00:01.305) 0:00:04.375 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Wednesday 06 July 2022 17:17:38 +0000 (0:00:00.034) 0:00:04.410 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Wednesday 06 July 2022 17:17:38 +0000 (0:00:00.061) 0:00:04.471 ******** ok: [/cache/centos-9.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Wednesday 06 July 2022 17:17:38 +0000 (0:00:00.718) 0:00:05.190 ******** included: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml for /cache/centos-9.qcow2.snap TASK [fedora.linux_system_roles.storage : check if the COPR support packages should be installed] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:2 Wednesday 06 July 2022 17:17:38 +0000 (0:00:00.050) 0:00:05.240 ******** TASK [fedora.linux_system_roles.storage : make sure COPR support packages are present] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:13 Wednesday 06 July 2022 17:17:38 +0000 (0:00:00.035) 0:00:05.276 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable COPRs] ************************ task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:18 Wednesday 06 July 2022 17:17:38 +0000 (0:00:00.037) 0:00:05.313 ******** TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Wednesday 06 July 2022 17:17:38 +0000 (0:00:00.033) 0:00:05.347 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Wednesday 06 July 2022 17:17:39 +0000 (0:00:00.830) 0:00:06.177 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "services": { "NetworkManager-dispatcher.service": { "name": "NetworkManager-dispatcher.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "NetworkManager-wait-online.service": { "name": "NetworkManager-wait-online.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "NetworkManager.service": { "name": "NetworkManager.service", "source": "systemd", "state": "running", "status": "enabled" }, "auditd.service": { "name": "auditd.service", "source": "systemd", "state": "running", "status": "enabled" }, "auth-rpcgss-module.service": { "name": "auth-rpcgss-module.service", "source": "systemd", "state": "stopped", "status": "static" }, "autofs.service": { "name": "autofs.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "autovt@.service": { "name": "autovt@.service", "source": "systemd", "state": "unknown", "status": "alias" }, "blivet.service": { "name": "blivet.service", "source": "systemd", "state": "inactive", "status": "static" }, "blk-availability.service": { "name": "blk-availability.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "chrony-wait.service": { "name": "chrony-wait.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "chronyd.service": { "name": "chronyd.service", "source": "systemd", "state": "running", "status": "enabled" }, "cloud-config.service": { "name": "cloud-config.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-final.service": { "name": "cloud-final.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init-local.service": { "name": "cloud-init-local.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init.service": { "name": "cloud-init.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cockpit-motd.service": { "name": "cockpit-motd.service", "source": "systemd", "state": "inactive", "status": "static" }, "cockpit-wsinstance-http.service": { "name": "cockpit-wsinstance-http.service", "source": "systemd", "state": "inactive", "status": "static" }, "cockpit-wsinstance-https-factory@.service": { "name": "cockpit-wsinstance-https-factory@.service", "source": "systemd", "state": "unknown", "status": "static" }, "cockpit-wsinstance-https@.service": { "name": "cockpit-wsinstance-https@.service", "source": "systemd", "state": "unknown", "status": "static" }, "cockpit.service": { "name": "cockpit.service", "source": "systemd", "state": "inactive", "status": "static" }, "console-getty.service": { "name": "console-getty.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "container-getty@.service": { "name": "container-getty@.service", "source": "systemd", "state": "unknown", "status": "static" }, "cpupower.service": { "name": "cpupower.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "crond.service": { "name": "crond.service", "source": "systemd", "state": "running", "status": "enabled" }, "dbus-broker.service": { "name": "dbus-broker.service", "source": "systemd", "state": "running", "status": "enabled" }, "dbus-org.freedesktop.hostname1.service": { "name": "dbus-org.freedesktop.hostname1.service", "source": "systemd", "state": "active", "status": "alias" }, "dbus-org.freedesktop.locale1.service": { "name": "dbus-org.freedesktop.locale1.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus-org.freedesktop.login1.service": { "name": "dbus-org.freedesktop.login1.service", "source": "systemd", "state": "active", "status": "alias" }, "dbus-org.freedesktop.nm-dispatcher.service": { "name": "dbus-org.freedesktop.nm-dispatcher.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus-org.freedesktop.timedate1.service": { "name": "dbus-org.freedesktop.timedate1.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus.service": { "name": "dbus.service", "source": "systemd", "state": "active", "status": "alias" }, "debug-shell.service": { "name": "debug-shell.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "display-manager.service": { "name": "display-manager.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "dm-event.service": { "name": "dm-event.service", "source": "systemd", "state": "stopped", "status": "static" }, "dnf-makecache.service": { "name": "dnf-makecache.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-cmdline.service": { "name": "dracut-cmdline.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-initqueue.service": { "name": "dracut-initqueue.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-mount.service": { "name": "dracut-mount.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-mount.service": { "name": "dracut-pre-mount.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-pivot.service": { "name": "dracut-pre-pivot.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-trigger.service": { "name": "dracut-pre-trigger.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-udev.service": { "name": "dracut-pre-udev.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-shutdown.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" }, "grub2-systemd-integration.service": { "name": "grub2-systemd-integration.service", "source": "systemd", "state": "inactive", "status": "static" }, "gssproxy.service": { "name": "gssproxy.service", "source": "systemd", "state": "running", "status": "disabled" }, "initrd-cleanup.service": { "name": "initrd-cleanup.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-parse-etc.service": { "name": "initrd-parse-etc.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-switch-root.service": { "name": "initrd-switch-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-udevadm-cleanup-db.service": { "name": "initrd-udevadm-cleanup-db.service", "source": "systemd", "state": "stopped", "status": "static" }, "irqbalance.service": { "name": "irqbalance.service", "source": "systemd", "state": "running", "status": "enabled" }, "iscsi-shutdown.service": { "name": "iscsi-shutdown.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "iscsi.service": { "name": "iscsi.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "iscsid.service": { "name": "iscsid.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "kdump.service": { "name": "kdump.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "kmod-static-nodes.service": { "name": "kmod-static-nodes.service", "source": "systemd", "state": "stopped", "status": "static" }, "kvm_stat.service": { "name": "kvm_stat.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "ldconfig.service": { "name": "ldconfig.service", "source": "systemd", "state": "stopped", "status": "static" }, "logrotate.service": { "name": "logrotate.service", "source": "systemd", "state": "stopped", "status": "static" }, "lvm2-activation-early.service": { "name": "lvm2-activation-early.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "lvm2-lvmpolld.service": { "name": "lvm2-lvmpolld.service", "source": "systemd", "state": "stopped", "status": "static" }, "lvm2-monitor.service": { "name": "lvm2-monitor.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "man-db-cache-update.service": { "name": "man-db-cache-update.service", "source": "systemd", "state": "inactive", "status": "static" }, "man-db-restart-cache-update.service": { "name": "man-db-restart-cache-update.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "mdadm-grow-continue@.service": { "name": "mdadm-grow-continue@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdadm-last-resort@.service": { "name": "mdadm-last-resort@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdcheck_continue.service": { "name": "mdcheck_continue.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdcheck_start.service": { "name": "mdcheck_start.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdmon@.service": { "name": "mdmon@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdmonitor-oneshot.service": { "name": "mdmonitor-oneshot.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdmonitor.service": { "name": "mdmonitor.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "microcode.service": { "name": "microcode.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "modprobe@.service": { "name": "modprobe@.service", "source": "systemd", "state": "unknown", "status": "static" }, "modprobe@configfs.service": { "name": "modprobe@configfs.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "modprobe@drm.service": { "name": "modprobe@drm.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "modprobe@fuse.service": { "name": "modprobe@fuse.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "multipathd.service": { "name": "multipathd.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "ndctl-monitor.service": { "name": "ndctl-monitor.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "network.service": { "name": "network.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "nfs-blkmap.service": { "name": "nfs-blkmap.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfs-idmapd.service": { "name": "nfs-idmapd.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-mountd.service": { "name": "nfs-mountd.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-server.service": { "name": "nfs-server.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "nfs-utils.service": { "name": "nfs-utils.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfsdcld.service": { "name": "nfsdcld.service", "source": "systemd", "state": "stopped", "status": "static" }, "nis-domainname.service": { "name": "nis-domainname.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "nm-priv-helper.service": { "name": "nm-priv-helper.service", "source": "systemd", "state": "inactive", "status": "static" }, "ntpd.service": { "name": "ntpd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ntpdate.service": { "name": "ntpdate.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "oddjobd.service": { "name": "oddjobd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "packagekit-offline-update.service": { "name": "packagekit-offline-update.service", "source": "systemd", "state": "inactive", "status": "static" }, "packagekit.service": { "name": "packagekit.service", "source": "systemd", "state": "inactive", "status": "static" }, "pam_namespace.service": { "name": "pam_namespace.service", "source": "systemd", "state": "inactive", "status": "static" }, "plymouth-quit-wait.service": { "name": "plymouth-quit-wait.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "plymouth-start.service": { "name": "plymouth-start.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "polkit.service": { "name": "polkit.service", "source": "systemd", "state": "inactive", "status": "static" }, "qemu-guest-agent.service": { "name": "qemu-guest-agent.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "quotaon.service": { "name": "quotaon.service", "source": "systemd", "state": "inactive", "status": "static" }, "raid-check.service": { "name": "raid-check.service", "source": "systemd", "state": "inactive", "status": "static" }, "rbdmap.service": { "name": "rbdmap.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "rc-local.service": { "name": "rc-local.service", "source": "systemd", "state": "stopped", "status": "static" }, "rdisc.service": { "name": "rdisc.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rescue.service": { "name": "rescue.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-gssd.service": { "name": "rpc-gssd.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-statd-notify.service": { "name": "rpc-statd-notify.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-statd.service": { "name": "rpc-statd.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-svcgssd.service": { "name": "rpc-svcgssd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "rpcbind.service": { "name": "rpcbind.service", "source": "systemd", "state": "running", "status": "enabled" }, "rpmdb-rebuild.service": { "name": "rpmdb-rebuild.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rsyslog.service": { "name": "rsyslog.service", "source": "systemd", "state": "running", "status": "enabled" }, "selinux-autorelabel-mark.service": { "name": "selinux-autorelabel-mark.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "selinux-autorelabel.service": { "name": "selinux-autorelabel.service", "source": "systemd", "state": "inactive", "status": "static" }, "serial-getty@.service": { "name": "serial-getty@.service", "source": "systemd", "state": "unknown", "status": "indirect" }, "serial-getty@ttyS0.service": { "name": "serial-getty@ttyS0.service", "source": "systemd", "state": "running", "status": "active" }, "sntp.service": { "name": "sntp.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sshd-keygen.service": { "name": "sshd-keygen.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sshd-keygen@.service": { "name": "sshd-keygen@.service", "source": "systemd", "state": "unknown", "status": "disabled" }, "sshd-keygen@ecdsa.service": { "name": "sshd-keygen@ecdsa.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd-keygen@ed25519.service": { "name": "sshd-keygen@ed25519.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd-keygen@rsa.service": { "name": "sshd-keygen@rsa.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd.service": { "name": "sshd.service", "source": "systemd", "state": "running", "status": "enabled" }, "sshd@.service": { "name": "sshd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "sssd-autofs.service": { "name": "sssd-autofs.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-kcm.service": { "name": "sssd-kcm.service", "source": "systemd", "state": "stopped", "status": "indirect" }, "sssd-nss.service": { "name": "sssd-nss.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-pac.service": { "name": "sssd-pac.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-pam.service": { "name": "sssd-pam.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-ssh.service": { "name": "sssd-ssh.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-sudo.service": { "name": "sssd-sudo.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd.service": { "name": "sssd.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "syslog.service": { "name": "syslog.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "system-update-cleanup.service": { "name": "system-update-cleanup.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-ask-password-console.service": { "name": "systemd-ask-password-console.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-ask-password-wall.service": { "name": "systemd-ask-password-wall.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-backlight@.service": { "name": "systemd-backlight@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-binfmt.service": { "name": "systemd-binfmt.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-boot-check-no-failures.service": { "name": "systemd-boot-check-no-failures.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-coredump@.service": { "name": "systemd-coredump@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-exit.service": { "name": "systemd-exit.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-firstboot.service": { "name": "systemd-firstboot.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-fsck-root.service": { "name": "systemd-fsck-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-fsck@.service": { "name": "systemd-fsck@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-fsck@dev-vdb1.service": { "name": "systemd-fsck@dev-vdb1.service", "source": "systemd", "state": "stopped", "status": "active" }, "systemd-fsck@dev-vdc1.service": { "name": "systemd-fsck@dev-vdc1.service", "source": "systemd", "state": "stopped", "status": "active" }, "systemd-halt.service": { "name": "systemd-halt.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-hibernate-resume@.service": { "name": "systemd-hibernate-resume@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-hibernate.service": { "name": "systemd-hibernate.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-hostnamed.service": { "name": "systemd-hostnamed.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-hwdb-update.service": { "name": "systemd-hwdb-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-hybrid-sleep.service": { "name": "systemd-hybrid-sleep.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-initctl.service": { "name": "systemd-initctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-catalog-update.service": { "name": "systemd-journal-catalog-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-flush.service": { "name": "systemd-journal-flush.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journald.service": { "name": "systemd-journald.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-journald@.service": { "name": "systemd-journald@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-kexec.service": { "name": "systemd-kexec.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-localed.service": { "name": "systemd-localed.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-logind.service": { "name": "systemd-logind.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-machine-id-commit.service": { "name": "systemd-machine-id-commit.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-modules-load.service": { "name": "systemd-modules-load.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-network-generator.service": { "name": "systemd-network-generator.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "systemd-poweroff.service": { "name": "systemd-poweroff.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-pstore.service": { "name": "systemd-pstore.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-quotacheck.service": { "name": "systemd-quotacheck.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-random-seed.service": { "name": "systemd-random-seed.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-reboot.service": { "name": "systemd-reboot.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-remount-fs.service": { "name": "systemd-remount-fs.service", "source": "systemd", "state": "stopped", "status": "enabled-runtime" }, "systemd-repart.service": { "name": "systemd-repart.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-rfkill.service": { "name": "systemd-rfkill.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-suspend-then-hibernate.service": { "name": "systemd-suspend-then-hibernate.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-suspend.service": { "name": "systemd-suspend.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-sysctl.service": { "name": "systemd-sysctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-sysext.service": { "name": "systemd-sysext.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-sysusers.service": { "name": "systemd-sysusers.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-timedated.service": { "name": "systemd-timedated.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-timesyncd.service": { "name": "systemd-timesyncd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "systemd-tmpfiles-clean.service": { "name": "systemd-tmpfiles-clean.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup-dev.service": { "name": "systemd-tmpfiles-setup-dev.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup.service": { "name": "systemd-tmpfiles-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udev-settle.service": { "name": "systemd-udev-settle.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udev-trigger.service": { "name": "systemd-udev-trigger.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udevd.service": { "name": "systemd-udevd.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-update-done.service": { "name": "systemd-update-done.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-update-utmp-runlevel.service": { "name": "systemd-update-utmp-runlevel.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-update-utmp.service": { "name": "systemd-update-utmp.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-user-sessions.service": { "name": "systemd-user-sessions.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-vconsole-setup.service": { "name": "systemd-vconsole-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-volatile-root.service": { "name": "systemd-volatile-root.service", "source": "systemd", "state": "inactive", "status": "static" }, "teamd@.service": { "name": "teamd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "user-runtime-dir@.service": { "name": "user-runtime-dir@.service", "source": "systemd", "state": "unknown", "status": "static" }, "user-runtime-dir@0.service": { "name": "user-runtime-dir@0.service", "source": "systemd", "state": "stopped", "status": "active" }, "user@.service": { "name": "user@.service", "source": "systemd", "state": "unknown", "status": "static" }, "user@0.service": { "name": "user@0.service", "source": "systemd", "state": "running", "status": "active" }, "ypbind.service": { "name": "ypbind.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "yppasswdd.service": { "name": "yppasswdd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ypserv.service": { "name": "ypserv.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ypxfrd.service": { "name": "ypxfrd.service", "source": "systemd", "state": "stopped", "status": "not-found" } } }, "changed": false } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Wednesday 06 July 2022 17:17:41 +0000 (0:00:01.767) 0:00:07.945 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 17:17:41 +0000 (0:00:00.096) 0:00:08.041 ******** TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Wednesday 06 July 2022 17:17:41 +0000 (0:00:00.022) 0:00:08.063 ******** ok: [/cache/centos-9.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Wednesday 06 July 2022 17:17:42 +0000 (0:00:00.563) 0:00:08.627 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Wednesday 06 July 2022 17:17:42 +0000 (0:00:00.036) 0:00:08.663 ******** TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Wednesday 06 July 2022 17:17:42 +0000 (0:00:00.022) 0:00:08.686 ******** ok: [/cache/centos-9.qcow2.snap] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Wednesday 06 July 2022 17:17:42 +0000 (0:00:00.034) 0:00:08.720 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Wednesday 06 July 2022 17:17:42 +0000 (0:00:00.038) 0:00:08.759 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Wednesday 06 July 2022 17:17:42 +0000 (0:00:00.038) 0:00:08.798 ******** TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Wednesday 06 July 2022 17:17:42 +0000 (0:00:00.039) 0:00:08.837 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Wednesday 06 July 2022 17:17:42 +0000 (0:00:00.026) 0:00:08.864 ******** TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Wednesday 06 July 2022 17:17:42 +0000 (0:00:00.040) 0:00:08.904 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Wednesday 06 July 2022 17:17:42 +0000 (0:00:00.022) 0:00:08.927 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1657114115.7373767, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1654524050.107, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4194436, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1654523851.529, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "610860986", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Wednesday 06 July 2022 17:17:43 +0000 (0:00:00.535) 0:00:09.462 ******** TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Wednesday 06 July 2022 17:17:43 +0000 (0:00:00.024) 0:00:09.487 ******** ok: [/cache/centos-9.qcow2.snap] META: role_complete for /cache/centos-9.qcow2.snap TASK [Mark tasks to be skipped] ************************************************ task path: /tmp/tmpaxpydj_h/tests/storage/tests_change_mount.yml:15 Wednesday 06 July 2022 17:17:44 +0000 (0:00:00.985) 0:00:10.472 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_skip_checks": [ "blivet_available", "packages_installed", "service_facts" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/tests_change_mount.yml:22 Wednesday 06 July 2022 17:17:44 +0000 (0:00:00.035) 0:00:10.507 ******** included: /tmp/tmpaxpydj_h/tests/storage/get_unused_disk.yml for /cache/centos-9.qcow2.snap TASK [Find unused disks in the system] ***************************************** task path: /tmp/tmpaxpydj_h/tests/storage/get_unused_disk.yml:2 Wednesday 06 July 2022 17:17:44 +0000 (0:00:00.038) 0:00:10.545 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "disks": [ "nvme1n1" ] } TASK [Set unused_disks if necessary] ******************************************* task path: /tmp/tmpaxpydj_h/tests/storage/get_unused_disk.yml:9 Wednesday 06 July 2022 17:17:44 +0000 (0:00:00.558) 0:00:11.104 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "unused_disks": [ "nvme1n1" ] }, "changed": false } TASK [Exit playbook when there's not enough unused disks in the system] ******** task path: /tmp/tmpaxpydj_h/tests/storage/get_unused_disk.yml:14 Wednesday 06 July 2022 17:17:44 +0000 (0:00:00.072) 0:00:11.176 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Print unused disks] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/get_unused_disk.yml:19 Wednesday 06 July 2022 17:17:44 +0000 (0:00:00.044) 0:00:11.220 ******** ok: [/cache/centos-9.qcow2.snap] => { "unused_disks": [ "nvme1n1" ] } TASK [Create a LVM logical volume mounted at "/opt/test1"] ********************* task path: /tmp/tmpaxpydj_h/tests/storage/tests_change_mount.yml:27 Wednesday 06 July 2022 17:17:44 +0000 (0:00:00.034) 0:00:11.255 ******** TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Wednesday 06 July 2022 17:17:44 +0000 (0:00:00.042) 0:00:11.297 ******** included: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/centos-9.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 17:17:44 +0000 (0:00:00.060) 0:00:11.358 ******** ok: [/cache/centos-9.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Wednesday 06 July 2022 17:17:45 +0000 (0:00:00.527) 0:00:11.886 ******** skipping: [/cache/centos-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-9.qcow2.snap] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-9.qcow2.snap] => (item=CentOS_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } ok: [/cache/centos-9.qcow2.snap] => (item=CentOS_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Wednesday 06 July 2022 17:17:45 +0000 (0:00:00.074) 0:00:11.960 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Wednesday 06 July 2022 17:17:45 +0000 (0:00:00.037) 0:00:11.997 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Wednesday 06 July 2022 17:17:45 +0000 (0:00:00.036) 0:00:12.034 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/centos-9.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 17:17:45 +0000 (0:00:00.056) 0:00:12.091 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 17:17:45 +0000 (0:00:00.023) 0:00:12.114 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Wednesday 06 July 2022 17:17:45 +0000 (0:00:00.029) 0:00:12.143 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_pools": [ { "disks": [ "nvme1n1" ], "name": "foo", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "3g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Wednesday 06 July 2022 17:17:45 +0000 (0:00:00.043) 0:00:12.187 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Wednesday 06 July 2022 17:17:45 +0000 (0:00:00.039) 0:00:12.226 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Wednesday 06 July 2022 17:17:45 +0000 (0:00:00.029) 0:00:12.256 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Wednesday 06 July 2022 17:17:45 +0000 (0:00:00.030) 0:00:12.287 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Wednesday 06 July 2022 17:17:45 +0000 (0:00:00.031) 0:00:12.319 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Wednesday 06 July 2022 17:17:45 +0000 (0:00:00.029) 0:00:12.348 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 17:17:46 +0000 (0:00:00.063) 0:00:12.411 ******** TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Wednesday 06 July 2022 17:17:46 +0000 (0:00:00.022) 0:00:12.434 ******** changed: [/cache/centos-9.qcow2.snap] => { "actions": [ { "action": "create format", "device": "/dev/nvme1n1", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdc", "/dev/sdb", "/dev/nvme0n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/mapper/foo-test1" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "xfsprogs", "e2fsprogs", "lvm2" ], "pools": [ { "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Wednesday 06 July 2022 17:17:47 +0000 (0:00:01.934) 0:00:14.368 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Wednesday 06 July 2022 17:17:48 +0000 (0:00:00.037) 0:00:14.405 ******** TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Wednesday 06 July 2022 17:17:48 +0000 (0:00:00.022) 0:00:14.428 ******** ok: [/cache/centos-9.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/nvme1n1", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdc", "/dev/sdb", "/dev/nvme0n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/mapper/foo-test1" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "xfsprogs", "e2fsprogs", "lvm2" ], "pools": [ { "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Wednesday 06 July 2022 17:17:48 +0000 (0:00:00.040) 0:00:14.469 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Wednesday 06 July 2022 17:17:48 +0000 (0:00:00.082) 0:00:14.551 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Wednesday 06 July 2022 17:17:48 +0000 (0:00:00.037) 0:00:14.589 ******** TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Wednesday 06 July 2022 17:17:48 +0000 (0:00:00.040) 0:00:14.630 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Wednesday 06 July 2022 17:17:49 +0000 (0:00:00.948) 0:00:15.579 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-9.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Wednesday 06 July 2022 17:17:49 +0000 (0:00:00.560) 0:00:16.139 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Wednesday 06 July 2022 17:17:50 +0000 (0:00:00.682) 0:00:16.821 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1657114115.7373767, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1654524050.107, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4194436, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1654523851.529, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "610860986", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Wednesday 06 July 2022 17:17:50 +0000 (0:00:00.401) 0:00:17.223 ******** TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Wednesday 06 July 2022 17:17:50 +0000 (0:00:00.022) 0:00:17.246 ******** ok: [/cache/centos-9.qcow2.snap] META: role_complete for /cache/centos-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/tests_change_mount.yml:39 Wednesday 06 July 2022 17:17:51 +0000 (0:00:00.994) 0:00:18.241 ******** included: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml for /cache/centos-9.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:1 Wednesday 06 July 2022 17:17:51 +0000 (0:00:00.041) 0:00:18.282 ******** ok: [/cache/centos-9.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:6 Wednesday 06 July 2022 17:17:51 +0000 (0:00:00.053) 0:00:18.335 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:14 Wednesday 06 July 2022 17:17:51 +0000 (0:00:00.038) 0:00:18.374 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test1", "size": "3G", "type": "lvm", "uuid": "06d88a4e-d0ae-4fc6-af7c-7d4bae111e51" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "LVM2_member", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "6gwICS-GVxa-yqkq-m1GZ-T4rD-RMNX-qlH7Qr" }, "/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-06-17-17-19-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "10G", "type": "partition", "uuid": "4a8e5519-5f4a-41ef-bec6-391aaa7a9737" }, "/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": "7e2b11b8-7ad7-4ea1-8ccb-c55a9090cba2" }, "/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": "8ea8e052-f2d2-4f4b-8ff7-0b4eb5686df5" }, "/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/tmpaxpydj_h/tests/storage/verify-role-results.yml:19 Wednesday 06 July 2022 17:17:52 +0000 (0:00:00.538) 0:00:18.912 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:01.004670", "end": "2022-07-06 13:17:53.778441", "rc": 0, "start": "2022-07-06 13:17:52.773771" } STDOUT: # # /etc/fstab # Created by anaconda on Mon Jun 6 13:57:31 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=4a8e5519-5f4a-41ef-bec6-391aaa7a9737 / xfs defaults 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 /dev/mapper/foo-test1 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:24 Wednesday 06 July 2022 17:17:54 +0000 (0:00:01.506) 0:00:20.419 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003007", "end": "2022-07-06 13:17:54.159238", "failed_when_result": false, "rc": 0, "start": "2022-07-06 13:17:54.156231" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:33 Wednesday 06 July 2022 17:17:54 +0000 (0:00:00.377) 0:00:20.797 ******** included: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool.yml for /cache/centos-9.qcow2.snap => (item={'disks': ['nvme1n1'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool.yml:5 Wednesday 06 July 2022 17:17:54 +0000 (0:00:00.060) 0:00:20.858 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool.yml:18 Wednesday 06 July 2022 17:17:54 +0000 (0:00:00.064) 0:00:20.922 ******** included: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml for /cache/centos-9.qcow2.snap => (item=members) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-volumes.yml for /cache/centos-9.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:1 Wednesday 06 July 2022 17:17:54 +0000 (0:00:00.051) 0:00:20.974 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/nvme1n1" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:6 Wednesday 06 July 2022 17:17:54 +0000 (0:00:00.086) 0:00:21.060 ******** ok: [/cache/centos-9.qcow2.snap] => (item=/dev/nvme1n1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/nvme1n1", "pv": "/dev/nvme1n1" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:15 Wednesday 06 July 2022 17:17:55 +0000 (0:00:00.515) 0:00:21.576 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:19 Wednesday 06 July 2022 17:17:55 +0000 (0:00:00.059) 0:00:21.636 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/nvme1n1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:23 Wednesday 06 July 2022 17:17:55 +0000 (0:00:00.058) 0:00:21.694 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:29 Wednesday 06 July 2022 17:17:55 +0000 (0:00:00.053) 0:00:21.748 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:33 Wednesday 06 July 2022 17:17:55 +0000 (0:00:00.041) 0:00:21.790 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:37 Wednesday 06 July 2022 17:17:55 +0000 (0:00:00.055) 0:00:21.846 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:41 Wednesday 06 July 2022 17:17:55 +0000 (0:00:00.028) 0:00:21.874 ******** ok: [/cache/centos-9.qcow2.snap] => (item=/dev/nvme1n1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/nvme1n1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:50 Wednesday 06 July 2022 17:17:55 +0000 (0:00:00.042) 0:00:21.917 ******** included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-md.yml for /cache/centos-9.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-md.yml:6 Wednesday 06 July 2022 17:17:55 +0000 (0:00:00.044) 0:00:21.962 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-md.yml:12 Wednesday 06 July 2022 17:17:55 +0000 (0:00:00.025) 0:00:21.988 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-md.yml:16 Wednesday 06 July 2022 17:17:55 +0000 (0:00:00.025) 0:00:22.013 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-md.yml:20 Wednesday 06 July 2022 17:17:55 +0000 (0:00:00.026) 0:00:22.039 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-md.yml:24 Wednesday 06 July 2022 17:17:55 +0000 (0:00:00.024) 0:00:22.064 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-md.yml:30 Wednesday 06 July 2022 17:17:55 +0000 (0:00:00.025) 0:00:22.089 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-md.yml:36 Wednesday 06 July 2022 17:17:55 +0000 (0:00:00.025) 0:00:22.114 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-md.yml:44 Wednesday 06 July 2022 17:17:55 +0000 (0:00:00.027) 0:00:22.142 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:53 Wednesday 06 July 2022 17:17:55 +0000 (0:00:00.035) 0:00:22.177 ******** included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-lvmraid.yml for /cache/centos-9.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-lvmraid.yml:1 Wednesday 06 July 2022 17:17:55 +0000 (0:00:00.046) 0:00:22.224 ******** included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-lvmraid.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 17:17:55 +0000 (0:00:00.045) 0:00:22.269 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 17:17:55 +0000 (0:00:00.028) 0:00:22.298 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 17:17:55 +0000 (0:00:00.039) 0:00:22.338 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:56 Wednesday 06 July 2022 17:17:55 +0000 (0:00:00.033) 0:00:22.372 ******** included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-thin.yml for /cache/centos-9.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-thin.yml:1 Wednesday 06 July 2022 17:17:56 +0000 (0:00:00.046) 0:00:22.418 ******** included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-thin.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 17:17:56 +0000 (0:00:00.047) 0:00:22.465 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 17:17:56 +0000 (0:00:00.025) 0:00:22.491 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 17:17:56 +0000 (0:00:00.025) 0:00:22.516 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 17:17:56 +0000 (0:00:00.023) 0:00:22.539 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:59 Wednesday 06 July 2022 17:17:56 +0000 (0:00:00.024) 0:00:22.564 ******** included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-encryption.yml for /cache/centos-9.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-encryption.yml:4 Wednesday 06 July 2022 17:17:56 +0000 (0:00:00.048) 0:00:22.612 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-encryption.yml:8 Wednesday 06 July 2022 17:17:56 +0000 (0:00:00.131) 0:00:22.744 ******** skipping: [/cache/centos-9.qcow2.snap] => (item=/dev/nvme1n1) => { "_storage_test_pool_member_path": "/dev/nvme1n1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-encryption.yml:15 Wednesday 06 July 2022 17:17:56 +0000 (0:00:00.029) 0:00:22.774 ******** included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-crypttab.yml for /cache/centos-9.qcow2.snap => (item=/dev/nvme1n1) TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-crypttab.yml:1 Wednesday 06 July 2022 17:17:56 +0000 (0:00:00.045) 0:00:22.819 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-crypttab.yml:4 Wednesday 06 July 2022 17:17:56 +0000 (0:00:00.052) 0:00:22.872 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-crypttab.yml:9 Wednesday 06 July 2022 17:17:56 +0000 (0:00:00.049) 0:00:22.921 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-crypttab.yml:15 Wednesday 06 July 2022 17:17:56 +0000 (0:00:00.036) 0:00:22.957 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-crypttab.yml:21 Wednesday 06 July 2022 17:17:56 +0000 (0:00:00.038) 0:00:22.996 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-crypttab.yml:27 Wednesday 06 July 2022 17:17:56 +0000 (0:00:00.037) 0:00:23.033 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-encryption.yml:22 Wednesday 06 July 2022 17:17:56 +0000 (0:00:00.034) 0:00:23.068 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:62 Wednesday 06 July 2022 17:17:56 +0000 (0:00:00.037) 0:00:23.105 ******** included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-vdo.yml for /cache/centos-9.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-vdo.yml:1 Wednesday 06 July 2022 17:17:56 +0000 (0:00:00.051) 0:00:23.157 ******** included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 17:17:56 +0000 (0:00:00.049) 0:00:23.206 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 17:17:56 +0000 (0:00:00.030) 0:00:23.236 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 17:17:56 +0000 (0:00:00.025) 0:00:23.262 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 17:17:56 +0000 (0:00:00.026) 0:00:23.289 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 17:17:56 +0000 (0:00:00.026) 0:00:23.315 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 17:17:56 +0000 (0:00:00.026) 0:00:23.341 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 17:17:56 +0000 (0:00:00.024) 0:00:23.366 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 17:17:57 +0000 (0:00:00.024) 0:00:23.391 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:65 Wednesday 06 July 2022 17:17:57 +0000 (0:00:00.035) 0:00:23.426 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-volumes.yml:3 Wednesday 06 July 2022 17:17:57 +0000 (0:00:00.037) 0:00:23.464 ******** included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml:2 Wednesday 06 July 2022 17:17:57 +0000 (0:00:00.045) 0:00:23.509 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml:10 Wednesday 06 July 2022 17:17:57 +0000 (0:00:00.053) 0:00:23.563 ******** included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml for /cache/centos-9.qcow2.snap => (item=mount) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml for /cache/centos-9.qcow2.snap => (item=fstab) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fs.yml for /cache/centos-9.qcow2.snap => (item=fs) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml for /cache/centos-9.qcow2.snap => (item=device) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml for /cache/centos-9.qcow2.snap => (item=encryption) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml for /cache/centos-9.qcow2.snap => (item=md) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml for /cache/centos-9.qcow2.snap => (item=size) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml for /cache/centos-9.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 17:17:57 +0000 (0:00:00.089) 0:00:23.652 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:10 Wednesday 06 July 2022 17:17:57 +0000 (0:00:00.042) 0:00:23.695 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 770146, "block_size": 4096, "block_total": 783872, "block_used": 13726, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 1572861, "inode_total": 1572864, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 3154518016, "size_total": 3210739712, "uuid": "06d88a4e-d0ae-4fc6-af7c-7d4bae111e51" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 770146, "block_size": 4096, "block_total": 783872, "block_used": 13726, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 1572861, "inode_total": 1572864, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 3154518016, "size_total": 3210739712, "uuid": "06d88a4e-d0ae-4fc6-af7c-7d4bae111e51" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:20 Wednesday 06 July 2022 17:17:57 +0000 (0:00:00.058) 0:00:23.753 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:29 Wednesday 06 July 2022 17:17:57 +0000 (0:00:00.053) 0:00:23.806 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 17:17:57 +0000 (0:00:00.055) 0:00:23.862 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:46 Wednesday 06 July 2022 17:17:57 +0000 (0:00:00.054) 0:00:23.917 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:50 Wednesday 06 July 2022 17:17:57 +0000 (0:00:00.026) 0:00:23.943 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:55 Wednesday 06 July 2022 17:17:57 +0000 (0:00:00.026) 0:00:23.969 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:65 Wednesday 06 July 2022 17:17:57 +0000 (0:00:00.025) 0:00:23.995 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 17:17:57 +0000 (0:00:00.110) 0:00:24.105 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:12 Wednesday 06 July 2022 17:17:57 +0000 (0:00:00.064) 0:00:24.169 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:19 Wednesday 06 July 2022 17:17:57 +0000 (0:00:00.061) 0:00:24.231 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 17:17:57 +0000 (0:00:00.066) 0:00:24.297 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:34 Wednesday 06 July 2022 17:17:57 +0000 (0:00:00.048) 0:00:24.346 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 17:17:57 +0000 (0:00:00.038) 0:00:24.384 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 17:17:58 +0000 (0:00:00.038) 0:00:24.422 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:4 Wednesday 06 July 2022 17:17:58 +0000 (0:00:00.039) 0:00:24.462 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1657127867.673469, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657127867.673469, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 668, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657127867.673469, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:10 Wednesday 06 July 2022 17:17:58 +0000 (0:00:00.382) 0:00:24.845 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:15 Wednesday 06 July 2022 17:17:58 +0000 (0:00:00.039) 0:00:24.884 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:21 Wednesday 06 July 2022 17:17:58 +0000 (0:00:00.042) 0:00:24.926 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:25 Wednesday 06 July 2022 17:17:58 +0000 (0:00:00.037) 0:00:24.963 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:30 Wednesday 06 July 2022 17:17:58 +0000 (0:00:00.025) 0:00:24.988 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 17:17:58 +0000 (0:00:00.041) 0:00:25.030 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 17:17:58 +0000 (0:00:00.026) 0:00:25.056 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 17:17:59 +0000 (0:00:00.858) 0:00:25.914 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 17:17:59 +0000 (0:00:00.024) 0:00:25.939 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:27 Wednesday 06 July 2022 17:17:59 +0000 (0:00:00.025) 0:00:25.965 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:33 Wednesday 06 July 2022 17:17:59 +0000 (0:00:00.051) 0:00:26.016 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:39 Wednesday 06 July 2022 17:17:59 +0000 (0:00:00.024) 0:00:26.040 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 17:17:59 +0000 (0:00:00.025) 0:00:26.066 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:50 Wednesday 06 July 2022 17:17:59 +0000 (0:00:00.024) 0:00:26.090 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:56 Wednesday 06 July 2022 17:17:59 +0000 (0:00:00.024) 0:00:26.115 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:62 Wednesday 06 July 2022 17:17:59 +0000 (0:00:00.027) 0:00:26.143 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 17:17:59 +0000 (0:00:00.050) 0:00:26.193 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:72 Wednesday 06 July 2022 17:17:59 +0000 (0:00:00.086) 0:00:26.280 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:78 Wednesday 06 July 2022 17:17:59 +0000 (0:00:00.039) 0:00:26.319 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:84 Wednesday 06 July 2022 17:18:00 +0000 (0:00:00.074) 0:00:26.393 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:90 Wednesday 06 July 2022 17:18:00 +0000 (0:00:00.044) 0:00:26.438 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:7 Wednesday 06 July 2022 17:18:00 +0000 (0:00:00.038) 0:00:26.477 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:13 Wednesday 06 July 2022 17:18:00 +0000 (0:00:00.040) 0:00:26.517 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:17 Wednesday 06 July 2022 17:18:00 +0000 (0:00:00.041) 0:00:26.558 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:21 Wednesday 06 July 2022 17:18:00 +0000 (0:00:00.039) 0:00:26.598 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:25 Wednesday 06 July 2022 17:18:00 +0000 (0:00:00.039) 0:00:26.637 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:31 Wednesday 06 July 2022 17:18:00 +0000 (0:00:00.041) 0:00:26.678 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:37 Wednesday 06 July 2022 17:18:00 +0000 (0:00:00.039) 0:00:26.718 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:3 Wednesday 06 July 2022 17:18:00 +0000 (0:00:00.038) 0:00:26.757 ******** ok: [/cache/centos-9.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:9 Wednesday 06 July 2022 17:18:00 +0000 (0:00:00.479) 0:00:27.237 ******** ok: [/cache/centos-9.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:15 Wednesday 06 July 2022 17:18:01 +0000 (0:00:00.399) 0:00:27.637 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "3221225472" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:20 Wednesday 06 July 2022 17:18:01 +0000 (0:00:00.054) 0:00:27.691 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:25 Wednesday 06 July 2022 17:18:01 +0000 (0:00:00.037) 0:00:27.729 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:28 Wednesday 06 July 2022 17:18:01 +0000 (0:00:00.039) 0:00:27.769 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:31 Wednesday 06 July 2022 17:18:01 +0000 (0:00:00.038) 0:00:27.808 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:36 Wednesday 06 July 2022 17:18:01 +0000 (0:00:00.039) 0:00:27.847 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:39 Wednesday 06 July 2022 17:18:01 +0000 (0:00:00.040) 0:00:27.888 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:44 Wednesday 06 July 2022 17:18:01 +0000 (0:00:00.036) 0:00:27.925 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_actual_size": { "bytes": 3221225472, "changed": false, "failed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:47 Wednesday 06 July 2022 17:18:01 +0000 (0:00:00.036) 0:00:27.961 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:50 Wednesday 06 July 2022 17:18:01 +0000 (0:00:00.036) 0:00:27.998 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 17:18:01 +0000 (0:00:00.049) 0:00:28.048 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.042744", "end": "2022-07-06 13:18:01.834777", "rc": 0, "start": "2022-07-06 13:18:01.792033" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 17:18:02 +0000 (0:00:00.433) 0:00:28.482 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 17:18:02 +0000 (0:00:00.053) 0:00:28.536 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 17:18:02 +0000 (0:00:00.050) 0:00:28.586 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 17:18:02 +0000 (0:00:00.038) 0:00:28.624 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 17:18:02 +0000 (0:00:00.036) 0:00:28.661 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 17:18:02 +0000 (0:00:00.035) 0:00:28.697 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml:16 Wednesday 06 July 2022 17:18:02 +0000 (0:00:00.035) 0:00:28.732 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:40 Wednesday 06 July 2022 17:18:02 +0000 (0:00:00.070) 0:00:28.803 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_pool": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:47 Wednesday 06 July 2022 17:18:02 +0000 (0:00:00.075) 0:00:28.878 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:57 Wednesday 06 July 2022 17:18:02 +0000 (0:00:00.022) 0:00:28.901 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null, "storage_test_volume": null }, "changed": false } TASK [Change the mount location to "/opt/test2"] ******************************* task path: /tmp/tmpaxpydj_h/tests/storage/tests_change_mount.yml:41 Wednesday 06 July 2022 17:18:02 +0000 (0:00:00.066) 0:00:28.968 ******** TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Wednesday 06 July 2022 17:18:02 +0000 (0:00:00.076) 0:00:29.044 ******** included: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/centos-9.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 17:18:02 +0000 (0:00:00.037) 0:00:29.082 ******** ok: [/cache/centos-9.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Wednesday 06 July 2022 17:18:03 +0000 (0:00:00.516) 0:00:29.598 ******** skipping: [/cache/centos-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-9.qcow2.snap] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-9.qcow2.snap] => (item=CentOS_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } ok: [/cache/centos-9.qcow2.snap] => (item=CentOS_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Wednesday 06 July 2022 17:18:03 +0000 (0:00:00.077) 0:00:29.676 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Wednesday 06 July 2022 17:18:03 +0000 (0:00:00.036) 0:00:29.712 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Wednesday 06 July 2022 17:18:03 +0000 (0:00:00.035) 0:00:29.748 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/centos-9.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 17:18:03 +0000 (0:00:00.058) 0:00:29.807 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 17:18:03 +0000 (0:00:00.022) 0:00:29.829 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Wednesday 06 July 2022 17:18:03 +0000 (0:00:00.029) 0:00:29.858 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_pools": [ { "disks": [ "nvme1n1" ], "name": "foo", "volumes": [ { "mount_point": "/opt/test2", "name": "test1", "size": "3g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Wednesday 06 July 2022 17:18:03 +0000 (0:00:00.041) 0:00:29.900 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Wednesday 06 July 2022 17:18:03 +0000 (0:00:00.036) 0:00:29.937 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Wednesday 06 July 2022 17:18:03 +0000 (0:00:00.028) 0:00:29.965 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Wednesday 06 July 2022 17:18:03 +0000 (0:00:00.026) 0:00:29.992 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Wednesday 06 July 2022 17:18:03 +0000 (0:00:00.029) 0:00:30.021 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Wednesday 06 July 2022 17:18:03 +0000 (0:00:00.029) 0:00:30.051 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 17:18:03 +0000 (0:00:00.061) 0:00:30.112 ******** TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Wednesday 06 July 2022 17:18:03 +0000 (0:00:00.025) 0:00:30.138 ******** ok: [/cache/centos-9.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdc", "/dev/sdb", "/dev/nvme0n1", "/dev/mapper/foo-test1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "path": "/opt/test1", "state": "absent" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "xfsprogs", "e2fsprogs", "lvm2" ], "pools": [ { "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Wednesday 06 July 2022 17:18:05 +0000 (0:00:01.434) 0:00:31.572 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Wednesday 06 July 2022 17:18:05 +0000 (0:00:00.038) 0:00:31.611 ******** TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Wednesday 06 July 2022 17:18:05 +0000 (0:00:00.023) 0:00:31.635 ******** ok: [/cache/centos-9.qcow2.snap] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdc", "/dev/sdb", "/dev/nvme0n1", "/dev/mapper/foo-test1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "path": "/opt/test1", "state": "absent" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "xfsprogs", "e2fsprogs", "lvm2" ], "pools": [ { "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Wednesday 06 July 2022 17:18:05 +0000 (0:00:00.086) 0:00:31.721 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Wednesday 06 July 2022 17:18:05 +0000 (0:00:00.129) 0:00:31.850 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Wednesday 06 July 2022 17:18:05 +0000 (0:00:00.037) 0:00:31.888 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-9.qcow2.snap] => (item={'path': '/opt/test1', 'state': 'absent'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "mount_info": { "path": "/opt/test1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Wednesday 06 July 2022 17:18:05 +0000 (0:00:00.426) 0:00:32.315 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Wednesday 06 July 2022 17:18:06 +0000 (0:00:00.699) 0:00:33.014 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-9.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test2', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test2", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Wednesday 06 July 2022 17:18:07 +0000 (0:00:00.427) 0:00:33.441 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Wednesday 06 July 2022 17:18:07 +0000 (0:00:00.709) 0:00:34.151 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1657114115.7373767, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1654524050.107, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4194436, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1654523851.529, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "610860986", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Wednesday 06 July 2022 17:18:08 +0000 (0:00:00.389) 0:00:34.540 ******** TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Wednesday 06 July 2022 17:18:08 +0000 (0:00:00.025) 0:00:34.565 ******** ok: [/cache/centos-9.qcow2.snap] META: role_complete for /cache/centos-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/tests_change_mount.yml:53 Wednesday 06 July 2022 17:18:09 +0000 (0:00:00.948) 0:00:35.514 ******** included: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml for /cache/centos-9.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:1 Wednesday 06 July 2022 17:18:09 +0000 (0:00:00.046) 0:00:35.560 ******** ok: [/cache/centos-9.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:6 Wednesday 06 July 2022 17:18:09 +0000 (0:00:00.084) 0:00:35.645 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:14 Wednesday 06 July 2022 17:18:09 +0000 (0:00:00.036) 0:00:35.682 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test1", "size": "3G", "type": "lvm", "uuid": "06d88a4e-d0ae-4fc6-af7c-7d4bae111e51" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "LVM2_member", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "6gwICS-GVxa-yqkq-m1GZ-T4rD-RMNX-qlH7Qr" }, "/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-06-17-17-19-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "10G", "type": "partition", "uuid": "4a8e5519-5f4a-41ef-bec6-391aaa7a9737" }, "/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": "7e2b11b8-7ad7-4ea1-8ccb-c55a9090cba2" }, "/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": "8ea8e052-f2d2-4f4b-8ff7-0b4eb5686df5" }, "/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/tmpaxpydj_h/tests/storage/verify-role-results.yml:19 Wednesday 06 July 2022 17:18:09 +0000 (0:00:00.369) 0:00:36.052 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003108", "end": "2022-07-06 13:18:09.817386", "rc": 0, "start": "2022-07-06 13:18:09.814278" } STDOUT: # # /etc/fstab # Created by anaconda on Mon Jun 6 13:57:31 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=4a8e5519-5f4a-41ef-bec6-391aaa7a9737 / xfs defaults 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 /dev/mapper/foo-test1 /opt/test2 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:24 Wednesday 06 July 2022 17:18:10 +0000 (0:00:00.405) 0:00:36.457 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003453", "end": "2022-07-06 13:18:10.242736", "failed_when_result": false, "rc": 0, "start": "2022-07-06 13:18:10.239283" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:33 Wednesday 06 July 2022 17:18:10 +0000 (0:00:00.428) 0:00:36.886 ******** [WARNING]: The loop variable 'storage_test_pool' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool.yml for /cache/centos-9.qcow2.snap => (item={'disks': ['nvme1n1'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['nvme1n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool.yml:5 Wednesday 06 July 2022 17:18:10 +0000 (0:00:00.061) 0:00:36.947 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool.yml:18 Wednesday 06 July 2022 17:18:10 +0000 (0:00:00.104) 0:00:37.052 ******** included: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml for /cache/centos-9.qcow2.snap => (item=members) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-volumes.yml for /cache/centos-9.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:1 Wednesday 06 July 2022 17:18:10 +0000 (0:00:00.048) 0:00:37.101 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/nvme1n1" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:6 Wednesday 06 July 2022 17:18:10 +0000 (0:00:00.058) 0:00:37.159 ******** ok: [/cache/centos-9.qcow2.snap] => (item=/dev/nvme1n1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/nvme1n1", "pv": "/dev/nvme1n1" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:15 Wednesday 06 July 2022 17:18:11 +0000 (0:00:00.383) 0:00:37.543 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:19 Wednesday 06 July 2022 17:18:11 +0000 (0:00:00.052) 0:00:37.595 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/nvme1n1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:23 Wednesday 06 July 2022 17:18:11 +0000 (0:00:00.054) 0:00:37.649 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:29 Wednesday 06 July 2022 17:18:11 +0000 (0:00:00.052) 0:00:37.702 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:33 Wednesday 06 July 2022 17:18:11 +0000 (0:00:00.040) 0:00:37.742 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:37 Wednesday 06 July 2022 17:18:11 +0000 (0:00:00.051) 0:00:37.793 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:41 Wednesday 06 July 2022 17:18:11 +0000 (0:00:00.024) 0:00:37.817 ******** ok: [/cache/centos-9.qcow2.snap] => (item=/dev/nvme1n1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/nvme1n1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:50 Wednesday 06 July 2022 17:18:11 +0000 (0:00:00.043) 0:00:37.860 ******** included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-md.yml for /cache/centos-9.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-md.yml:6 Wednesday 06 July 2022 17:18:11 +0000 (0:00:00.043) 0:00:37.904 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-md.yml:12 Wednesday 06 July 2022 17:18:11 +0000 (0:00:00.028) 0:00:37.932 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-md.yml:16 Wednesday 06 July 2022 17:18:11 +0000 (0:00:00.027) 0:00:37.960 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-md.yml:20 Wednesday 06 July 2022 17:18:11 +0000 (0:00:00.026) 0:00:37.986 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-md.yml:24 Wednesday 06 July 2022 17:18:11 +0000 (0:00:00.027) 0:00:38.013 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-md.yml:30 Wednesday 06 July 2022 17:18:11 +0000 (0:00:00.025) 0:00:38.038 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-md.yml:36 Wednesday 06 July 2022 17:18:11 +0000 (0:00:00.026) 0:00:38.065 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-md.yml:44 Wednesday 06 July 2022 17:18:11 +0000 (0:00:00.027) 0:00:38.093 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:53 Wednesday 06 July 2022 17:18:11 +0000 (0:00:00.041) 0:00:38.135 ******** included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-lvmraid.yml for /cache/centos-9.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-lvmraid.yml:1 Wednesday 06 July 2022 17:18:11 +0000 (0:00:00.046) 0:00:38.182 ******** included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-lvmraid.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['nvme1n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 17:18:11 +0000 (0:00:00.045) 0:00:38.227 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 17:18:11 +0000 (0:00:00.032) 0:00:38.259 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 17:18:11 +0000 (0:00:00.030) 0:00:38.290 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:56 Wednesday 06 July 2022 17:18:11 +0000 (0:00:00.029) 0:00:38.319 ******** included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-thin.yml for /cache/centos-9.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-thin.yml:1 Wednesday 06 July 2022 17:18:11 +0000 (0:00:00.044) 0:00:38.364 ******** included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-thin.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['nvme1n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 17:18:12 +0000 (0:00:00.042) 0:00:38.407 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 17:18:12 +0000 (0:00:00.027) 0:00:38.434 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 17:18:12 +0000 (0:00:00.027) 0:00:38.461 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 17:18:12 +0000 (0:00:00.028) 0:00:38.490 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:59 Wednesday 06 July 2022 17:18:12 +0000 (0:00:00.026) 0:00:38.517 ******** included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-encryption.yml for /cache/centos-9.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-encryption.yml:4 Wednesday 06 July 2022 17:18:12 +0000 (0:00:00.100) 0:00:38.617 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-encryption.yml:8 Wednesday 06 July 2022 17:18:12 +0000 (0:00:00.050) 0:00:38.667 ******** skipping: [/cache/centos-9.qcow2.snap] => (item=/dev/nvme1n1) => { "_storage_test_pool_member_path": "/dev/nvme1n1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-encryption.yml:15 Wednesday 06 July 2022 17:18:12 +0000 (0:00:00.028) 0:00:38.696 ******** included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-crypttab.yml for /cache/centos-9.qcow2.snap => (item=/dev/nvme1n1) TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-crypttab.yml:1 Wednesday 06 July 2022 17:18:12 +0000 (0:00:00.042) 0:00:38.739 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-crypttab.yml:4 Wednesday 06 July 2022 17:18:12 +0000 (0:00:00.050) 0:00:38.789 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-crypttab.yml:9 Wednesday 06 July 2022 17:18:12 +0000 (0:00:00.056) 0:00:38.845 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-crypttab.yml:15 Wednesday 06 July 2022 17:18:12 +0000 (0:00:00.040) 0:00:38.886 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-crypttab.yml:21 Wednesday 06 July 2022 17:18:12 +0000 (0:00:00.038) 0:00:38.925 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-crypttab.yml:27 Wednesday 06 July 2022 17:18:12 +0000 (0:00:00.035) 0:00:38.961 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-encryption.yml:22 Wednesday 06 July 2022 17:18:12 +0000 (0:00:00.036) 0:00:38.997 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:62 Wednesday 06 July 2022 17:18:12 +0000 (0:00:00.033) 0:00:39.030 ******** included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-vdo.yml for /cache/centos-9.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-vdo.yml:1 Wednesday 06 July 2022 17:18:12 +0000 (0:00:00.047) 0:00:39.077 ******** included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['nvme1n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 17:18:12 +0000 (0:00:00.046) 0:00:39.124 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 17:18:12 +0000 (0:00:00.026) 0:00:39.150 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 17:18:12 +0000 (0:00:00.031) 0:00:39.181 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 17:18:12 +0000 (0:00:00.025) 0:00:39.206 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 17:18:12 +0000 (0:00:00.027) 0:00:39.233 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 17:18:12 +0000 (0:00:00.025) 0:00:39.259 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 17:18:12 +0000 (0:00:00.028) 0:00:39.288 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 17:18:12 +0000 (0:00:00.027) 0:00:39.315 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:65 Wednesday 06 July 2022 17:18:12 +0000 (0:00:00.036) 0:00:39.351 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-volumes.yml:3 Wednesday 06 July 2022 17:18:13 +0000 (0:00:00.038) 0:00:39.389 ******** [WARNING]: The loop variable 'storage_test_volume' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['nvme1n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml:2 Wednesday 06 July 2022 17:18:13 +0000 (0:00:00.049) 0:00:39.438 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml:10 Wednesday 06 July 2022 17:18:13 +0000 (0:00:00.050) 0:00:39.489 ******** included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml for /cache/centos-9.qcow2.snap => (item=mount) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml for /cache/centos-9.qcow2.snap => (item=fstab) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fs.yml for /cache/centos-9.qcow2.snap => (item=fs) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml for /cache/centos-9.qcow2.snap => (item=device) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml for /cache/centos-9.qcow2.snap => (item=encryption) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml for /cache/centos-9.qcow2.snap => (item=md) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml for /cache/centos-9.qcow2.snap => (item=size) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml for /cache/centos-9.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 17:18:13 +0000 (0:00:00.091) 0:00:39.581 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:10 Wednesday 06 July 2022 17:18:13 +0000 (0:00:00.044) 0:00:39.625 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 770146, "block_size": 4096, "block_total": 783872, "block_used": 13726, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 1572861, "inode_total": 1572864, "inode_used": 3, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 3154518016, "size_total": 3210739712, "uuid": "06d88a4e-d0ae-4fc6-af7c-7d4bae111e51" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 770146, "block_size": 4096, "block_total": 783872, "block_used": 13726, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 1572861, "inode_total": 1572864, "inode_used": 3, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 3154518016, "size_total": 3210739712, "uuid": "06d88a4e-d0ae-4fc6-af7c-7d4bae111e51" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:20 Wednesday 06 July 2022 17:18:13 +0000 (0:00:00.061) 0:00:39.687 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:29 Wednesday 06 July 2022 17:18:13 +0000 (0:00:00.058) 0:00:39.745 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 17:18:13 +0000 (0:00:00.053) 0:00:39.799 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:46 Wednesday 06 July 2022 17:18:13 +0000 (0:00:00.051) 0:00:39.851 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:50 Wednesday 06 July 2022 17:18:13 +0000 (0:00:00.026) 0:00:39.877 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:55 Wednesday 06 July 2022 17:18:13 +0000 (0:00:00.026) 0:00:39.904 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:65 Wednesday 06 July 2022 17:18:13 +0000 (0:00:00.026) 0:00:39.931 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 17:18:13 +0000 (0:00:00.084) 0:00:40.016 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test2 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test2 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:12 Wednesday 06 July 2022 17:18:13 +0000 (0:00:00.063) 0:00:40.079 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:19 Wednesday 06 July 2022 17:18:13 +0000 (0:00:00.050) 0:00:40.130 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 17:18:13 +0000 (0:00:00.051) 0:00:40.182 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:34 Wednesday 06 July 2022 17:18:13 +0000 (0:00:00.039) 0:00:40.221 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 17:18:13 +0000 (0:00:00.037) 0:00:40.259 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 17:18:13 +0000 (0:00:00.043) 0:00:40.302 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:4 Wednesday 06 July 2022 17:18:13 +0000 (0:00:00.039) 0:00:40.342 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1657127867.673469, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657127867.673469, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 668, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657127867.673469, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:10 Wednesday 06 July 2022 17:18:14 +0000 (0:00:00.382) 0:00:40.725 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:15 Wednesday 06 July 2022 17:18:14 +0000 (0:00:00.039) 0:00:40.764 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:21 Wednesday 06 July 2022 17:18:14 +0000 (0:00:00.039) 0:00:40.804 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:25 Wednesday 06 July 2022 17:18:14 +0000 (0:00:00.035) 0:00:40.839 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:30 Wednesday 06 July 2022 17:18:14 +0000 (0:00:00.023) 0:00:40.862 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 17:18:14 +0000 (0:00:00.038) 0:00:40.901 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 17:18:14 +0000 (0:00:00.024) 0:00:40.925 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 17:18:15 +0000 (0:00:00.884) 0:00:41.810 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 17:18:15 +0000 (0:00:00.024) 0:00:41.835 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:27 Wednesday 06 July 2022 17:18:15 +0000 (0:00:00.024) 0:00:41.860 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:33 Wednesday 06 July 2022 17:18:15 +0000 (0:00:00.055) 0:00:41.915 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:39 Wednesday 06 July 2022 17:18:15 +0000 (0:00:00.025) 0:00:41.941 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 17:18:15 +0000 (0:00:00.024) 0:00:41.965 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:50 Wednesday 06 July 2022 17:18:15 +0000 (0:00:00.023) 0:00:41.989 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:56 Wednesday 06 July 2022 17:18:15 +0000 (0:00:00.024) 0:00:42.014 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:62 Wednesday 06 July 2022 17:18:15 +0000 (0:00:00.024) 0:00:42.038 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 17:18:15 +0000 (0:00:00.085) 0:00:42.124 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:72 Wednesday 06 July 2022 17:18:15 +0000 (0:00:00.051) 0:00:42.175 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:78 Wednesday 06 July 2022 17:18:15 +0000 (0:00:00.035) 0:00:42.211 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:84 Wednesday 06 July 2022 17:18:15 +0000 (0:00:00.035) 0:00:42.246 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:90 Wednesday 06 July 2022 17:18:15 +0000 (0:00:00.036) 0:00:42.283 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:7 Wednesday 06 July 2022 17:18:15 +0000 (0:00:00.074) 0:00:42.357 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:13 Wednesday 06 July 2022 17:18:16 +0000 (0:00:00.039) 0:00:42.396 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:17 Wednesday 06 July 2022 17:18:16 +0000 (0:00:00.039) 0:00:42.436 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:21 Wednesday 06 July 2022 17:18:16 +0000 (0:00:00.038) 0:00:42.475 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:25 Wednesday 06 July 2022 17:18:16 +0000 (0:00:00.114) 0:00:42.589 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:31 Wednesday 06 July 2022 17:18:16 +0000 (0:00:00.038) 0:00:42.628 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:37 Wednesday 06 July 2022 17:18:16 +0000 (0:00:00.035) 0:00:42.664 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:3 Wednesday 06 July 2022 17:18:16 +0000 (0:00:00.040) 0:00:42.704 ******** ok: [/cache/centos-9.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:9 Wednesday 06 July 2022 17:18:16 +0000 (0:00:00.385) 0:00:43.090 ******** ok: [/cache/centos-9.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:15 Wednesday 06 July 2022 17:18:17 +0000 (0:00:00.396) 0:00:43.486 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "3221225472" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:20 Wednesday 06 July 2022 17:18:17 +0000 (0:00:00.052) 0:00:43.539 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:25 Wednesday 06 July 2022 17:18:17 +0000 (0:00:00.036) 0:00:43.576 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:28 Wednesday 06 July 2022 17:18:17 +0000 (0:00:00.040) 0:00:43.616 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:31 Wednesday 06 July 2022 17:18:17 +0000 (0:00:00.039) 0:00:43.656 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:36 Wednesday 06 July 2022 17:18:17 +0000 (0:00:00.040) 0:00:43.696 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:39 Wednesday 06 July 2022 17:18:17 +0000 (0:00:00.039) 0:00:43.736 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:44 Wednesday 06 July 2022 17:18:17 +0000 (0:00:00.039) 0:00:43.776 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_actual_size": { "bytes": 3221225472, "changed": false, "failed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:47 Wednesday 06 July 2022 17:18:17 +0000 (0:00:00.043) 0:00:43.819 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:50 Wednesday 06 July 2022 17:18:17 +0000 (0:00:00.042) 0:00:43.862 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 17:18:17 +0000 (0:00:00.055) 0:00:43.918 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.042076", "end": "2022-07-06 13:18:17.697509", "rc": 0, "start": "2022-07-06 13:18:17.655433" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 17:18:17 +0000 (0:00:00.423) 0:00:44.341 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 17:18:18 +0000 (0:00:00.053) 0:00:44.394 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 17:18:18 +0000 (0:00:00.050) 0:00:44.445 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 17:18:18 +0000 (0:00:00.039) 0:00:44.484 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 17:18:18 +0000 (0:00:00.041) 0:00:44.526 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 17:18:18 +0000 (0:00:00.041) 0:00:44.568 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml:16 Wednesday 06 July 2022 17:18:18 +0000 (0:00:00.040) 0:00:44.609 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:40 Wednesday 06 July 2022 17:18:18 +0000 (0:00:00.036) 0:00:44.645 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_pool": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:47 Wednesday 06 July 2022 17:18:18 +0000 (0:00:00.038) 0:00:44.683 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:57 Wednesday 06 July 2022 17:18:18 +0000 (0:00:00.022) 0:00:44.706 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null, "storage_test_volume": null }, "changed": false } TASK [Repeat the previous invocation to verify idempotence] ******************** task path: /tmp/tmpaxpydj_h/tests/storage/tests_change_mount.yml:55 Wednesday 06 July 2022 17:18:18 +0000 (0:00:00.070) 0:00:44.776 ******** TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Wednesday 06 July 2022 17:18:18 +0000 (0:00:00.056) 0:00:44.833 ******** included: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/centos-9.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 17:18:18 +0000 (0:00:00.046) 0:00:44.879 ******** ok: [/cache/centos-9.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Wednesday 06 July 2022 17:18:19 +0000 (0:00:00.579) 0:00:45.459 ******** skipping: [/cache/centos-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-9.qcow2.snap] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-9.qcow2.snap] => (item=CentOS_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } ok: [/cache/centos-9.qcow2.snap] => (item=CentOS_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Wednesday 06 July 2022 17:18:19 +0000 (0:00:00.077) 0:00:45.536 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Wednesday 06 July 2022 17:18:19 +0000 (0:00:00.046) 0:00:45.582 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Wednesday 06 July 2022 17:18:19 +0000 (0:00:00.037) 0:00:45.620 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/centos-9.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 17:18:19 +0000 (0:00:00.059) 0:00:45.680 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 17:18:19 +0000 (0:00:00.022) 0:00:45.703 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Wednesday 06 July 2022 17:18:19 +0000 (0:00:00.031) 0:00:45.735 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_pools": [ { "disks": [ "nvme1n1" ], "name": "foo", "volumes": [ { "mount_point": "/opt/test2", "name": "test1", "size": "3g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Wednesday 06 July 2022 17:18:19 +0000 (0:00:00.042) 0:00:45.778 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Wednesday 06 July 2022 17:18:19 +0000 (0:00:00.040) 0:00:45.818 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Wednesday 06 July 2022 17:18:19 +0000 (0:00:00.031) 0:00:45.850 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Wednesday 06 July 2022 17:18:19 +0000 (0:00:00.029) 0:00:45.879 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Wednesday 06 July 2022 17:18:19 +0000 (0:00:00.031) 0:00:45.911 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Wednesday 06 July 2022 17:18:19 +0000 (0:00:00.030) 0:00:45.942 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 17:18:19 +0000 (0:00:00.063) 0:00:46.006 ******** TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Wednesday 06 July 2022 17:18:19 +0000 (0:00:00.025) 0:00:46.031 ******** ok: [/cache/centos-9.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdc", "/dev/sdb", "/dev/nvme0n1", "/dev/mapper/foo-test1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "lvm2", "xfsprogs", "e2fsprogs" ], "pools": [ { "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Wednesday 06 July 2022 17:18:21 +0000 (0:00:01.434) 0:00:47.465 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Wednesday 06 July 2022 17:18:21 +0000 (0:00:00.038) 0:00:47.503 ******** TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Wednesday 06 July 2022 17:18:21 +0000 (0:00:00.022) 0:00:47.526 ******** ok: [/cache/centos-9.qcow2.snap] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdc", "/dev/sdb", "/dev/nvme0n1", "/dev/mapper/foo-test1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "lvm2", "xfsprogs", "e2fsprogs" ], "pools": [ { "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Wednesday 06 July 2022 17:18:21 +0000 (0:00:00.040) 0:00:47.567 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Wednesday 06 July 2022 17:18:21 +0000 (0:00:00.041) 0:00:47.608 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Wednesday 06 July 2022 17:18:21 +0000 (0:00:00.063) 0:00:47.672 ******** TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Wednesday 06 July 2022 17:18:21 +0000 (0:00:00.041) 0:00:47.713 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Wednesday 06 July 2022 17:18:22 +0000 (0:00:00.739) 0:00:48.453 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/centos-9.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test2', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test2", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Wednesday 06 July 2022 17:18:22 +0000 (0:00:00.434) 0:00:48.887 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Wednesday 06 July 2022 17:18:23 +0000 (0:00:00.716) 0:00:49.603 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1657114115.7373767, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1654524050.107, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4194436, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1654523851.529, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "610860986", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Wednesday 06 July 2022 17:18:23 +0000 (0:00:00.403) 0:00:50.007 ******** TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Wednesday 06 July 2022 17:18:23 +0000 (0:00:00.023) 0:00:50.030 ******** ok: [/cache/centos-9.qcow2.snap] META: role_complete for /cache/centos-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/tests_change_mount.yml:67 Wednesday 06 July 2022 17:18:24 +0000 (0:00:00.967) 0:00:50.997 ******** included: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml for /cache/centos-9.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:1 Wednesday 06 July 2022 17:18:24 +0000 (0:00:00.047) 0:00:51.045 ******** ok: [/cache/centos-9.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:6 Wednesday 06 July 2022 17:18:24 +0000 (0:00:00.055) 0:00:51.101 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:14 Wednesday 06 July 2022 17:18:24 +0000 (0:00:00.038) 0:00:51.139 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test1", "size": "3G", "type": "lvm", "uuid": "06d88a4e-d0ae-4fc6-af7c-7d4bae111e51" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "LVM2_member", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "6gwICS-GVxa-yqkq-m1GZ-T4rD-RMNX-qlH7Qr" }, "/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-06-17-17-19-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "10G", "type": "partition", "uuid": "4a8e5519-5f4a-41ef-bec6-391aaa7a9737" }, "/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": "7e2b11b8-7ad7-4ea1-8ccb-c55a9090cba2" }, "/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": "8ea8e052-f2d2-4f4b-8ff7-0b4eb5686df5" }, "/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/tmpaxpydj_h/tests/storage/verify-role-results.yml:19 Wednesday 06 July 2022 17:18:25 +0000 (0:00:00.384) 0:00:51.524 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:01.004455", "end": "2022-07-06 13:18:26.269866", "rc": 0, "start": "2022-07-06 13:18:25.265411" } STDOUT: # # /etc/fstab # Created by anaconda on Mon Jun 6 13:57:31 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=4a8e5519-5f4a-41ef-bec6-391aaa7a9737 / xfs defaults 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 /dev/mapper/foo-test1 /opt/test2 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:24 Wednesday 06 July 2022 17:18:26 +0000 (0:00:01.391) 0:00:52.916 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003110", "end": "2022-07-06 13:18:26.655311", "failed_when_result": false, "rc": 0, "start": "2022-07-06 13:18:26.652201" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:33 Wednesday 06 July 2022 17:18:26 +0000 (0:00:00.380) 0:00:53.296 ******** [WARNING]: The loop variable 'storage_test_pool' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool.yml for /cache/centos-9.qcow2.snap => (item={'disks': ['nvme1n1'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['nvme1n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool.yml:5 Wednesday 06 July 2022 17:18:26 +0000 (0:00:00.061) 0:00:53.357 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool.yml:18 Wednesday 06 July 2022 17:18:27 +0000 (0:00:00.071) 0:00:53.429 ******** included: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml for /cache/centos-9.qcow2.snap => (item=members) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-volumes.yml for /cache/centos-9.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:1 Wednesday 06 July 2022 17:18:27 +0000 (0:00:00.050) 0:00:53.480 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/nvme1n1" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:6 Wednesday 06 July 2022 17:18:27 +0000 (0:00:00.090) 0:00:53.570 ******** ok: [/cache/centos-9.qcow2.snap] => (item=/dev/nvme1n1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/nvme1n1", "pv": "/dev/nvme1n1" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:15 Wednesday 06 July 2022 17:18:27 +0000 (0:00:00.405) 0:00:53.975 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:19 Wednesday 06 July 2022 17:18:27 +0000 (0:00:00.080) 0:00:54.056 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/nvme1n1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:23 Wednesday 06 July 2022 17:18:27 +0000 (0:00:00.100) 0:00:54.157 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:29 Wednesday 06 July 2022 17:18:27 +0000 (0:00:00.054) 0:00:54.211 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:33 Wednesday 06 July 2022 17:18:27 +0000 (0:00:00.053) 0:00:54.265 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:37 Wednesday 06 July 2022 17:18:27 +0000 (0:00:00.051) 0:00:54.316 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:41 Wednesday 06 July 2022 17:18:27 +0000 (0:00:00.025) 0:00:54.341 ******** ok: [/cache/centos-9.qcow2.snap] => (item=/dev/nvme1n1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/nvme1n1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:50 Wednesday 06 July 2022 17:18:28 +0000 (0:00:00.045) 0:00:54.387 ******** included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-md.yml for /cache/centos-9.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-md.yml:6 Wednesday 06 July 2022 17:18:28 +0000 (0:00:00.045) 0:00:54.433 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-md.yml:12 Wednesday 06 July 2022 17:18:28 +0000 (0:00:00.026) 0:00:54.459 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-md.yml:16 Wednesday 06 July 2022 17:18:28 +0000 (0:00:00.026) 0:00:54.486 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-md.yml:20 Wednesday 06 July 2022 17:18:28 +0000 (0:00:00.027) 0:00:54.513 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-md.yml:24 Wednesday 06 July 2022 17:18:28 +0000 (0:00:00.025) 0:00:54.539 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-md.yml:30 Wednesday 06 July 2022 17:18:28 +0000 (0:00:00.025) 0:00:54.564 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-md.yml:36 Wednesday 06 July 2022 17:18:28 +0000 (0:00:00.024) 0:00:54.588 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-md.yml:44 Wednesday 06 July 2022 17:18:28 +0000 (0:00:00.024) 0:00:54.612 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:53 Wednesday 06 July 2022 17:18:28 +0000 (0:00:00.035) 0:00:54.647 ******** included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-lvmraid.yml for /cache/centos-9.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-lvmraid.yml:1 Wednesday 06 July 2022 17:18:28 +0000 (0:00:00.043) 0:00:54.691 ******** included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-lvmraid.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['nvme1n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 17:18:28 +0000 (0:00:00.042) 0:00:54.733 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 17:18:28 +0000 (0:00:00.026) 0:00:54.760 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 17:18:28 +0000 (0:00:00.030) 0:00:54.790 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:56 Wednesday 06 July 2022 17:18:28 +0000 (0:00:00.029) 0:00:54.819 ******** included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-thin.yml for /cache/centos-9.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-thin.yml:1 Wednesday 06 July 2022 17:18:28 +0000 (0:00:00.045) 0:00:54.865 ******** included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-thin.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['nvme1n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 17:18:28 +0000 (0:00:00.046) 0:00:54.911 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 17:18:28 +0000 (0:00:00.025) 0:00:54.937 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 17:18:28 +0000 (0:00:00.025) 0:00:54.963 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 17:18:28 +0000 (0:00:00.025) 0:00:54.988 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:59 Wednesday 06 July 2022 17:18:28 +0000 (0:00:00.027) 0:00:55.016 ******** included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-encryption.yml for /cache/centos-9.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-encryption.yml:4 Wednesday 06 July 2022 17:18:28 +0000 (0:00:00.048) 0:00:55.064 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-encryption.yml:8 Wednesday 06 July 2022 17:18:28 +0000 (0:00:00.054) 0:00:55.118 ******** skipping: [/cache/centos-9.qcow2.snap] => (item=/dev/nvme1n1) => { "_storage_test_pool_member_path": "/dev/nvme1n1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-encryption.yml:15 Wednesday 06 July 2022 17:18:28 +0000 (0:00:00.026) 0:00:55.145 ******** included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-crypttab.yml for /cache/centos-9.qcow2.snap => (item=/dev/nvme1n1) TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-crypttab.yml:1 Wednesday 06 July 2022 17:18:28 +0000 (0:00:00.040) 0:00:55.185 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-crypttab.yml:4 Wednesday 06 July 2022 17:18:28 +0000 (0:00:00.049) 0:00:55.235 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-crypttab.yml:9 Wednesday 06 July 2022 17:18:28 +0000 (0:00:00.092) 0:00:55.327 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-crypttab.yml:15 Wednesday 06 July 2022 17:18:28 +0000 (0:00:00.036) 0:00:55.364 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-crypttab.yml:21 Wednesday 06 July 2022 17:18:29 +0000 (0:00:00.076) 0:00:55.440 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-crypttab.yml:27 Wednesday 06 July 2022 17:18:29 +0000 (0:00:00.039) 0:00:55.480 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-encryption.yml:22 Wednesday 06 July 2022 17:18:29 +0000 (0:00:00.038) 0:00:55.518 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:62 Wednesday 06 July 2022 17:18:29 +0000 (0:00:00.038) 0:00:55.557 ******** included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-vdo.yml for /cache/centos-9.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-vdo.yml:1 Wednesday 06 July 2022 17:18:29 +0000 (0:00:00.053) 0:00:55.610 ******** included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['nvme1n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 17:18:29 +0000 (0:00:00.044) 0:00:55.655 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 17:18:29 +0000 (0:00:00.027) 0:00:55.682 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 17:18:29 +0000 (0:00:00.025) 0:00:55.708 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 17:18:29 +0000 (0:00:00.025) 0:00:55.734 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 17:18:29 +0000 (0:00:00.024) 0:00:55.759 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 17:18:29 +0000 (0:00:00.028) 0:00:55.788 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 17:18:29 +0000 (0:00:00.026) 0:00:55.814 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 17:18:29 +0000 (0:00:00.026) 0:00:55.840 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:65 Wednesday 06 July 2022 17:18:29 +0000 (0:00:00.039) 0:00:55.880 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-volumes.yml:3 Wednesday 06 July 2022 17:18:29 +0000 (0:00:00.038) 0:00:55.918 ******** [WARNING]: The loop variable 'storage_test_volume' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['nvme1n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml:2 Wednesday 06 July 2022 17:18:29 +0000 (0:00:00.045) 0:00:55.964 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml:10 Wednesday 06 July 2022 17:18:29 +0000 (0:00:00.058) 0:00:56.022 ******** included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml for /cache/centos-9.qcow2.snap => (item=mount) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml for /cache/centos-9.qcow2.snap => (item=fstab) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fs.yml for /cache/centos-9.qcow2.snap => (item=fs) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml for /cache/centos-9.qcow2.snap => (item=device) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml for /cache/centos-9.qcow2.snap => (item=encryption) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml for /cache/centos-9.qcow2.snap => (item=md) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml for /cache/centos-9.qcow2.snap => (item=size) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml for /cache/centos-9.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 17:18:29 +0000 (0:00:00.089) 0:00:56.112 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:10 Wednesday 06 July 2022 17:18:29 +0000 (0:00:00.041) 0:00:56.154 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 770146, "block_size": 4096, "block_total": 783872, "block_used": 13726, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 1572861, "inode_total": 1572864, "inode_used": 3, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 3154518016, "size_total": 3210739712, "uuid": "06d88a4e-d0ae-4fc6-af7c-7d4bae111e51" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 770146, "block_size": 4096, "block_total": 783872, "block_used": 13726, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 1572861, "inode_total": 1572864, "inode_used": 3, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 3154518016, "size_total": 3210739712, "uuid": "06d88a4e-d0ae-4fc6-af7c-7d4bae111e51" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:20 Wednesday 06 July 2022 17:18:29 +0000 (0:00:00.055) 0:00:56.209 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:29 Wednesday 06 July 2022 17:18:29 +0000 (0:00:00.050) 0:00:56.259 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 17:18:29 +0000 (0:00:00.053) 0:00:56.312 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:46 Wednesday 06 July 2022 17:18:29 +0000 (0:00:00.052) 0:00:56.364 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:50 Wednesday 06 July 2022 17:18:30 +0000 (0:00:00.024) 0:00:56.389 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:55 Wednesday 06 July 2022 17:18:30 +0000 (0:00:00.024) 0:00:56.414 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:65 Wednesday 06 July 2022 17:18:30 +0000 (0:00:00.024) 0:00:56.438 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 17:18:30 +0000 (0:00:00.039) 0:00:56.478 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test2 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test2 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:12 Wednesday 06 July 2022 17:18:30 +0000 (0:00:00.064) 0:00:56.542 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:19 Wednesday 06 July 2022 17:18:30 +0000 (0:00:00.052) 0:00:56.595 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 17:18:30 +0000 (0:00:00.050) 0:00:56.645 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:34 Wednesday 06 July 2022 17:18:30 +0000 (0:00:00.035) 0:00:56.681 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 17:18:30 +0000 (0:00:00.035) 0:00:56.717 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 17:18:30 +0000 (0:00:00.036) 0:00:56.753 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:4 Wednesday 06 July 2022 17:18:30 +0000 (0:00:00.075) 0:00:56.829 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1657127867.673469, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657127867.673469, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 668, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657127867.673469, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:10 Wednesday 06 July 2022 17:18:30 +0000 (0:00:00.416) 0:00:57.246 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:15 Wednesday 06 July 2022 17:18:30 +0000 (0:00:00.040) 0:00:57.287 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:21 Wednesday 06 July 2022 17:18:30 +0000 (0:00:00.041) 0:00:57.328 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:25 Wednesday 06 July 2022 17:18:30 +0000 (0:00:00.039) 0:00:57.368 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:30 Wednesday 06 July 2022 17:18:31 +0000 (0:00:00.028) 0:00:57.396 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 17:18:31 +0000 (0:00:00.041) 0:00:57.438 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 17:18:31 +0000 (0:00:00.024) 0:00:57.463 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 17:18:31 +0000 (0:00:00.883) 0:00:58.346 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 17:18:31 +0000 (0:00:00.026) 0:00:58.373 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:27 Wednesday 06 July 2022 17:18:32 +0000 (0:00:00.027) 0:00:58.400 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:33 Wednesday 06 July 2022 17:18:32 +0000 (0:00:00.054) 0:00:58.454 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:39 Wednesday 06 July 2022 17:18:32 +0000 (0:00:00.028) 0:00:58.483 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 17:18:32 +0000 (0:00:00.028) 0:00:58.512 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:50 Wednesday 06 July 2022 17:18:32 +0000 (0:00:00.027) 0:00:58.540 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:56 Wednesday 06 July 2022 17:18:32 +0000 (0:00:00.026) 0:00:58.566 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:62 Wednesday 06 July 2022 17:18:32 +0000 (0:00:00.027) 0:00:58.594 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 17:18:32 +0000 (0:00:00.053) 0:00:58.648 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:72 Wednesday 06 July 2022 17:18:32 +0000 (0:00:00.046) 0:00:58.694 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:78 Wednesday 06 July 2022 17:18:32 +0000 (0:00:00.034) 0:00:58.729 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:84 Wednesday 06 July 2022 17:18:32 +0000 (0:00:00.038) 0:00:58.767 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:90 Wednesday 06 July 2022 17:18:32 +0000 (0:00:00.043) 0:00:58.811 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:7 Wednesday 06 July 2022 17:18:32 +0000 (0:00:00.040) 0:00:58.852 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:13 Wednesday 06 July 2022 17:18:32 +0000 (0:00:00.039) 0:00:58.891 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:17 Wednesday 06 July 2022 17:18:32 +0000 (0:00:00.040) 0:00:58.932 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:21 Wednesday 06 July 2022 17:18:32 +0000 (0:00:00.042) 0:00:58.974 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:25 Wednesday 06 July 2022 17:18:32 +0000 (0:00:00.035) 0:00:59.009 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:31 Wednesday 06 July 2022 17:18:32 +0000 (0:00:00.038) 0:00:59.048 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:37 Wednesday 06 July 2022 17:18:32 +0000 (0:00:00.038) 0:00:59.087 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:3 Wednesday 06 July 2022 17:18:32 +0000 (0:00:00.045) 0:00:59.132 ******** ok: [/cache/centos-9.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:9 Wednesday 06 July 2022 17:18:33 +0000 (0:00:00.385) 0:00:59.518 ******** ok: [/cache/centos-9.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:15 Wednesday 06 July 2022 17:18:33 +0000 (0:00:00.460) 0:00:59.979 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "3221225472" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:20 Wednesday 06 July 2022 17:18:33 +0000 (0:00:00.087) 0:01:00.066 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:25 Wednesday 06 July 2022 17:18:33 +0000 (0:00:00.077) 0:01:00.144 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:28 Wednesday 06 July 2022 17:18:33 +0000 (0:00:00.088) 0:01:00.233 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:31 Wednesday 06 July 2022 17:18:33 +0000 (0:00:00.040) 0:01:00.273 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:36 Wednesday 06 July 2022 17:18:33 +0000 (0:00:00.037) 0:01:00.311 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:39 Wednesday 06 July 2022 17:18:33 +0000 (0:00:00.038) 0:01:00.349 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:44 Wednesday 06 July 2022 17:18:33 +0000 (0:00:00.035) 0:01:00.384 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_actual_size": { "bytes": 3221225472, "changed": false, "failed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:47 Wednesday 06 July 2022 17:18:34 +0000 (0:00:00.036) 0:01:00.421 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:50 Wednesday 06 July 2022 17:18:34 +0000 (0:00:00.037) 0:01:00.459 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 17:18:34 +0000 (0:00:00.054) 0:01:00.513 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.036504", "end": "2022-07-06 13:18:34.300561", "rc": 0, "start": "2022-07-06 13:18:34.264057" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 17:18:34 +0000 (0:00:00.430) 0:01:00.944 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 17:18:34 +0000 (0:00:00.050) 0:01:00.995 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 17:18:34 +0000 (0:00:00.050) 0:01:01.046 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 17:18:34 +0000 (0:00:00.039) 0:01:01.085 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 17:18:34 +0000 (0:00:00.038) 0:01:01.124 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 17:18:34 +0000 (0:00:00.043) 0:01:01.168 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml:16 Wednesday 06 July 2022 17:18:34 +0000 (0:00:00.039) 0:01:01.207 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:40 Wednesday 06 July 2022 17:18:34 +0000 (0:00:00.038) 0:01:01.246 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_pool": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:47 Wednesday 06 July 2022 17:18:34 +0000 (0:00:00.037) 0:01:01.283 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:57 Wednesday 06 July 2022 17:18:34 +0000 (0:00:00.024) 0:01:01.308 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null, "storage_test_volume": null }, "changed": false } TASK [Clean up] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/tests_change_mount.yml:69 Wednesday 06 July 2022 17:18:34 +0000 (0:00:00.034) 0:01:01.342 ******** TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Wednesday 06 July 2022 17:18:35 +0000 (0:00:00.062) 0:01:01.405 ******** included: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/centos-9.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 17:18:35 +0000 (0:00:00.036) 0:01:01.441 ******** ok: [/cache/centos-9.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Wednesday 06 July 2022 17:18:35 +0000 (0:00:00.525) 0:01:01.966 ******** skipping: [/cache/centos-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-9.qcow2.snap] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-9.qcow2.snap] => (item=CentOS_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } ok: [/cache/centos-9.qcow2.snap] => (item=CentOS_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Wednesday 06 July 2022 17:18:35 +0000 (0:00:00.115) 0:01:02.082 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Wednesday 06 July 2022 17:18:35 +0000 (0:00:00.038) 0:01:02.120 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Wednesday 06 July 2022 17:18:35 +0000 (0:00:00.074) 0:01:02.194 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/centos-9.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 17:18:35 +0000 (0:00:00.095) 0:01:02.290 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 17:18:35 +0000 (0:00:00.024) 0:01:02.315 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Wednesday 06 July 2022 17:18:35 +0000 (0:00:00.030) 0:01:02.346 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_pools": [ { "disks": [ "nvme1n1" ], "name": "foo", "state": "absent", "volumes": [ { "mount_point": "/opt/test2", "name": "test1", "size": "3g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Wednesday 06 July 2022 17:18:36 +0000 (0:00:00.041) 0:01:02.388 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Wednesday 06 July 2022 17:18:36 +0000 (0:00:00.039) 0:01:02.428 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Wednesday 06 July 2022 17:18:36 +0000 (0:00:00.031) 0:01:02.459 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Wednesday 06 July 2022 17:18:36 +0000 (0:00:00.030) 0:01:02.489 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Wednesday 06 July 2022 17:18:36 +0000 (0:00:00.034) 0:01:02.524 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Wednesday 06 July 2022 17:18:36 +0000 (0:00:00.030) 0:01:02.555 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 17:18:36 +0000 (0:00:00.062) 0:01:02.617 ******** TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Wednesday 06 July 2022 17:18:36 +0000 (0:00:00.025) 0:01:02.642 ******** changed: [/cache/centos-9.qcow2.snap] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/nvme1n1", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdc", "/dev/sdb", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test2", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "xfsprogs", "e2fsprogs" ], "pools": [ { "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Wednesday 06 July 2022 17:18:38 +0000 (0:00:02.009) 0:01:04.652 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Wednesday 06 July 2022 17:18:38 +0000 (0:00:00.039) 0:01:04.691 ******** TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Wednesday 06 July 2022 17:18:38 +0000 (0:00:00.024) 0:01:04.715 ******** ok: [/cache/centos-9.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/nvme1n1", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdc", "/dev/sdb", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test2", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "xfsprogs", "e2fsprogs" ], "pools": [ { "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Wednesday 06 July 2022 17:18:38 +0000 (0:00:00.040) 0:01:04.756 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Wednesday 06 July 2022 17:18:38 +0000 (0:00:00.042) 0:01:04.798 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Wednesday 06 July 2022 17:18:38 +0000 (0:00:00.042) 0:01:04.840 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-9.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test2', 'state': 'absent', 'fstype': 'xfs'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "fstype": "xfs", "path": "/opt/test2", "src": "/dev/mapper/foo-test1", "state": "absent" }, "name": "/opt/test2", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Wednesday 06 July 2022 17:18:38 +0000 (0:00:00.402) 0:01:05.243 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Wednesday 06 July 2022 17:18:39 +0000 (0:00:00.680) 0:01:05.924 ******** TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Wednesday 06 July 2022 17:18:39 +0000 (0:00:00.040) 0:01:05.964 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Wednesday 06 July 2022 17:18:40 +0000 (0:00:00.663) 0:01:06.628 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1657114115.7373767, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1654524050.107, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4194436, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1654523851.529, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "610860986", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Wednesday 06 July 2022 17:18:40 +0000 (0:00:00.430) 0:01:07.058 ******** TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Wednesday 06 July 2022 17:18:40 +0000 (0:00:00.059) 0:01:07.117 ******** ok: [/cache/centos-9.qcow2.snap] META: role_complete for /cache/centos-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/tests_change_mount.yml:82 Wednesday 06 July 2022 17:18:41 +0000 (0:00:00.965) 0:01:08.083 ******** included: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml for /cache/centos-9.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:1 Wednesday 06 July 2022 17:18:41 +0000 (0:00:00.049) 0:01:08.133 ******** ok: [/cache/centos-9.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:6 Wednesday 06 July 2022 17:18:41 +0000 (0:00:00.051) 0:01:08.184 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:14 Wednesday 06 July 2022 17:18:41 +0000 (0:00:00.035) 0:01:08.219 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "info": { "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-06-17-17-19-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "10G", "type": "partition", "uuid": "4a8e5519-5f4a-41ef-bec6-391aaa7a9737" }, "/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": "7e2b11b8-7ad7-4ea1-8ccb-c55a9090cba2" }, "/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": "8ea8e052-f2d2-4f4b-8ff7-0b4eb5686df5" }, "/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/tmpaxpydj_h/tests/storage/verify-role-results.yml:19 Wednesday 06 July 2022 17:18:42 +0000 (0:00:00.412) 0:01:08.631 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:01.005062", "end": "2022-07-06 13:18:43.394756", "rc": 0, "start": "2022-07-06 13:18:42.389694" } STDOUT: # # /etc/fstab # Created by anaconda on Mon Jun 6 13:57:31 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=4a8e5519-5f4a-41ef-bec6-391aaa7a9737 / xfs defaults 0 0 /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/tmpaxpydj_h/tests/storage/verify-role-results.yml:24 Wednesday 06 July 2022 17:18:43 +0000 (0:00:01.410) 0:01:10.042 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003921", "end": "2022-07-06 13:18:43.796395", "failed_when_result": false, "rc": 0, "start": "2022-07-06 13:18:43.792474" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:33 Wednesday 06 July 2022 17:18:44 +0000 (0:00:00.400) 0:01:10.443 ******** [WARNING]: The loop variable 'storage_test_pool' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool.yml for /cache/centos-9.qcow2.snap => (item={'disks': ['nvme1n1'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'absent', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['nvme1n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool.yml:5 Wednesday 06 July 2022 17:18:44 +0000 (0:00:00.058) 0:01:10.502 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool.yml:18 Wednesday 06 July 2022 17:18:44 +0000 (0:00:00.032) 0:01:10.534 ******** included: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml for /cache/centos-9.qcow2.snap => (item=members) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-volumes.yml for /cache/centos-9.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:1 Wednesday 06 July 2022 17:18:44 +0000 (0:00:00.044) 0:01:10.579 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "0", "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:6 Wednesday 06 July 2022 17:18:44 +0000 (0:00:00.050) 0:01:10.630 ******** TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:15 Wednesday 06 July 2022 17:18:44 +0000 (0:00:00.021) 0:01:10.651 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "0" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:19 Wednesday 06 July 2022 17:18:44 +0000 (0:00:00.051) 0:01:10.702 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:23 Wednesday 06 July 2022 17:18:44 +0000 (0:00:00.053) 0:01:10.756 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:29 Wednesday 06 July 2022 17:18:44 +0000 (0:00:00.086) 0:01:10.842 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:33 Wednesday 06 July 2022 17:18:44 +0000 (0:00:00.078) 0:01:10.921 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:37 Wednesday 06 July 2022 17:18:44 +0000 (0:00:00.086) 0:01:11.007 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:41 Wednesday 06 July 2022 17:18:44 +0000 (0:00:00.027) 0:01:11.035 ******** TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:50 Wednesday 06 July 2022 17:18:44 +0000 (0:00:00.081) 0:01:11.116 ******** included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-md.yml for /cache/centos-9.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-md.yml:6 Wednesday 06 July 2022 17:18:44 +0000 (0:00:00.043) 0:01:11.159 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-md.yml:12 Wednesday 06 July 2022 17:18:44 +0000 (0:00:00.026) 0:01:11.185 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-md.yml:16 Wednesday 06 July 2022 17:18:44 +0000 (0:00:00.027) 0:01:11.212 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-md.yml:20 Wednesday 06 July 2022 17:18:44 +0000 (0:00:00.026) 0:01:11.238 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-md.yml:24 Wednesday 06 July 2022 17:18:44 +0000 (0:00:00.025) 0:01:11.264 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-md.yml:30 Wednesday 06 July 2022 17:18:44 +0000 (0:00:00.026) 0:01:11.291 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-md.yml:36 Wednesday 06 July 2022 17:18:44 +0000 (0:00:00.027) 0:01:11.319 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-md.yml:44 Wednesday 06 July 2022 17:18:44 +0000 (0:00:00.027) 0:01:11.346 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:53 Wednesday 06 July 2022 17:18:45 +0000 (0:00:00.040) 0:01:11.386 ******** included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-lvmraid.yml for /cache/centos-9.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-lvmraid.yml:1 Wednesday 06 July 2022 17:18:45 +0000 (0:00:00.048) 0:01:11.435 ******** included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-lvmraid.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['nvme1n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 17:18:45 +0000 (0:00:00.045) 0:01:11.481 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 17:18:45 +0000 (0:00:00.031) 0:01:11.512 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 17:18:45 +0000 (0:00:00.030) 0:01:11.543 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:56 Wednesday 06 July 2022 17:18:45 +0000 (0:00:00.028) 0:01:11.572 ******** included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-thin.yml for /cache/centos-9.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-thin.yml:1 Wednesday 06 July 2022 17:18:45 +0000 (0:00:00.044) 0:01:11.616 ******** included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-thin.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['nvme1n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 17:18:45 +0000 (0:00:00.044) 0:01:11.661 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 17:18:45 +0000 (0:00:00.024) 0:01:11.685 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 17:18:45 +0000 (0:00:00.026) 0:01:11.711 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 17:18:45 +0000 (0:00:00.025) 0:01:11.737 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:59 Wednesday 06 July 2022 17:18:45 +0000 (0:00:00.026) 0:01:11.763 ******** included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-encryption.yml for /cache/centos-9.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-encryption.yml:4 Wednesday 06 July 2022 17:18:45 +0000 (0:00:00.050) 0:01:11.813 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-encryption.yml:8 Wednesday 06 July 2022 17:18:45 +0000 (0:00:00.052) 0:01:11.865 ******** TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-encryption.yml:15 Wednesday 06 July 2022 17:18:45 +0000 (0:00:00.023) 0:01:11.889 ******** TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-encryption.yml:22 Wednesday 06 July 2022 17:18:45 +0000 (0:00:00.024) 0:01:11.914 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:62 Wednesday 06 July 2022 17:18:45 +0000 (0:00:00.041) 0:01:11.956 ******** included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-vdo.yml for /cache/centos-9.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-vdo.yml:1 Wednesday 06 July 2022 17:18:45 +0000 (0:00:00.050) 0:01:12.006 ******** included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['nvme1n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 17:18:45 +0000 (0:00:00.046) 0:01:12.053 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 17:18:45 +0000 (0:00:00.026) 0:01:12.079 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 17:18:45 +0000 (0:00:00.026) 0:01:12.106 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 17:18:45 +0000 (0:00:00.027) 0:01:12.133 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 17:18:45 +0000 (0:00:00.026) 0:01:12.159 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 17:18:45 +0000 (0:00:00.024) 0:01:12.184 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 17:18:45 +0000 (0:00:00.025) 0:01:12.209 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 17:18:45 +0000 (0:00:00.024) 0:01:12.234 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:65 Wednesday 06 July 2022 17:18:45 +0000 (0:00:00.114) 0:01:12.348 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-volumes.yml:3 Wednesday 06 July 2022 17:18:46 +0000 (0:00:00.038) 0:01:12.386 ******** [WARNING]: The loop variable 'storage_test_volume' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['nvme1n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml:2 Wednesday 06 July 2022 17:18:46 +0000 (0:00:00.047) 0:01:12.434 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": false, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml:10 Wednesday 06 July 2022 17:18:46 +0000 (0:00:00.049) 0:01:12.483 ******** included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml for /cache/centos-9.qcow2.snap => (item=mount) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml for /cache/centos-9.qcow2.snap => (item=fstab) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fs.yml for /cache/centos-9.qcow2.snap => (item=fs) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml for /cache/centos-9.qcow2.snap => (item=device) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml for /cache/centos-9.qcow2.snap => (item=encryption) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml for /cache/centos-9.qcow2.snap => (item=md) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml for /cache/centos-9.qcow2.snap => (item=size) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml for /cache/centos-9.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 17:18:46 +0000 (0:00:00.082) 0:01:12.566 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:10 Wednesday 06 July 2022 17:18:46 +0000 (0:00:00.043) 0:01:12.609 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:20 Wednesday 06 July 2022 17:18:46 +0000 (0:00:00.059) 0:01:12.669 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:29 Wednesday 06 July 2022 17:18:46 +0000 (0:00:00.025) 0:01:12.695 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 17:18:46 +0000 (0:00:00.049) 0:01:12.745 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:46 Wednesday 06 July 2022 17:18:46 +0000 (0:00:00.038) 0:01:12.783 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:50 Wednesday 06 July 2022 17:18:46 +0000 (0:00:00.025) 0:01:12.809 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:55 Wednesday 06 July 2022 17:18:46 +0000 (0:00:00.025) 0:01:12.835 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:65 Wednesday 06 July 2022 17:18:46 +0000 (0:00:00.026) 0:01:12.861 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 17:18:46 +0000 (0:00:00.038) 0:01:12.900 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "0", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:12 Wednesday 06 July 2022 17:18:46 +0000 (0:00:00.067) 0:01:12.967 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:19 Wednesday 06 July 2022 17:18:46 +0000 (0:00:00.026) 0:01:12.993 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 17:18:46 +0000 (0:00:00.052) 0:01:13.046 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:34 Wednesday 06 July 2022 17:18:46 +0000 (0:00:00.039) 0:01:13.085 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 17:18:46 +0000 (0:00:00.036) 0:01:13.121 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 17:18:46 +0000 (0:00:00.025) 0:01:13.147 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:4 Wednesday 06 July 2022 17:18:46 +0000 (0:00:00.024) 0:01:13.171 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:10 Wednesday 06 July 2022 17:18:47 +0000 (0:00:00.371) 0:01:13.543 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:15 Wednesday 06 July 2022 17:18:47 +0000 (0:00:00.040) 0:01:13.583 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:21 Wednesday 06 July 2022 17:18:47 +0000 (0:00:00.026) 0:01:13.609 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:25 Wednesday 06 July 2022 17:18:47 +0000 (0:00:00.040) 0:01:13.649 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:30 Wednesday 06 July 2022 17:18:47 +0000 (0:00:00.027) 0:01:13.677 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 17:18:47 +0000 (0:00:00.026) 0:01:13.703 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 17:18:47 +0000 (0:00:00.026) 0:01:13.730 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 17:18:48 +0000 (0:00:00.945) 0:01:14.676 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 17:18:48 +0000 (0:00:00.025) 0:01:14.701 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:27 Wednesday 06 July 2022 17:18:48 +0000 (0:00:00.026) 0:01:14.728 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:33 Wednesday 06 July 2022 17:18:48 +0000 (0:00:00.023) 0:01:14.751 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:39 Wednesday 06 July 2022 17:18:48 +0000 (0:00:00.023) 0:01:14.775 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 17:18:48 +0000 (0:00:00.025) 0:01:14.800 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:50 Wednesday 06 July 2022 17:18:48 +0000 (0:00:00.025) 0:01:14.826 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:56 Wednesday 06 July 2022 17:18:48 +0000 (0:00:00.025) 0:01:14.851 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:62 Wednesday 06 July 2022 17:18:48 +0000 (0:00:00.025) 0:01:14.876 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 17:18:48 +0000 (0:00:00.052) 0:01:14.928 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:72 Wednesday 06 July 2022 17:18:48 +0000 (0:00:00.051) 0:01:14.980 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:78 Wednesday 06 July 2022 17:18:48 +0000 (0:00:00.039) 0:01:15.020 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:84 Wednesday 06 July 2022 17:18:48 +0000 (0:00:00.039) 0:01:15.060 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:90 Wednesday 06 July 2022 17:18:48 +0000 (0:00:00.041) 0:01:15.101 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:7 Wednesday 06 July 2022 17:18:48 +0000 (0:00:00.036) 0:01:15.138 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:13 Wednesday 06 July 2022 17:18:48 +0000 (0:00:00.039) 0:01:15.177 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:17 Wednesday 06 July 2022 17:18:48 +0000 (0:00:00.039) 0:01:15.217 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:21 Wednesday 06 July 2022 17:18:48 +0000 (0:00:00.039) 0:01:15.256 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:25 Wednesday 06 July 2022 17:18:48 +0000 (0:00:00.040) 0:01:15.297 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:31 Wednesday 06 July 2022 17:18:48 +0000 (0:00:00.039) 0:01:15.336 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:37 Wednesday 06 July 2022 17:18:48 +0000 (0:00:00.037) 0:01:15.374 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:3 Wednesday 06 July 2022 17:18:49 +0000 (0:00:00.041) 0:01:15.415 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:9 Wednesday 06 July 2022 17:18:49 +0000 (0:00:00.027) 0:01:15.443 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:15 Wednesday 06 July 2022 17:18:49 +0000 (0:00:00.038) 0:01:15.481 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:20 Wednesday 06 July 2022 17:18:49 +0000 (0:00:00.039) 0:01:15.521 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:25 Wednesday 06 July 2022 17:18:49 +0000 (0:00:00.041) 0:01:15.562 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:28 Wednesday 06 July 2022 17:18:49 +0000 (0:00:00.038) 0:01:15.601 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:31 Wednesday 06 July 2022 17:18:49 +0000 (0:00:00.044) 0:01:15.645 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:36 Wednesday 06 July 2022 17:18:49 +0000 (0:00:00.040) 0:01:15.686 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:39 Wednesday 06 July 2022 17:18:49 +0000 (0:00:00.040) 0:01:15.726 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:44 Wednesday 06 July 2022 17:18:49 +0000 (0:00:00.037) 0:01:15.764 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:47 Wednesday 06 July 2022 17:18:49 +0000 (0:00:00.040) 0:01:15.804 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:50 Wednesday 06 July 2022 17:18:49 +0000 (0:00:00.039) 0:01:15.844 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 17:18:49 +0000 (0:00:00.027) 0:01:15.872 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 17:18:49 +0000 (0:00:00.026) 0:01:15.899 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 17:18:49 +0000 (0:00:00.024) 0:01:15.923 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 17:18:49 +0000 (0:00:00.024) 0:01:15.948 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 17:18:49 +0000 (0:00:00.026) 0:01:15.975 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 17:18:49 +0000 (0:00:00.069) 0:01:16.045 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 17:18:49 +0000 (0:00:00.025) 0:01:16.070 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml:16 Wednesday 06 July 2022 17:18:49 +0000 (0:00:00.025) 0:01:16.095 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:40 Wednesday 06 July 2022 17:18:49 +0000 (0:00:00.036) 0:01:16.131 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_pool": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:47 Wednesday 06 July 2022 17:18:49 +0000 (0:00:00.035) 0:01:16.167 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:57 Wednesday 06 July 2022 17:18:49 +0000 (0:00:00.022) 0:01:16.190 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null, "storage_test_volume": null }, "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-9.qcow2.snap : ok=396 changed=6 unreachable=0 failed=0 skipped=311 rescued=0 ignored=0 Wednesday 06 July 2022 17:18:49 +0000 (0:00:00.048) 0:01:16.239 ******** =============================================================================== fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 2.01s /tmp/tmpq6mp_rlx/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.93s /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : get service facts ------------------- 1.77s /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Read the /etc/fstab file for volume existence --------------------------- 1.51s /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:19 --------------------- fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 1.43s /tmp/tmpq6mp_rlx/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.43s /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Read the /etc/fstab file for volume existence --------------------------- 1.41s /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:19 --------------------- Read the /etc/fstab file for volume existence --------------------------- 1.39s /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:19 --------------------- fedora.linux_system_roles.storage : make sure blivet is available ------- 1.31s /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Gathering Facts --------------------------------------------------------- 1.28s /tmp/tmpaxpydj_h/tests/storage/tests_change_mount_nvme_generated.yml:3 -------- fedora.linux_system_roles.storage : Update facts ------------------------ 0.99s /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 fedora.linux_system_roles.storage : Update facts ------------------------ 0.99s /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 fedora.linux_system_roles.storage : Update facts ------------------------ 0.97s /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 fedora.linux_system_roles.storage : Update facts ------------------------ 0.97s /tmp/tmpq6mp_rlx/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.95s /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 fedora.linux_system_roles.storage : Update facts ------------------------ 0.95s /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Ensure cryptsetup is present -------------------------------------------- 0.95s /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:10 ----------- Gathering Facts --------------------------------------------------------- 0.93s /tmp/tmpaxpydj_h/tests/storage/tests_change_mount.yml:2 ----------------------- Ensure cryptsetup is present -------------------------------------------- 0.88s /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:10 ----------- Ensure cryptsetup is present -------------------------------------------- 0.88s /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:10 -----------