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_raid_pool_options_scsi_generated.yml *************************** 2 plays in /tmp/tmpnhy4yzav/tests/tests_raid_pool_options_scsi_generated.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpnhy4yzav/tests/tests_raid_pool_options_scsi_generated.yml:3 Wednesday 06 July 2022 16:23:25 +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_raid_pool_options_scsi_generated.yml:7 Wednesday 06 July 2022 16:23:27 +0000 (0:00:01.323) 0:00:01.336 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_use_interface": "scsi" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpnhy4yzav/tests/tests_raid_pool_options.yml:2 Wednesday 06 July 2022 16:23:27 +0000 (0:00:00.048) 0:00:01.384 ******** ok: [/cache/centos-9.qcow2.snap] META: ran handlers TASK [include_role : linux-system-roles.storage] ******************************* task path: /tmp/tmpnhy4yzav/tests/tests_raid_pool_options.yml:17 Wednesday 06 July 2022 16:23:28 +0000 (0:00:00.972) 0:00:02.357 ******** 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 16:23:28 +0000 (0:00:00.033) 0:00:02.391 ******** 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 16:23:28 +0000 (0:00:00.031) 0:00:02.423 ******** 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 16:23:28 +0000 (0:00:00.514) 0:00:02.938 ******** 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 16:23:28 +0000 (0:00:00.063) 0:00:03.002 ******** 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 16:23:28 +0000 (0:00:00.027) 0:00:03.029 ******** 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 16:23:28 +0000 (0:00:00.027) 0:00:03.057 ******** 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 16:23:28 +0000 (0:00:00.044) 0:00:03.101 ******** 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 16:23:28 +0000 (0:00:00.016) 0:00:03.118 ******** 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 16:23:30 +0000 (0:00:01.263) 0:00:04.381 ******** 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 16:23:30 +0000 (0:00:00.061) 0:00:04.443 ******** 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 16:23:30 +0000 (0:00:00.034) 0:00:04.478 ******** 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 16:23:31 +0000 (0:00:00.728) 0:00:05.206 ******** 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 16:23:31 +0000 (0:00:00.040) 0:00:05.247 ******** 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 16:23:31 +0000 (0:00:00.036) 0:00:05.283 ******** 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 16:23:31 +0000 (0:00:00.045) 0:00:05.329 ******** 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 16:23:31 +0000 (0:00:00.033) 0:00:05.362 ******** 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 16:23:32 +0000 (0:00:01.020) 0:00:06.383 ******** 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 16:23:33 +0000 (0:00:01.765) 0:00:08.148 ******** 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 16:23:34 +0000 (0:00:00.119) 0:00:08.267 ******** 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 16:23:34 +0000 (0:00:00.021) 0:00:08.288 ******** 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 16:23:34 +0000 (0:00:00.530) 0:00:08.819 ******** 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 16:23:34 +0000 (0:00:00.036) 0:00:08.856 ******** 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 16:23:34 +0000 (0:00:00.022) 0:00:08.878 ******** 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 16:23:34 +0000 (0:00:00.037) 0:00:08.916 ******** 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 16:23:34 +0000 (0:00:00.033) 0:00:08.949 ******** 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 16:23:34 +0000 (0:00:00.036) 0:00:08.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:146 Wednesday 06 July 2022 16:23:34 +0000 (0:00:00.035) 0:00:09.022 ******** 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 16:23:34 +0000 (0:00:00.025) 0:00:09.047 ******** 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 16:23:34 +0000 (0:00:00.036) 0:00:09.084 ******** 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 16:23:34 +0000 (0:00:00.022) 0:00:09.106 ******** 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 16:23:35 +0000 (0:00:00.508) 0:00:09.614 ******** 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 16:23:35 +0000 (0:00:00.023) 0:00:09.638 ******** 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_raid_pool_options.yml:20 Wednesday 06 July 2022 16:23:36 +0000 (0:00:00.958) 0:00:10.596 ******** 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_raid_pool_options.yml:27 Wednesday 06 July 2022 16:23:36 +0000 (0:00:00.035) 0:00:10.631 ******** 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 16:23:36 +0000 (0:00:00.035) 0:00:10.667 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "disks": [ "sda", "sdb", "sdc" ] } TASK [Set unused_disks if necessary] ******************************************* task path: /tmp/tmpnhy4yzav/tests/get_unused_disk.yml:9 Wednesday 06 July 2022 16:23:36 +0000 (0:00:00.514) 0:00:11.182 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "unused_disks": [ "sda", "sdb", "sdc" ] }, "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 16:23:37 +0000 (0:00:00.064) 0:00:11.246 ******** 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 16:23:37 +0000 (0:00:00.039) 0:00:11.286 ******** ok: [/cache/centos-9.qcow2.snap] => { "unused_disks": [ "sda", "sdb", "sdc" ] } TASK [Create a RAID1 device] *************************************************** task path: /tmp/tmpnhy4yzav/tests/tests_raid_pool_options.yml:32 Wednesday 06 July 2022 16:23:37 +0000 (0:00:00.061) 0:00:11.348 ******** 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 16:23:37 +0000 (0:00:00.065) 0:00:11.414 ******** 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 16:23:37 +0000 (0:00:00.032) 0:00:11.447 ******** 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 16:23:37 +0000 (0:00:00.527) 0:00:11.974 ******** 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 16:23:37 +0000 (0:00:00.072) 0:00:12.047 ******** 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 16:23:37 +0000 (0:00:00.031) 0:00:12.078 ******** 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 16:23:37 +0000 (0:00:00.031) 0:00:12.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 16:23:37 +0000 (0:00:00.044) 0:00:12.154 ******** 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 16:23:37 +0000 (0:00:00.018) 0:00:12.173 ******** 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 16:23:38 +0000 (0:00:00.025) 0:00:12.198 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda", "sdb", "sdc" ], "name": "vg1", "raid_device_count": 2, "raid_level": "raid1", "raid_metadata_version": "1.0", "raid_spare_count": 1, "state": "present", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "lv1", "size": "2g" }, { "mount_point": "/opt/test2", "name": "lv2", "size": "3g" }, { "mount_point": "/opt/test3", "name": "lv3", "size": "3g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Wednesday 06 July 2022 16:23:38 +0000 (0:00:00.038) 0:00:12.237 ******** 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 16:23:38 +0000 (0:00:00.034) 0:00:12.272 ******** 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 16:23:38 +0000 (0:00:00.027) 0:00:12.299 ******** 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 16:23:38 +0000 (0:00:00.028) 0:00:12.328 ******** 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 16:23:38 +0000 (0:00:00.031) 0:00:12.359 ******** 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 16:23:38 +0000 (0:00:00.029) 0:00:12.388 ******** 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 16:23:38 +0000 (0:00:00.056) 0:00:12.445 ******** 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 16:23:38 +0000 (0:00:00.022) 0:00:12.467 ******** changed: [/cache/centos-9.qcow2.snap] => { "actions": [ { "action": "create format", "device": "/dev/sdc", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sdc1", "fs_type": null }, { "action": "create format", "device": "/dev/sdc1", "fs_type": "mdmember" }, { "action": "create format", "device": "/dev/sdb", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sdb1", "fs_type": null }, { "action": "create format", "device": "/dev/sdb1", "fs_type": "mdmember" }, { "action": "create format", "device": "/dev/sda", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sda1", "fs_type": null }, { "action": "create format", "device": "/dev/sda1", "fs_type": "mdmember" }, { "action": "create device", "device": "/dev/md/vg1-1", "fs_type": null }, { "action": "create format", "device": "/dev/md/vg1-1", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/vg1", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/vg1-lv3", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv3", "fs_type": "xfs" }, { "action": "create device", "device": "/dev/mapper/vg1-lv2", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv2", "fs_type": "xfs" }, { "action": "create device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/mapper/vg1-lv1", "/dev/mapper/vg1-lv2", "/dev/mapper/vg1-lv3" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/vg1-lv2", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test3", "src": "/dev/mapper/vg1-lv3", "state": "mounted" } ], "packages": [ "xfsprogs", "mdadm", "lvm2", "e2fsprogs" ], "pools": [ { "disks": [ "sda", "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": 2, "raid_level": "raid1", "raid_metadata_version": "1.0", "raid_spare_count": 1, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Wednesday 06 July 2022 16:23:47 +0000 (0:00:09.370) 0:00:21.838 ******** 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 16:23:47 +0000 (0:00:00.039) 0:00:21.877 ******** 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 16:23:47 +0000 (0:00:00.023) 0:00:21.900 ******** ok: [/cache/centos-9.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sdc", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sdc1", "fs_type": null }, { "action": "create format", "device": "/dev/sdc1", "fs_type": "mdmember" }, { "action": "create format", "device": "/dev/sdb", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sdb1", "fs_type": null }, { "action": "create format", "device": "/dev/sdb1", "fs_type": "mdmember" }, { "action": "create format", "device": "/dev/sda", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sda1", "fs_type": null }, { "action": "create format", "device": "/dev/sda1", "fs_type": "mdmember" }, { "action": "create device", "device": "/dev/md/vg1-1", "fs_type": null }, { "action": "create format", "device": "/dev/md/vg1-1", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/vg1", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/vg1-lv3", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv3", "fs_type": "xfs" }, { "action": "create device", "device": "/dev/mapper/vg1-lv2", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv2", "fs_type": "xfs" }, { "action": "create device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/mapper/vg1-lv1", "/dev/mapper/vg1-lv2", "/dev/mapper/vg1-lv3" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/vg1-lv2", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test3", "src": "/dev/mapper/vg1-lv3", "state": "mounted" } ], "packages": [ "xfsprogs", "mdadm", "lvm2", "e2fsprogs" ], "pools": [ { "disks": [ "sda", "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": 2, "raid_level": "raid1", "raid_metadata_version": "1.0", "raid_spare_count": 1, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Wednesday 06 July 2022 16:23:47 +0000 (0:00:00.072) 0:00:21.973 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda", "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": 2, "raid_level": "raid1", "raid_metadata_version": "1.0", "raid_spare_count": 1, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Wednesday 06 July 2022 16:23:47 +0000 (0:00:00.076) 0:00:22.050 ******** 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 16:23:47 +0000 (0:00:00.040) 0:00:22.090 ******** 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 16:23:47 +0000 (0:00:00.039) 0:00:22.129 ******** 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 16:23:48 +0000 (0:00:00.954) 0:00:23.084 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-9.qcow2.snap] => (item={'src': '/dev/mapper/vg1-lv1', 'path': '/opt/test1', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv1" } redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-9.qcow2.snap] => (item={'src': '/dev/mapper/vg1-lv2', 'path': '/opt/test2', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/vg1-lv2", "state": "mounted" }, "name": "/opt/test2", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv2" } redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-9.qcow2.snap] => (item={'src': '/dev/mapper/vg1-lv3', 'path': '/opt/test3', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test3", "src": "/dev/mapper/vg1-lv3", "state": "mounted" }, "name": "/opt/test3", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv3" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Wednesday 06 July 2022 16:23:50 +0000 (0:00:01.362) 0:00:24.446 ******** 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 16:23:50 +0000 (0:00:00.704) 0:00:25.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 [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 16:23:51 +0000 (0:00:00.379) 0:00:25.531 ******** 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 16:23:51 +0000 (0:00:00.021) 0:00:25.553 ******** ok: [/cache/centos-9.qcow2.snap] META: role_complete for /cache/centos-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpnhy4yzav/tests/tests_raid_pool_options.yml:56 Wednesday 06 July 2022 16:23:52 +0000 (0:00:01.066) 0:00:26.619 ******** 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 16:23:52 +0000 (0:00:00.046) 0:00:26.665 ******** ok: [/cache/centos-9.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda", "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": 2, "raid_level": "raid1", "raid_metadata_version": "1.0", "raid_spare_count": 1, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:6 Wednesday 06 July 2022 16:23:52 +0000 (0:00:00.056) 0:00:26.722 ******** 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 16:23:52 +0000 (0:00:00.035) 0:00:26.758 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/vg1-lv1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv1", "size": "2G", "type": "lvm", "uuid": "628d84e5-0193-400d-865d-7dcf45e1a754" }, "/dev/mapper/vg1-lv2": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv2", "size": "3G", "type": "lvm", "uuid": "e38763c5-b20b-4060-8914-d1884d88bdb8" }, "/dev/mapper/vg1-lv3": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv3", "size": "3G", "type": "lvm", "uuid": "66c621f3-cf55-49d9-9f59-61167934f7e9" }, "/dev/md/vg1-1": { "fstype": "LVM2_member", "label": "", "name": "/dev/md/vg1-1", "size": "10G", "type": "raid1", "uuid": "e0F49x-eWw9-SlNf-4oj7-EcUd-84cg-MvovnQ" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda1": { "fstype": "linux_raid_member", "label": "vg1-1", "name": "/dev/sda1", "size": "10G", "type": "partition", "uuid": "75d0af5c-0a51-923a-3862-0e98f39cedba" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb1": { "fstype": "linux_raid_member", "label": "vg1-1", "name": "/dev/sdb1", "size": "10G", "type": "partition", "uuid": "75d0af5c-0a51-923a-3862-0e98f39cedba" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc1": { "fstype": "linux_raid_member", "label": "vg1-1", "name": "/dev/sdc1", "size": "10G", "type": "partition", "uuid": "75d0af5c-0a51-923a-3862-0e98f39cedba" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-06-16-23-10-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 16:23:53 +0000 (0:00:00.510) 0:00:27.269 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:01.004122", "end": "2022-07-06 12:23:53.818266", "rc": 0, "start": "2022-07-06 12:23:52.814144" } 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/vg1-lv1 /opt/test1 xfs defaults 0 0 /dev/mapper/vg1-lv2 /opt/test2 xfs defaults 0 0 /dev/mapper/vg1-lv3 /opt/test3 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:24 Wednesday 06 July 2022 16:23:54 +0000 (0:00:01.498) 0:00:28.767 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002862", "end": "2022-07-06 12:23:54.204870", "failed_when_result": false, "rc": 0, "start": "2022-07-06 12:23:54.202008" } 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 16:23:54 +0000 (0:00:00.380) 0:00:29.148 ******** included: /tmp/tmpnhy4yzav/tests/test-verify-pool.yml for /cache/centos-9.qcow2.snap => (item={'disks': ['sda', 'sdb', 'sdc'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'vg1', 'raid_level': 'raid1', 'raid_device_count': 2, 'raid_spare_count': 1, 'raid_metadata_version': '1.0', 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}, {'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'lv2', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}, {'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test3', 'name': 'lv3', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-pool.yml:5 Wednesday 06 July 2022 16:23:55 +0000 (0:00:00.066) 0:00:29.214 ******** 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 16:23:55 +0000 (0:00:00.032) 0:00:29.246 ******** 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 16:23:55 +0000 (0:00:00.049) 0:00:29.296 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/md127" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:10 Wednesday 06 July 2022 16:23:55 +0000 (0:00:00.056) 0:00:29.353 ******** ok: [/cache/centos-9.qcow2.snap] => (item=/dev/md127) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/md/vg1-1", "pv": "/dev/md127" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:19 Wednesday 06 July 2022 16:23:55 +0000 (0:00:00.505) 0:00:29.858 ******** 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 16:23:55 +0000 (0:00:00.048) 0:00:29.906 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/md/vg1-1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:27 Wednesday 06 July 2022 16:23:55 +0000 (0:00:00.049) 0:00:29.956 ******** 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 16:23:55 +0000 (0:00:00.052) 0:00:30.008 ******** 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 16:23:55 +0000 (0:00:00.039) 0:00:30.047 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "partition" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:42 Wednesday 06 July 2022 16:23:55 +0000 (0:00:00.049) 0:00:30.097 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "raid1" }, "changed": false } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:46 Wednesday 06 July 2022 16:23:55 +0000 (0:00:00.037) 0:00:30.134 ******** ok: [/cache/centos-9.qcow2.snap] => (item=/dev/md/vg1-1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/md/vg1-1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:56 Wednesday 06 July 2022 16:23:55 +0000 (0:00:00.039) 0:00:30.174 ******** 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 16:23:56 +0000 (0:00:00.042) 0:00:30.217 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "mdadm", "--detail", "/dev/md/vg1-1" ], "delta": "0:00:00.006856", "end": "2022-07-06 12:23:55.666288", "rc": 0, "start": "2022-07-06 12:23:55.659432" } STDOUT: /dev/md/vg1-1: Version : 1.0 Creation Time : Wed Jul 6 12:23:40 2022 Raid Level : raid1 Array Size : 10484608 (10.00 GiB 10.74 GB) Used Dev Size : 10484608 (10.00 GiB 10.74 GB) Raid Devices : 2 Total Devices : 3 Persistence : Superblock is persistent Intent Bitmap : Internal Update Time : Wed Jul 6 12:23:54 2022 State : clean, resyncing Active Devices : 2 Working Devices : 3 Failed Devices : 0 Spare Devices : 1 Consistency Policy : bitmap Resync Status : 28% complete Name : vg1-1 UUID : 75d0af5c:0a51923a:38620e98:f39cedba Events : 9 Number Major Minor RaidDevice State 0 8 1 0 active sync /dev/sda1 1 8 17 1 active sync /dev/sdb1 2 8 33 - spare /dev/sdc1 TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-md.yml:12 Wednesday 06 July 2022 16:23:56 +0000 (0:00:00.393) 0:00:30.610 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": "Active\\ Devices\\ :\\ 2\\\n" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-md.yml:16 Wednesday 06 July 2022 16:23:56 +0000 (0:00:00.089) 0:00:30.700 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_md_spare_devices_re": "Spare\\ Devices\\ :\\ 1\\\n" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-md.yml:20 Wednesday 06 July 2022 16:23:56 +0000 (0:00:00.101) 0:00:30.802 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_md_metadata_version_re": "Version\\ :\\ 1\\.0\\\n" }, "changed": false } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-md.yml:24 Wednesday 06 July 2022 16:23:56 +0000 (0:00:00.058) 0:00:30.860 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-md.yml:30 Wednesday 06 July 2022 16:23:56 +0000 (0:00:00.048) 0:00:30.908 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpnhy4yzav/tests/verify-pool-md.yml:36 Wednesday 06 July 2022 16:23:56 +0000 (0:00:00.046) 0:00:30.955 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-md.yml:44 Wednesday 06 July 2022 16:23:56 +0000 (0:00:00.041) 0:00:30.997 ******** 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 16:23:56 +0000 (0:00:00.037) 0:00:31.034 ******** 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 16:23:56 +0000 (0:00:00.046) 0:00:31.080 ******** 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': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/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': 'lv2', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/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/test3', 'name': 'lv3', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 16:23:56 +0000 (0:00:00.053) 0:00:31.134 ******** 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 16:23:56 +0000 (0:00:00.026) 0:00:31.160 ******** 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 16:23:56 +0000 (0:00:00.025) 0:00:31.186 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 16:23:57 +0000 (0:00:00.028) 0:00:31.214 ******** 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 16:23:57 +0000 (0:00:00.031) 0:00:31.246 ******** 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 16:23:57 +0000 (0:00:00.029) 0:00:31.275 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 16:23:57 +0000 (0:00:00.027) 0:00:31.303 ******** 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 16:23:57 +0000 (0:00:00.027) 0:00:31.330 ******** 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 16:23:57 +0000 (0:00:00.032) 0:00:31.363 ******** 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 16:23:57 +0000 (0:00:00.027) 0:00:31.390 ******** 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 16:23:57 +0000 (0:00:00.044) 0:00:31.435 ******** 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': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/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': 'lv2', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/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/test3', 'name': 'lv3', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 16:23:57 +0000 (0:00:00.054) 0:00:31.490 ******** 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 16:23:57 +0000 (0:00:00.022) 0:00:31.512 ******** 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 16:23:57 +0000 (0:00:00.022) 0:00:31.535 ******** 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 16:23:57 +0000 (0:00:00.021) 0:00:31.557 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 16:23:57 +0000 (0:00:00.021) 0:00:31.579 ******** 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 16:23:57 +0000 (0:00:00.025) 0:00:31.604 ******** 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 16:23:57 +0000 (0:00:00.028) 0:00:31.633 ******** 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 16:23:57 +0000 (0:00:00.032) 0:00:31.665 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 16:23:57 +0000 (0:00:00.030) 0:00:31.696 ******** 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 16:23:57 +0000 (0:00:00.026) 0:00:31.723 ******** 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 16:23:57 +0000 (0:00:00.027) 0:00:31.750 ******** 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 16:23:57 +0000 (0:00:00.025) 0:00:31.776 ******** 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 16:23:57 +0000 (0:00:00.022) 0:00:31.799 ******** 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 16:23:57 +0000 (0:00:00.048) 0:00:31.848 ******** 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 16:23:57 +0000 (0:00:00.095) 0:00:31.943 ******** skipping: [/cache/centos-9.qcow2.snap] => (item=/dev/md/vg1-1) => { "_storage_test_pool_member_path": "/dev/md/vg1-1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-members-encryption.yml:15 Wednesday 06 July 2022 16:23:57 +0000 (0:00:00.029) 0:00:31.973 ******** included: /tmp/tmpnhy4yzav/tests/verify-pool-member-crypttab.yml for /cache/centos-9.qcow2.snap => (item=/dev/md/vg1-1) TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-crypttab.yml:1 Wednesday 06 July 2022 16:23:57 +0000 (0:00:00.084) 0:00:32.058 ******** 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 16:23:57 +0000 (0:00:00.053) 0:00:32.112 ******** 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 16:23:57 +0000 (0:00:00.048) 0:00:32.160 ******** 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 16:23:58 +0000 (0:00:00.040) 0:00:32.201 ******** 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 16:23:58 +0000 (0:00:00.038) 0:00:32.240 ******** 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 16:23:58 +0000 (0:00:00.037) 0:00:32.277 ******** 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 16:23:58 +0000 (0:00:00.037) 0:00:32.315 ******** 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 16:23:58 +0000 (0:00:00.038) 0:00:32.354 ******** 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 16:23:58 +0000 (0:00:00.047) 0:00:32.402 ******** 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': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/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': 'lv2', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/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/test3', 'name': 'lv3', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 16:23:58 +0000 (0:00:00.061) 0:00:32.463 ******** 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 16:23:58 +0000 (0:00:00.026) 0:00:32.490 ******** 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 16:23:58 +0000 (0:00:00.024) 0:00:32.515 ******** 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 16:23:58 +0000 (0:00:00.023) 0:00:32.538 ******** 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 16:23:58 +0000 (0:00:00.022) 0:00:32.561 ******** 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 16:23:58 +0000 (0:00:00.022) 0:00:32.583 ******** 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 16:23:58 +0000 (0:00:00.023) 0:00:32.606 ******** 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 16:23:58 +0000 (0:00:00.022) 0:00:32.629 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 16:23:58 +0000 (0:00:00.032) 0:00:32.662 ******** 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 16:23:58 +0000 (0:00:00.023) 0:00:32.685 ******** 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 16:23:58 +0000 (0:00:00.024) 0:00:32.709 ******** 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 16:23:58 +0000 (0:00:00.022) 0:00:32.732 ******** 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 16:23:58 +0000 (0:00:00.022) 0:00:32.754 ******** 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 16:23:58 +0000 (0:00:00.022) 0:00:32.776 ******** 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 16:23:58 +0000 (0:00:00.024) 0:00:32.801 ******** 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 16:23:58 +0000 (0:00:00.023) 0:00:32.825 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 16:23:58 +0000 (0:00:00.033) 0:00:32.859 ******** 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 16:23:58 +0000 (0:00:00.025) 0:00:32.884 ******** 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 16:23:58 +0000 (0:00:00.025) 0:00:32.910 ******** 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 16:23:58 +0000 (0:00:00.023) 0:00:32.934 ******** 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 16:23:58 +0000 (0:00:00.023) 0:00:32.957 ******** 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 16:23:58 +0000 (0:00:00.023) 0:00:32.980 ******** 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 16:23:58 +0000 (0:00:00.023) 0:00:33.004 ******** 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 16:23:58 +0000 (0:00:00.022) 0:00:33.026 ******** 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 16:23:58 +0000 (0:00:00.032) 0:00:33.059 ******** 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 16:23:58 +0000 (0:00:00.033) 0:00:33.092 ******** 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': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/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': 'lv2', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/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/test3', 'name': 'lv3', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml:2 Wednesday 06 July 2022 16:23:58 +0000 (0:00:00.054) 0:00:33.146 ******** 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 16:23:59 +0000 (0:00:00.083) 0:00:33.230 ******** 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 16:23:59 +0000 (0:00:00.118) 0:00:33.348 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:14 Wednesday 06 July 2022 16:23:59 +0000 (0:00:00.042) 0:00:33.391 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 509827, "block_size": 4096, "block_total": 521728, "block_used": 11901, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1048573, "inode_total": 1048576, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 2088251392, "size_total": 2136997888, "uuid": "628d84e5-0193-400d-865d-7dcf45e1a754" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 509827, "block_size": 4096, "block_total": 521728, "block_used": 11901, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1048573, "inode_total": 1048576, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 2088251392, "size_total": 2136997888, "uuid": "628d84e5-0193-400d-865d-7dcf45e1a754" } ], "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 16:23:59 +0000 (0:00:00.056) 0:00:33.447 ******** 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 16:23:59 +0000 (0:00:00.054) 0:00:33.502 ******** 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 16:23:59 +0000 (0:00:00.048) 0:00:33.550 ******** 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 16:23:59 +0000 (0:00:00.053) 0:00:33.604 ******** 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 16:23:59 +0000 (0:00:00.027) 0:00:33.631 ******** 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 16:23:59 +0000 (0:00:00.025) 0:00:33.657 ******** 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 16:23:59 +0000 (0:00:00.025) 0:00:33.683 ******** 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 16:23:59 +0000 (0:00:00.036) 0:00:33.720 ******** 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/vg1-lv1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 16:23:59 +0000 (0:00:00.069) 0:00:33.789 ******** 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 16:23:59 +0000 (0:00:00.052) 0:00:33.842 ******** 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 16:23:59 +0000 (0:00:00.054) 0:00:33.896 ******** 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 16:23:59 +0000 (0:00:00.042) 0:00:33.939 ******** 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 16:23:59 +0000 (0:00:00.034) 0:00:33.973 ******** 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 16:23:59 +0000 (0:00:00.037) 0:00:34.011 ******** 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 16:23:59 +0000 (0:00:00.038) 0:00:34.049 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1657124626.8157158, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657124626.8157158, "dev": 5, "device_type": 64770, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 945, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657124626.8157158, "nlink": 1, "path": "/dev/mapper/vg1-lv1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:10 Wednesday 06 July 2022 16:24:00 +0000 (0:00:00.388) 0:00:34.438 ******** 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 16:24:00 +0000 (0:00:00.041) 0:00:34.479 ******** 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 16:24:00 +0000 (0:00:00.050) 0:00:34.529 ******** 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 16:24:00 +0000 (0:00:00.053) 0:00:34.582 ******** 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 16:24:00 +0000 (0:00:00.025) 0:00:34.608 ******** 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 16:24:00 +0000 (0:00:00.040) 0:00:34.649 ******** 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 16:24:00 +0000 (0:00:00.025) 0:00:34.674 ******** 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 16:24:01 +0000 (0:00:00.864) 0:00:35.538 ******** 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 16:24:01 +0000 (0:00:00.066) 0:00:35.605 ******** 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 16:24:01 +0000 (0:00:00.027) 0:00:35.632 ******** 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 16:24:01 +0000 (0:00:00.055) 0:00:35.687 ******** 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 16:24:01 +0000 (0:00:00.025) 0:00:35.713 ******** 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 16:24:01 +0000 (0:00:00.027) 0:00:35.740 ******** 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 16:24:01 +0000 (0:00:00.024) 0:00:35.764 ******** 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 16:24:01 +0000 (0:00:00.024) 0:00:35.789 ******** 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 16:24:01 +0000 (0:00:00.024) 0:00:35.813 ******** 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 16:24:01 +0000 (0:00:00.051) 0:00:35.865 ******** 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 16:24:01 +0000 (0:00:00.047) 0:00:35.913 ******** 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 16:24:01 +0000 (0:00:00.036) 0:00:35.949 ******** 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 16:24:01 +0000 (0:00:00.039) 0:00:35.989 ******** 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 16:24:01 +0000 (0:00:00.037) 0:00:36.026 ******** 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 16:24:01 +0000 (0:00:00.034) 0:00:36.061 ******** 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 16:24:01 +0000 (0:00:00.038) 0:00:36.099 ******** 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 16:24:01 +0000 (0:00:00.037) 0:00:36.137 ******** 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 16:24:01 +0000 (0:00:00.036) 0:00:36.174 ******** 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 16:24:02 +0000 (0:00:00.036) 0:00:36.210 ******** 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 16:24:02 +0000 (0:00:00.040) 0:00:36.251 ******** 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 16:24:02 +0000 (0:00:00.043) 0:00:36.294 ******** 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 16:24:02 +0000 (0:00:00.040) 0:00:36.335 ******** ok: [/cache/centos-9.qcow2.snap] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:9 Wednesday 06 July 2022 16:24:02 +0000 (0:00:00.530) 0:00:36.866 ******** ok: [/cache/centos-9.qcow2.snap] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:15 Wednesday 06 July 2022 16:24:03 +0000 (0:00:00.380) 0:00:37.246 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "2147483648" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:20 Wednesday 06 July 2022 16:24:03 +0000 (0:00:00.052) 0:00:37.299 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "2147483648" } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:25 Wednesday 06 July 2022 16:24:03 +0000 (0:00:00.038) 0:00:37.337 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:28 Wednesday 06 July 2022 16:24:03 +0000 (0:00:00.037) 0:00:37.375 ******** 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 16:24:03 +0000 (0:00:00.038) 0:00:37.413 ******** 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 16:24:03 +0000 (0:00:00.035) 0:00:37.449 ******** 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 16:24:03 +0000 (0:00:00.040) 0:00:37.489 ******** 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 16:24:03 +0000 (0:00:00.035) 0:00:37.525 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_actual_size": { "bytes": 2147483648, "changed": false, "failed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:47 Wednesday 06 July 2022 16:24:03 +0000 (0:00:00.064) 0:00:37.590 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "2147483648" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:50 Wednesday 06 July 2022 16:24:03 +0000 (0:00:00.066) 0:00:37.656 ******** 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 16:24:03 +0000 (0:00:00.083) 0:00:37.740 ******** 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", "vg1/lv1" ], "delta": "0:00:00.033481", "end": "2022-07-06 12:24:03.209897", "rc": 0, "start": "2022-07-06 12:24:03.176416" } STDOUT: LVM2_LV_NAME=lv1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 16:24:03 +0000 (0:00:00.413) 0:00:38.153 ******** 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 16:24:04 +0000 (0:00:00.051) 0:00:38.204 ******** 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 16:24:04 +0000 (0:00:00.051) 0:00:38.256 ******** 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 16:24:04 +0000 (0:00:00.038) 0:00:38.294 ******** 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 16:24:04 +0000 (0:00:00.037) 0:00:38.331 ******** 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 16:24:04 +0000 (0:00:00.040) 0:00:38.372 ******** 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 16:24:04 +0000 (0:00:00.041) 0:00:38.413 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml:2 Wednesday 06 July 2022 16:24:04 +0000 (0:00:00.042) 0:00:38.455 ******** 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 16:24:04 +0000 (0:00:00.059) 0:00:38.515 ******** 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 16:24:04 +0000 (0:00:00.081) 0:00:38.597 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv2" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:14 Wednesday 06 July 2022 16:24:04 +0000 (0:00:00.044) 0:00:38.642 ******** 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/vg1-lv2", "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": "e38763c5-b20b-4060-8914-d1884d88bdb8" } ], "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/vg1-lv2", "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": "e38763c5-b20b-4060-8914-d1884d88bdb8" } ], "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 16:24:04 +0000 (0:00:00.057) 0:00:38.699 ******** 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 16:24:04 +0000 (0:00:00.055) 0:00:38.755 ******** 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 16:24:04 +0000 (0:00:00.050) 0:00:38.806 ******** 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 16:24:04 +0000 (0:00:00.050) 0:00:38.856 ******** 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 16:24:04 +0000 (0:00:00.024) 0:00:38.881 ******** 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 16:24:04 +0000 (0:00:00.026) 0:00:38.907 ******** 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 16:24:04 +0000 (0:00:00.024) 0:00:38.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/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 16:24:04 +0000 (0:00:00.039) 0:00:38.971 ******** 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/vg1-lv2 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test2 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test2 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 16:24:04 +0000 (0:00:00.067) 0:00:39.038 ******** 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 16:24:04 +0000 (0:00:00.049) 0:00:39.088 ******** 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 16:24:04 +0000 (0:00:00.048) 0:00:39.136 ******** 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 16:24:04 +0000 (0:00:00.036) 0:00:39.173 ******** 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 16:24:05 +0000 (0:00:00.032) 0:00:39.206 ******** 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 16:24:05 +0000 (0:00:00.041) 0:00:39.247 ******** 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 16:24:05 +0000 (0:00:00.041) 0:00:39.289 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1657124626.5727158, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657124626.5727158, "dev": 5, "device_type": 64769, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 905, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657124626.5727158, "nlink": 1, "path": "/dev/mapper/vg1-lv2", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:10 Wednesday 06 July 2022 16:24:05 +0000 (0:00:00.419) 0:00:39.708 ******** 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 16:24:05 +0000 (0:00:00.038) 0:00:39.747 ******** 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 16:24:05 +0000 (0:00:00.039) 0:00:39.786 ******** 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 16:24:05 +0000 (0:00:00.042) 0:00:39.829 ******** 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 16:24:05 +0000 (0:00:00.026) 0:00:39.855 ******** 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 16:24:05 +0000 (0:00:00.040) 0:00:39.896 ******** 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 16:24:05 +0000 (0:00:00.025) 0:00:39.921 ******** 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 16:24:06 +0000 (0:00:00.887) 0:00:40.809 ******** 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 16:24:06 +0000 (0:00:00.024) 0:00:40.834 ******** 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 16:24:06 +0000 (0:00:00.025) 0:00:40.859 ******** 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 16:24:06 +0000 (0:00:00.052) 0:00:40.912 ******** 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 16:24:06 +0000 (0:00:00.026) 0:00:40.938 ******** 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 16:24:06 +0000 (0:00:00.026) 0:00:40.965 ******** 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 16:24:06 +0000 (0:00:00.023) 0:00:40.988 ******** 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 16:24:06 +0000 (0:00:00.023) 0:00:41.011 ******** 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 16:24:06 +0000 (0:00:00.023) 0:00:41.035 ******** 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 16:24:06 +0000 (0:00:00.052) 0:00:41.087 ******** 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 16:24:06 +0000 (0:00:00.047) 0:00:41.134 ******** 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 16:24:06 +0000 (0:00:00.036) 0:00:41.170 ******** 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 16:24:07 +0000 (0:00:00.036) 0:00:41.207 ******** 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 16:24:07 +0000 (0:00:00.039) 0:00:41.246 ******** 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 16:24:07 +0000 (0:00:00.035) 0:00:41.282 ******** 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 16:24:07 +0000 (0:00:00.036) 0:00:41.319 ******** 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 16:24:07 +0000 (0:00:00.040) 0:00:41.359 ******** 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 16:24:07 +0000 (0:00:00.039) 0:00:41.399 ******** 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 16:24:07 +0000 (0:00:00.037) 0:00:41.436 ******** 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 16:24:07 +0000 (0:00:00.038) 0:00:41.474 ******** 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 16:24:07 +0000 (0:00:00.037) 0:00:41.511 ******** 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 16:24:07 +0000 (0:00:00.039) 0:00:41.551 ******** 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 16:24:07 +0000 (0:00:00.469) 0:00:42.021 ******** 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 16:24:08 +0000 (0:00:00.391) 0:00:42.412 ******** 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 16:24:08 +0000 (0:00:00.053) 0:00:42.465 ******** 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 16:24:08 +0000 (0:00:00.036) 0:00:42.502 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:28 Wednesday 06 July 2022 16:24:08 +0000 (0:00:00.037) 0:00:42.539 ******** 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 16:24:08 +0000 (0:00:00.043) 0:00:42.582 ******** 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 16:24:08 +0000 (0:00:00.039) 0:00:42.622 ******** 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 16:24:08 +0000 (0:00:00.038) 0:00:42.660 ******** 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 16:24:08 +0000 (0:00:00.035) 0:00:42.696 ******** 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 16:24:08 +0000 (0:00:00.036) 0:00:42.732 ******** 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 16:24:08 +0000 (0:00:00.032) 0:00:42.765 ******** 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 16:24:08 +0000 (0:00:00.048) 0:00:42.813 ******** 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", "vg1/lv2" ], "delta": "0:00:00.032696", "end": "2022-07-06 12:24:08.276976", "rc": 0, "start": "2022-07-06 12:24:08.244280" } STDOUT: LVM2_LV_NAME=lv2 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 16:24:09 +0000 (0:00:00.406) 0:00:43.220 ******** 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 16:24:09 +0000 (0:00:00.054) 0:00:43.274 ******** 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 16:24:09 +0000 (0:00:00.055) 0:00:43.330 ******** 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 16:24:09 +0000 (0:00:00.040) 0:00:43.370 ******** 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 16:24:09 +0000 (0:00:00.035) 0:00:43.406 ******** 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 16:24:09 +0000 (0:00:00.035) 0:00:43.441 ******** 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 16:24:09 +0000 (0:00:00.035) 0:00:43.476 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml:2 Wednesday 06 July 2022 16:24:09 +0000 (0:00:00.038) 0:00:43.515 ******** 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 16:24:09 +0000 (0:00:00.046) 0:00:43.561 ******** 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 16:24:09 +0000 (0:00:00.078) 0:00:43.640 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv3" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:14 Wednesday 06 July 2022 16:24:09 +0000 (0:00:00.039) 0:00:43.680 ******** 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/vg1-lv3", "fstype": "xfs", "inode_available": 1572861, "inode_total": 1572864, "inode_used": 3, "mount": "/opt/test3", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 3154518016, "size_total": 3210739712, "uuid": "66c621f3-cf55-49d9-9f59-61167934f7e9" } ], "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/vg1-lv3", "fstype": "xfs", "inode_available": 1572861, "inode_total": 1572864, "inode_used": 3, "mount": "/opt/test3", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 3154518016, "size_total": 3210739712, "uuid": "66c621f3-cf55-49d9-9f59-61167934f7e9" } ], "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 16:24:09 +0000 (0:00:00.054) 0:00:43.734 ******** 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 16:24:09 +0000 (0:00:00.048) 0:00:43.782 ******** 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 16:24:09 +0000 (0:00:00.078) 0:00:43.860 ******** 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 16:24:09 +0000 (0:00:00.053) 0:00:43.914 ******** 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 16:24:09 +0000 (0:00:00.024) 0:00:43.939 ******** 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 16:24:09 +0000 (0:00:00.023) 0:00:43.962 ******** 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 16:24:09 +0000 (0:00:00.024) 0:00:43.987 ******** 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 16:24:09 +0000 (0:00:00.035) 0:00:44.022 ******** 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/vg1-lv3 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test3 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test3 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 16:24:09 +0000 (0:00:00.092) 0:00:44.114 ******** 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 16:24:10 +0000 (0:00:00.121) 0:00:44.236 ******** 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 16:24:10 +0000 (0:00:00.049) 0:00:44.285 ******** 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 16:24:10 +0000 (0:00:00.034) 0:00:44.319 ******** 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 16:24:10 +0000 (0:00:00.037) 0:00:44.357 ******** 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 16:24:10 +0000 (0:00:00.040) 0:00:44.398 ******** 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 16:24:10 +0000 (0:00:00.039) 0:00:44.437 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1657124626.3197157, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657124626.3197157, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 870, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657124626.3197157, "nlink": 1, "path": "/dev/mapper/vg1-lv3", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:10 Wednesday 06 July 2022 16:24:10 +0000 (0:00:00.394) 0:00:44.831 ******** 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 16:24:10 +0000 (0:00:00.040) 0:00:44.872 ******** 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 16:24:10 +0000 (0:00:00.040) 0:00:44.912 ******** 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 16:24:10 +0000 (0:00:00.039) 0:00:44.952 ******** 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 16:24:10 +0000 (0:00:00.026) 0:00:44.979 ******** 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 16:24:10 +0000 (0:00:00.043) 0:00:45.022 ******** 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 16:24:10 +0000 (0:00:00.026) 0:00:45.048 ******** 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 16:24:11 +0000 (0:00:00.829) 0:00:45.878 ******** 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 16:24:11 +0000 (0:00:00.030) 0:00:45.908 ******** 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 16:24:11 +0000 (0:00:00.026) 0:00:45.935 ******** 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 16:24:11 +0000 (0:00:00.061) 0:00:45.997 ******** 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 16:24:11 +0000 (0:00:00.025) 0:00:46.022 ******** 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 16:24:11 +0000 (0:00:00.024) 0:00:46.046 ******** 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 16:24:11 +0000 (0:00:00.024) 0:00:46.070 ******** 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 16:24:11 +0000 (0:00:00.024) 0:00:46.095 ******** 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 16:24:11 +0000 (0:00:00.023) 0:00:46.119 ******** 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 16:24:11 +0000 (0:00:00.051) 0:00:46.171 ******** 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 16:24:12 +0000 (0:00:00.055) 0:00:46.227 ******** 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 16:24:12 +0000 (0:00:00.041) 0:00:46.268 ******** 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 16:24:12 +0000 (0:00:00.041) 0:00:46.309 ******** 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 16:24:12 +0000 (0:00:00.036) 0:00:46.346 ******** 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 16:24:12 +0000 (0:00:00.087) 0:00:46.433 ******** 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 16:24:12 +0000 (0:00:00.036) 0:00:46.470 ******** 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 16:24:12 +0000 (0:00:00.039) 0:00:46.509 ******** 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 16:24:12 +0000 (0:00:00.040) 0:00:46.549 ******** 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 16:24:12 +0000 (0:00:00.043) 0:00:46.592 ******** 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 16:24:12 +0000 (0:00:00.041) 0:00:46.634 ******** 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 16:24:12 +0000 (0:00:00.040) 0:00:46.675 ******** 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 16:24:12 +0000 (0:00:00.038) 0:00:46.713 ******** 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 16:24:12 +0000 (0:00:00.418) 0:00:47.132 ******** 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 16:24:13 +0000 (0:00:00.386) 0:00:47.518 ******** 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 16:24:13 +0000 (0:00:00.051) 0:00:47.570 ******** 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 16:24:13 +0000 (0:00:00.035) 0:00:47.605 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:28 Wednesday 06 July 2022 16:24:13 +0000 (0:00:00.035) 0:00:47.640 ******** 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 16:24:13 +0000 (0:00:00.035) 0:00:47.676 ******** 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 16:24:13 +0000 (0:00:00.039) 0:00:47.715 ******** 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 16:24:13 +0000 (0:00:00.039) 0:00:47.754 ******** 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 16:24:13 +0000 (0:00:00.039) 0:00:47.793 ******** 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 16:24:13 +0000 (0:00:00.041) 0:00:47.835 ******** 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 16:24:13 +0000 (0:00:00.043) 0:00:47.878 ******** 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 16:24:13 +0000 (0:00:00.057) 0:00:47.936 ******** 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", "vg1/lv3" ], "delta": "0:00:00.035767", "end": "2022-07-06 12:24:13.392964", "rc": 0, "start": "2022-07-06 12:24:13.357197" } STDOUT: LVM2_LV_NAME=lv3 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 16:24:14 +0000 (0:00:00.396) 0:00:48.333 ******** 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 16:24:14 +0000 (0:00:00.049) 0:00:48.382 ******** 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 16:24:14 +0000 (0:00:00.048) 0:00:48.431 ******** 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 16:24:14 +0000 (0:00:00.036) 0:00:48.467 ******** 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 16:24:14 +0000 (0:00:00.035) 0:00:48.503 ******** 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 16:24:14 +0000 (0:00:00.040) 0:00:48.543 ******** 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 16:24:14 +0000 (0:00:00.035) 0:00:48.578 ******** 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 16:24:14 +0000 (0:00:00.032) 0:00:48.611 ******** 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 16:24:14 +0000 (0:00:00.032) 0:00:48.644 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:57 Wednesday 06 July 2022 16:24:14 +0000 (0:00:00.023) 0:00:48.668 ******** 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 minus the pool raid options] ************** task path: /tmp/tmpnhy4yzav/tests/tests_raid_pool_options.yml:58 Wednesday 06 July 2022 16:24:14 +0000 (0:00:00.035) 0:00:48.703 ******** 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 16:24:14 +0000 (0:00:00.052) 0:00:48.756 ******** 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 16:24:14 +0000 (0:00:00.037) 0:00:48.794 ******** 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 16:24:15 +0000 (0:00:00.564) 0:00:49.358 ******** 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 16:24:15 +0000 (0:00:00.074) 0:00:49.433 ******** 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 16:24:15 +0000 (0:00:00.034) 0:00:49.467 ******** 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 16:24:15 +0000 (0:00:00.032) 0:00:49.499 ******** 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 16:24:15 +0000 (0:00:00.048) 0:00:49.548 ******** 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 16:24:15 +0000 (0:00:00.023) 0:00:49.572 ******** 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 16:24:15 +0000 (0:00:00.030) 0:00:49.603 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda", "sdb", "sdc" ], "name": "vg1", "state": "present", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "lv1", "size": "2g" }, { "mount_point": "/opt/test2", "name": "lv2", "size": "3g" }, { "mount_point": "/opt/test3", "name": "lv3", "size": "3g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Wednesday 06 July 2022 16:24:15 +0000 (0:00:00.044) 0:00:49.647 ******** 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 16:24:15 +0000 (0:00:00.039) 0:00:49.686 ******** 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 16:24:15 +0000 (0:00:00.029) 0:00:49.716 ******** 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 16:24:15 +0000 (0:00:00.030) 0:00:49.746 ******** 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 16:24:15 +0000 (0:00:00.031) 0:00:49.778 ******** 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 16:24:15 +0000 (0:00:00.030) 0:00:49.809 ******** 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 16:24:15 +0000 (0:00:00.059) 0:00:49.868 ******** 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 16:24:15 +0000 (0:00:00.021) 0:00:49.890 ******** ok: [/cache/centos-9.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/mapper/vg1-lv1", "/dev/mapper/vg1-lv2", "/dev/mapper/vg1-lv3", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/vg1-lv2", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test3", "src": "/dev/mapper/vg1-lv3", "state": "mounted" } ], "packages": [ "mdadm", "e2fsprogs", "lvm2", "xfsprogs" ], "pools": [ { "disks": [ "sda", "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": "0 B", "raid_device_count": 2, "raid_level": "raid1", "raid_metadata_version": "1.0", "raid_spare_count": 1, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Wednesday 06 July 2022 16:24:17 +0000 (0:00:02.241) 0:00:52.131 ******** 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 16:24:17 +0000 (0:00:00.038) 0:00:52.169 ******** 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 16:24:18 +0000 (0:00:00.023) 0:00:52.193 ******** ok: [/cache/centos-9.qcow2.snap] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/mapper/vg1-lv1", "/dev/mapper/vg1-lv2", "/dev/mapper/vg1-lv3", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/vg1-lv2", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test3", "src": "/dev/mapper/vg1-lv3", "state": "mounted" } ], "packages": [ "mdadm", "e2fsprogs", "lvm2", "xfsprogs" ], "pools": [ { "disks": [ "sda", "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": "0 B", "raid_device_count": 2, "raid_level": "raid1", "raid_metadata_version": "1.0", "raid_spare_count": 1, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Wednesday 06 July 2022 16:24:18 +0000 (0:00:00.043) 0:00:52.236 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda", "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": "0 B", "raid_device_count": 2, "raid_level": "raid1", "raid_metadata_version": "1.0", "raid_spare_count": 1, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Wednesday 06 July 2022 16:24:18 +0000 (0:00:00.052) 0:00:52.289 ******** 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 16:24:18 +0000 (0:00:00.079) 0:00:52.369 ******** 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 16:24:18 +0000 (0:00:00.050) 0:00:52.419 ******** 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 16:24:18 +0000 (0:00:00.701) 0:00:53.121 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/centos-9.qcow2.snap] => (item={'src': '/dev/mapper/vg1-lv1', 'path': '/opt/test1', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv1" } redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/centos-9.qcow2.snap] => (item={'src': '/dev/mapper/vg1-lv2', 'path': '/opt/test2', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/vg1-lv2", "state": "mounted" }, "name": "/opt/test2", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv2" } redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/centos-9.qcow2.snap] => (item={'src': '/dev/mapper/vg1-lv3', 'path': '/opt/test3', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test3", "src": "/dev/mapper/vg1-lv3", "state": "mounted" }, "name": "/opt/test3", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv3" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Wednesday 06 July 2022 16:24:20 +0000 (0:00:01.156) 0:00:54.278 ******** 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 16:24:20 +0000 (0:00:00.696) 0:00:54.975 ******** 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 16:24:21 +0000 (0:00:00.369) 0:00:55.344 ******** 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 16:24:21 +0000 (0:00:00.024) 0:00:55.369 ******** ok: [/cache/centos-9.qcow2.snap] META: role_complete for /cache/centos-9.qcow2.snap TASK [Assert to preserve RAID settings for preexisting pool] ******************* task path: /tmp/tmpnhy4yzav/tests/tests_raid_pool_options.yml:78 Wednesday 06 July 2022 16:24:22 +0000 (0:00:01.018) 0:00:56.387 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmpnhy4yzav/tests/tests_raid_pool_options.yml:87 Wednesday 06 July 2022 16:24:22 +0000 (0:00:00.042) 0:00:56.429 ******** 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 16:24:22 +0000 (0:00:00.045) 0:00:56.475 ******** ok: [/cache/centos-9.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda", "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": "0 B", "raid_device_count": 2, "raid_level": "raid1", "raid_metadata_version": "1.0", "raid_spare_count": 1, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:6 Wednesday 06 July 2022 16:24:22 +0000 (0:00:00.085) 0:00:56.561 ******** 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 16:24:22 +0000 (0:00:00.041) 0:00:56.603 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/vg1-lv1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv1", "size": "2G", "type": "lvm", "uuid": "628d84e5-0193-400d-865d-7dcf45e1a754" }, "/dev/mapper/vg1-lv2": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv2", "size": "3G", "type": "lvm", "uuid": "e38763c5-b20b-4060-8914-d1884d88bdb8" }, "/dev/mapper/vg1-lv3": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv3", "size": "3G", "type": "lvm", "uuid": "66c621f3-cf55-49d9-9f59-61167934f7e9" }, "/dev/md/vg1-1": { "fstype": "LVM2_member", "label": "", "name": "/dev/md/vg1-1", "size": "10G", "type": "raid1", "uuid": "e0F49x-eWw9-SlNf-4oj7-EcUd-84cg-MvovnQ" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda1": { "fstype": "linux_raid_member", "label": "vg1-1", "name": "/dev/sda1", "size": "10G", "type": "partition", "uuid": "75d0af5c-0a51-923a-3862-0e98f39cedba" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb1": { "fstype": "linux_raid_member", "label": "vg1-1", "name": "/dev/sdb1", "size": "10G", "type": "partition", "uuid": "75d0af5c-0a51-923a-3862-0e98f39cedba" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc1": { "fstype": "linux_raid_member", "label": "vg1-1", "name": "/dev/sdc1", "size": "10G", "type": "partition", "uuid": "75d0af5c-0a51-923a-3862-0e98f39cedba" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-06-16-23-10-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 16:24:22 +0000 (0:00:00.399) 0:00:57.002 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002524", "end": "2022-07-06 12:24:22.473153", "rc": 0, "start": "2022-07-06 12:24:22.470629" } 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/vg1-lv1 /opt/test1 xfs defaults 0 0 /dev/mapper/vg1-lv2 /opt/test2 xfs defaults 0 0 /dev/mapper/vg1-lv3 /opt/test3 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:24 Wednesday 06 July 2022 16:24:23 +0000 (0:00:00.412) 0:00:57.414 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:01.004356", "end": "2022-07-06 12:24:23.838764", "failed_when_result": false, "rc": 0, "start": "2022-07-06 12:24:22.834408" } 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 16:24:24 +0000 (0:00:01.376) 0:00:58.791 ******** [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': ['sda', 'sdb', 'sdc'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'vg1', 'raid_level': 'raid1', 'raid_device_count': 2, 'raid_spare_count': 1, 'raid_metadata_version': '1.0', 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb', 'sdc'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}, {'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'lv2', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb', 'sdc'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}, {'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test3', 'name': 'lv3', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb', 'sdc'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': '0 B'}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-pool.yml:5 Wednesday 06 July 2022 16:24:24 +0000 (0:00:00.120) 0:00:58.911 ******** 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 16:24:24 +0000 (0:00:00.034) 0:00:58.946 ******** 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 16:24:24 +0000 (0:00:00.051) 0:00:58.998 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/md127" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:10 Wednesday 06 July 2022 16:24:24 +0000 (0:00:00.059) 0:00:59.057 ******** ok: [/cache/centos-9.qcow2.snap] => (item=/dev/md127) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/md/vg1-1", "pv": "/dev/md127" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:19 Wednesday 06 July 2022 16:24:25 +0000 (0:00:00.380) 0:00:59.437 ******** 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 16:24:25 +0000 (0:00:00.049) 0:00:59.487 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/md/vg1-1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:27 Wednesday 06 July 2022 16:24:25 +0000 (0:00:00.050) 0:00:59.538 ******** 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 16:24:25 +0000 (0:00:00.053) 0:00:59.591 ******** 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 16:24:25 +0000 (0:00:00.039) 0:00:59.630 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "partition" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:42 Wednesday 06 July 2022 16:24:25 +0000 (0:00:00.052) 0:00:59.683 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "raid1" }, "changed": false } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:46 Wednesday 06 July 2022 16:24:25 +0000 (0:00:00.038) 0:00:59.722 ******** ok: [/cache/centos-9.qcow2.snap] => (item=/dev/md/vg1-1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/md/vg1-1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:56 Wednesday 06 July 2022 16:24:25 +0000 (0:00:00.043) 0:00:59.765 ******** 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 16:24:25 +0000 (0:00:00.044) 0:00:59.810 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "mdadm", "--detail", "/dev/md/vg1-1" ], "delta": "0:00:00.007221", "end": "2022-07-06 12:24:25.257431", "rc": 0, "start": "2022-07-06 12:24:25.250210" } STDOUT: /dev/md/vg1-1: Version : 1.0 Creation Time : Wed Jul 6 12:23:40 2022 Raid Level : raid1 Array Size : 10484608 (10.00 GiB 10.74 GB) Used Dev Size : 10484608 (10.00 GiB 10.74 GB) Raid Devices : 2 Total Devices : 3 Persistence : Superblock is persistent Intent Bitmap : Internal Update Time : Wed Jul 6 12:24:24 2022 State : clean, resyncing Active Devices : 2 Working Devices : 3 Failed Devices : 0 Spare Devices : 1 Consistency Policy : bitmap Resync Status : 84% complete Name : vg1-1 UUID : 75d0af5c:0a51923a:38620e98:f39cedba Events : 20 Number Major Minor RaidDevice State 0 8 1 0 active sync /dev/sda1 1 8 17 1 active sync /dev/sdb1 2 8 33 - spare /dev/sdc1 TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-md.yml:12 Wednesday 06 July 2022 16:24:26 +0000 (0:00:00.393) 0:01:00.203 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": "Active\\ Devices\\ :\\ 2\\\n" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-md.yml:16 Wednesday 06 July 2022 16:24:26 +0000 (0:00:00.059) 0:01:00.263 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_md_spare_devices_re": "Spare\\ Devices\\ :\\ 1\\\n" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-md.yml:20 Wednesday 06 July 2022 16:24:26 +0000 (0:00:00.057) 0:01:00.321 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_md_metadata_version_re": "Version\\ :\\ 1\\.0\\\n" }, "changed": false } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-md.yml:24 Wednesday 06 July 2022 16:24:26 +0000 (0:00:00.059) 0:01:00.381 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-md.yml:30 Wednesday 06 July 2022 16:24:26 +0000 (0:00:00.050) 0:01:00.432 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpnhy4yzav/tests/verify-pool-md.yml:36 Wednesday 06 July 2022 16:24:26 +0000 (0:00:00.054) 0:01:00.486 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-md.yml:44 Wednesday 06 July 2022 16:24:26 +0000 (0:00:00.047) 0:01:00.534 ******** 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 16:24:26 +0000 (0:00:00.034) 0:01:00.568 ******** 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 16:24:26 +0000 (0:00:00.047) 0:01:00.615 ******** 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': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb', 'sdc'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/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': 'lv2', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb', 'sdc'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/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/test3', 'name': 'lv3', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb', 'sdc'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 16:24:26 +0000 (0:00:00.055) 0:01:00.671 ******** 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 16:24:26 +0000 (0:00:00.029) 0:01:00.700 ******** 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 16:24:26 +0000 (0:00:00.061) 0:01:00.762 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 16:24:26 +0000 (0:00:00.028) 0:01:00.790 ******** 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 16:24:26 +0000 (0:00:00.027) 0:01:00.817 ******** 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 16:24:26 +0000 (0:00:00.028) 0:01:00.846 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 16:24:26 +0000 (0:00:00.030) 0:01:00.877 ******** 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 16:24:26 +0000 (0:00:00.029) 0:01:00.906 ******** 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 16:24:26 +0000 (0:00:00.029) 0:01:00.935 ******** 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 16:24:26 +0000 (0:00:00.029) 0:01:00.964 ******** 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 16:24:26 +0000 (0:00:00.048) 0:01:01.013 ******** 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': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb', 'sdc'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/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': 'lv2', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb', 'sdc'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/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/test3', 'name': 'lv3', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb', 'sdc'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 16:24:26 +0000 (0:00:00.057) 0:01:01.071 ******** 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 16:24:26 +0000 (0:00:00.025) 0:01:01.096 ******** 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 16:24:26 +0000 (0:00:00.024) 0:01:01.120 ******** 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 16:24:26 +0000 (0:00:00.024) 0:01:01.145 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 16:24:26 +0000 (0:00:00.024) 0:01:01.170 ******** 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 16:24:27 +0000 (0:00:00.024) 0:01:01.194 ******** 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 16:24:27 +0000 (0:00:00.026) 0:01:01.220 ******** 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 16:24:27 +0000 (0:00:00.026) 0:01:01.247 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 16:24:27 +0000 (0:00:00.025) 0:01:01.272 ******** 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 16:24:27 +0000 (0:00:00.022) 0:01:01.295 ******** 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 16:24:27 +0000 (0:00:00.023) 0:01:01.318 ******** 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 16:24:27 +0000 (0:00:00.023) 0:01:01.342 ******** 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 16:24:27 +0000 (0:00:00.025) 0:01:01.367 ******** 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 16:24:27 +0000 (0:00:00.047) 0:01:01.415 ******** 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 16:24:27 +0000 (0:00:00.050) 0:01:01.466 ******** skipping: [/cache/centos-9.qcow2.snap] => (item=/dev/md/vg1-1) => { "_storage_test_pool_member_path": "/dev/md/vg1-1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-members-encryption.yml:15 Wednesday 06 July 2022 16:24:27 +0000 (0:00:00.029) 0:01:01.495 ******** included: /tmp/tmpnhy4yzav/tests/verify-pool-member-crypttab.yml for /cache/centos-9.qcow2.snap => (item=/dev/md/vg1-1) TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-crypttab.yml:1 Wednesday 06 July 2022 16:24:27 +0000 (0:00:00.045) 0:01:01.541 ******** 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 16:24:27 +0000 (0:00:00.055) 0:01:01.596 ******** 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 16:24:27 +0000 (0:00:00.063) 0:01:01.660 ******** 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 16:24:27 +0000 (0:00:00.040) 0:01:01.701 ******** 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 16:24:27 +0000 (0:00:00.038) 0:01:01.739 ******** 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 16:24:27 +0000 (0:00:00.039) 0:01:01.778 ******** 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 16:24:27 +0000 (0:00:00.032) 0:01:01.811 ******** 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 16:24:27 +0000 (0:00:00.034) 0:01:01.845 ******** 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 16:24:27 +0000 (0:00:00.049) 0:01:01.894 ******** 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': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb', 'sdc'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/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': 'lv2', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb', 'sdc'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/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/test3', 'name': 'lv3', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb', 'sdc'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 16:24:27 +0000 (0:00:00.065) 0:01:01.960 ******** 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 16:24:27 +0000 (0:00:00.060) 0:01:02.021 ******** 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 16:24:27 +0000 (0:00:00.025) 0:01:02.046 ******** 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 16:24:27 +0000 (0:00:00.023) 0:01:02.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 16:24:27 +0000 (0:00:00.023) 0:01:02.093 ******** 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 16:24:27 +0000 (0:00:00.024) 0:01:02.117 ******** 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 16:24:27 +0000 (0:00:00.023) 0:01:02.141 ******** 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 16:24:27 +0000 (0:00:00.027) 0:01:02.169 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 16:24:28 +0000 (0:00:00.036) 0:01:02.205 ******** 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 16:24:28 +0000 (0:00:00.025) 0:01:02.231 ******** 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 16:24:28 +0000 (0:00:00.025) 0:01:02.257 ******** 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 16:24:28 +0000 (0:00:00.026) 0:01:02.283 ******** 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 16:24:28 +0000 (0:00:00.025) 0:01:02.308 ******** 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 16:24:28 +0000 (0:00:00.026) 0:01:02.335 ******** 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 16:24:28 +0000 (0:00:00.025) 0:01:02.360 ******** 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 16:24:28 +0000 (0:00:00.025) 0:01:02.386 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 16:24:28 +0000 (0:00:00.038) 0:01:02.425 ******** 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 16:24:28 +0000 (0:00:00.028) 0:01:02.453 ******** 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 16:24:28 +0000 (0:00:00.027) 0:01:02.481 ******** 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 16:24:28 +0000 (0:00:00.024) 0:01:02.506 ******** 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 16:24:28 +0000 (0:00:00.024) 0:01:02.530 ******** 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 16:24:28 +0000 (0:00:00.025) 0:01:02.555 ******** 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 16:24:28 +0000 (0:00:00.025) 0:01:02.581 ******** 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 16:24:28 +0000 (0:00:00.026) 0:01:02.607 ******** 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 16:24:28 +0000 (0:00:00.037) 0:01:02.644 ******** 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 16:24:28 +0000 (0:00:00.039) 0:01:02.684 ******** [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/test1', 'name': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb', 'sdc'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/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': 'lv2', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb', 'sdc'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/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/test3', 'name': 'lv3', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb', 'sdc'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml:2 Wednesday 06 July 2022 16:24:28 +0000 (0:00:00.058) 0:01:02.742 ******** 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 16:24:28 +0000 (0:00:00.054) 0:01:02.797 ******** 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 16:24:28 +0000 (0:00:00.095) 0:01:02.892 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:14 Wednesday 06 July 2022 16:24:28 +0000 (0:00:00.049) 0:01:02.942 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 509827, "block_size": 4096, "block_total": 521728, "block_used": 11901, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1048573, "inode_total": 1048576, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 2088251392, "size_total": 2136997888, "uuid": "628d84e5-0193-400d-865d-7dcf45e1a754" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 509827, "block_size": 4096, "block_total": 521728, "block_used": 11901, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1048573, "inode_total": 1048576, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 2088251392, "size_total": 2136997888, "uuid": "628d84e5-0193-400d-865d-7dcf45e1a754" } ], "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 16:24:28 +0000 (0:00:00.057) 0:01:02.999 ******** 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 16:24:28 +0000 (0:00:00.050) 0:01:03.050 ******** 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 16:24:28 +0000 (0:00:00.050) 0:01:03.100 ******** 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 16:24:28 +0000 (0:00:00.052) 0:01:03.152 ******** 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 16:24:28 +0000 (0:00:00.026) 0:01:03.179 ******** 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 16:24:29 +0000 (0:00:00.025) 0:01:03.205 ******** 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 16:24:29 +0000 (0:00:00.025) 0:01:03.231 ******** 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 16:24:29 +0000 (0:00:00.139) 0:01:03.371 ******** 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/vg1-lv1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 16:24:29 +0000 (0:00:00.064) 0:01:03.435 ******** 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 16:24:29 +0000 (0:00:00.057) 0:01:03.493 ******** 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 16:24:29 +0000 (0:00:00.053) 0:01:03.547 ******** 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 16:24:29 +0000 (0:00:00.036) 0:01:03.583 ******** 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 16:24:29 +0000 (0:00:00.037) 0:01:03.620 ******** 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 16:24:29 +0000 (0:00:00.043) 0:01:03.664 ******** 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 16:24:29 +0000 (0:00:00.043) 0:01:03.707 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1657124626.8157158, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657124626.8157158, "dev": 5, "device_type": 64770, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 945, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657124626.8157158, "nlink": 1, "path": "/dev/mapper/vg1-lv1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:10 Wednesday 06 July 2022 16:24:29 +0000 (0:00:00.390) 0:01:04.098 ******** 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 16:24:29 +0000 (0:00:00.039) 0:01:04.138 ******** 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 16:24:29 +0000 (0:00:00.039) 0:01:04.178 ******** 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 16:24:30 +0000 (0:00:00.037) 0:01:04.215 ******** 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 16:24:30 +0000 (0:00:00.027) 0:01:04.242 ******** 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 16:24:30 +0000 (0:00:00.042) 0:01:04.285 ******** 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 16:24:30 +0000 (0:00:00.025) 0:01:04.311 ******** 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 16:24:31 +0000 (0:00:00.877) 0:01:05.188 ******** 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 16:24:31 +0000 (0:00:00.024) 0:01:05.213 ******** 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 16:24:31 +0000 (0:00:00.025) 0:01:05.238 ******** 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 16:24:31 +0000 (0:00:00.054) 0:01:05.292 ******** 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 16:24:31 +0000 (0:00:00.024) 0:01:05.317 ******** 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 16:24:31 +0000 (0:00:00.024) 0:01:05.341 ******** 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 16:24:31 +0000 (0:00:00.024) 0:01:05.366 ******** 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 16:24:31 +0000 (0:00:00.027) 0:01:05.393 ******** 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 16:24:31 +0000 (0:00:00.027) 0:01:05.421 ******** 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 16:24:31 +0000 (0:00:00.055) 0:01:05.476 ******** 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 16:24:31 +0000 (0:00:00.084) 0:01:05.561 ******** 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 16:24:31 +0000 (0:00:00.040) 0:01:05.602 ******** 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 16:24:31 +0000 (0:00:00.039) 0:01:05.641 ******** 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 16:24:31 +0000 (0:00:00.036) 0:01:05.678 ******** 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 16:24:31 +0000 (0:00:00.068) 0:01:05.746 ******** 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 16:24:31 +0000 (0:00:00.035) 0:01:05.782 ******** 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 16:24:31 +0000 (0:00:00.035) 0:01:05.818 ******** 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 16:24:31 +0000 (0:00:00.038) 0:01:05.857 ******** 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 16:24:31 +0000 (0:00:00.036) 0:01:05.893 ******** 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 16:24:31 +0000 (0:00:00.077) 0:01:05.970 ******** 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 16:24:31 +0000 (0:00:00.038) 0:01:06.009 ******** 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 16:24:31 +0000 (0:00:00.036) 0:01:06.046 ******** ok: [/cache/centos-9.qcow2.snap] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:9 Wednesday 06 July 2022 16:24:32 +0000 (0:00:00.382) 0:01:06.428 ******** ok: [/cache/centos-9.qcow2.snap] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:15 Wednesday 06 July 2022 16:24:32 +0000 (0:00:00.394) 0:01:06.823 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "2147483648" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:20 Wednesday 06 July 2022 16:24:32 +0000 (0:00:00.053) 0:01:06.876 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "2147483648" } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:25 Wednesday 06 July 2022 16:24:32 +0000 (0:00:00.039) 0:01:06.916 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:28 Wednesday 06 July 2022 16:24:32 +0000 (0:00:00.038) 0:01:06.955 ******** 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 16:24:32 +0000 (0:00:00.038) 0:01:06.993 ******** 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 16:24:32 +0000 (0:00:00.039) 0:01:07.032 ******** 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 16:24:32 +0000 (0:00:00.041) 0:01:07.074 ******** 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 16:24:32 +0000 (0:00:00.037) 0:01:07.112 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_actual_size": { "bytes": 2147483648, "changed": false, "failed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:47 Wednesday 06 July 2022 16:24:32 +0000 (0:00:00.037) 0:01:07.149 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "2147483648" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:50 Wednesday 06 July 2022 16:24:32 +0000 (0:00:00.037) 0:01:07.187 ******** 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 16:24:33 +0000 (0:00:00.056) 0:01:07.244 ******** 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", "vg1/lv1" ], "delta": "0:00:00.033941", "end": "2022-07-06 12:24:32.708842", "rc": 0, "start": "2022-07-06 12:24:32.674901" } STDOUT: LVM2_LV_NAME=lv1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 16:24:33 +0000 (0:00:00.407) 0:01:07.651 ******** 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 16:24:33 +0000 (0:00:00.049) 0:01:07.701 ******** 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 16:24:33 +0000 (0:00:00.055) 0:01:07.756 ******** 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 16:24:33 +0000 (0:00:00.037) 0:01:07.794 ******** 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 16:24:33 +0000 (0:00:00.035) 0:01:07.829 ******** 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 16:24:33 +0000 (0:00:00.038) 0:01:07.867 ******** 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 16:24:33 +0000 (0:00:00.037) 0:01:07.905 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml:2 Wednesday 06 July 2022 16:24:33 +0000 (0:00:00.036) 0:01:07.941 ******** 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 16:24:33 +0000 (0:00:00.049) 0:01:07.991 ******** 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 16:24:33 +0000 (0:00:00.082) 0:01:08.074 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv2" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:14 Wednesday 06 July 2022 16:24:33 +0000 (0:00:00.041) 0:01:08.115 ******** 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/vg1-lv2", "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": "e38763c5-b20b-4060-8914-d1884d88bdb8" } ], "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/vg1-lv2", "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": "e38763c5-b20b-4060-8914-d1884d88bdb8" } ], "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 16:24:34 +0000 (0:00:00.096) 0:01:08.212 ******** 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 16:24:34 +0000 (0:00:00.099) 0:01:08.312 ******** 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 16:24:34 +0000 (0:00:00.088) 0:01:08.401 ******** 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 16:24:34 +0000 (0:00:00.111) 0:01:08.513 ******** 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 16:24:34 +0000 (0:00:00.024) 0:01:08.537 ******** 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 16:24:34 +0000 (0:00:00.025) 0:01:08.562 ******** 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 16:24:34 +0000 (0:00:00.023) 0:01:08.586 ******** 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 16:24:34 +0000 (0:00:00.034) 0:01:08.621 ******** 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/vg1-lv2 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test2 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test2 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 16:24:34 +0000 (0:00:00.057) 0:01:08.679 ******** 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 16:24:34 +0000 (0:00:00.047) 0:01:08.726 ******** 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 16:24:34 +0000 (0:00:00.048) 0:01:08.774 ******** 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 16:24:34 +0000 (0:00:00.034) 0:01:08.808 ******** 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 16:24:34 +0000 (0:00:00.034) 0:01:08.842 ******** 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 16:24:34 +0000 (0:00:00.038) 0:01:08.881 ******** 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 16:24:34 +0000 (0:00:00.042) 0:01:08.924 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1657124626.5727158, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657124626.5727158, "dev": 5, "device_type": 64769, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 905, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657124626.5727158, "nlink": 1, "path": "/dev/mapper/vg1-lv2", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:10 Wednesday 06 July 2022 16:24:35 +0000 (0:00:00.396) 0:01:09.320 ******** 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 16:24:35 +0000 (0:00:00.041) 0:01:09.362 ******** 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 16:24:35 +0000 (0:00:00.042) 0:01:09.404 ******** 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 16:24:35 +0000 (0:00:00.037) 0:01:09.442 ******** 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 16:24:35 +0000 (0:00:00.024) 0:01:09.466 ******** 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 16:24:35 +0000 (0:00:00.039) 0:01:09.506 ******** 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 16:24:35 +0000 (0:00:00.025) 0:01:09.531 ******** 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 16:24:36 +0000 (0:00:00.817) 0:01:10.348 ******** 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 16:24:36 +0000 (0:00:00.028) 0:01:10.377 ******** 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 16:24:36 +0000 (0:00:00.026) 0:01:10.403 ******** 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 16:24:36 +0000 (0:00:00.053) 0:01:10.456 ******** 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 16:24:36 +0000 (0:00:00.026) 0:01:10.483 ******** 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 16:24:36 +0000 (0:00:00.026) 0:01:10.509 ******** 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 16:24:36 +0000 (0:00:00.026) 0:01:10.535 ******** 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 16:24:36 +0000 (0:00:00.026) 0:01:10.561 ******** 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 16:24:36 +0000 (0:00:00.027) 0:01:10.589 ******** 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 16:24:36 +0000 (0:00:00.052) 0:01:10.641 ******** 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 16:24:36 +0000 (0:00:00.080) 0:01:10.722 ******** 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 16:24:36 +0000 (0:00:00.039) 0:01:10.761 ******** 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 16:24:36 +0000 (0:00:00.070) 0:01:10.832 ******** 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 16:24:36 +0000 (0:00:00.038) 0:01:10.870 ******** 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 16:24:36 +0000 (0:00:00.037) 0:01:10.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-md.yml:13 Wednesday 06 July 2022 16:24:36 +0000 (0:00:00.039) 0:01:10.947 ******** 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 16:24:36 +0000 (0:00:00.037) 0:01:10.985 ******** 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 16:24:36 +0000 (0:00:00.037) 0:01:11.022 ******** 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 16:24:36 +0000 (0:00:00.038) 0:01:11.060 ******** 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 16:24:36 +0000 (0:00:00.039) 0:01:11.100 ******** 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 16:24:36 +0000 (0:00:00.045) 0:01:11.145 ******** 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 16:24:37 +0000 (0:00:00.043) 0:01:11.188 ******** 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 16:24:37 +0000 (0:00:00.376) 0:01:11.565 ******** 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 16:24:37 +0000 (0:00:00.400) 0:01:11.965 ******** 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 16:24:37 +0000 (0:00:00.054) 0:01:12.019 ******** 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 16:24:37 +0000 (0:00:00.040) 0:01:12.060 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:28 Wednesday 06 July 2022 16:24:37 +0000 (0:00:00.039) 0:01:12.099 ******** 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 16:24:37 +0000 (0:00:00.038) 0:01:12.138 ******** 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 16:24:37 +0000 (0:00:00.038) 0:01:12.176 ******** 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 16:24:38 +0000 (0:00:00.039) 0:01:12.215 ******** 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 16:24:38 +0000 (0:00:00.039) 0:01:12.254 ******** 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 16:24:38 +0000 (0:00:00.039) 0:01:12.294 ******** 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 16:24:38 +0000 (0:00:00.039) 0:01:12.333 ******** 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 16:24:38 +0000 (0:00:00.053) 0:01:12.386 ******** 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", "vg1/lv2" ], "delta": "0:00:00.031743", "end": "2022-07-06 12:24:37.856781", "rc": 0, "start": "2022-07-06 12:24:37.825038" } STDOUT: LVM2_LV_NAME=lv2 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 16:24:38 +0000 (0:00:00.412) 0:01:12.799 ******** 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 16:24:38 +0000 (0:00:00.051) 0:01:12.850 ******** 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 16:24:38 +0000 (0:00:00.048) 0:01:12.899 ******** 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 16:24:38 +0000 (0:00:00.035) 0:01:12.935 ******** 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 16:24:38 +0000 (0:00:00.035) 0:01:12.970 ******** 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 16:24:38 +0000 (0:00:00.036) 0:01:13.007 ******** 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 16:24:38 +0000 (0:00:00.084) 0:01:13.091 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml:2 Wednesday 06 July 2022 16:24:38 +0000 (0:00:00.033) 0:01:13.125 ******** 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 16:24:38 +0000 (0:00:00.047) 0:01:13.172 ******** 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 16:24:39 +0000 (0:00:00.081) 0:01:13.254 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv3" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:14 Wednesday 06 July 2022 16:24:39 +0000 (0:00:00.041) 0:01:13.295 ******** 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/vg1-lv3", "fstype": "xfs", "inode_available": 1572861, "inode_total": 1572864, "inode_used": 3, "mount": "/opt/test3", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 3154518016, "size_total": 3210739712, "uuid": "66c621f3-cf55-49d9-9f59-61167934f7e9" } ], "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/vg1-lv3", "fstype": "xfs", "inode_available": 1572861, "inode_total": 1572864, "inode_used": 3, "mount": "/opt/test3", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 3154518016, "size_total": 3210739712, "uuid": "66c621f3-cf55-49d9-9f59-61167934f7e9" } ], "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 16:24:39 +0000 (0:00:00.056) 0:01:13.352 ******** 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 16:24:39 +0000 (0:00:00.051) 0:01:13.404 ******** 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 16:24:39 +0000 (0:00:00.046) 0:01:13.450 ******** 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 16:24:39 +0000 (0:00:00.047) 0:01:13.498 ******** 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 16:24:39 +0000 (0:00:00.022) 0:01:13.521 ******** 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 16:24:39 +0000 (0:00:00.023) 0:01:13.544 ******** 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 16:24:39 +0000 (0:00:00.022) 0:01:13.567 ******** 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 16:24:39 +0000 (0:00:00.035) 0:01:13.602 ******** 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/vg1-lv3 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test3 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test3 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 16:24:39 +0000 (0:00:00.060) 0:01:13.662 ******** 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 16:24:39 +0000 (0:00:00.048) 0:01:13.711 ******** 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 16:24:39 +0000 (0:00:00.051) 0:01:13.762 ******** 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 16:24:39 +0000 (0:00:00.038) 0:01:13.801 ******** 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 16:24:39 +0000 (0:00:00.038) 0:01:13.840 ******** 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 16:24:39 +0000 (0:00:00.036) 0:01:13.877 ******** 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 16:24:39 +0000 (0:00:00.038) 0:01:13.916 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1657124626.3197157, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657124626.3197157, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 870, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657124626.3197157, "nlink": 1, "path": "/dev/mapper/vg1-lv3", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:10 Wednesday 06 July 2022 16:24:40 +0000 (0:00:00.374) 0:01:14.290 ******** 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 16:24:40 +0000 (0:00:00.040) 0:01:14.331 ******** 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 16:24:40 +0000 (0:00:00.037) 0:01:14.369 ******** 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 16:24:40 +0000 (0:00:00.036) 0:01:14.405 ******** 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 16:24:40 +0000 (0:00:00.025) 0:01:14.431 ******** 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 16:24:40 +0000 (0:00:00.042) 0:01:14.473 ******** 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 16:24:40 +0000 (0:00:00.024) 0:01:14.498 ******** 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 16:24:41 +0000 (0:00:00.839) 0:01:15.338 ******** 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 16:24:41 +0000 (0:00:00.028) 0:01:15.366 ******** 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 16:24:41 +0000 (0:00:00.028) 0:01:15.395 ******** 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 16:24:41 +0000 (0:00:00.135) 0:01:15.530 ******** 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 16:24:41 +0000 (0:00:00.026) 0:01:15.557 ******** 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 16:24:41 +0000 (0:00:00.025) 0:01:15.582 ******** 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 16:24:41 +0000 (0:00:00.026) 0:01:15.608 ******** 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 16:24:41 +0000 (0:00:00.026) 0:01:15.634 ******** 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 16:24:41 +0000 (0:00:00.026) 0:01:15.660 ******** 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 16:24:41 +0000 (0:00:00.055) 0:01:15.715 ******** 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 16:24:41 +0000 (0:00:00.054) 0:01:15.770 ******** 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 16:24:41 +0000 (0:00:00.037) 0:01:15.808 ******** 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 16:24:41 +0000 (0:00:00.037) 0:01:15.846 ******** 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 16:24:41 +0000 (0:00:00.037) 0:01:15.883 ******** 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 16:24:41 +0000 (0:00:00.039) 0:01:15.922 ******** 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 16:24:41 +0000 (0:00:00.038) 0:01:15.961 ******** 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 16:24:41 +0000 (0:00:00.037) 0:01:15.998 ******** 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 16:24:41 +0000 (0:00:00.037) 0:01:16.036 ******** 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 16:24:41 +0000 (0:00:00.041) 0:01:16.078 ******** 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 16:24:41 +0000 (0:00:00.038) 0:01:16.116 ******** 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 16:24:41 +0000 (0:00:00.037) 0:01:16.154 ******** 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 16:24:42 +0000 (0:00:00.038) 0:01:16.192 ******** 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 16:24:42 +0000 (0:00:00.386) 0:01:16.579 ******** 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 16:24:42 +0000 (0:00:00.386) 0:01:16.966 ******** 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 16:24:42 +0000 (0:00:00.050) 0:01:17.016 ******** 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 16:24:42 +0000 (0:00:00.038) 0:01:17.055 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:28 Wednesday 06 July 2022 16:24:42 +0000 (0:00:00.037) 0:01:17.093 ******** 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 16:24:42 +0000 (0:00:00.037) 0:01:17.130 ******** 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 16:24:42 +0000 (0:00:00.040) 0:01:17.171 ******** 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 16:24:43 +0000 (0:00:00.037) 0:01:17.208 ******** 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 16:24:43 +0000 (0:00:00.040) 0:01:17.249 ******** 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 16:24:43 +0000 (0:00:00.038) 0:01:17.287 ******** 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 16:24:43 +0000 (0:00:00.037) 0:01:17.325 ******** 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 16:24:43 +0000 (0:00:00.088) 0:01:17.413 ******** 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", "vg1/lv3" ], "delta": "0:00:00.034808", "end": "2022-07-06 12:24:42.915944", "rc": 0, "start": "2022-07-06 12:24:42.881136" } STDOUT: LVM2_LV_NAME=lv3 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 16:24:43 +0000 (0:00:00.448) 0:01:17.862 ******** 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 16:24:43 +0000 (0:00:00.081) 0:01:17.943 ******** 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 16:24:43 +0000 (0:00:00.084) 0:01:18.028 ******** 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 16:24:43 +0000 (0:00:00.077) 0:01:18.106 ******** 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 16:24:43 +0000 (0:00:00.041) 0:01:18.147 ******** 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 16:24:44 +0000 (0:00:00.039) 0:01:18.187 ******** 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 16:24:44 +0000 (0:00:00.076) 0:01:18.264 ******** 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 16:24:44 +0000 (0:00:00.039) 0:01:18.303 ******** 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 16:24:44 +0000 (0:00:00.038) 0:01:18.341 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:57 Wednesday 06 July 2022 16:24:44 +0000 (0:00:00.022) 0:01:18.364 ******** 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 [Remove the pool created above] ******************************************* task path: /tmp/tmpnhy4yzav/tests/tests_raid_pool_options.yml:89 Wednesday 06 July 2022 16:24:44 +0000 (0:00:00.040) 0:01:18.404 ******** 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 16:24:44 +0000 (0:00:00.057) 0:01:18.461 ******** 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 16:24:44 +0000 (0:00:00.039) 0:01:18.501 ******** 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 16:24:44 +0000 (0:00:00.524) 0:01:19.025 ******** 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 16:24:44 +0000 (0:00:00.077) 0:01:19.103 ******** 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 16:24:44 +0000 (0:00:00.038) 0:01:19.142 ******** 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 16:24:44 +0000 (0:00:00.032) 0:01:19.175 ******** 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 16:24:45 +0000 (0:00:00.058) 0:01:19.233 ******** 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 16:24:45 +0000 (0:00:00.029) 0:01:19.263 ******** 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 16:24:45 +0000 (0:00:00.031) 0:01:19.295 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda", "sdb", "sdc" ], "name": "vg1", "raid_device_count": 2, "raid_level": "raid1", "raid_metadata_version": "1.0", "raid_spare_count": 1, "state": "absent", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "lv1", "size": "2g" }, { "mount_point": "/opt/test2", "name": "lv2", "size": "3g" }, { "mount_point": "/opt/test3", "name": "lv3", "size": "3g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Wednesday 06 July 2022 16:24:45 +0000 (0:00:00.045) 0:01:19.340 ******** 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 16:24:45 +0000 (0:00:00.042) 0:01:19.382 ******** 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 16:24:45 +0000 (0:00:00.032) 0:01:19.415 ******** 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 16:24:45 +0000 (0:00:00.030) 0:01:19.445 ******** 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 16:24:45 +0000 (0:00:00.032) 0:01:19.478 ******** 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 16:24:45 +0000 (0:00:00.034) 0:01:19.512 ******** 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 16:24:45 +0000 (0:00:00.062) 0:01:19.574 ******** 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 16:24:45 +0000 (0:00:00.025) 0:01:19.600 ******** changed: [/cache/centos-9.qcow2.snap] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/vg1-lv3", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv3", "fs_type": null }, { "action": "destroy format", "device": "/dev/mapper/vg1-lv2", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv2", "fs_type": null }, { "action": "destroy format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "destroy device", "device": "/dev/vg1", "fs_type": null }, { "action": "destroy format", "device": "/dev/md/vg1-1", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/md/vg1-1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda1", "fs_type": "mdmember" }, { "action": "destroy device", "device": "/dev/sda1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "disklabel" }, { "action": "destroy format", "device": "/dev/sdc1", "fs_type": "mdmember" }, { "action": "destroy device", "device": "/dev/sdc1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdc", "fs_type": "disklabel" }, { "action": "destroy format", "device": "/dev/sdb1", "fs_type": "mdmember" }, { "action": "destroy device", "device": "/dev/sdb1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb", "fs_type": "disklabel" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test3", "src": "/dev/mapper/vg1-lv3", "state": "absent" }, { "fstype": "xfs", "path": "/opt/test2", "src": "/dev/mapper/vg1-lv2", "state": "absent" }, { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "absent" } ], "packages": [ "e2fsprogs", "xfsprogs" ], "pools": [ { "disks": [ "sda", "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": "0 B", "raid_device_count": 2, "raid_level": "raid1", "raid_metadata_version": "1.0", "raid_spare_count": 1, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Wednesday 06 July 2022 16:24:50 +0000 (0:00:05.198) 0:01:24.798 ******** 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 16:24:50 +0000 (0:00:00.038) 0:01:24.837 ******** 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 16:24:50 +0000 (0:00:00.023) 0:01:24.860 ******** ok: [/cache/centos-9.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/vg1-lv3", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv3", "fs_type": null }, { "action": "destroy format", "device": "/dev/mapper/vg1-lv2", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv2", "fs_type": null }, { "action": "destroy format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "destroy device", "device": "/dev/vg1", "fs_type": null }, { "action": "destroy format", "device": "/dev/md/vg1-1", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/md/vg1-1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda1", "fs_type": "mdmember" }, { "action": "destroy device", "device": "/dev/sda1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "disklabel" }, { "action": "destroy format", "device": "/dev/sdc1", "fs_type": "mdmember" }, { "action": "destroy device", "device": "/dev/sdc1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdc", "fs_type": "disklabel" }, { "action": "destroy format", "device": "/dev/sdb1", "fs_type": "mdmember" }, { "action": "destroy device", "device": "/dev/sdb1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb", "fs_type": "disklabel" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test3", "src": "/dev/mapper/vg1-lv3", "state": "absent" }, { "fstype": "xfs", "path": "/opt/test2", "src": "/dev/mapper/vg1-lv2", "state": "absent" }, { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "absent" } ], "packages": [ "e2fsprogs", "xfsprogs" ], "pools": [ { "disks": [ "sda", "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": "0 B", "raid_device_count": 2, "raid_level": "raid1", "raid_metadata_version": "1.0", "raid_spare_count": 1, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Wednesday 06 July 2022 16:24:50 +0000 (0:00:00.042) 0:01:24.903 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda", "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": "0 B", "raid_device_count": 2, "raid_level": "raid1", "raid_metadata_version": "1.0", "raid_spare_count": 1, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Wednesday 06 July 2022 16:24:50 +0000 (0:00:00.040) 0:01:24.944 ******** 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 16:24:50 +0000 (0:00:00.037) 0:01:24.982 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-9.qcow2.snap] => (item={'src': '/dev/mapper/vg1-lv3', 'path': '/opt/test3', 'state': 'absent', 'fstype': 'xfs'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "fstype": "xfs", "path": "/opt/test3", "src": "/dev/mapper/vg1-lv3", "state": "absent" }, "name": "/opt/test3", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv3" } redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-9.qcow2.snap] => (item={'src': '/dev/mapper/vg1-lv2', 'path': '/opt/test2', 'state': 'absent', 'fstype': 'xfs'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "fstype": "xfs", "path": "/opt/test2", "src": "/dev/mapper/vg1-lv2", "state": "absent" }, "name": "/opt/test2", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv2" } redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-9.qcow2.snap] => (item={'src': '/dev/mapper/vg1-lv1', 'path': '/opt/test1', 'state': 'absent', 'fstype': 'xfs'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Wednesday 06 July 2022 16:24:51 +0000 (0:00:01.075) 0:01:26.057 ******** 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 16:24:52 +0000 (0:00:00.663) 0:01:26.720 ******** 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 16:24:52 +0000 (0:00:00.040) 0:01:26.760 ******** 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 16:24:53 +0000 (0:00:00.657) 0:01:27.418 ******** 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 16:24:53 +0000 (0:00:00.378) 0:01:27.797 ******** 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 16:24:53 +0000 (0:00:00.025) 0:01:27.822 ******** ok: [/cache/centos-9.qcow2.snap] META: role_complete for /cache/centos-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpnhy4yzav/tests/tests_raid_pool_options.yml:113 Wednesday 06 July 2022 16:24:54 +0000 (0:00:00.916) 0:01:28.739 ******** 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 16:24:54 +0000 (0:00:00.045) 0:01:28.785 ******** ok: [/cache/centos-9.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda", "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": "0 B", "raid_device_count": 2, "raid_level": "raid1", "raid_metadata_version": "1.0", "raid_spare_count": 1, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:6 Wednesday 06 July 2022 16:24:54 +0000 (0:00:00.085) 0:01:28.871 ******** 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 16:24:54 +0000 (0:00:00.037) 0:01:28.908 ******** 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-16-23-10-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 16:24:55 +0000 (0:00:00.381) 0:01:29.290 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002659", "end": "2022-07-06 12:24:54.717676", "rc": 0, "start": "2022-07-06 12:24:54.715017" } 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 16:24:55 +0000 (0:00:00.370) 0:01:29.660 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:01.004081", "end": "2022-07-06 12:24:56.091715", "failed_when_result": false, "rc": 0, "start": "2022-07-06 12:24:55.087634" } 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 16:24:56 +0000 (0:00:01.381) 0:01:31.041 ******** [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': ['sda', 'sdb', 'sdc'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'vg1', 'raid_level': 'raid1', 'raid_device_count': 2, 'raid_spare_count': 1, 'raid_metadata_version': '1.0', 'state': 'absent', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb', 'sdc'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}, {'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'lv2', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb', 'sdc'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2'}, {'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test3', 'name': 'lv3', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb', 'sdc'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3'}], 'raid_chunk_size': '0 B'}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-pool.yml:5 Wednesday 06 July 2022 16:24:56 +0000 (0:00:00.063) 0:01:31.105 ******** 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 16:24:56 +0000 (0:00:00.034) 0:01:31.140 ******** 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 16:24:56 +0000 (0:00:00.047) 0:01:31.187 ******** 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 16:24:57 +0000 (0:00:00.057) 0:01:31.244 ******** TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:19 Wednesday 06 July 2022 16:24:57 +0000 (0:00:00.026) 0:01:31.271 ******** 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 16:24:57 +0000 (0:00:00.051) 0:01:31.322 ******** 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 16:24:57 +0000 (0:00:00.054) 0:01:31.377 ******** 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 16:24:57 +0000 (0:00:00.058) 0:01:31.436 ******** 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 16:24:57 +0000 (0:00:00.038) 0:01:31.474 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "partition" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:42 Wednesday 06 July 2022 16:24:57 +0000 (0:00:00.096) 0:01:31.571 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "raid1" }, "changed": false } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:46 Wednesday 06 July 2022 16:24:57 +0000 (0:00:00.050) 0:01:31.622 ******** TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:56 Wednesday 06 July 2022 16:24:57 +0000 (0:00:00.025) 0:01:31.647 ******** 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 16:24:57 +0000 (0:00:00.044) 0:01:31.692 ******** 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 16:24:57 +0000 (0:00:00.035) 0:01:31.728 ******** 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 16:24:57 +0000 (0:00:00.025) 0:01:31.754 ******** 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 16:24:57 +0000 (0:00:00.025) 0:01:31.779 ******** 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 16:24:57 +0000 (0:00:00.022) 0:01:31.802 ******** 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 16:24:57 +0000 (0:00:00.062) 0:01:31.865 ******** 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 16:24:57 +0000 (0:00:00.025) 0:01:31.890 ******** 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 16:24:57 +0000 (0:00:00.025) 0:01:31.916 ******** 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 16:24:57 +0000 (0:00:00.043) 0:01:31.959 ******** 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 16:24:57 +0000 (0:00:00.047) 0:01:32.006 ******** 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': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb', 'sdc'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}) included: /tmp/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': 'lv2', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb', 'sdc'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2'}) included: /tmp/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/test3', 'name': 'lv3', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb', 'sdc'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 16:24:57 +0000 (0:00:00.056) 0:01:32.063 ******** 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 16:24:57 +0000 (0:00:00.026) 0:01:32.090 ******** 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 16:24:57 +0000 (0:00:00.026) 0:01:32.116 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 16:24:57 +0000 (0:00:00.028) 0:01:32.144 ******** 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 16:24:57 +0000 (0:00:00.029) 0:01:32.174 ******** 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 16:24:58 +0000 (0:00:00.027) 0:01:32.202 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 16:24:58 +0000 (0:00:00.027) 0:01:32.229 ******** 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 16:24:58 +0000 (0:00:00.025) 0:01:32.254 ******** 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 16:24:58 +0000 (0:00:00.030) 0:01:32.284 ******** 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 16:24:58 +0000 (0:00:00.026) 0:01:32.311 ******** 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 16:24:58 +0000 (0:00:00.042) 0:01:32.354 ******** 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': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb', 'sdc'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}) included: /tmp/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': 'lv2', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb', 'sdc'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2'}) included: /tmp/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/test3', 'name': 'lv3', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb', 'sdc'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 16:24:58 +0000 (0:00:00.059) 0:01:32.413 ******** 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 16:24:58 +0000 (0:00:00.023) 0:01:32.437 ******** 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 16:24:58 +0000 (0:00:00.024) 0:01:32.462 ******** 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 16:24:58 +0000 (0:00:00.024) 0:01:32.487 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 16:24:58 +0000 (0:00:00.023) 0:01:32.510 ******** 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 16:24:58 +0000 (0:00:00.022) 0:01:32.533 ******** 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 16:24:58 +0000 (0:00:00.023) 0:01:32.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 16:24:58 +0000 (0:00:00.026) 0:01:32.583 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 16:24:58 +0000 (0:00:00.028) 0:01:32.612 ******** 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 16:24:58 +0000 (0:00:00.025) 0:01:32.637 ******** 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 16:24:58 +0000 (0:00:00.025) 0:01:32.663 ******** 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 16:24:58 +0000 (0:00:00.024) 0:01:32.687 ******** 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 16:24:58 +0000 (0:00:00.024) 0:01:32.711 ******** 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 16:24:58 +0000 (0:00:00.046) 0:01:32.758 ******** 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 16:24:58 +0000 (0:00:00.052) 0:01:32.810 ******** TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-members-encryption.yml:15 Wednesday 06 July 2022 16:24:58 +0000 (0:00:00.022) 0:01:32.833 ******** TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-members-encryption.yml:22 Wednesday 06 July 2022 16:24:58 +0000 (0:00:00.023) 0:01:32.856 ******** 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 16:24:58 +0000 (0:00:00.033) 0:01:32.890 ******** 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 16:24:58 +0000 (0:00:00.056) 0:01:32.946 ******** 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': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb', 'sdc'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}) included: /tmp/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': 'lv2', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb', 'sdc'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2'}) included: /tmp/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/test3', 'name': 'lv3', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb', 'sdc'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 16:24:58 +0000 (0:00:00.099) 0:01:33.045 ******** 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 16:24:58 +0000 (0:00:00.024) 0:01:33.069 ******** 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 16:24:58 +0000 (0:00:00.027) 0:01:33.097 ******** 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 16:24:58 +0000 (0:00:00.025) 0:01:33.122 ******** 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 16:24:58 +0000 (0:00:00.025) 0:01:33.148 ******** 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 16:24:58 +0000 (0:00:00.025) 0:01:33.173 ******** 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 16:24:59 +0000 (0:00:00.026) 0:01:33.200 ******** 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 16:24:59 +0000 (0:00:00.025) 0:01:33.225 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 16:24:59 +0000 (0:00:00.033) 0:01:33.259 ******** 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 16:24:59 +0000 (0:00:00.022) 0:01:33.281 ******** 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 16:24:59 +0000 (0:00:00.025) 0:01:33.307 ******** 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 16:24:59 +0000 (0:00:00.022) 0:01:33.329 ******** 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 16:24:59 +0000 (0:00:00.024) 0:01:33.354 ******** 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 16:24:59 +0000 (0:00:00.022) 0:01:33.377 ******** 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 16:24:59 +0000 (0:00:00.024) 0:01:33.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-member-vdo.yml:39 Wednesday 06 July 2022 16:24:59 +0000 (0:00:00.024) 0:01:33.426 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 16:24:59 +0000 (0:00:00.036) 0:01:33.463 ******** 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 16:24:59 +0000 (0:00:00.027) 0:01:33.490 ******** 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 16:24:59 +0000 (0:00:00.029) 0:01:33.519 ******** 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 16:24:59 +0000 (0:00:00.023) 0:01:33.543 ******** 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 16:24:59 +0000 (0:00:00.024) 0:01:33.567 ******** 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 16:24:59 +0000 (0:00:00.023) 0:01:33.591 ******** 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 16:24:59 +0000 (0:00:00.026) 0:01:33.618 ******** 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 16:24:59 +0000 (0:00:00.024) 0:01:33.643 ******** 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 16:24:59 +0000 (0:00:00.032) 0:01:33.676 ******** 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 16:24:59 +0000 (0:00:00.037) 0:01:33.713 ******** [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/test1', 'name': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb', 'sdc'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}) included: /tmp/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': 'lv2', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb', 'sdc'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2'}) included: /tmp/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/test3', 'name': 'lv3', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb', 'sdc'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml:2 Wednesday 06 July 2022 16:24:59 +0000 (0:00:00.052) 0:01:33.765 ******** 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 16:24:59 +0000 (0:00:00.046) 0:01:33.812 ******** 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 16:24:59 +0000 (0:00:00.076) 0:01:33.888 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:14 Wednesday 06 July 2022 16:24:59 +0000 (0:00:00.039) 0:01:33.928 ******** 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 16:24:59 +0000 (0:00:00.053) 0:01:33.981 ******** 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 16:24:59 +0000 (0:00:00.024) 0:01:34.006 ******** 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 16:24:59 +0000 (0:00:00.051) 0:01:34.058 ******** 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 16:24:59 +0000 (0:00:00.038) 0:01:34.096 ******** 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 16:24:59 +0000 (0:00:00.025) 0:01:34.121 ******** 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 16:24:59 +0000 (0:00:00.023) 0:01:34.144 ******** 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 16:24:59 +0000 (0:00:00.025) 0:01:34.170 ******** 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 16:25:00 +0000 (0:00:00.077) 0:01:34.247 ******** 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 16:25:00 +0000 (0:00:00.061) 0:01:34.309 ******** 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 16:25:00 +0000 (0:00:00.023) 0:01:34.332 ******** 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 16:25:00 +0000 (0:00:00.049) 0:01:34.382 ******** 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 16:25:00 +0000 (0:00:00.035) 0:01:34.417 ******** 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 16:25:00 +0000 (0:00:00.037) 0:01:34.455 ******** 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 16:25:00 +0000 (0:00:00.024) 0:01:34.480 ******** 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 16:25:00 +0000 (0:00:00.023) 0:01:34.503 ******** 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 16:25:00 +0000 (0:00:00.361) 0:01:34.865 ******** 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 16:25:00 +0000 (0:00:00.042) 0:01:34.908 ******** 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 16:25:00 +0000 (0:00:00.025) 0:01:34.934 ******** 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 16:25:00 +0000 (0:00:00.034) 0:01:34.968 ******** 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 16:25:00 +0000 (0:00:00.023) 0:01:34.991 ******** 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 16:25:00 +0000 (0:00:00.023) 0:01:35.014 ******** 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 16:25:00 +0000 (0:00:00.025) 0:01:35.040 ******** 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 16:25:01 +0000 (0:00:00.826) 0:01:35.867 ******** 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 16:25:01 +0000 (0:00:00.025) 0:01:35.892 ******** 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 16:25:01 +0000 (0:00:00.023) 0:01:35.916 ******** 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 16:25:01 +0000 (0:00:00.021) 0:01:35.937 ******** 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 16:25:01 +0000 (0:00:00.021) 0:01:35.959 ******** 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 16:25:01 +0000 (0:00:00.026) 0:01:35.986 ******** 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 16:25:01 +0000 (0:00:00.025) 0:01:36.011 ******** 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 16:25:01 +0000 (0:00:00.024) 0:01:36.035 ******** 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 16:25:01 +0000 (0:00:00.025) 0:01:36.061 ******** 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 16:25:01 +0000 (0:00:00.055) 0:01:36.116 ******** 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 16:25:01 +0000 (0:00:00.047) 0:01:36.164 ******** 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 16:25:02 +0000 (0:00:00.036) 0:01:36.200 ******** 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 16:25:02 +0000 (0:00:00.039) 0:01:36.239 ******** 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 16:25:02 +0000 (0:00:00.047) 0:01:36.287 ******** 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 16:25:02 +0000 (0:00:00.073) 0:01:36.361 ******** 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 16:25:02 +0000 (0:00:00.039) 0:01:36.400 ******** 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 16:25:02 +0000 (0:00:00.050) 0:01:36.450 ******** 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 16:25:02 +0000 (0:00:00.036) 0:01:36.487 ******** 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 16:25:02 +0000 (0:00:00.040) 0:01:36.528 ******** 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 16:25:02 +0000 (0:00:00.039) 0:01:36.567 ******** 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 16:25:02 +0000 (0:00:00.109) 0:01:36.677 ******** 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 16:25:02 +0000 (0:00:00.038) 0:01:36.716 ******** 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 16:25:02 +0000 (0:00:00.025) 0:01:36.742 ******** 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 16:25:02 +0000 (0:00:00.035) 0:01:36.778 ******** 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 16:25:02 +0000 (0:00:00.034) 0:01:36.812 ******** 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 16:25:02 +0000 (0:00:00.033) 0:01:36.846 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:28 Wednesday 06 July 2022 16:25:02 +0000 (0:00:00.034) 0:01:36.881 ******** 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 16:25:02 +0000 (0:00:00.036) 0:01:36.917 ******** 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 16:25:02 +0000 (0:00:00.035) 0:01:36.953 ******** 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 16:25:02 +0000 (0:00:00.038) 0:01:36.991 ******** 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 16:25:02 +0000 (0:00:00.040) 0:01:37.032 ******** 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 16:25:02 +0000 (0:00:00.039) 0:01:37.071 ******** 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 16:25:02 +0000 (0:00:00.036) 0:01:37.108 ******** 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 16:25:02 +0000 (0:00:00.022) 0:01:37.130 ******** 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 16:25:02 +0000 (0:00:00.022) 0:01:37.153 ******** 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 16:25:02 +0000 (0:00:00.026) 0:01:37.180 ******** 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 16:25:03 +0000 (0:00:00.025) 0:01:37.206 ******** 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 16:25:03 +0000 (0:00:00.024) 0:01:37.230 ******** 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 16:25:03 +0000 (0:00:00.024) 0:01:37.255 ******** 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 16:25:03 +0000 (0:00:00.026) 0:01:37.281 ******** 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 16:25:03 +0000 (0:00:00.023) 0:01:37.304 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml:2 Wednesday 06 July 2022 16:25:03 +0000 (0:00:00.035) 0:01:37.340 ******** 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 16:25:03 +0000 (0:00:00.050) 0:01:37.391 ******** 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 16:25:03 +0000 (0:00:00.080) 0:01:37.472 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv2" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:14 Wednesday 06 July 2022 16:25:03 +0000 (0:00:00.042) 0:01:37.514 ******** 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 16:25:03 +0000 (0:00:00.052) 0:01:37.567 ******** 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 16:25:03 +0000 (0:00:00.022) 0:01:37.589 ******** 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 16:25:03 +0000 (0:00:00.046) 0:01:37.636 ******** 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 16:25:03 +0000 (0:00:00.035) 0:01:37.672 ******** 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 16:25:03 +0000 (0:00:00.024) 0:01:37.696 ******** 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 16:25:03 +0000 (0:00:00.024) 0:01:37.721 ******** 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 16:25:03 +0000 (0:00:00.027) 0:01:37.749 ******** 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 16:25:03 +0000 (0:00:00.034) 0:01:37.783 ******** 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 16:25:03 +0000 (0:00:00.062) 0:01:37.845 ******** 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 16:25:03 +0000 (0:00:00.023) 0:01:37.868 ******** 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 16:25:03 +0000 (0:00:00.049) 0:01:37.917 ******** 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 16:25:03 +0000 (0:00:00.034) 0:01:37.952 ******** 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 16:25:03 +0000 (0:00:00.071) 0:01:38.023 ******** 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 16:25:03 +0000 (0:00:00.064) 0:01:38.087 ******** 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 16:25:03 +0000 (0:00:00.025) 0:01:38.113 ******** 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 16:25:04 +0000 (0:00:00.363) 0:01:38.476 ******** 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 16:25:04 +0000 (0:00:00.039) 0:01:38.516 ******** 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 16:25:04 +0000 (0:00:00.023) 0:01:38.539 ******** 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 16:25:04 +0000 (0:00:00.034) 0:01:38.574 ******** 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 16:25:04 +0000 (0:00:00.025) 0:01:38.600 ******** 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 16:25:04 +0000 (0:00:00.022) 0:01:38.622 ******** 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 16:25:04 +0000 (0:00:00.028) 0:01:38.651 ******** 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 16:25:05 +0000 (0:00:00.789) 0:01:39.441 ******** 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 16:25:05 +0000 (0:00:00.026) 0:01:39.468 ******** 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 16:25:05 +0000 (0:00:00.025) 0:01:39.494 ******** 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 16:25:05 +0000 (0:00:00.023) 0:01:39.517 ******** 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 16:25:05 +0000 (0:00:00.034) 0:01:39.552 ******** 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 16:25:05 +0000 (0:00:00.031) 0:01:39.584 ******** 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 16:25:05 +0000 (0:00:00.025) 0:01:39.610 ******** 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 16:25:05 +0000 (0:00:00.023) 0:01:39.633 ******** 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 16:25:05 +0000 (0:00:00.024) 0:01:39.658 ******** 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 16:25:05 +0000 (0:00:00.050) 0:01:39.709 ******** 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 16:25:05 +0000 (0:00:00.048) 0:01:39.757 ******** 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 16:25:05 +0000 (0:00:00.038) 0:01:39.795 ******** 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 16:25:05 +0000 (0:00:00.041) 0:01:39.836 ******** 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 16:25:05 +0000 (0:00:00.048) 0:01:39.885 ******** 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 16:25:05 +0000 (0:00:00.038) 0:01:39.923 ******** 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 16:25:05 +0000 (0:00:00.036) 0:01:39.959 ******** 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 16:25:05 +0000 (0:00:00.037) 0:01:39.997 ******** 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 16:25:05 +0000 (0:00:00.034) 0:01:40.032 ******** 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 16:25:05 +0000 (0:00:00.037) 0:01:40.069 ******** 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 16:25:05 +0000 (0:00:00.037) 0:01:40.107 ******** 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 16:25:05 +0000 (0:00:00.044) 0:01:40.151 ******** 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 16:25:06 +0000 (0:00:00.038) 0:01:40.189 ******** 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 16:25:06 +0000 (0:00:00.024) 0:01:40.214 ******** 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 16:25:06 +0000 (0:00:00.038) 0:01:40.252 ******** 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 16:25:06 +0000 (0:00:00.043) 0:01:40.296 ******** 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 16:25:06 +0000 (0:00:00.039) 0:01:40.336 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:28 Wednesday 06 July 2022 16:25:06 +0000 (0:00:00.045) 0:01:40.382 ******** 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 16:25:06 +0000 (0:00:00.038) 0:01:40.420 ******** 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 16:25:06 +0000 (0:00:00.040) 0:01:40.461 ******** 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 16:25:06 +0000 (0:00:00.035) 0:01:40.496 ******** 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 16:25:06 +0000 (0:00:00.036) 0:01:40.533 ******** 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 16:25:06 +0000 (0:00:00.076) 0:01:40.609 ******** 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 16:25:06 +0000 (0:00:00.075) 0:01:40.684 ******** 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 16:25:06 +0000 (0:00:00.023) 0:01:40.707 ******** 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 16:25:06 +0000 (0:00:00.022) 0:01:40.730 ******** 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 16:25:06 +0000 (0:00:00.023) 0:01:40.754 ******** 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 16:25:06 +0000 (0:00:00.022) 0:01:40.777 ******** 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 16:25:06 +0000 (0:00:00.022) 0:01:40.800 ******** 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 16:25:06 +0000 (0:00:00.022) 0:01:40.822 ******** 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 16:25:06 +0000 (0:00:00.024) 0:01:40.846 ******** 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 16:25:06 +0000 (0:00:00.022) 0:01:40.869 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml:2 Wednesday 06 July 2022 16:25:06 +0000 (0:00:00.032) 0:01:40.902 ******** 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 16:25:06 +0000 (0:00:00.052) 0:01:40.954 ******** 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 16:25:06 +0000 (0:00:00.078) 0:01:41.033 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv3" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:14 Wednesday 06 July 2022 16:25:06 +0000 (0:00:00.039) 0:01:41.072 ******** 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 16:25:06 +0000 (0:00:00.051) 0:01:41.123 ******** 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 16:25:06 +0000 (0:00:00.022) 0:01:41.146 ******** 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 16:25:07 +0000 (0:00:00.048) 0:01:41.194 ******** 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 16:25:07 +0000 (0:00:00.033) 0:01:41.228 ******** 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 16:25:07 +0000 (0:00:00.024) 0:01:41.253 ******** 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 16:25:07 +0000 (0:00:00.027) 0:01:41.281 ******** 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 16:25:07 +0000 (0:00:00.025) 0:01:41.306 ******** 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 16:25:07 +0000 (0:00:00.032) 0:01:41.339 ******** 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 16:25:07 +0000 (0:00:00.066) 0:01:41.405 ******** 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 16:25:07 +0000 (0:00:00.023) 0:01:41.428 ******** 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 16:25:07 +0000 (0:00:00.049) 0:01:41.477 ******** 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 16:25:07 +0000 (0:00:00.036) 0:01:41.514 ******** 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 16:25:07 +0000 (0:00:00.034) 0:01:41.548 ******** 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 16:25:07 +0000 (0:00:00.024) 0:01:41.573 ******** 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 16:25:07 +0000 (0:00:00.023) 0:01:41.596 ******** 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 16:25:07 +0000 (0:00:00.363) 0:01:41.960 ******** 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 16:25:07 +0000 (0:00:00.041) 0:01:42.001 ******** 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 16:25:07 +0000 (0:00:00.025) 0:01:42.027 ******** 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 16:25:07 +0000 (0:00:00.035) 0:01:42.063 ******** 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 16:25:07 +0000 (0:00:00.025) 0:01:42.088 ******** 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 16:25:07 +0000 (0:00:00.024) 0:01:42.113 ******** 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 16:25:07 +0000 (0:00:00.059) 0:01:42.173 ******** 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 16:25:08 +0000 (0:00:00.838) 0:01:43.012 ******** 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 16:25:08 +0000 (0:00:00.023) 0:01:43.035 ******** 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 16:25:08 +0000 (0:00:00.022) 0:01:43.058 ******** 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 16:25:08 +0000 (0:00:00.024) 0:01:43.082 ******** 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 16:25:08 +0000 (0:00:00.023) 0:01:43.105 ******** 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 16:25:08 +0000 (0:00:00.024) 0:01:43.130 ******** 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 16:25:08 +0000 (0:00:00.023) 0:01:43.153 ******** 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 16:25:08 +0000 (0:00:00.024) 0:01:43.178 ******** 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 16:25:09 +0000 (0:00:00.024) 0:01:43.202 ******** 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 16:25:09 +0000 (0:00:00.048) 0:01:43.251 ******** 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 16:25:09 +0000 (0:00:00.050) 0:01:43.301 ******** 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 16:25:09 +0000 (0:00:00.035) 0:01:43.336 ******** 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 16:25:09 +0000 (0:00:00.040) 0:01:43.377 ******** 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 16:25:09 +0000 (0:00:00.036) 0:01:43.414 ******** 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 16:25:09 +0000 (0:00:00.034) 0:01:43.448 ******** 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 16:25:09 +0000 (0:00:00.034) 0:01:43.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:17 Wednesday 06 July 2022 16:25:09 +0000 (0:00:00.037) 0:01:43.521 ******** 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 16:25:09 +0000 (0:00:00.033) 0:01:43.554 ******** 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 16:25:09 +0000 (0:00:00.033) 0:01:43.588 ******** 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 16:25:09 +0000 (0:00:00.036) 0:01:43.625 ******** 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 16:25:09 +0000 (0:00:00.040) 0:01:43.666 ******** 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 16:25:09 +0000 (0:00:00.037) 0:01:43.703 ******** 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 16:25:09 +0000 (0:00:00.023) 0:01:43.727 ******** 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 16:25:09 +0000 (0:00:00.035) 0:01:43.762 ******** 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 16:25:09 +0000 (0:00:00.042) 0:01:43.804 ******** 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 16:25:09 +0000 (0:00:00.036) 0:01:43.841 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:28 Wednesday 06 July 2022 16:25:09 +0000 (0:00:00.037) 0:01:43.879 ******** 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 16:25:09 +0000 (0:00:00.037) 0:01:43.916 ******** 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 16:25:09 +0000 (0:00:00.043) 0:01:43.960 ******** 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 16:25:09 +0000 (0:00:00.037) 0:01:43.997 ******** 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 16:25:09 +0000 (0:00:00.037) 0:01:44.035 ******** 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 16:25:09 +0000 (0:00:00.039) 0:01:44.075 ******** 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 16:25:09 +0000 (0:00:00.037) 0:01:44.112 ******** 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 16:25:09 +0000 (0:00:00.022) 0:01:44.135 ******** 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 16:25:09 +0000 (0:00:00.024) 0:01:44.160 ******** 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 16:25:09 +0000 (0:00:00.023) 0:01:44.183 ******** 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 16:25:10 +0000 (0:00:00.025) 0:01:44.209 ******** 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 16:25:10 +0000 (0:00:00.023) 0:01:44.233 ******** 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 16:25:10 +0000 (0:00:00.034) 0:01:44.267 ******** 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 16:25:10 +0000 (0:00:00.027) 0:01:44.295 ******** 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 16:25:10 +0000 (0:00:00.027) 0:01:44.322 ******** 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 16:25:10 +0000 (0:00:00.033) 0:01:44.355 ******** 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 16:25:10 +0000 (0:00:00.079) 0:01:44.434 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:57 Wednesday 06 July 2022 16:25:10 +0000 (0:00:00.023) 0:01:44.458 ******** 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=568 changed=4 unreachable=0 failed=0 skipped=530 rescued=0 ignored=0 Wednesday 06 July 2022 16:25:10 +0000 (0:00:00.109) 0:01:44.568 ******** =============================================================================== linux-system-roles.storage : manage the pools and volumes to match the specified state --- 9.37s /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 --- 5.20s /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 --- 2.24s /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : get service facts -------------------------- 1.77s /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Read the /etc/fstab file for volume existence --------------------------- 1.50s /tmp/tmpnhy4yzav/tests/verify-role-results.yml:19 ----------------------------- Read the /etc/crypttab file --------------------------------------------- 1.38s /tmp/tmpnhy4yzav/tests/verify-role-results.yml:24 ----------------------------- Read the /etc/crypttab file --------------------------------------------- 1.38s /tmp/tmpnhy4yzav/tests/verify-role-results.yml:24 ----------------------------- linux-system-roles.storage : set up new/current mounts ------------------ 1.36s /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Gathering Facts --------------------------------------------------------- 1.32s /tmp/tmpnhy4yzav/tests/tests_raid_pool_options_scsi_generated.yml:3 ----------- linux-system-roles.storage : make sure blivet is available -------------- 1.26s /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 linux-system-roles.storage : set up new/current mounts ------------------ 1.16s /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 linux-system-roles.storage : remove obsolete mounts --------------------- 1.08s /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 linux-system-roles.storage : Update facts ------------------------------- 1.07s /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 linux-system-roles.storage : make sure required packages are installed --- 1.02s /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 linux-system-roles.storage : Update facts ------------------------------- 1.02s /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Gathering Facts --------------------------------------------------------- 0.97s /tmp/tmpnhy4yzav/tests/tests_raid_pool_options.yml:2 -------------------------- linux-system-roles.storage : Update facts ------------------------------- 0.96s /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.95s /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 linux-system-roles.storage : Update facts ------------------------------- 0.92s /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Ensure cryptsetup is present -------------------------------------------- 0.89s /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_raid_pool_options_scsi_generated.yml *************************** 2 plays in /tmp/tmpaxpydj_h/tests/storage/tests_raid_pool_options_scsi_generated.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/tests_raid_pool_options_scsi_generated.yml:3 Wednesday 06 July 2022 19:51:24 +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_raid_pool_options_scsi_generated.yml:7 Wednesday 06 July 2022 19:51:26 +0000 (0:00:01.365) 0:00:01.378 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_use_interface": "scsi" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/tests_raid_pool_options.yml:2 Wednesday 06 July 2022 19:51:26 +0000 (0:00:00.048) 0:00:01.427 ******** 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_raid_pool_options.yml:17 Wednesday 06 July 2022 19:51:27 +0000 (0:00:00.943) 0:00:02.370 ******** 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 19:51:27 +0000 (0:00:00.036) 0:00:02.406 ******** 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 19:51:27 +0000 (0:00:00.029) 0:00:02.436 ******** 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 19:51:27 +0000 (0:00:00.520) 0:00:02.956 ******** 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 19:51:27 +0000 (0:00:00.064) 0:00:03.020 ******** 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 19:51:27 +0000 (0:00:00.028) 0:00:03.049 ******** 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 19:51:27 +0000 (0:00:00.027) 0:00:03.076 ******** 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 19:51:27 +0000 (0:00:00.054) 0:00:03.130 ******** 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 19:51:27 +0000 (0:00:00.019) 0:00:03.150 ******** 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 19:51:29 +0000 (0:00:01.239) 0:00:04.389 ******** 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 19:51:29 +0000 (0:00:00.035) 0:00:04.424 ******** 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 19:51:29 +0000 (0:00:00.060) 0:00:04.485 ******** 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 19:51:29 +0000 (0:00:00.728) 0:00:05.213 ******** 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 19:51:30 +0000 (0:00:00.054) 0:00:05.268 ******** 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 19:51:30 +0000 (0:00:00.036) 0:00:05.304 ******** 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 19:51:30 +0000 (0:00:00.038) 0:00:05.342 ******** 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 19:51:30 +0000 (0:00:00.033) 0:00:05.376 ******** 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 19:51:30 +0000 (0:00:00.811) 0:00:06.187 ******** 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 19:51:32 +0000 (0:00:01.760) 0:00:07.948 ******** 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 19:51:32 +0000 (0:00:00.120) 0:00:08.068 ******** 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 19:51:32 +0000 (0:00:00.021) 0:00:08.090 ******** 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 19:51:33 +0000 (0:00:00.539) 0:00:08.629 ******** 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 19:51:33 +0000 (0:00:00.037) 0:00:08.667 ******** 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 19:51:33 +0000 (0:00:00.020) 0:00:08.688 ******** 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 19:51:33 +0000 (0:00:00.039) 0:00:08.728 ******** 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 19:51:33 +0000 (0:00:00.037) 0:00:08.765 ******** 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 19:51:33 +0000 (0:00:00.039) 0:00:08.804 ******** 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 19:51:33 +0000 (0:00:00.036) 0:00:08.841 ******** 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 19:51:33 +0000 (0:00:00.025) 0:00:08.867 ******** 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 19:51:33 +0000 (0:00:00.035) 0:00:08.902 ******** 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 19:51:33 +0000 (0:00:00.023) 0:00:08.925 ******** 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 19:51:34 +0000 (0:00:00.514) 0:00:09.440 ******** 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 19:51:34 +0000 (0:00:00.024) 0:00:09.464 ******** 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_raid_pool_options.yml:20 Wednesday 06 July 2022 19:51:35 +0000 (0:00:00.972) 0:00:10.437 ******** 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_raid_pool_options.yml:27 Wednesday 06 July 2022 19:51:35 +0000 (0:00:00.035) 0:00:10.472 ******** 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 19:51:35 +0000 (0:00:00.036) 0:00:10.509 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "disks": [ "sda", "sdb", "sdc" ] } TASK [Set unused_disks if necessary] ******************************************* task path: /tmp/tmpaxpydj_h/tests/storage/get_unused_disk.yml:9 Wednesday 06 July 2022 19:51:35 +0000 (0:00:00.533) 0:00:11.042 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "unused_disks": [ "sda", "sdb", "sdc" ] }, "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 19:51:35 +0000 (0:00:00.035) 0:00:11.078 ******** 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 19:51:35 +0000 (0:00:00.039) 0:00:11.118 ******** ok: [/cache/centos-9.qcow2.snap] => { "unused_disks": [ "sda", "sdb", "sdc" ] } TASK [Create a RAID1 device] *************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/tests_raid_pool_options.yml:32 Wednesday 06 July 2022 19:51:35 +0000 (0:00:00.066) 0:00:11.184 ******** 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 19:51:36 +0000 (0:00:00.071) 0:00:11.255 ******** 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 19:51:36 +0000 (0:00:00.038) 0:00:11.294 ******** 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 19:51:36 +0000 (0:00:00.532) 0:00:11.826 ******** 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 19:51:36 +0000 (0:00:00.069) 0:00:11.896 ******** 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 19:51:36 +0000 (0:00:00.036) 0:00:11.933 ******** 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 19:51:36 +0000 (0:00:00.035) 0:00:11.968 ******** 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 19:51:36 +0000 (0:00:00.056) 0:00:12.025 ******** 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 19:51:36 +0000 (0:00:00.021) 0:00:12.046 ******** 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 19:51:36 +0000 (0:00:00.028) 0:00:12.075 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda", "sdb", "sdc" ], "name": "vg1", "raid_device_count": 2, "raid_level": "raid1", "raid_metadata_version": "1.0", "raid_spare_count": 1, "state": "present", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "lv1", "size": "2g" }, { "mount_point": "/opt/test2", "name": "lv2", "size": "3g" }, { "mount_point": "/opt/test3", "name": "lv3", "size": "3g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Wednesday 06 July 2022 19:51:36 +0000 (0:00:00.039) 0:00:12.115 ******** 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 19:51:36 +0000 (0:00:00.036) 0:00:12.152 ******** 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 19:51:36 +0000 (0:00:00.027) 0:00:12.180 ******** 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 19:51:36 +0000 (0:00:00.029) 0:00:12.209 ******** 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 19:51:37 +0000 (0:00:00.028) 0:00:12.238 ******** 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 19:51:37 +0000 (0:00:00.027) 0:00:12.265 ******** 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 19:51:37 +0000 (0:00:00.056) 0:00:12.322 ******** 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 19:51:37 +0000 (0:00:00.021) 0:00:12.344 ******** changed: [/cache/centos-9.qcow2.snap] => { "actions": [ { "action": "create format", "device": "/dev/sdc", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sdc1", "fs_type": null }, { "action": "create format", "device": "/dev/sdc1", "fs_type": "mdmember" }, { "action": "create format", "device": "/dev/sdb", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sdb1", "fs_type": null }, { "action": "create format", "device": "/dev/sdb1", "fs_type": "mdmember" }, { "action": "create format", "device": "/dev/sda", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sda1", "fs_type": null }, { "action": "create format", "device": "/dev/sda1", "fs_type": "mdmember" }, { "action": "create device", "device": "/dev/md/vg1-1", "fs_type": null }, { "action": "create format", "device": "/dev/md/vg1-1", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/vg1", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/vg1-lv3", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv3", "fs_type": "xfs" }, { "action": "create device", "device": "/dev/mapper/vg1-lv2", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv2", "fs_type": "xfs" }, { "action": "create device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/mapper/vg1-lv1", "/dev/mapper/vg1-lv2", "/dev/mapper/vg1-lv3" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/vg1-lv2", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test3", "src": "/dev/mapper/vg1-lv3", "state": "mounted" } ], "packages": [ "mdadm", "xfsprogs", "lvm2", "e2fsprogs" ], "pools": [ { "disks": [ "sda", "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": 2, "raid_level": "raid1", "raid_metadata_version": "1.0", "raid_spare_count": 1, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Wednesday 06 July 2022 19:51:46 +0000 (0:00:09.433) 0:00:21.777 ******** 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 19:51:46 +0000 (0:00:00.035) 0:00:21.812 ******** 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 19:51:46 +0000 (0:00:00.023) 0:00:21.836 ******** ok: [/cache/centos-9.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sdc", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sdc1", "fs_type": null }, { "action": "create format", "device": "/dev/sdc1", "fs_type": "mdmember" }, { "action": "create format", "device": "/dev/sdb", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sdb1", "fs_type": null }, { "action": "create format", "device": "/dev/sdb1", "fs_type": "mdmember" }, { "action": "create format", "device": "/dev/sda", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sda1", "fs_type": null }, { "action": "create format", "device": "/dev/sda1", "fs_type": "mdmember" }, { "action": "create device", "device": "/dev/md/vg1-1", "fs_type": null }, { "action": "create format", "device": "/dev/md/vg1-1", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/vg1", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/vg1-lv3", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv3", "fs_type": "xfs" }, { "action": "create device", "device": "/dev/mapper/vg1-lv2", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv2", "fs_type": "xfs" }, { "action": "create device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/mapper/vg1-lv1", "/dev/mapper/vg1-lv2", "/dev/mapper/vg1-lv3" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/vg1-lv2", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test3", "src": "/dev/mapper/vg1-lv3", "state": "mounted" } ], "packages": [ "mdadm", "xfsprogs", "lvm2", "e2fsprogs" ], "pools": [ { "disks": [ "sda", "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": 2, "raid_level": "raid1", "raid_metadata_version": "1.0", "raid_spare_count": 1, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Wednesday 06 July 2022 19:51:46 +0000 (0:00:00.080) 0:00:21.916 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda", "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": 2, "raid_level": "raid1", "raid_metadata_version": "1.0", "raid_spare_count": 1, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Wednesday 06 July 2022 19:51:46 +0000 (0:00:00.092) 0:00:22.008 ******** 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 19:51:46 +0000 (0:00:00.034) 0:00:22.043 ******** 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 19:51:46 +0000 (0:00:00.037) 0:00:22.080 ******** 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 19:51:47 +0000 (0:00:00.931) 0:00:23.011 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-9.qcow2.snap] => (item={'src': '/dev/mapper/vg1-lv1', 'path': '/opt/test1', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv1" } redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-9.qcow2.snap] => (item={'src': '/dev/mapper/vg1-lv2', 'path': '/opt/test2', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/vg1-lv2", "state": "mounted" }, "name": "/opt/test2", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv2" } redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-9.qcow2.snap] => (item={'src': '/dev/mapper/vg1-lv3', 'path': '/opt/test3', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test3", "src": "/dev/mapper/vg1-lv3", "state": "mounted" }, "name": "/opt/test3", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv3" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Wednesday 06 July 2022 19:51:49 +0000 (0:00:01.289) 0:00:24.301 ******** 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 19:51:49 +0000 (0:00:00.677) 0:00:24.979 ******** 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 19:51:50 +0000 (0:00:00.375) 0:00:25.354 ******** 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 19:51:50 +0000 (0:00:00.024) 0:00:25.379 ******** 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_raid_pool_options.yml:56 Wednesday 06 July 2022 19:51:51 +0000 (0:00:00.956) 0:00:26.336 ******** 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 19:51:51 +0000 (0:00:00.043) 0:00:26.379 ******** ok: [/cache/centos-9.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda", "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": 2, "raid_level": "raid1", "raid_metadata_version": "1.0", "raid_spare_count": 1, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:6 Wednesday 06 July 2022 19:51:51 +0000 (0:00:00.079) 0:00:26.459 ******** 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 19:51:51 +0000 (0:00:00.040) 0:00:26.499 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/vg1-lv1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv1", "size": "2G", "type": "lvm", "uuid": "d7f9df11-1df1-41bf-9a0d-b98425bf2ab7" }, "/dev/mapper/vg1-lv2": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv2", "size": "3G", "type": "lvm", "uuid": "451e2b8b-ed81-470a-92c6-f9f7ee67047e" }, "/dev/mapper/vg1-lv3": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv3", "size": "3G", "type": "lvm", "uuid": "6b409556-a426-4bff-8ef7-083e19d6bc75" }, "/dev/md/vg1-1": { "fstype": "LVM2_member", "label": "", "name": "/dev/md/vg1-1", "size": "10G", "type": "raid1", "uuid": "e69d30-hDWE-8cHN-pkXN-QzNf-POx4-0Av9jg" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda1": { "fstype": "linux_raid_member", "label": "vg1-1", "name": "/dev/sda1", "size": "10G", "type": "partition", "uuid": "0117c1fc-d969-d6e0-9e1a-7bd2db9fd924" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb1": { "fstype": "linux_raid_member", "label": "vg1-1", "name": "/dev/sdb1", "size": "10G", "type": "partition", "uuid": "0117c1fc-d969-d6e0-9e1a-7bd2db9fd924" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc1": { "fstype": "linux_raid_member", "label": "vg1-1", "name": "/dev/sdc1", "size": "10G", "type": "partition", "uuid": "0117c1fc-d969-d6e0-9e1a-7bd2db9fd924" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-06-19-51-09-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 19:51:51 +0000 (0:00:00.518) 0:00:27.017 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003929", "end": "2022-07-06 15:51:51.853243", "rc": 0, "start": "2022-07-06 15:51:51.849314" } 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/vg1-lv1 /opt/test1 xfs defaults 0 0 /dev/mapper/vg1-lv2 /opt/test2 xfs defaults 0 0 /dev/mapper/vg1-lv3 /opt/test3 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:24 Wednesday 06 July 2022 19:51:52 +0000 (0:00:00.512) 0:00:27.530 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002809", "end": "2022-07-06 15:51:52.307244", "failed_when_result": false, "rc": 0, "start": "2022-07-06 15:51:52.304435" } 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 19:51:52 +0000 (0:00:00.448) 0:00:27.978 ******** included: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool.yml for /cache/centos-9.qcow2.snap => (item={'disks': ['sda', 'sdb', 'sdc'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'vg1', 'raid_level': 'raid1', 'raid_device_count': 2, 'raid_spare_count': 1, 'raid_metadata_version': '1.0', 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}, {'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'lv2', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}, {'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test3', 'name': 'lv3', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool.yml:5 Wednesday 06 July 2022 19:51:52 +0000 (0:00:00.064) 0:00:28.042 ******** 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 19:51:52 +0000 (0:00:00.037) 0:00:28.080 ******** 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 19:51:52 +0000 (0:00:00.051) 0:00:28.132 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/md127" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:6 Wednesday 06 July 2022 19:51:52 +0000 (0:00:00.055) 0:00:28.188 ******** ok: [/cache/centos-9.qcow2.snap] => (item=/dev/md127) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/md/vg1-1", "pv": "/dev/md127" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:15 Wednesday 06 July 2022 19:51:53 +0000 (0:00:00.478) 0:00:28.667 ******** 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 19:51:53 +0000 (0:00:00.051) 0:00:28.719 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/md/vg1-1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:23 Wednesday 06 July 2022 19:51:53 +0000 (0:00:00.049) 0:00:28.769 ******** 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 19:51:53 +0000 (0:00:00.049) 0:00:28.819 ******** 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 19:51:53 +0000 (0:00:00.038) 0:00:28.857 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "partition" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:37 Wednesday 06 July 2022 19:51:53 +0000 (0:00:00.055) 0:00:28.913 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "raid1" }, "changed": 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 19:51:53 +0000 (0:00:00.040) 0:00:28.953 ******** ok: [/cache/centos-9.qcow2.snap] => (item=/dev/md/vg1-1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/md/vg1-1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:50 Wednesday 06 July 2022 19:51:53 +0000 (0:00:00.046) 0:00:28.999 ******** 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 19:51:53 +0000 (0:00:00.046) 0:00:29.046 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "mdadm", "--detail", "/dev/md/vg1-1" ], "delta": "0:00:00.007425", "end": "2022-07-06 15:51:53.760874", "rc": 0, "start": "2022-07-06 15:51:53.753449" } STDOUT: /dev/md/vg1-1: Version : 1.0 Creation Time : Wed Jul 6 15:51:39 2022 Raid Level : raid1 Array Size : 10484608 (10.00 GiB 10.74 GB) Used Dev Size : 10484608 (10.00 GiB 10.74 GB) Raid Devices : 2 Total Devices : 3 Persistence : Superblock is persistent Intent Bitmap : Internal Update Time : Wed Jul 6 15:51:50 2022 State : clean, resyncing Active Devices : 2 Working Devices : 3 Failed Devices : 0 Spare Devices : 1 Consistency Policy : bitmap Resync Status : 26% complete Name : vg1-1 UUID : 0117c1fc:d969d6e0:9e1a7bd2:db9fd924 Events : 12 Number Major Minor RaidDevice State 0 8 1 0 active sync /dev/sda1 1 8 17 1 active sync /dev/sdb1 2 8 33 - spare /dev/sdc1 TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-md.yml:12 Wednesday 06 July 2022 19:51:54 +0000 (0:00:00.388) 0:00:29.434 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": "Active\\ Devices\\ :\\ 2\\\n" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-md.yml:16 Wednesday 06 July 2022 19:51:54 +0000 (0:00:00.052) 0:00:29.487 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_md_spare_devices_re": "Spare\\ Devices\\ :\\ 1\\\n" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-md.yml:20 Wednesday 06 July 2022 19:51:54 +0000 (0:00:00.052) 0:00:29.540 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_md_metadata_version_re": "Version\\ :\\ 1\\.0\\\n" }, "changed": false } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-md.yml:24 Wednesday 06 July 2022 19:51:54 +0000 (0:00:00.056) 0:00:29.596 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-md.yml:30 Wednesday 06 July 2022 19:51:54 +0000 (0:00:00.044) 0:00:29.640 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-md.yml:36 Wednesday 06 July 2022 19:51:54 +0000 (0:00:00.077) 0:00:29.718 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-md.yml:44 Wednesday 06 July 2022 19:51:54 +0000 (0:00:00.111) 0:00:29.829 ******** 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 19:51:54 +0000 (0:00:00.032) 0:00:29.862 ******** 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 19:51:54 +0000 (0:00:00.046) 0:00:29.908 ******** 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': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/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': 'lv2', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/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/test3', 'name': 'lv3', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 19:51:54 +0000 (0:00:00.060) 0:00:29.968 ******** 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 19:51:54 +0000 (0:00:00.028) 0:00:29.997 ******** 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 19:51:54 +0000 (0:00:00.032) 0:00:30.029 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 19:51:54 +0000 (0:00:00.030) 0:00:30.059 ******** 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 19:51:54 +0000 (0:00:00.029) 0:00:30.089 ******** 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 19:51:54 +0000 (0:00:00.028) 0:00:30.117 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 19:51:54 +0000 (0:00:00.028) 0:00:30.146 ******** 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 19:51:54 +0000 (0:00:00.026) 0:00:30.173 ******** 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 19:51:54 +0000 (0:00:00.026) 0:00:30.199 ******** 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 19:51:54 +0000 (0:00:00.026) 0:00:30.226 ******** 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 19:51:55 +0000 (0:00:00.049) 0:00:30.276 ******** 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': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/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': 'lv2', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/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/test3', 'name': 'lv3', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 19:51:55 +0000 (0:00:00.058) 0:00:30.335 ******** 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 19:51:55 +0000 (0:00:00.026) 0:00:30.361 ******** 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 19:51:55 +0000 (0:00:00.026) 0:00:30.387 ******** 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 19:51:55 +0000 (0:00:00.025) 0:00:30.412 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 19:51:55 +0000 (0:00:00.026) 0:00:30.439 ******** 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 19:51:55 +0000 (0:00:00.023) 0:00:30.462 ******** 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 19:51:55 +0000 (0:00:00.024) 0:00:30.487 ******** 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 19:51:55 +0000 (0:00:00.024) 0:00:30.511 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 19:51:55 +0000 (0:00:00.026) 0:00:30.537 ******** 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 19:51:55 +0000 (0:00:00.025) 0:00:30.562 ******** 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 19:51:55 +0000 (0:00:00.024) 0:00:30.587 ******** 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 19:51:55 +0000 (0:00:00.024) 0:00:30.611 ******** 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 19:51:55 +0000 (0:00:00.025) 0:00:30.637 ******** 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 19:51:55 +0000 (0:00:00.049) 0:00:30.687 ******** 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 19:51:55 +0000 (0:00:00.062) 0:00:30.749 ******** skipping: [/cache/centos-9.qcow2.snap] => (item=/dev/md/vg1-1) => { "_storage_test_pool_member_path": "/dev/md/vg1-1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-encryption.yml:15 Wednesday 06 July 2022 19:51:55 +0000 (0:00:00.033) 0:00:30.783 ******** included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-crypttab.yml for /cache/centos-9.qcow2.snap => (item=/dev/md/vg1-1) TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-crypttab.yml:1 Wednesday 06 July 2022 19:51:55 +0000 (0:00:00.064) 0:00:30.847 ******** 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 19:51:55 +0000 (0:00:00.056) 0:00:30.904 ******** 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 19:51:55 +0000 (0:00:00.050) 0:00:30.954 ******** 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 19:51:55 +0000 (0:00:00.036) 0:00:30.991 ******** 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 19:51:55 +0000 (0:00:00.038) 0:00:31.029 ******** 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 19:51:55 +0000 (0:00:00.070) 0:00:31.100 ******** 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 19:51:55 +0000 (0:00:00.033) 0:00:31.134 ******** 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 19:51:55 +0000 (0:00:00.036) 0:00:31.170 ******** 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 19:51:55 +0000 (0:00:00.051) 0:00:31.222 ******** 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': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/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': 'lv2', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/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/test3', 'name': 'lv3', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 19:51:56 +0000 (0:00:00.060) 0:00:31.282 ******** 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 19:51:56 +0000 (0:00:00.027) 0:00:31.310 ******** 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 19:51:56 +0000 (0:00:00.026) 0:00:31.337 ******** 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 19:51:56 +0000 (0:00:00.024) 0:00:31.361 ******** 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 19:51:56 +0000 (0:00:00.026) 0:00:31.388 ******** 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 19:51:56 +0000 (0:00:00.029) 0:00:31.417 ******** 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 19:51:56 +0000 (0:00:00.027) 0:00:31.445 ******** 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 19:51:56 +0000 (0:00:00.030) 0:00:31.475 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 19:51:56 +0000 (0:00:00.037) 0:00:31.513 ******** 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 19:51:56 +0000 (0:00:00.028) 0:00:31.542 ******** 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 19:51:56 +0000 (0:00:00.027) 0:00:31.569 ******** 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 19:51:56 +0000 (0:00:00.026) 0:00:31.596 ******** 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 19:51:56 +0000 (0:00:00.025) 0:00:31.622 ******** 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 19:51:56 +0000 (0:00:00.026) 0:00:31.648 ******** 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 19:51:56 +0000 (0:00:00.025) 0:00:31.674 ******** 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 19:51:56 +0000 (0:00:00.025) 0:00:31.699 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 19:51:56 +0000 (0:00:00.038) 0:00:31.738 ******** 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 19:51:56 +0000 (0:00:00.027) 0:00:31.766 ******** 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 19:51:56 +0000 (0:00:00.024) 0:00:31.790 ******** 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 19:51:56 +0000 (0:00:00.025) 0:00:31.815 ******** 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 19:51:56 +0000 (0:00:00.024) 0:00:31.840 ******** 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 19:51:56 +0000 (0:00:00.026) 0:00:31.866 ******** 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 19:51:56 +0000 (0:00:00.025) 0:00:31.892 ******** 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 19:51:56 +0000 (0:00:00.025) 0:00:31.918 ******** 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 19:51:56 +0000 (0:00:00.035) 0:00:31.954 ******** 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 19:51:56 +0000 (0:00:00.037) 0:00:31.992 ******** 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': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/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': 'lv2', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/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/test3', 'name': 'lv3', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml:2 Wednesday 06 July 2022 19:51:56 +0000 (0:00:00.054) 0:00:32.047 ******** 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 19:51:56 +0000 (0:00:00.054) 0:00:32.102 ******** 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 19:51:56 +0000 (0:00:00.088) 0:00:32.190 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:10 Wednesday 06 July 2022 19:51:57 +0000 (0:00:00.075) 0:00:32.265 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 509827, "block_size": 4096, "block_total": 521728, "block_used": 11901, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1048573, "inode_total": 1048576, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 2088251392, "size_total": 2136997888, "uuid": "d7f9df11-1df1-41bf-9a0d-b98425bf2ab7" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 509827, "block_size": 4096, "block_total": 521728, "block_used": 11901, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1048573, "inode_total": 1048576, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 2088251392, "size_total": 2136997888, "uuid": "d7f9df11-1df1-41bf-9a0d-b98425bf2ab7" } ], "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 19:51:57 +0000 (0:00:00.093) 0:00:32.359 ******** 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 19:51:57 +0000 (0:00:00.057) 0:00:32.416 ******** 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 19:51:57 +0000 (0:00:00.063) 0:00:32.479 ******** 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 19:51:57 +0000 (0:00:00.054) 0:00:32.534 ******** 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 19:51:57 +0000 (0:00:00.025) 0:00:32.559 ******** 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 19:51:57 +0000 (0:00:00.026) 0:00:32.586 ******** 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 19:51:57 +0000 (0:00:00.029) 0:00:32.615 ******** 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 19:51:57 +0000 (0:00:00.039) 0:00:32.655 ******** 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/vg1-lv1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:12 Wednesday 06 July 2022 19:51:57 +0000 (0:00:00.068) 0:00:32.723 ******** 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 19:51:57 +0000 (0:00:00.051) 0:00:32.775 ******** 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 19:51:57 +0000 (0:00:00.053) 0:00:32.829 ******** 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 19:51:57 +0000 (0:00:00.040) 0:00:32.870 ******** 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 19:51:57 +0000 (0:00:00.042) 0:00:32.912 ******** 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 19:51:57 +0000 (0:00:00.044) 0:00:32.956 ******** 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 19:51:57 +0000 (0:00:00.043) 0:00:32.999 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1657137106.014655, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657137106.014655, "dev": 5, "device_type": 64770, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 932, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657137106.014655, "nlink": 1, "path": "/dev/mapper/vg1-lv1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:10 Wednesday 06 July 2022 19:51:58 +0000 (0:00:00.408) 0:00:33.408 ******** 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 19:51:58 +0000 (0:00:00.041) 0:00:33.450 ******** 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 19:51:58 +0000 (0:00:00.040) 0:00:33.490 ******** 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 19:51:58 +0000 (0:00:00.038) 0:00:33.529 ******** 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 19:51:58 +0000 (0:00:00.024) 0:00:33.554 ******** 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 19:51:58 +0000 (0:00:00.042) 0:00:33.596 ******** 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 19:51:58 +0000 (0:00:00.026) 0:00:33.622 ******** 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 19:51:59 +0000 (0:00:00.855) 0:00:34.478 ******** 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 19:51:59 +0000 (0:00:00.026) 0:00:34.504 ******** 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 19:51:59 +0000 (0:00:00.023) 0:00:34.528 ******** 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 19:51:59 +0000 (0:00:00.088) 0:00:34.616 ******** 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 19:51:59 +0000 (0:00:00.025) 0:00:34.642 ******** 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 19:51:59 +0000 (0:00:00.025) 0:00:34.667 ******** 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 19:51:59 +0000 (0:00:00.024) 0:00:34.691 ******** 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 19:51:59 +0000 (0:00:00.057) 0:00:34.749 ******** 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 19:51:59 +0000 (0:00:00.025) 0:00:34.774 ******** 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 19:51:59 +0000 (0:00:00.051) 0:00:34.826 ******** 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 19:51:59 +0000 (0:00:00.052) 0:00:34.878 ******** 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 19:51:59 +0000 (0:00:00.038) 0:00:34.916 ******** 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 19:51:59 +0000 (0:00:00.038) 0:00:34.955 ******** 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 19:51:59 +0000 (0:00:00.037) 0:00:34.993 ******** 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 19:51:59 +0000 (0:00:00.037) 0:00:35.030 ******** 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 19:51:59 +0000 (0:00:00.038) 0:00:35.069 ******** 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 19:51:59 +0000 (0:00:00.037) 0:00:35.107 ******** 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 19:51:59 +0000 (0:00:00.037) 0:00:35.144 ******** 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 19:51:59 +0000 (0:00:00.041) 0:00:35.186 ******** 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 19:51:59 +0000 (0:00:00.039) 0:00:35.225 ******** 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 19:52:00 +0000 (0:00:00.039) 0:00:35.265 ******** 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 19:52:00 +0000 (0:00:00.036) 0:00:35.301 ******** ok: [/cache/centos-9.qcow2.snap] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:9 Wednesday 06 July 2022 19:52:00 +0000 (0:00:00.515) 0:00:35.817 ******** ok: [/cache/centos-9.qcow2.snap] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 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 19:52:00 +0000 (0:00:00.393) 0:00:36.211 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "2147483648" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:20 Wednesday 06 July 2022 19:52:01 +0000 (0:00:00.052) 0:00:36.264 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "2147483648" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:25 Wednesday 06 July 2022 19:52:01 +0000 (0:00:00.042) 0:00:36.306 ******** 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 19:52:01 +0000 (0:00:00.038) 0:00:36.345 ******** 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 19:52:01 +0000 (0:00:00.046) 0:00:36.392 ******** 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 19:52:01 +0000 (0:00:00.040) 0:00:36.433 ******** 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 19:52:01 +0000 (0:00:00.038) 0:00:36.471 ******** 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 19:52:01 +0000 (0:00:00.039) 0:00:36.510 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_actual_size": { "bytes": 2147483648, "changed": false, "failed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:47 Wednesday 06 July 2022 19:52:01 +0000 (0:00:00.035) 0:00:36.546 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "2147483648" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:50 Wednesday 06 July 2022 19:52:01 +0000 (0:00:00.035) 0:00:36.581 ******** 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 19:52:01 +0000 (0:00:00.052) 0:00:36.634 ******** 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", "vg1/lv1" ], "delta": "0:00:00.038171", "end": "2022-07-06 15:52:01.380026", "rc": 0, "start": "2022-07-06 15:52:01.341855" } STDOUT: LVM2_LV_NAME=lv1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 19:52:01 +0000 (0:00:00.418) 0:00:37.052 ******** 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 19:52:01 +0000 (0:00:00.095) 0:00:37.147 ******** 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 19:52:02 +0000 (0:00:00.129) 0:00:37.276 ******** 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 19:52:02 +0000 (0:00:00.044) 0:00:37.320 ******** 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 19:52:02 +0000 (0:00:00.042) 0:00:37.363 ******** 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 19:52:02 +0000 (0:00:00.040) 0:00:37.403 ******** 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 19:52:02 +0000 (0:00:00.040) 0:00:37.443 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml:2 Wednesday 06 July 2022 19:52:02 +0000 (0:00:00.035) 0:00:37.479 ******** 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 19:52:02 +0000 (0:00:00.053) 0:00:37.532 ******** 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 19:52:02 +0000 (0:00:00.088) 0:00:37.620 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv2" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:10 Wednesday 06 July 2022 19:52:02 +0000 (0:00:00.046) 0:00:37.667 ******** 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/vg1-lv2", "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": "451e2b8b-ed81-470a-92c6-f9f7ee67047e" } ], "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/vg1-lv2", "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": "451e2b8b-ed81-470a-92c6-f9f7ee67047e" } ], "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 19:52:02 +0000 (0:00:00.061) 0:00:37.728 ******** 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 19:52:02 +0000 (0:00:00.061) 0:00:37.790 ******** 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 19:52:02 +0000 (0:00:00.048) 0:00:37.838 ******** 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 19:52:02 +0000 (0:00:00.051) 0:00:37.890 ******** 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 19:52:02 +0000 (0:00:00.024) 0:00:37.915 ******** 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 19:52:02 +0000 (0:00:00.025) 0:00:37.940 ******** 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 19:52:02 +0000 (0:00:00.025) 0:00:37.965 ******** 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 19:52:02 +0000 (0:00:00.035) 0:00:38.001 ******** 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/vg1-lv2 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test2 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test2 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:12 Wednesday 06 July 2022 19:52:02 +0000 (0:00:00.060) 0:00:38.062 ******** 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 19:52:02 +0000 (0:00:00.046) 0:00:38.108 ******** 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 19:52:02 +0000 (0:00:00.051) 0:00:38.160 ******** 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 19:52:02 +0000 (0:00:00.037) 0:00:38.198 ******** 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 19:52:03 +0000 (0:00:00.035) 0:00:38.234 ******** 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 19:52:03 +0000 (0:00:00.036) 0:00:38.270 ******** 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 19:52:03 +0000 (0:00:00.040) 0:00:38.311 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1657137105.755655, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657137105.755655, "dev": 5, "device_type": 64769, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 898, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657137105.755655, "nlink": 1, "path": "/dev/mapper/vg1-lv2", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:10 Wednesday 06 July 2022 19:52:03 +0000 (0:00:00.397) 0:00:38.708 ******** 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 19:52:03 +0000 (0:00:00.039) 0:00:38.747 ******** 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 19:52:03 +0000 (0:00:00.039) 0:00:38.787 ******** 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 19:52:03 +0000 (0:00:00.037) 0:00:38.825 ******** 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 19:52:03 +0000 (0:00:00.025) 0:00:38.850 ******** 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 19:52:03 +0000 (0:00:00.036) 0:00:38.887 ******** 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 19:52:03 +0000 (0:00:00.023) 0:00:38.911 ******** 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 19:52:04 +0000 (0:00:00.853) 0:00:39.764 ******** 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 19:52:04 +0000 (0:00:00.024) 0:00:39.789 ******** 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 19:52:04 +0000 (0:00:00.022) 0:00:39.812 ******** 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 19:52:04 +0000 (0:00:00.052) 0:00:39.864 ******** 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 19:52:04 +0000 (0:00:00.025) 0:00:39.890 ******** 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 19:52:04 +0000 (0:00:00.026) 0:00:39.917 ******** 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 19:52:04 +0000 (0:00:00.025) 0:00:39.942 ******** 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 19:52:04 +0000 (0:00:00.026) 0:00:39.968 ******** 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 19:52:04 +0000 (0:00:00.025) 0:00:39.993 ******** 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 19:52:04 +0000 (0:00:00.064) 0:00:40.058 ******** 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 19:52:04 +0000 (0:00:00.053) 0:00:40.112 ******** 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 19:52:04 +0000 (0:00:00.039) 0:00:40.152 ******** 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 19:52:04 +0000 (0:00:00.039) 0:00:40.192 ******** 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 19:52:05 +0000 (0:00:00.039) 0:00:40.231 ******** 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 19:52:05 +0000 (0:00:00.038) 0:00:40.270 ******** 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 19:52:05 +0000 (0:00:00.037) 0:00:40.308 ******** 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 19:52:05 +0000 (0:00:00.040) 0:00:40.348 ******** 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 19:52:05 +0000 (0:00:00.039) 0:00:40.388 ******** 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 19:52:05 +0000 (0:00:00.041) 0:00:40.429 ******** 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 19:52:05 +0000 (0:00:00.037) 0:00:40.466 ******** 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 19:52:05 +0000 (0:00:00.037) 0:00:40.504 ******** 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 19:52:05 +0000 (0:00:00.037) 0:00:40.542 ******** 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 19:52:05 +0000 (0:00:00.404) 0:00:40.947 ******** 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 19:52:06 +0000 (0:00:00.405) 0:00:41.352 ******** 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 19:52:06 +0000 (0:00:00.055) 0:00:41.407 ******** 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 19:52:06 +0000 (0:00:00.041) 0:00:41.449 ******** 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 19:52:06 +0000 (0:00:00.039) 0:00:41.488 ******** 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 19:52:06 +0000 (0:00:00.040) 0:00:41.528 ******** 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 19:52:06 +0000 (0:00:00.045) 0:00:41.574 ******** 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 19:52:06 +0000 (0:00:00.040) 0:00:41.614 ******** 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 19:52:06 +0000 (0:00:00.037) 0:00:41.652 ******** 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 19:52:06 +0000 (0:00:00.078) 0:00:41.730 ******** 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 19:52:06 +0000 (0:00:00.036) 0:00:41.767 ******** 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 19:52:06 +0000 (0:00:00.096) 0:00:41.864 ******** 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", "vg1/lv2" ], "delta": "0:00:00.034067", "end": "2022-07-06 15:52:06.644530", "rc": 0, "start": "2022-07-06 15:52:06.610463" } STDOUT: LVM2_LV_NAME=lv2 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 19:52:07 +0000 (0:00:00.449) 0:00:42.313 ******** 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 19:52:07 +0000 (0:00:00.086) 0:00:42.399 ******** 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 19:52:07 +0000 (0:00:00.128) 0:00:42.528 ******** 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 19:52:07 +0000 (0:00:00.042) 0:00:42.570 ******** 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 19:52:07 +0000 (0:00:00.041) 0:00:42.612 ******** 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 19:52:07 +0000 (0:00:00.042) 0:00:42.654 ******** 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 19:52:07 +0000 (0:00:00.041) 0:00:42.695 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml:2 Wednesday 06 July 2022 19:52:07 +0000 (0:00:00.038) 0:00:42.734 ******** 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 19:52:07 +0000 (0:00:00.052) 0:00:42.787 ******** 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 19:52:07 +0000 (0:00:00.087) 0:00:42.874 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv3" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:10 Wednesday 06 July 2022 19:52:07 +0000 (0:00:00.040) 0:00:42.915 ******** 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/vg1-lv3", "fstype": "xfs", "inode_available": 1572861, "inode_total": 1572864, "inode_used": 3, "mount": "/opt/test3", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 3154518016, "size_total": 3210739712, "uuid": "6b409556-a426-4bff-8ef7-083e19d6bc75" } ], "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/vg1-lv3", "fstype": "xfs", "inode_available": 1572861, "inode_total": 1572864, "inode_used": 3, "mount": "/opt/test3", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 3154518016, "size_total": 3210739712, "uuid": "6b409556-a426-4bff-8ef7-083e19d6bc75" } ], "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 19:52:07 +0000 (0:00:00.057) 0:00:42.972 ******** 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 19:52:07 +0000 (0:00:00.052) 0:00:43.025 ******** 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 19:52:07 +0000 (0:00:00.051) 0:00:43.076 ******** 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 19:52:07 +0000 (0:00:00.050) 0:00:43.127 ******** 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 19:52:07 +0000 (0:00:00.024) 0:00:43.151 ******** 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 19:52:07 +0000 (0:00:00.026) 0:00:43.178 ******** 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 19:52:07 +0000 (0:00:00.025) 0:00:43.203 ******** 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 19:52:08 +0000 (0:00:00.036) 0:00:43.240 ******** 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/vg1-lv3 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test3 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test3 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:12 Wednesday 06 July 2022 19:52:08 +0000 (0:00:00.063) 0:00:43.303 ******** 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 19:52:08 +0000 (0:00:00.051) 0:00:43.355 ******** 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 19:52:08 +0000 (0:00:00.051) 0:00:43.406 ******** 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 19:52:08 +0000 (0:00:00.038) 0:00:43.445 ******** 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 19:52:08 +0000 (0:00:00.039) 0:00:43.484 ******** 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 19:52:08 +0000 (0:00:00.041) 0:00:43.526 ******** 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 19:52:08 +0000 (0:00:00.043) 0:00:43.569 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1657137105.4866552, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657137105.4866552, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 863, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657137105.4866552, "nlink": 1, "path": "/dev/mapper/vg1-lv3", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:10 Wednesday 06 July 2022 19:52:08 +0000 (0:00:00.390) 0:00:43.959 ******** 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 19:52:08 +0000 (0:00:00.039) 0:00:43.999 ******** 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 19:52:08 +0000 (0:00:00.045) 0:00:44.044 ******** 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 19:52:08 +0000 (0:00:00.040) 0:00:44.084 ******** 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 19:52:08 +0000 (0:00:00.025) 0:00:44.109 ******** 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 19:52:08 +0000 (0:00:00.039) 0:00:44.149 ******** 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 19:52:08 +0000 (0:00:00.024) 0:00:44.173 ******** 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 19:52:09 +0000 (0:00:00.858) 0:00:45.032 ******** 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 19:52:09 +0000 (0:00:00.026) 0:00:45.058 ******** 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 19:52:09 +0000 (0:00:00.025) 0:00:45.084 ******** 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 19:52:09 +0000 (0:00:00.052) 0:00:45.136 ******** 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 19:52:09 +0000 (0:00:00.025) 0:00:45.162 ******** 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 19:52:09 +0000 (0:00:00.027) 0:00:45.189 ******** 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 19:52:09 +0000 (0:00:00.026) 0:00:45.215 ******** 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 19:52:10 +0000 (0:00:00.026) 0:00:45.242 ******** 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 19:52:10 +0000 (0:00:00.023) 0:00:45.266 ******** 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 19:52:10 +0000 (0:00:00.051) 0:00:45.318 ******** 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 19:52:10 +0000 (0:00:00.051) 0:00:45.369 ******** 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 19:52:10 +0000 (0:00:00.048) 0:00:45.418 ******** 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 19:52:10 +0000 (0:00:00.040) 0:00:45.458 ******** 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 19:52:10 +0000 (0:00:00.043) 0:00:45.502 ******** 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 19:52:10 +0000 (0:00:00.042) 0:00:45.545 ******** 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 19:52:10 +0000 (0:00:00.041) 0:00:45.586 ******** 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 19:52:10 +0000 (0:00:00.039) 0:00:45.625 ******** 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 19:52:10 +0000 (0:00:00.039) 0:00:45.665 ******** 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 19:52:10 +0000 (0:00:00.045) 0:00:45.711 ******** 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 19:52:10 +0000 (0:00:00.035) 0:00:45.747 ******** 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 19:52:10 +0000 (0:00:00.039) 0:00:45.786 ******** 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 19:52:10 +0000 (0:00:00.040) 0:00:45.827 ******** 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 19:52:10 +0000 (0:00:00.374) 0:00:46.201 ******** 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 19:52:11 +0000 (0:00:00.397) 0:00:46.599 ******** 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 19:52:11 +0000 (0:00:00.053) 0:00:46.653 ******** 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 19:52:11 +0000 (0:00:00.039) 0:00:46.693 ******** 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 19:52:11 +0000 (0:00:00.040) 0:00:46.733 ******** 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 19:52:11 +0000 (0:00:00.040) 0:00:46.773 ******** 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 19:52:11 +0000 (0:00:00.040) 0:00:46.814 ******** 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 19:52:11 +0000 (0:00:00.036) 0:00:46.851 ******** 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 19:52:11 +0000 (0:00:00.036) 0:00:46.887 ******** 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 19:52:11 +0000 (0:00:00.076) 0:00:46.964 ******** 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 19:52:11 +0000 (0:00:00.112) 0:00:47.077 ******** 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 19:52:11 +0000 (0:00:00.051) 0:00:47.129 ******** 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", "vg1/lv3" ], "delta": "0:00:00.031156", "end": "2022-07-06 15:52:11.869772", "rc": 0, "start": "2022-07-06 15:52:11.838616" } STDOUT: LVM2_LV_NAME=lv3 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 19:52:12 +0000 (0:00:00.410) 0:00:47.540 ******** 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 19:52:12 +0000 (0:00:00.050) 0:00:47.590 ******** 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 19:52:12 +0000 (0:00:00.056) 0:00:47.647 ******** 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 19:52:12 +0000 (0:00:00.045) 0:00:47.693 ******** 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 19:52:12 +0000 (0:00:00.039) 0:00:47.732 ******** 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 19:52:12 +0000 (0:00:00.039) 0:00:47.772 ******** 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 19:52:12 +0000 (0:00:00.039) 0:00:47.811 ******** 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 19:52:12 +0000 (0:00:00.039) 0:00:47.851 ******** 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 19:52:12 +0000 (0:00:00.035) 0:00:47.886 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:57 Wednesday 06 July 2022 19:52:12 +0000 (0:00:00.022) 0:00:47.909 ******** 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 minus the pool raid options] ************** task path: /tmp/tmpaxpydj_h/tests/storage/tests_raid_pool_options.yml:58 Wednesday 06 July 2022 19:52:12 +0000 (0:00:00.037) 0:00:47.946 ******** 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 19:52:12 +0000 (0:00:00.053) 0:00:48.000 ******** 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 19:52:12 +0000 (0:00:00.038) 0:00:48.038 ******** 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 19:52:13 +0000 (0:00:00.525) 0:00:48.564 ******** 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 19:52:13 +0000 (0:00:00.073) 0:00:48.637 ******** 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 19:52:13 +0000 (0:00:00.037) 0:00:48.675 ******** 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 19:52:13 +0000 (0:00:00.038) 0:00:48.713 ******** 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 19:52:13 +0000 (0:00:00.059) 0:00:48.773 ******** 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 19:52:13 +0000 (0:00:00.021) 0:00:48.795 ******** 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 19:52:13 +0000 (0:00:00.029) 0:00:48.824 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda", "sdb", "sdc" ], "name": "vg1", "state": "present", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "lv1", "size": "2g" }, { "mount_point": "/opt/test2", "name": "lv2", "size": "3g" }, { "mount_point": "/opt/test3", "name": "lv3", "size": "3g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Wednesday 06 July 2022 19:52:13 +0000 (0:00:00.040) 0:00:48.864 ******** 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 19:52:13 +0000 (0:00:00.081) 0:00:48.946 ******** 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 19:52:13 +0000 (0:00:00.041) 0:00:48.988 ******** 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 19:52:13 +0000 (0:00:00.090) 0:00:49.079 ******** 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 19:52:13 +0000 (0:00:00.032) 0:00:49.111 ******** 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 19:52:13 +0000 (0:00:00.029) 0:00:49.141 ******** 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 19:52:13 +0000 (0:00:00.060) 0:00:49.201 ******** 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 19:52:13 +0000 (0:00:00.022) 0:00:49.224 ******** ok: [/cache/centos-9.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/mapper/vg1-lv1", "/dev/mapper/vg1-lv2", "/dev/mapper/vg1-lv3", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/vg1-lv2", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test3", "src": "/dev/mapper/vg1-lv3", "state": "mounted" } ], "packages": [ "lvm2", "xfsprogs", "e2fsprogs", "mdadm" ], "pools": [ { "disks": [ "sda", "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": "0 B", "raid_device_count": 2, "raid_level": "raid1", "raid_metadata_version": "1.0", "raid_spare_count": 1, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdc", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdc", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdc", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Wednesday 06 July 2022 19:52:16 +0000 (0:00:02.278) 0:00:51.503 ******** 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 19:52:16 +0000 (0:00:00.039) 0:00:51.542 ******** 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 19:52:16 +0000 (0:00:00.026) 0:00:51.568 ******** ok: [/cache/centos-9.qcow2.snap] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/mapper/vg1-lv1", "/dev/mapper/vg1-lv2", "/dev/mapper/vg1-lv3", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/vg1-lv2", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test3", "src": "/dev/mapper/vg1-lv3", "state": "mounted" } ], "packages": [ "lvm2", "xfsprogs", "e2fsprogs", "mdadm" ], "pools": [ { "disks": [ "sda", "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": "0 B", "raid_device_count": 2, "raid_level": "raid1", "raid_metadata_version": "1.0", "raid_spare_count": 1, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdc", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdc", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdc", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Wednesday 06 July 2022 19:52:16 +0000 (0:00:00.043) 0:00:51.612 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda", "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": "0 B", "raid_device_count": 2, "raid_level": "raid1", "raid_metadata_version": "1.0", "raid_spare_count": 1, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdc", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdc", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdc", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Wednesday 06 July 2022 19:52:16 +0000 (0:00:00.043) 0:00:51.656 ******** 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 19:52:16 +0000 (0:00:00.036) 0:00:51.692 ******** 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 19:52:16 +0000 (0:00:00.040) 0:00:51.733 ******** 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 19:52:17 +0000 (0:00:00.690) 0:00:52.424 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/centos-9.qcow2.snap] => (item={'src': '/dev/mapper/vg1-lv1', 'path': '/opt/test1', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv1" } redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/centos-9.qcow2.snap] => (item={'src': '/dev/mapper/vg1-lv2', 'path': '/opt/test2', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/vg1-lv2", "state": "mounted" }, "name": "/opt/test2", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv2" } redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/centos-9.qcow2.snap] => (item={'src': '/dev/mapper/vg1-lv3', 'path': '/opt/test3', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test3", "src": "/dev/mapper/vg1-lv3", "state": "mounted" }, "name": "/opt/test3", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv3" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Wednesday 06 July 2022 19:52:18 +0000 (0:00:01.159) 0:00:53.583 ******** 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 19:52:19 +0000 (0:00:00.681) 0:00:54.265 ******** 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 19:52:19 +0000 (0:00:00.381) 0:00:54.646 ******** 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 19:52:19 +0000 (0:00:00.025) 0:00:54.672 ******** ok: [/cache/centos-9.qcow2.snap] META: role_complete for /cache/centos-9.qcow2.snap TASK [Assert to preserve RAID settings for preexisting pool] ******************* task path: /tmp/tmpaxpydj_h/tests/storage/tests_raid_pool_options.yml:78 Wednesday 06 July 2022 19:52:20 +0000 (0:00:01.070) 0:00:55.742 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/tests_raid_pool_options.yml:83 Wednesday 06 July 2022 19:52:20 +0000 (0:00:00.108) 0:00:55.850 ******** 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 19:52:20 +0000 (0:00:00.047) 0:00:55.898 ******** ok: [/cache/centos-9.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda", "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": "0 B", "raid_device_count": 2, "raid_level": "raid1", "raid_metadata_version": "1.0", "raid_spare_count": 1, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdc", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdc", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdc", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:6 Wednesday 06 July 2022 19:52:20 +0000 (0:00:00.057) 0:00:55.956 ******** 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 19:52:20 +0000 (0:00:00.036) 0:00:55.992 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/vg1-lv1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv1", "size": "2G", "type": "lvm", "uuid": "d7f9df11-1df1-41bf-9a0d-b98425bf2ab7" }, "/dev/mapper/vg1-lv2": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv2", "size": "3G", "type": "lvm", "uuid": "451e2b8b-ed81-470a-92c6-f9f7ee67047e" }, "/dev/mapper/vg1-lv3": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv3", "size": "3G", "type": "lvm", "uuid": "6b409556-a426-4bff-8ef7-083e19d6bc75" }, "/dev/md/vg1-1": { "fstype": "LVM2_member", "label": "", "name": "/dev/md/vg1-1", "size": "10G", "type": "raid1", "uuid": "e69d30-hDWE-8cHN-pkXN-QzNf-POx4-0Av9jg" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda1": { "fstype": "linux_raid_member", "label": "vg1-1", "name": "/dev/sda1", "size": "10G", "type": "partition", "uuid": "0117c1fc-d969-d6e0-9e1a-7bd2db9fd924" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb1": { "fstype": "linux_raid_member", "label": "vg1-1", "name": "/dev/sdb1", "size": "10G", "type": "partition", "uuid": "0117c1fc-d969-d6e0-9e1a-7bd2db9fd924" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc1": { "fstype": "linux_raid_member", "label": "vg1-1", "name": "/dev/sdc1", "size": "10G", "type": "partition", "uuid": "0117c1fc-d969-d6e0-9e1a-7bd2db9fd924" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-06-19-51-09-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 19:52:21 +0000 (0:00:00.408) 0:00:56.401 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002943", "end": "2022-07-06 15:52:21.106316", "rc": 0, "start": "2022-07-06 15:52:21.103373" } 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/vg1-lv1 /opt/test1 xfs defaults 0 0 /dev/mapper/vg1-lv2 /opt/test2 xfs defaults 0 0 /dev/mapper/vg1-lv3 /opt/test3 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:24 Wednesday 06 July 2022 19:52:21 +0000 (0:00:00.374) 0:00:56.775 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003283", "end": "2022-07-06 15:52:21.497196", "failed_when_result": false, "rc": 0, "start": "2022-07-06 15:52:21.493913" } 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 19:52:21 +0000 (0:00:00.395) 0:00:57.170 ******** [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': ['sda', 'sdb', 'sdc'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'vg1', 'raid_level': 'raid1', 'raid_device_count': 2, 'raid_spare_count': 1, 'raid_metadata_version': '1.0', 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdc', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}, {'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'lv2', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdc', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}, {'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test3', 'name': 'lv3', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdc', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': '0 B'}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool.yml:5 Wednesday 06 July 2022 19:52:22 +0000 (0:00:00.065) 0:00:57.236 ******** 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 19:52:22 +0000 (0:00:00.038) 0:00:57.274 ******** 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 19:52:22 +0000 (0:00:00.055) 0:00:57.329 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/md127" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:6 Wednesday 06 July 2022 19:52:22 +0000 (0:00:00.064) 0:00:57.394 ******** ok: [/cache/centos-9.qcow2.snap] => (item=/dev/md127) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/md/vg1-1", "pv": "/dev/md127" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:15 Wednesday 06 July 2022 19:52:22 +0000 (0:00:00.403) 0:00:57.798 ******** 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 19:52:22 +0000 (0:00:00.048) 0:00:57.847 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/md/vg1-1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:23 Wednesday 06 July 2022 19:52:22 +0000 (0:00:00.067) 0:00:57.915 ******** 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 19:52:22 +0000 (0:00:00.057) 0:00:57.972 ******** 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 19:52:22 +0000 (0:00:00.038) 0:00:58.011 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "partition" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:37 Wednesday 06 July 2022 19:52:22 +0000 (0:00:00.085) 0:00:58.096 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "raid1" }, "changed": 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 19:52:22 +0000 (0:00:00.082) 0:00:58.178 ******** ok: [/cache/centos-9.qcow2.snap] => (item=/dev/md/vg1-1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/md/vg1-1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:50 Wednesday 06 July 2022 19:52:23 +0000 (0:00:00.112) 0:00:58.291 ******** 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 19:52:23 +0000 (0:00:00.080) 0:00:58.371 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "mdadm", "--detail", "/dev/md/vg1-1" ], "delta": "0:00:00.007387", "end": "2022-07-06 15:52:23.083827", "rc": 0, "start": "2022-07-06 15:52:23.076440" } STDOUT: /dev/md/vg1-1: Version : 1.0 Creation Time : Wed Jul 6 15:51:39 2022 Raid Level : raid1 Array Size : 10484608 (10.00 GiB 10.74 GB) Used Dev Size : 10484608 (10.00 GiB 10.74 GB) Raid Devices : 2 Total Devices : 3 Persistence : Superblock is persistent Intent Bitmap : Internal Update Time : Wed Jul 6 15:52:20 2022 State : clean, resyncing Active Devices : 2 Working Devices : 3 Failed Devices : 0 Spare Devices : 1 Consistency Policy : bitmap Resync Status : 83% complete Name : vg1-1 UUID : 0117c1fc:d969d6e0:9e1a7bd2:db9fd924 Events : 23 Number Major Minor RaidDevice State 0 8 1 0 active sync /dev/sda1 1 8 17 1 active sync /dev/sdb1 2 8 33 - spare /dev/sdc1 TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-md.yml:12 Wednesday 06 July 2022 19:52:23 +0000 (0:00:00.389) 0:00:58.761 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": "Active\\ Devices\\ :\\ 2\\\n" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-md.yml:16 Wednesday 06 July 2022 19:52:23 +0000 (0:00:00.056) 0:00:58.818 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_md_spare_devices_re": "Spare\\ Devices\\ :\\ 1\\\n" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-md.yml:20 Wednesday 06 July 2022 19:52:23 +0000 (0:00:00.054) 0:00:58.873 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_md_metadata_version_re": "Version\\ :\\ 1\\.0\\\n" }, "changed": false } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-md.yml:24 Wednesday 06 July 2022 19:52:23 +0000 (0:00:00.056) 0:00:58.929 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-md.yml:30 Wednesday 06 July 2022 19:52:23 +0000 (0:00:00.051) 0:00:58.980 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-md.yml:36 Wednesday 06 July 2022 19:52:23 +0000 (0:00:00.051) 0:00:59.032 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-md.yml:44 Wednesday 06 July 2022 19:52:23 +0000 (0:00:00.049) 0:00:59.081 ******** 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 19:52:23 +0000 (0:00:00.039) 0:00:59.121 ******** 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 19:52:23 +0000 (0:00:00.048) 0:00:59.169 ******** 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': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdc', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/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': 'lv2', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdc', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/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/test3', 'name': 'lv3', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdc', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 19:52:24 +0000 (0:00:00.060) 0:00:59.230 ******** 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 19:52:24 +0000 (0:00:00.031) 0:00:59.261 ******** 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 19:52:24 +0000 (0:00:00.029) 0:00:59.291 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 19:52:24 +0000 (0:00:00.030) 0:00:59.321 ******** 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 19:52:24 +0000 (0:00:00.032) 0:00:59.354 ******** 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 19:52:24 +0000 (0:00:00.027) 0:00:59.382 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 19:52:24 +0000 (0:00:00.030) 0:00:59.412 ******** 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 19:52:24 +0000 (0:00:00.029) 0:00:59.442 ******** 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 19:52:24 +0000 (0:00:00.032) 0:00:59.475 ******** 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 19:52:24 +0000 (0:00:00.030) 0:00:59.505 ******** 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 19:52:24 +0000 (0:00:00.048) 0:00:59.554 ******** 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': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdc', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/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': 'lv2', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdc', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/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/test3', 'name': 'lv3', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdc', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 19:52:24 +0000 (0:00:00.059) 0:00:59.613 ******** 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 19:52:24 +0000 (0:00:00.026) 0:00:59.640 ******** 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 19:52:24 +0000 (0:00:00.026) 0:00:59.666 ******** 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 19:52:24 +0000 (0:00:00.026) 0:00:59.692 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 19:52:24 +0000 (0:00:00.025) 0:00:59.718 ******** 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 19:52:24 +0000 (0:00:00.025) 0:00:59.743 ******** 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 19:52:24 +0000 (0:00:00.026) 0:00:59.769 ******** 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 19:52:24 +0000 (0:00:00.025) 0:00:59.794 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 19:52:24 +0000 (0:00:00.025) 0:00:59.819 ******** 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 19:52:24 +0000 (0:00:00.025) 0:00:59.844 ******** 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 19:52:24 +0000 (0:00:00.059) 0:00:59.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-member-thin.yml:17 Wednesday 06 July 2022 19:52:24 +0000 (0:00:00.032) 0:00:59.937 ******** 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 19:52:24 +0000 (0:00:00.027) 0:00:59.964 ******** 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 19:52:24 +0000 (0:00:00.054) 0:01:00.018 ******** 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 19:52:24 +0000 (0:00:00.057) 0:01:00.075 ******** skipping: [/cache/centos-9.qcow2.snap] => (item=/dev/md/vg1-1) => { "_storage_test_pool_member_path": "/dev/md/vg1-1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-encryption.yml:15 Wednesday 06 July 2022 19:52:24 +0000 (0:00:00.028) 0:01:00.104 ******** included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-crypttab.yml for /cache/centos-9.qcow2.snap => (item=/dev/md/vg1-1) TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-crypttab.yml:1 Wednesday 06 July 2022 19:52:24 +0000 (0:00:00.048) 0:01:00.152 ******** 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 19:52:24 +0000 (0:00:00.056) 0:01:00.209 ******** 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 19:52:25 +0000 (0:00:00.054) 0:01:00.264 ******** 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 19:52:25 +0000 (0:00:00.040) 0:01:00.305 ******** 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 19:52:25 +0000 (0:00:00.039) 0:01:00.345 ******** 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 19:52:25 +0000 (0:00:00.038) 0:01:00.384 ******** 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 19:52:25 +0000 (0:00:00.036) 0:01:00.420 ******** 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 19:52:25 +0000 (0:00:00.036) 0:01:00.457 ******** 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 19:52:25 +0000 (0:00:00.047) 0:01:00.505 ******** 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': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdc', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/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': 'lv2', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdc', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/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/test3', 'name': 'lv3', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdc', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 19:52:25 +0000 (0:00:00.060) 0:01:00.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/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 19:52:25 +0000 (0:00:00.027) 0:01:00.593 ******** 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 19:52:25 +0000 (0:00:00.027) 0:01:00.621 ******** 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 19:52:25 +0000 (0:00:00.026) 0:01:00.647 ******** 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 19:52:25 +0000 (0:00:00.025) 0:01:00.672 ******** 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 19:52:25 +0000 (0:00:00.026) 0:01:00.699 ******** 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 19:52:25 +0000 (0:00:00.025) 0:01:00.724 ******** 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 19:52:25 +0000 (0:00:00.023) 0:01:00.748 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 19:52:25 +0000 (0:00:00.037) 0:01:00.785 ******** 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 19:52:25 +0000 (0:00:00.025) 0:01:00.810 ******** 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 19:52:25 +0000 (0:00:00.027) 0:01:00.838 ******** 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 19:52:25 +0000 (0:00:00.026) 0:01:00.864 ******** 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 19:52:25 +0000 (0:00:00.025) 0:01:00.890 ******** 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 19:52:25 +0000 (0:00:00.026) 0:01:00.917 ******** 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 19:52:25 +0000 (0:00:00.025) 0:01:00.942 ******** 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 19:52:25 +0000 (0:00:00.025) 0:01:00.967 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 19:52:25 +0000 (0:00:00.038) 0:01:01.005 ******** 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 19:52:25 +0000 (0:00:00.026) 0:01:01.031 ******** 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 19:52:25 +0000 (0:00:00.029) 0:01:01.060 ******** 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 19:52:25 +0000 (0:00:00.026) 0:01:01.087 ******** 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 19:52:25 +0000 (0:00:00.025) 0:01:01.112 ******** 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 19:52:25 +0000 (0:00:00.025) 0:01:01.138 ******** 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 19:52:25 +0000 (0:00:00.065) 0:01:01.203 ******** 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 19:52:26 +0000 (0:00:00.027) 0:01:01.231 ******** 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 19:52:26 +0000 (0:00:00.040) 0:01:01.271 ******** 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 19:52:26 +0000 (0:00:00.041) 0:01:01.313 ******** [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/test1', 'name': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdc', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/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': 'lv2', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdc', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/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/test3', 'name': 'lv3', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdc', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml:2 Wednesday 06 July 2022 19:52:26 +0000 (0:00:00.060) 0:01:01.373 ******** 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 19:52:26 +0000 (0:00:00.054) 0:01:01.428 ******** 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 19:52:26 +0000 (0:00:00.092) 0:01:01.520 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:10 Wednesday 06 July 2022 19:52:26 +0000 (0:00:00.052) 0:01:01.573 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 509827, "block_size": 4096, "block_total": 521728, "block_used": 11901, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1048573, "inode_total": 1048576, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 2088251392, "size_total": 2136997888, "uuid": "d7f9df11-1df1-41bf-9a0d-b98425bf2ab7" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 509827, "block_size": 4096, "block_total": 521728, "block_used": 11901, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1048573, "inode_total": 1048576, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 2088251392, "size_total": 2136997888, "uuid": "d7f9df11-1df1-41bf-9a0d-b98425bf2ab7" } ], "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 19:52:26 +0000 (0:00:00.062) 0:01:01.635 ******** 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 19:52:26 +0000 (0:00:00.058) 0:01:01.693 ******** 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 19:52:26 +0000 (0:00:00.053) 0:01:01.746 ******** 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 19:52:26 +0000 (0:00:00.054) 0:01:01.801 ******** 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 19:52:26 +0000 (0:00:00.026) 0:01:01.828 ******** 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 19:52:26 +0000 (0:00:00.027) 0:01:01.855 ******** 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 19:52:26 +0000 (0:00:00.025) 0:01:01.881 ******** 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 19:52:26 +0000 (0:00:00.035) 0:01:01.917 ******** 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/vg1-lv1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:12 Wednesday 06 July 2022 19:52:26 +0000 (0:00:00.067) 0:01:01.984 ******** 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 19:52:26 +0000 (0:00:00.055) 0:01:02.040 ******** 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 19:52:26 +0000 (0:00:00.053) 0:01:02.094 ******** 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 19:52:26 +0000 (0:00:00.036) 0:01:02.131 ******** 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 19:52:26 +0000 (0:00:00.039) 0:01:02.170 ******** 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 19:52:26 +0000 (0:00:00.038) 0:01:02.209 ******** 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 19:52:27 +0000 (0:00:00.043) 0:01:02.253 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1657137106.014655, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657137106.014655, "dev": 5, "device_type": 64770, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 932, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657137106.014655, "nlink": 1, "path": "/dev/mapper/vg1-lv1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:10 Wednesday 06 July 2022 19:52:27 +0000 (0:00:00.372) 0:01:02.625 ******** 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 19:52:27 +0000 (0:00:00.046) 0:01:02.672 ******** 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 19:52:27 +0000 (0:00:00.041) 0:01:02.714 ******** 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 19:52:27 +0000 (0:00:00.040) 0:01:02.755 ******** 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 19:52:27 +0000 (0:00:00.026) 0:01:02.781 ******** 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 19:52:27 +0000 (0:00:00.039) 0:01:02.821 ******** 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 19:52:27 +0000 (0:00:00.026) 0:01:02.847 ******** 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 19:52:28 +0000 (0:00:00.878) 0:01:03.725 ******** 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 19:52:28 +0000 (0:00:00.027) 0:01:03.753 ******** 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 19:52:28 +0000 (0:00:00.025) 0:01:03.778 ******** 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 19:52:28 +0000 (0:00:00.051) 0:01:03.830 ******** 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 19:52:28 +0000 (0:00:00.024) 0:01:03.855 ******** 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 19:52:28 +0000 (0:00:00.024) 0:01:03.879 ******** 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 19:52:28 +0000 (0:00:00.025) 0:01:03.905 ******** 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 19:52:28 +0000 (0:00:00.026) 0:01:03.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-encryption.yml:62 Wednesday 06 July 2022 19:52:28 +0000 (0:00:00.025) 0:01:03.958 ******** 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 19:52:28 +0000 (0:00:00.052) 0:01:04.010 ******** 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 19:52:28 +0000 (0:00:00.054) 0:01:04.065 ******** 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 19:52:28 +0000 (0:00:00.038) 0:01:04.104 ******** 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 19:52:28 +0000 (0:00:00.037) 0:01:04.142 ******** 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 19:52:28 +0000 (0:00:00.037) 0:01:04.179 ******** 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 19:52:28 +0000 (0:00:00.038) 0:01:04.218 ******** 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 19:52:29 +0000 (0:00:00.037) 0:01:04.256 ******** 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 19:52:29 +0000 (0:00:00.040) 0:01:04.296 ******** 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 19:52:29 +0000 (0:00:00.038) 0:01:04.335 ******** 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 19:52:29 +0000 (0:00:00.043) 0:01:04.379 ******** 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 19:52:29 +0000 (0:00:00.039) 0:01:04.418 ******** 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 19:52:29 +0000 (0:00:00.038) 0:01:04.456 ******** 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 19:52:29 +0000 (0:00:00.038) 0:01:04.495 ******** ok: [/cache/centos-9.qcow2.snap] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:9 Wednesday 06 July 2022 19:52:29 +0000 (0:00:00.385) 0:01:04.881 ******** ok: [/cache/centos-9.qcow2.snap] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 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 19:52:30 +0000 (0:00:00.386) 0:01:05.268 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "2147483648" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:20 Wednesday 06 July 2022 19:52:30 +0000 (0:00:00.062) 0:01:05.331 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "2147483648" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:25 Wednesday 06 July 2022 19:52:30 +0000 (0:00:00.041) 0:01:05.373 ******** 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 19:52:30 +0000 (0:00:00.041) 0:01:05.414 ******** 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 19:52:30 +0000 (0:00:00.039) 0:01:05.453 ******** 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 19:52:30 +0000 (0:00:00.041) 0:01:05.495 ******** 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 19:52:30 +0000 (0:00:00.040) 0:01:05.535 ******** 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 19:52:30 +0000 (0:00:00.039) 0:01:05.575 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_actual_size": { "bytes": 2147483648, "changed": false, "failed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:47 Wednesday 06 July 2022 19:52:30 +0000 (0:00:00.085) 0:01:05.660 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "2147483648" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:50 Wednesday 06 July 2022 19:52:30 +0000 (0:00:00.082) 0:01:05.742 ******** 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 19:52:30 +0000 (0:00:00.089) 0:01:05.832 ******** 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", "vg1/lv1" ], "delta": "0:00:00.040883", "end": "2022-07-06 15:52:30.616814", "rc": 0, "start": "2022-07-06 15:52:30.575931" } STDOUT: LVM2_LV_NAME=lv1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 19:52:31 +0000 (0:00:00.456) 0:01:06.288 ******** 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 19:52:31 +0000 (0:00:00.054) 0:01:06.343 ******** 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 19:52:31 +0000 (0:00:00.057) 0:01:06.400 ******** 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 19:52:31 +0000 (0:00:00.045) 0:01:06.445 ******** 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 19:52:31 +0000 (0:00:00.041) 0:01:06.486 ******** 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 19:52:31 +0000 (0:00:00.038) 0:01:06.524 ******** 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 19:52:31 +0000 (0:00:00.037) 0:01:06.562 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml:2 Wednesday 06 July 2022 19:52:31 +0000 (0:00:00.037) 0:01:06.600 ******** 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 19:52:31 +0000 (0:00:00.049) 0:01:06.649 ******** 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 19:52:31 +0000 (0:00:00.083) 0:01:06.733 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv2" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:10 Wednesday 06 July 2022 19:52:31 +0000 (0:00:00.042) 0:01:06.776 ******** 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/vg1-lv2", "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": "451e2b8b-ed81-470a-92c6-f9f7ee67047e" } ], "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/vg1-lv2", "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": "451e2b8b-ed81-470a-92c6-f9f7ee67047e" } ], "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 19:52:31 +0000 (0:00:00.060) 0:01:06.836 ******** 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 19:52:31 +0000 (0:00:00.052) 0:01:06.889 ******** 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 19:52:31 +0000 (0:00:00.054) 0:01:06.943 ******** 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 19:52:31 +0000 (0:00:00.056) 0:01:07.000 ******** 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 19:52:31 +0000 (0:00:00.026) 0:01:07.026 ******** 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 19:52:31 +0000 (0:00:00.025) 0:01:07.051 ******** 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 19:52:31 +0000 (0:00:00.025) 0:01:07.076 ******** 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 19:52:31 +0000 (0:00:00.039) 0:01:07.116 ******** 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/vg1-lv2 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test2 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test2 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:12 Wednesday 06 July 2022 19:52:31 +0000 (0:00:00.060) 0:01:07.176 ******** 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 19:52:31 +0000 (0:00:00.049) 0:01:07.225 ******** 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 19:52:32 +0000 (0:00:00.055) 0:01:07.281 ******** 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 19:52:32 +0000 (0:00:00.043) 0:01:07.324 ******** 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 19:52:32 +0000 (0:00:00.040) 0:01:07.365 ******** 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 19:52:32 +0000 (0:00:00.046) 0:01:07.412 ******** 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 19:52:32 +0000 (0:00:00.042) 0:01:07.454 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1657137105.755655, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657137105.755655, "dev": 5, "device_type": 64769, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 898, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657137105.755655, "nlink": 1, "path": "/dev/mapper/vg1-lv2", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:10 Wednesday 06 July 2022 19:52:32 +0000 (0:00:00.381) 0:01:07.836 ******** 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 19:52:32 +0000 (0:00:00.115) 0:01:07.951 ******** 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 19:52:32 +0000 (0:00:00.042) 0:01:07.993 ******** 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 19:52:32 +0000 (0:00:00.040) 0:01:08.034 ******** 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 19:52:32 +0000 (0:00:00.026) 0:01:08.060 ******** 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 19:52:32 +0000 (0:00:00.042) 0:01:08.102 ******** 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 19:52:32 +0000 (0:00:00.026) 0:01:08.129 ******** 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 19:52:33 +0000 (0:00:00.831) 0:01:08.960 ******** 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 19:52:33 +0000 (0:00:00.025) 0:01:08.985 ******** 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 19:52:33 +0000 (0:00:00.025) 0:01:09.011 ******** 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 19:52:33 +0000 (0:00:00.056) 0:01:09.067 ******** 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 19:52:33 +0000 (0:00:00.025) 0:01:09.093 ******** 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 19:52:33 +0000 (0:00:00.025) 0:01:09.119 ******** 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 19:52:33 +0000 (0:00:00.029) 0:01:09.148 ******** 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 19:52:33 +0000 (0:00:00.028) 0:01:09.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-encryption.yml:62 Wednesday 06 July 2022 19:52:33 +0000 (0:00:00.026) 0:01:09.203 ******** 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 19:52:34 +0000 (0:00:00.054) 0:01:09.258 ******** 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 19:52:34 +0000 (0:00:00.050) 0:01:09.308 ******** 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 19:52:34 +0000 (0:00:00.041) 0:01:09.350 ******** 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 19:52:34 +0000 (0:00:00.037) 0:01:09.387 ******** 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 19:52:34 +0000 (0:00:00.039) 0:01:09.427 ******** 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 19:52:34 +0000 (0:00:00.038) 0:01:09.465 ******** 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 19:52:34 +0000 (0:00:00.039) 0:01:09.505 ******** 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 19:52:34 +0000 (0:00:00.034) 0:01:09.540 ******** 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 19:52:34 +0000 (0:00:00.036) 0:01:09.576 ******** 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 19:52:34 +0000 (0:00:00.037) 0:01:09.614 ******** 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 19:52:34 +0000 (0:00:00.040) 0:01:09.654 ******** 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 19:52:34 +0000 (0:00:00.043) 0:01:09.698 ******** 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 19:52:34 +0000 (0:00:00.044) 0:01:09.742 ******** 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 19:52:34 +0000 (0:00:00.380) 0:01:10.123 ******** 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 19:52:35 +0000 (0:00:00.523) 0:01:10.647 ******** 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 19:52:35 +0000 (0:00:00.055) 0:01:10.702 ******** 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 19:52:35 +0000 (0:00:00.039) 0:01:10.742 ******** 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 19:52:35 +0000 (0:00:00.041) 0:01:10.783 ******** 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 19:52:35 +0000 (0:00:00.039) 0:01:10.823 ******** 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 19:52:35 +0000 (0:00:00.041) 0:01:10.864 ******** 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 19:52:35 +0000 (0:00:00.081) 0:01:10.946 ******** 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 19:52:35 +0000 (0:00:00.038) 0:01:10.985 ******** 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 19:52:35 +0000 (0:00:00.039) 0:01:11.024 ******** 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 19:52:35 +0000 (0:00:00.040) 0:01:11.064 ******** 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 19:52:35 +0000 (0:00:00.052) 0:01:11.116 ******** 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", "vg1/lv2" ], "delta": "0:00:00.031932", "end": "2022-07-06 15:52:35.862682", "rc": 0, "start": "2022-07-06 15:52:35.830750" } STDOUT: LVM2_LV_NAME=lv2 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 19:52:36 +0000 (0:00:00.423) 0:01:11.540 ******** 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 19:52:36 +0000 (0:00:00.054) 0:01:11.595 ******** 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 19:52:36 +0000 (0:00:00.053) 0:01:11.649 ******** 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 19:52:36 +0000 (0:00:00.045) 0:01:11.694 ******** 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 19:52:36 +0000 (0:00:00.040) 0:01:11.735 ******** 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 19:52:36 +0000 (0:00:00.038) 0:01:11.773 ******** 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 19:52:36 +0000 (0:00:00.037) 0:01:11.810 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml:2 Wednesday 06 July 2022 19:52:36 +0000 (0:00:00.036) 0:01:11.847 ******** 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 19:52:36 +0000 (0:00:00.060) 0:01:11.907 ******** 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 19:52:36 +0000 (0:00:00.087) 0:01:11.995 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv3" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:10 Wednesday 06 July 2022 19:52:36 +0000 (0:00:00.043) 0:01:12.039 ******** 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/vg1-lv3", "fstype": "xfs", "inode_available": 1572861, "inode_total": 1572864, "inode_used": 3, "mount": "/opt/test3", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 3154518016, "size_total": 3210739712, "uuid": "6b409556-a426-4bff-8ef7-083e19d6bc75" } ], "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/vg1-lv3", "fstype": "xfs", "inode_available": 1572861, "inode_total": 1572864, "inode_used": 3, "mount": "/opt/test3", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 3154518016, "size_total": 3210739712, "uuid": "6b409556-a426-4bff-8ef7-083e19d6bc75" } ], "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 19:52:36 +0000 (0:00:00.059) 0:01:12.098 ******** 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 19:52:36 +0000 (0:00:00.055) 0:01:12.153 ******** 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 19:52:36 +0000 (0:00:00.049) 0:01:12.203 ******** 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 19:52:37 +0000 (0:00:00.051) 0:01:12.255 ******** 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 19:52:37 +0000 (0:00:00.028) 0:01:12.284 ******** 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 19:52:37 +0000 (0:00:00.025) 0:01:12.310 ******** 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 19:52:37 +0000 (0:00:00.024) 0:01:12.334 ******** 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 19:52:37 +0000 (0:00:00.039) 0:01:12.373 ******** 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/vg1-lv3 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test3 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test3 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:12 Wednesday 06 July 2022 19:52:37 +0000 (0:00:00.065) 0:01:12.439 ******** 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 19:52:37 +0000 (0:00:00.051) 0:01:12.491 ******** 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 19:52:37 +0000 (0:00:00.050) 0:01:12.542 ******** 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 19:52:37 +0000 (0:00:00.040) 0:01:12.582 ******** 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 19:52:37 +0000 (0:00:00.038) 0:01:12.620 ******** 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 19:52:37 +0000 (0:00:00.082) 0:01:12.703 ******** 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 19:52:37 +0000 (0:00:00.113) 0:01:12.816 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1657137105.4866552, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657137105.4866552, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 863, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657137105.4866552, "nlink": 1, "path": "/dev/mapper/vg1-lv3", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:10 Wednesday 06 July 2022 19:52:37 +0000 (0:00:00.372) 0:01:13.189 ******** 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 19:52:38 +0000 (0:00:00.046) 0:01:13.235 ******** 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 19:52:38 +0000 (0:00:00.048) 0:01:13.284 ******** 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 19:52:38 +0000 (0:00:00.039) 0:01:13.323 ******** 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 19:52:38 +0000 (0:00:00.027) 0:01:13.351 ******** 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 19:52:38 +0000 (0:00:00.040) 0:01:13.392 ******** 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 19:52:38 +0000 (0:00:00.025) 0:01:13.418 ******** 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 19:52:38 +0000 (0:00:00.772) 0:01:14.190 ******** 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 19:52:38 +0000 (0:00:00.027) 0:01:14.217 ******** 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 19:52:39 +0000 (0:00:00.027) 0:01:14.245 ******** 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 19:52:39 +0000 (0:00:00.057) 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/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:39 Wednesday 06 July 2022 19:52:39 +0000 (0:00:00.026) 0:01:14.328 ******** 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 19:52:39 +0000 (0:00:00.027) 0:01:14.356 ******** 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 19:52:39 +0000 (0:00:00.026) 0:01:14.383 ******** 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 19:52:39 +0000 (0:00:00.026) 0:01:14.409 ******** 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 19:52:39 +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/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 19:52:39 +0000 (0:00:00.057) 0:01:14.494 ******** 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 19:52:39 +0000 (0:00:00.048) 0:01:14.543 ******** 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 19:52:39 +0000 (0:00:00.038) 0:01:14.582 ******** 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 19:52:39 +0000 (0:00:00.039) 0:01:14.621 ******** 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 19:52:39 +0000 (0:00:00.043) 0:01:14.664 ******** 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 19:52:39 +0000 (0:00:00.036) 0:01:14.701 ******** 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 19:52:39 +0000 (0:00:00.039) 0:01:14.741 ******** 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 19:52:39 +0000 (0:00:00.037) 0:01:14.778 ******** 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 19:52:39 +0000 (0:00:00.043) 0:01:14.822 ******** 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 19:52:39 +0000 (0:00:00.037) 0:01:14.859 ******** 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 19:52:39 +0000 (0:00:00.036) 0:01:14.896 ******** 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 19:52:39 +0000 (0:00:00.039) 0:01:14.936 ******** 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 19:52:39 +0000 (0:00:00.040) 0:01:14.976 ******** 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 19:52:40 +0000 (0:00:00.403) 0:01:15.380 ******** 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 19:52:40 +0000 (0:00:00.379) 0:01:15.759 ******** 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 19:52:40 +0000 (0:00:00.052) 0:01:15.812 ******** 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 19:52:40 +0000 (0:00:00.038) 0:01:15.850 ******** 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 19:52:40 +0000 (0:00:00.039) 0:01:15.889 ******** 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 19:52:40 +0000 (0:00:00.040) 0:01:15.930 ******** 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 19:52:40 +0000 (0:00:00.040) 0:01:15.970 ******** 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 19:52:40 +0000 (0:00:00.036) 0:01:16.007 ******** 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 19:52:40 +0000 (0:00:00.040) 0:01:16.047 ******** 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 19:52:40 +0000 (0:00:00.039) 0:01:16.087 ******** 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 19:52:40 +0000 (0:00:00.039) 0:01:16.126 ******** 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 19:52:40 +0000 (0:00:00.055) 0:01:16.181 ******** 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", "vg1/lv3" ], "delta": "0:00:00.035251", "end": "2022-07-06 15:52:40.926641", "rc": 0, "start": "2022-07-06 15:52:40.891390" } STDOUT: LVM2_LV_NAME=lv3 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 19:52:41 +0000 (0:00:00.417) 0:01:16.599 ******** 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 19:52:41 +0000 (0:00:00.049) 0:01:16.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-volume-cache.yml:22 Wednesday 06 July 2022 19:52:41 +0000 (0:00:00.051) 0:01:16.701 ******** 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 19:52:41 +0000 (0:00:00.041) 0:01:16.742 ******** 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 19:52:41 +0000 (0:00:00.040) 0:01:16.783 ******** 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 19:52:41 +0000 (0:00:00.040) 0:01:16.823 ******** 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 19:52:41 +0000 (0:00:00.039) 0:01:16.863 ******** 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 19:52:41 +0000 (0:00:00.040) 0:01:16.903 ******** 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 19:52:41 +0000 (0:00:00.042) 0:01:16.946 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:57 Wednesday 06 July 2022 19:52:41 +0000 (0:00:00.024) 0:01:16.971 ******** 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 [Remove the pool created above] ******************************************* task path: /tmp/tmpaxpydj_h/tests/storage/tests_raid_pool_options.yml:85 Wednesday 06 July 2022 19:52:41 +0000 (0:00:00.037) 0:01:17.008 ******** 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 19:52:41 +0000 (0:00:00.059) 0:01:17.068 ******** 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 19:52:41 +0000 (0:00:00.039) 0:01:17.107 ******** 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 19:52:42 +0000 (0:00:00.584) 0:01:17.691 ******** 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 19:52:42 +0000 (0:00:00.075) 0:01:17.767 ******** 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 19:52:42 +0000 (0:00:00.039) 0:01:17.807 ******** 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 19:52:42 +0000 (0:00:00.040) 0:01:17.847 ******** 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 19:52:42 +0000 (0:00:00.065) 0:01:17.913 ******** 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 19:52:42 +0000 (0:00:00.025) 0:01:17.938 ******** 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 19:52:42 +0000 (0:00:00.039) 0:01:17.978 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda", "sdb", "sdc" ], "name": "vg1", "raid_device_count": 2, "raid_level": "raid1", "raid_metadata_version": "1.0", "raid_spare_count": 1, "state": "absent", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "lv1", "size": "2g" }, { "mount_point": "/opt/test2", "name": "lv2", "size": "3g" }, { "mount_point": "/opt/test3", "name": "lv3", "size": "3g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Wednesday 06 July 2022 19:52:42 +0000 (0:00:00.044) 0:01:18.022 ******** 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 19:52:42 +0000 (0:00:00.041) 0:01:18.063 ******** 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 19:52:42 +0000 (0:00:00.033) 0:01:18.097 ******** 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 19:52:42 +0000 (0:00:00.032) 0:01:18.129 ******** 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 19:52:42 +0000 (0:00:00.031) 0:01:18.160 ******** 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 19:52:42 +0000 (0:00:00.028) 0:01:18.188 ******** 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 19:52:43 +0000 (0:00:00.065) 0:01:18.254 ******** 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 19:52:43 +0000 (0:00:00.024) 0:01:18.279 ******** changed: [/cache/centos-9.qcow2.snap] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/vg1-lv3", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv3", "fs_type": null }, { "action": "destroy format", "device": "/dev/mapper/vg1-lv2", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv2", "fs_type": null }, { "action": "destroy format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "destroy device", "device": "/dev/vg1", "fs_type": null }, { "action": "destroy format", "device": "/dev/md/vg1-1", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/md/vg1-1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda1", "fs_type": "mdmember" }, { "action": "destroy device", "device": "/dev/sda1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "disklabel" }, { "action": "destroy format", "device": "/dev/sdc1", "fs_type": "mdmember" }, { "action": "destroy device", "device": "/dev/sdc1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdc", "fs_type": "disklabel" }, { "action": "destroy format", "device": "/dev/sdb1", "fs_type": "mdmember" }, { "action": "destroy device", "device": "/dev/sdb1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb", "fs_type": "disklabel" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/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/test3", "src": "/dev/mapper/vg1-lv3", "state": "absent" }, { "fstype": "xfs", "path": "/opt/test2", "src": "/dev/mapper/vg1-lv2", "state": "absent" }, { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "absent" } ], "packages": [ "e2fsprogs", "xfsprogs" ], "pools": [ { "disks": [ "sda", "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": "0 B", "raid_device_count": 2, "raid_level": "raid1", "raid_metadata_version": "1.0", "raid_spare_count": 1, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdc", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdc", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdc", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Wednesday 06 July 2022 19:52:47 +0000 (0:00:04.167) 0:01:22.446 ******** 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 19:52:47 +0000 (0:00:00.039) 0:01:22.485 ******** 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 19:52:47 +0000 (0:00:00.024) 0:01:22.510 ******** ok: [/cache/centos-9.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/vg1-lv3", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv3", "fs_type": null }, { "action": "destroy format", "device": "/dev/mapper/vg1-lv2", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv2", "fs_type": null }, { "action": "destroy format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "destroy device", "device": "/dev/vg1", "fs_type": null }, { "action": "destroy format", "device": "/dev/md/vg1-1", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/md/vg1-1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda1", "fs_type": "mdmember" }, { "action": "destroy device", "device": "/dev/sda1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "disklabel" }, { "action": "destroy format", "device": "/dev/sdc1", "fs_type": "mdmember" }, { "action": "destroy device", "device": "/dev/sdc1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdc", "fs_type": "disklabel" }, { "action": "destroy format", "device": "/dev/sdb1", "fs_type": "mdmember" }, { "action": "destroy device", "device": "/dev/sdb1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb", "fs_type": "disklabel" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/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/test3", "src": "/dev/mapper/vg1-lv3", "state": "absent" }, { "fstype": "xfs", "path": "/opt/test2", "src": "/dev/mapper/vg1-lv2", "state": "absent" }, { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "absent" } ], "packages": [ "e2fsprogs", "xfsprogs" ], "pools": [ { "disks": [ "sda", "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": "0 B", "raid_device_count": 2, "raid_level": "raid1", "raid_metadata_version": "1.0", "raid_spare_count": 1, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdc", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdc", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdc", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Wednesday 06 July 2022 19:52:47 +0000 (0:00:00.084) 0:01:22.594 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda", "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": "0 B", "raid_device_count": 2, "raid_level": "raid1", "raid_metadata_version": "1.0", "raid_spare_count": 1, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdc", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdc", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdc", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Wednesday 06 July 2022 19:52:47 +0000 (0:00:00.048) 0:01:22.642 ******** 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 19:52:47 +0000 (0:00:00.075) 0:01:22.718 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-9.qcow2.snap] => (item={'src': '/dev/mapper/vg1-lv3', 'path': '/opt/test3', 'state': 'absent', 'fstype': 'xfs'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "fstype": "xfs", "path": "/opt/test3", "src": "/dev/mapper/vg1-lv3", "state": "absent" }, "name": "/opt/test3", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv3" } redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-9.qcow2.snap] => (item={'src': '/dev/mapper/vg1-lv2', 'path': '/opt/test2', 'state': 'absent', 'fstype': 'xfs'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "fstype": "xfs", "path": "/opt/test2", "src": "/dev/mapper/vg1-lv2", "state": "absent" }, "name": "/opt/test2", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv2" } redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-9.qcow2.snap] => (item={'src': '/dev/mapper/vg1-lv1', 'path': '/opt/test1', 'state': 'absent', 'fstype': 'xfs'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Wednesday 06 July 2022 19:52:48 +0000 (0:00:01.141) 0:01:23.860 ******** 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 19:52:49 +0000 (0:00:00.656) 0:01:24.516 ******** 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 19:52:49 +0000 (0:00:00.042) 0:01:24.559 ******** 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 19:52:49 +0000 (0:00:00.653) 0:01:25.213 ******** 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 19:52:50 +0000 (0:00:00.377) 0:01:25.590 ******** 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 19:52:50 +0000 (0:00:00.026) 0:01:25.616 ******** 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_raid_pool_options.yml:109 Wednesday 06 July 2022 19:52:51 +0000 (0:00:00.932) 0:01:26.548 ******** 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 19:52:51 +0000 (0:00:00.046) 0:01:26.595 ******** ok: [/cache/centos-9.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda", "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": "0 B", "raid_device_count": 2, "raid_level": "raid1", "raid_metadata_version": "1.0", "raid_spare_count": 1, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdc", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdc", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdc", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:6 Wednesday 06 July 2022 19:52:51 +0000 (0:00:00.051) 0:01:26.646 ******** 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 19:52:51 +0000 (0:00:00.036) 0:01:26.682 ******** 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-19-51-09-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 19:52:51 +0000 (0:00:00.379) 0:01:27.062 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002884", "end": "2022-07-06 15:52:51.775512", "rc": 0, "start": "2022-07-06 15:52:51.772628" } 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 19:52:52 +0000 (0:00:00.384) 0:01:27.446 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:01.004597", "end": "2022-07-06 15:52:53.162474", "failed_when_result": false, "rc": 0, "start": "2022-07-06 15:52:52.157877" } 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 19:52:53 +0000 (0:00:01.392) 0:01:28.839 ******** [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': ['sda', 'sdb', 'sdc'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'vg1', 'raid_level': 'raid1', 'raid_device_count': 2, 'raid_spare_count': 1, 'raid_metadata_version': '1.0', 'state': 'absent', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdc', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}, {'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'lv2', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdc', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2'}, {'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test3', 'name': 'lv3', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdc', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3'}], 'raid_chunk_size': '0 B'}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool.yml:5 Wednesday 06 July 2022 19:52:53 +0000 (0:00:00.065) 0:01:28.905 ******** 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 19:52:53 +0000 (0:00:00.149) 0:01:29.055 ******** 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 19:52:53 +0000 (0:00:00.051) 0:01:29.106 ******** 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 19:52:53 +0000 (0:00:00.054) 0:01:29.160 ******** TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:15 Wednesday 06 July 2022 19:52:53 +0000 (0:00:00.022) 0:01:29.183 ******** 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 19:52:54 +0000 (0:00:00.046) 0:01:29.229 ******** 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 19:52:54 +0000 (0:00:00.051) 0:01:29.281 ******** 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 19:52:54 +0000 (0:00:00.052) 0:01:29.334 ******** 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 19:52:54 +0000 (0:00:00.039) 0:01:29.373 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "partition" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:37 Wednesday 06 July 2022 19:52:54 +0000 (0:00:00.050) 0:01:29.424 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "raid1" }, "changed": 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 19:52:54 +0000 (0:00:00.040) 0:01:29.464 ******** TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:50 Wednesday 06 July 2022 19:52:54 +0000 (0:00:00.023) 0:01:29.488 ******** 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 19:52:54 +0000 (0:00:00.044) 0:01:29.533 ******** 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 19:52:54 +0000 (0:00:00.026) 0:01:29.559 ******** 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 19:52:54 +0000 (0:00:00.025) 0:01:29.584 ******** 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 19:52:54 +0000 (0:00:00.023) 0:01:29.608 ******** 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 19:52:54 +0000 (0:00:00.023) 0:01:29.631 ******** 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 19:52:54 +0000 (0:00:00.024) 0:01:29.655 ******** 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 19:52:54 +0000 (0:00:00.022) 0:01:29.678 ******** 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 19:52:54 +0000 (0:00:00.022) 0:01:29.700 ******** 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 19:52:54 +0000 (0:00:00.033) 0:01:29.734 ******** 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 19:52:54 +0000 (0:00:00.043) 0:01:29.777 ******** 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': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdc', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}) included: /tmp/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': 'lv2', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdc', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2'}) included: /tmp/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/test3', 'name': 'lv3', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdc', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 19:52:54 +0000 (0:00:00.051) 0:01:29.829 ******** 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 19:52:54 +0000 (0:00:00.025) 0:01:29.854 ******** 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 19:52:54 +0000 (0:00:00.024) 0:01:29.879 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 19:52:54 +0000 (0:00:00.024) 0:01:29.903 ******** 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 19:52:54 +0000 (0:00:00.025) 0:01:29.929 ******** 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 19:52:54 +0000 (0:00:00.025) 0:01:29.954 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 19:52:54 +0000 (0:00:00.026) 0:01:29.980 ******** 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 19:52:54 +0000 (0:00:00.029) 0:01:30.009 ******** 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 19:52:54 +0000 (0:00:00.033) 0:01:30.043 ******** 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 19:52:54 +0000 (0:00:00.028) 0:01:30.072 ******** 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 19:52:54 +0000 (0:00:00.043) 0:01:30.115 ******** 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': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdc', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}) included: /tmp/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': 'lv2', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdc', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2'}) included: /tmp/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/test3', 'name': 'lv3', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdc', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 19:52:54 +0000 (0:00:00.052) 0:01:30.167 ******** 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 19:52:54 +0000 (0:00:00.021) 0:01:30.188 ******** 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 19:52:54 +0000 (0:00:00.023) 0:01:30.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-member-thin.yml:17 Wednesday 06 July 2022 19:52:55 +0000 (0:00:00.050) 0:01:30.262 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 19:52:55 +0000 (0:00:00.022) 0:01:30.285 ******** 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 19:52:55 +0000 (0:00:00.021) 0:01:30.307 ******** 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 19:52:55 +0000 (0:00:00.023) 0:01:30.330 ******** 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 19:52:55 +0000 (0:00:00.028) 0:01:30.359 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 19:52:55 +0000 (0:00:00.025) 0:01:30.384 ******** 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 19:52:55 +0000 (0:00:00.024) 0:01:30.409 ******** 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 19:52:55 +0000 (0:00:00.024) 0:01:30.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-member-thin.yml:17 Wednesday 06 July 2022 19:52:55 +0000 (0:00:00.025) 0:01:30.459 ******** 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 19:52:55 +0000 (0:00:00.022) 0:01:30.481 ******** 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 19:52:55 +0000 (0:00:00.045) 0:01:30.526 ******** 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 19:52:55 +0000 (0:00:00.045) 0:01:30.572 ******** TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-encryption.yml:15 Wednesday 06 July 2022 19:52:55 +0000 (0:00:00.020) 0:01:30.593 ******** TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-encryption.yml:22 Wednesday 06 July 2022 19:52:55 +0000 (0:00:00.032) 0:01:30.625 ******** 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 19:52:55 +0000 (0:00:00.045) 0:01:30.671 ******** 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 19:52:55 +0000 (0:00:00.049) 0:01:30.721 ******** 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': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdc', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}) included: /tmp/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': 'lv2', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdc', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2'}) included: /tmp/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/test3', 'name': 'lv3', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdc', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 19:52:55 +0000 (0:00:00.064) 0:01:30.785 ******** 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 19:52:55 +0000 (0:00:00.025) 0:01:30.810 ******** 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 19:52:55 +0000 (0:00:00.027) 0:01:30.837 ******** 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 19:52:55 +0000 (0:00:00.026) 0:01:30.863 ******** 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 19:52:55 +0000 (0:00:00.022) 0:01:30.886 ******** 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 19:52:55 +0000 (0:00:00.024) 0:01:30.911 ******** 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 19:52:55 +0000 (0:00:00.023) 0:01:30.935 ******** 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 19:52:55 +0000 (0:00:00.027) 0:01:30.962 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 19:52:55 +0000 (0:00:00.033) 0:01:30.995 ******** 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 19:52:55 +0000 (0:00:00.023) 0:01:31.018 ******** 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 19:52:55 +0000 (0:00:00.025) 0:01:31.044 ******** 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 19:52:55 +0000 (0:00:00.025) 0:01:31.069 ******** 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 19:52:55 +0000 (0:00:00.022) 0:01:31.092 ******** 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 19:52:55 +0000 (0:00:00.022) 0:01:31.114 ******** 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 19:52:55 +0000 (0:00:00.024) 0:01:31.139 ******** 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 19:52:55 +0000 (0:00:00.023) 0:01:31.163 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 19:52:55 +0000 (0:00:00.032) 0:01:31.195 ******** 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 19:52:55 +0000 (0:00:00.025) 0:01:31.220 ******** 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 19:52:56 +0000 (0:00:00.023) 0:01:31.244 ******** 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 19:52:56 +0000 (0:00:00.024) 0:01:31.269 ******** 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 19:52:56 +0000 (0:00:00.026) 0:01:31.295 ******** 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 19:52:56 +0000 (0:00:00.026) 0:01:31.321 ******** 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 19:52:56 +0000 (0:00:00.026) 0:01:31.347 ******** 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 19:52:56 +0000 (0:00:00.075) 0:01:31.423 ******** 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 19:52:56 +0000 (0:00:00.036) 0:01:31.460 ******** 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 19:52:56 +0000 (0:00:00.035) 0:01:31.495 ******** [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/test1', 'name': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdc', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}) included: /tmp/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': 'lv2', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdc', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2'}) included: /tmp/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/test3', 'name': 'lv3', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdc', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml:2 Wednesday 06 July 2022 19:52:56 +0000 (0:00:00.055) 0:01:31.551 ******** 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 19:52:56 +0000 (0:00:00.054) 0:01:31.606 ******** 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 19:52:56 +0000 (0:00:00.082) 0:01:31.689 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:10 Wednesday 06 July 2022 19:52:56 +0000 (0:00:00.041) 0:01:31.730 ******** 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 19:52:56 +0000 (0:00:00.055) 0:01:31.786 ******** 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 19:52:56 +0000 (0:00:00.023) 0:01:31.810 ******** 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 19:52:56 +0000 (0:00:00.052) 0:01:31.862 ******** 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 19:52:56 +0000 (0:00:00.041) 0:01:31.903 ******** 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 19:52:56 +0000 (0:00:00.024) 0:01:31.928 ******** 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 19:52:56 +0000 (0:00:00.023) 0:01:31.951 ******** 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 19:52:56 +0000 (0:00:00.022) 0:01:31.974 ******** 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 19:52:56 +0000 (0:00:00.040) 0:01:32.014 ******** 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 19:52:56 +0000 (0:00:00.061) 0:01:32.076 ******** 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 19:52:56 +0000 (0:00:00.024) 0:01:32.100 ******** 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 19:52:56 +0000 (0:00:00.052) 0:01:32.153 ******** 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 19:52:56 +0000 (0:00:00.035) 0:01:32.189 ******** 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 19:52:56 +0000 (0:00:00.034) 0:01:32.223 ******** 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 19:52:57 +0000 (0:00:00.024) 0:01:32.248 ******** 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 19:52:57 +0000 (0:00:00.025) 0:01:32.273 ******** 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 19:52:57 +0000 (0:00:00.371) 0:01:32.645 ******** 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 19:52:57 +0000 (0:00:00.046) 0:01:32.692 ******** 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 19:52:57 +0000 (0:00:00.025) 0:01:32.718 ******** 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 19:52:57 +0000 (0:00:00.039) 0:01:32.757 ******** 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 19:52:57 +0000 (0:00:00.024) 0:01:32.782 ******** 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 19:52:57 +0000 (0:00:00.029) 0:01:32.811 ******** 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 19:52:57 +0000 (0:00:00.030) 0:01:32.842 ******** 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 19:52:58 +0000 (0:00:00.806) 0:01:33.648 ******** 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 19:52:58 +0000 (0:00:00.026) 0:01:33.674 ******** 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 19:52:58 +0000 (0:00:00.071) 0:01:33.746 ******** 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 19:52:58 +0000 (0:00:00.026) 0:01:33.772 ******** 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 19:52:58 +0000 (0:00:00.026) 0:01:33.799 ******** 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 19:52:58 +0000 (0:00:00.025) 0:01:33.824 ******** 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 19:52:58 +0000 (0:00:00.027) 0:01:33.851 ******** 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 19:52:58 +0000 (0:00:00.025) 0:01:33.877 ******** 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 19:52:58 +0000 (0:00:00.025) 0:01:33.903 ******** 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 19:52:58 +0000 (0:00:00.053) 0:01:33.956 ******** 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 19:52:58 +0000 (0:00:00.052) 0:01:34.008 ******** 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 19:52:58 +0000 (0:00:00.037) 0:01:34.046 ******** 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 19:52:58 +0000 (0:00:00.036) 0:01:34.082 ******** 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 19:52:58 +0000 (0:00:00.036) 0:01:34.118 ******** 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 19:52:58 +0000 (0:00:00.038) 0:01:34.157 ******** 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 19:52:58 +0000 (0:00:00.037) 0:01:34.194 ******** 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 19:52:59 +0000 (0:00:00.035) 0:01:34.230 ******** 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 19:52:59 +0000 (0:00:00.037) 0:01:34.268 ******** 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 19:52:59 +0000 (0:00:00.045) 0:01:34.314 ******** 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 19:52:59 +0000 (0:00:00.039) 0:01:34.353 ******** 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 19:52:59 +0000 (0:00:00.039) 0:01:34.393 ******** 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 19:52:59 +0000 (0:00:00.039) 0:01:34.433 ******** 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 19:52:59 +0000 (0:00:00.027) 0:01:34.460 ******** 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 19:52:59 +0000 (0:00:00.037) 0:01:34.497 ******** 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 19:52:59 +0000 (0:00:00.035) 0:01:34.532 ******** 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 19:52:59 +0000 (0:00:00.039) 0:01:34.572 ******** 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 19:52:59 +0000 (0:00:00.041) 0:01:34.613 ******** 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 19:52:59 +0000 (0:00:00.037) 0:01:34.650 ******** 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 19:52:59 +0000 (0:00:00.039) 0:01:34.690 ******** 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 19:52:59 +0000 (0:00:00.036) 0:01:34.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 19:52:59 +0000 (0:00:00.039) 0:01:34.766 ******** 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 19:52:59 +0000 (0:00:00.035) 0:01:34.801 ******** 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 19:52:59 +0000 (0:00:00.038) 0:01:34.839 ******** 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 19:52:59 +0000 (0:00:00.025) 0:01:34.865 ******** 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 19:52:59 +0000 (0:00:00.026) 0:01:34.891 ******** 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 19:52:59 +0000 (0:00:00.025) 0:01:34.917 ******** 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 19:52:59 +0000 (0:00:00.024) 0:01:34.942 ******** 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 19:52:59 +0000 (0:00:00.025) 0:01:34.968 ******** 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 19:52:59 +0000 (0:00:00.026) 0:01:34.994 ******** 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 19:52:59 +0000 (0:00:00.023) 0:01:35.018 ******** 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 19:52:59 +0000 (0:00:00.022) 0:01:35.040 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml:2 Wednesday 06 July 2022 19:52:59 +0000 (0:00:00.033) 0:01:35.074 ******** 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 19:52:59 +0000 (0:00:00.047) 0:01:35.122 ******** 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 19:52:59 +0000 (0:00:00.078) 0:01:35.200 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv2" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:10 Wednesday 06 July 2022 19:53:00 +0000 (0:00:00.090) 0:01:35.290 ******** 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 19:53:00 +0000 (0:00:00.094) 0:01:35.385 ******** 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 19:53:00 +0000 (0:00:00.024) 0:01:35.409 ******** 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 19:53:00 +0000 (0:00:00.079) 0:01:35.489 ******** 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 19:53:00 +0000 (0:00:00.080) 0:01:35.570 ******** 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 19:53:00 +0000 (0:00:00.023) 0:01:35.593 ******** 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 19:53:00 +0000 (0:00:00.024) 0:01:35.617 ******** 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 19:53:00 +0000 (0:00:00.023) 0:01:35.640 ******** 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 19:53:00 +0000 (0:00:00.036) 0:01:35.677 ******** 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 19:53:00 +0000 (0:00:00.061) 0:01:35.739 ******** 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 19:53:00 +0000 (0:00:00.023) 0:01:35.762 ******** 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 19:53:00 +0000 (0:00:00.049) 0:01:35.811 ******** 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 19:53:00 +0000 (0:00:00.039) 0:01:35.850 ******** 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 19:53:00 +0000 (0:00:00.033) 0:01:35.884 ******** 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 19:53:00 +0000 (0:00:00.022) 0:01:35.907 ******** 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 19:53:00 +0000 (0:00:00.021) 0:01:35.929 ******** 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 19:53:01 +0000 (0:00:00.352) 0:01:36.282 ******** 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 19:53:01 +0000 (0:00:00.039) 0:01:36.321 ******** 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 19:53:01 +0000 (0:00:00.025) 0:01:36.346 ******** 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 19:53:01 +0000 (0:00:00.039) 0:01:36.386 ******** 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 19:53:01 +0000 (0:00:00.026) 0:01:36.412 ******** 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 19:53:01 +0000 (0:00:00.025) 0:01:36.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 19:53:01 +0000 (0:00:00.024) 0:01:36.462 ******** 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 19:53:02 +0000 (0:00:00.795) 0:01:37.258 ******** 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 19:53:02 +0000 (0:00:00.026) 0:01:37.284 ******** 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 19:53:02 +0000 (0:00:00.027) 0:01:37.312 ******** 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 19:53:02 +0000 (0:00:00.029) 0:01:37.341 ******** 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 19:53:02 +0000 (0:00:00.028) 0:01:37.370 ******** 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 19:53:02 +0000 (0:00:00.025) 0:01:37.395 ******** 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 19:53:02 +0000 (0:00:00.025) 0:01:37.421 ******** 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 19:53:02 +0000 (0:00:00.026) 0:01:37.447 ******** 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 19:53:02 +0000 (0:00:00.024) 0:01:37.472 ******** 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 19:53:02 +0000 (0:00:00.048) 0:01:37.521 ******** 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 19:53:02 +0000 (0:00:00.046) 0:01:37.568 ******** 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 19:53:02 +0000 (0:00:00.034) 0:01:37.602 ******** 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 19:53:02 +0000 (0:00:00.035) 0:01:37.638 ******** 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 19:53:02 +0000 (0:00:00.040) 0:01:37.678 ******** 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 19:53:02 +0000 (0:00:00.040) 0:01:37.719 ******** 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 19:53:02 +0000 (0:00:00.039) 0:01:37.759 ******** 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 19:53:02 +0000 (0:00:00.036) 0:01:37.795 ******** 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 19:53:02 +0000 (0:00:00.035) 0:01:37.831 ******** 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 19:53:02 +0000 (0:00:00.041) 0:01:37.873 ******** 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 19:53:02 +0000 (0:00:00.040) 0:01:37.913 ******** 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 19:53:02 +0000 (0:00:00.040) 0:01:37.954 ******** 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 19:53:02 +0000 (0:00:00.040) 0:01:37.994 ******** 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 19:53:02 +0000 (0:00:00.027) 0:01:38.022 ******** 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 19:53:02 +0000 (0:00:00.040) 0:01:38.062 ******** 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 19:53:02 +0000 (0:00:00.041) 0:01:38.104 ******** 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 19:53:02 +0000 (0:00:00.078) 0:01:38.183 ******** 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 19:53:03 +0000 (0:00:00.078) 0:01:38.262 ******** 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 19:53:03 +0000 (0:00:00.039) 0:01:38.302 ******** 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 19:53:03 +0000 (0:00:00.040) 0:01:38.342 ******** 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 19:53:03 +0000 (0:00:00.041) 0:01:38.384 ******** 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 19:53:03 +0000 (0:00:00.040) 0:01:38.424 ******** 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 19:53:03 +0000 (0:00:00.037) 0:01:38.461 ******** 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 19:53:03 +0000 (0:00:00.036) 0:01:38.497 ******** 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 19:53:03 +0000 (0:00:00.024) 0:01:38.522 ******** 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 19:53:03 +0000 (0:00:00.022) 0:01:38.545 ******** 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 19:53:03 +0000 (0:00:00.022) 0:01:38.568 ******** 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 19:53:03 +0000 (0:00:00.022) 0:01:38.590 ******** 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 19:53:03 +0000 (0:00:00.027) 0:01:38.618 ******** 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 19:53:03 +0000 (0:00:00.027) 0:01:38.646 ******** 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 19:53:03 +0000 (0:00:00.025) 0:01:38.671 ******** 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 19:53:03 +0000 (0:00:00.025) 0:01:38.697 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml:2 Wednesday 06 July 2022 19:53:03 +0000 (0:00:00.036) 0:01:38.734 ******** 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 19:53:03 +0000 (0:00:00.049) 0:01:38.783 ******** 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 19:53:03 +0000 (0:00:00.079) 0:01:38.863 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv3" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:10 Wednesday 06 July 2022 19:53:03 +0000 (0:00:00.040) 0:01:38.903 ******** 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 19:53:03 +0000 (0:00:00.055) 0:01:38.958 ******** 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 19:53:03 +0000 (0:00:00.023) 0:01:38.982 ******** 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 19:53:03 +0000 (0:00:00.051) 0:01:39.033 ******** 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 19:53:03 +0000 (0:00:00.035) 0:01:39.069 ******** 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 19:53:03 +0000 (0:00:00.024) 0:01:39.093 ******** 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 19:53:03 +0000 (0:00:00.025) 0:01:39.119 ******** 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 19:53:03 +0000 (0:00:00.024) 0:01:39.143 ******** 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 19:53:03 +0000 (0:00:00.033) 0:01:39.177 ******** 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 19:53:04 +0000 (0:00:00.073) 0:01:39.250 ******** 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 19:53:04 +0000 (0:00:00.023) 0:01:39.273 ******** 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 19:53:04 +0000 (0:00:00.049) 0:01:39.322 ******** 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 19:53:04 +0000 (0:00:00.037) 0:01:39.360 ******** 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 19:53:04 +0000 (0:00:00.032) 0:01:39.392 ******** 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 19:53:04 +0000 (0:00:00.022) 0:01:39.415 ******** 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 19:53:04 +0000 (0:00:00.021) 0:01:39.436 ******** 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 19:53:04 +0000 (0:00:00.409) 0:01:39.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 19:53:04 +0000 (0:00:00.037) 0:01:39.883 ******** 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 19:53:04 +0000 (0:00:00.022) 0:01:39.906 ******** 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 19:53:04 +0000 (0:00:00.036) 0:01:39.942 ******** 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 19:53:04 +0000 (0:00:00.025) 0:01:39.967 ******** 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 19:53:04 +0000 (0:00:00.025) 0:01:39.993 ******** 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 19:53:04 +0000 (0:00:00.041) 0:01:40.034 ******** 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 19:53:05 +0000 (0:00:00.883) 0:01:40.917 ******** 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 19:53:05 +0000 (0:00:00.023) 0:01:40.941 ******** 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 19:53:05 +0000 (0:00:00.022) 0:01:40.963 ******** 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 19:53:05 +0000 (0:00:00.022) 0:01:40.986 ******** 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 19:53:05 +0000 (0:00:00.023) 0:01:41.009 ******** 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 19:53:05 +0000 (0:00:00.025) 0:01:41.034 ******** 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 19:53:05 +0000 (0:00:00.025) 0:01:41.059 ******** 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 19:53:05 +0000 (0:00:00.025) 0:01:41.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-encryption.yml:62 Wednesday 06 July 2022 19:53:05 +0000 (0:00:00.024) 0:01:41.109 ******** 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 19:53:05 +0000 (0:00:00.051) 0:01:41.161 ******** 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 19:53:05 +0000 (0:00:00.048) 0:01:41.210 ******** 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 19:53:06 +0000 (0:00:00.037) 0:01:41.247 ******** 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 19:53:06 +0000 (0:00:00.038) 0:01:41.286 ******** 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 19:53:06 +0000 (0:00:00.040) 0:01:41.327 ******** 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 19:53:06 +0000 (0:00:00.037) 0:01:41.364 ******** 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 19:53:06 +0000 (0:00:00.038) 0:01:41.403 ******** 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 19:53:06 +0000 (0:00:00.039) 0:01:41.442 ******** 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 19:53:06 +0000 (0:00:00.039) 0:01:41.481 ******** 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 19:53:06 +0000 (0:00:00.039) 0:01:41.521 ******** 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 19:53:06 +0000 (0:00:00.039) 0:01:41.561 ******** 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 19:53:06 +0000 (0:00:00.039) 0:01:41.600 ******** 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 19:53:06 +0000 (0:00:00.041) 0:01:41.642 ******** 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 19:53:06 +0000 (0:00:00.024) 0:01:41.666 ******** 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 19:53:06 +0000 (0:00:00.035) 0:01:41.702 ******** 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 19:53:06 +0000 (0:00:00.035) 0:01:41.737 ******** 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 19:53:06 +0000 (0:00:00.041) 0:01:41.778 ******** 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 19:53:06 +0000 (0:00:00.037) 0:01:41.815 ******** 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 19:53:06 +0000 (0:00:00.036) 0:01:41.851 ******** 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 19:53:06 +0000 (0:00:00.035) 0:01:41.887 ******** 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 19:53:06 +0000 (0:00:00.037) 0:01:41.924 ******** 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 19:53:06 +0000 (0:00:00.070) 0:01:41.994 ******** 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 19:53:06 +0000 (0:00:00.034) 0:01:42.028 ******** 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 19:53:06 +0000 (0:00:00.034) 0:01:42.063 ******** 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 19:53:06 +0000 (0:00:00.026) 0:01:42.090 ******** 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 19:53:06 +0000 (0:00:00.024) 0:01:42.114 ******** 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 19:53:06 +0000 (0:00:00.024) 0:01:42.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-cache.yml:22 Wednesday 06 July 2022 19:53:06 +0000 (0:00:00.023) 0:01:42.162 ******** 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 19:53:06 +0000 (0:00:00.025) 0:01:42.188 ******** 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 19:53:06 +0000 (0:00:00.023) 0:01:42.211 ******** 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 19:53:07 +0000 (0:00:00.024) 0:01:42.236 ******** 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 19:53:07 +0000 (0:00:00.023) 0:01:42.259 ******** 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 19:53:07 +0000 (0:00:00.037) 0:01:42.297 ******** 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 19:53:07 +0000 (0:00:00.034) 0:01:42.331 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:57 Wednesday 06 July 2022 19:53:07 +0000 (0:00:00.021) 0:01:42.353 ******** 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=568 changed=4 unreachable=0 failed=0 skipped=530 rescued=0 ignored=0 Wednesday 06 July 2022 19:53:07 +0000 (0:00:00.056) 0:01:42.410 ******** =============================================================================== fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 9.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 --- 4.17s /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 --- 2.28s /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.76s /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Read the /etc/crypttab file --------------------------------------------- 1.39s /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:24 --------------------- Gathering Facts --------------------------------------------------------- 1.37s /tmp/tmpaxpydj_h/tests/storage/tests_raid_pool_options_scsi_generated.yml:3 --- fedora.linux_system_roles.storage : set up new/current mounts ----------- 1.29s /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 fedora.linux_system_roles.storage : make sure blivet is available ------- 1.24s /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 fedora.linux_system_roles.storage : set up new/current mounts ----------- 1.16s /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 fedora.linux_system_roles.storage : remove obsolete mounts -------------- 1.14s /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 fedora.linux_system_roles.storage : Update facts ------------------------ 1.07s /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.96s /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Gathering Facts --------------------------------------------------------- 0.94s /tmp/tmpaxpydj_h/tests/storage/tests_raid_pool_options.yml:2 ------------------ fedora.linux_system_roles.storage : Update facts ------------------------ 0.93s /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.93s /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 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 ----------- Ensure cryptsetup is present -------------------------------------------- 0.86s /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:10 ----------- Ensure cryptsetup is present -------------------------------------------- 0.86s /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:10 -----------