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/tmphvsi2pl0 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_existing_lvm_pool_nvme_generated.yml *************************** 2 plays in /tmp/tmp8lr32tv2/tests/tests_existing_lvm_pool_nvme_generated.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp8lr32tv2/tests/tests_existing_lvm_pool_nvme_generated.yml:3 Thursday 21 July 2022 08:15:21 +0000 (0:00:00.012) 0:00:00.012 ********* ok: [/cache/centos-7.qcow2c.snap] META: ran handlers TASK [set disk interface for test] ********************************************* task path: /tmp/tmp8lr32tv2/tests/tests_existing_lvm_pool_nvme_generated.yml:7 Thursday 21 July 2022 08:15:22 +0000 (0:00:01.146) 0:00:01.158 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_use_interface": "nvme" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp8lr32tv2/tests/tests_existing_lvm_pool.yml:2 Thursday 21 July 2022 08:15:22 +0000 (0:00:00.087) 0:00:01.246 ********* ok: [/cache/centos-7.qcow2c.snap] META: ran handlers TASK [include_role : linux-system-roles.storage] ******************************* task path: /tmp/tmp8lr32tv2/tests/tests_existing_lvm_pool.yml:13 Thursday 21 July 2022 08:15:23 +0000 (0:00:00.807) 0:00:02.054 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 08:15:23 +0000 (0:00:00.035) 0:00:02.089 ********* included: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 08:15:23 +0000 (0:00:00.032) 0:00:02.122 ********* ok: [/cache/centos-7.qcow2c.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 08:15:24 +0000 (0:00:00.413) 0:00:02.535 ********* skipping: [/cache/centos-7.qcow2c.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-7.qcow2c.snap] => (item=CentOS_7.yml) => { "ansible_facts": { "__storage_blivet_diskvolume_mkfs_option_map": { "ext2": "-F", "ext3": "-F", "ext4": "-F" }, "blivet_package_list": [ "python-enum34", "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [/cache/centos-7.qcow2c.snap] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 08:15:24 +0000 (0:00:00.055) 0:00:02.590 ********* ok: [/cache/centos-7.qcow2c.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/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 08:15:24 +0000 (0:00:00.030) 0:00:02.621 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 08:15:24 +0000 (0:00:00.030) 0:00:02.651 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 08:15:24 +0000 (0:00:00.048) 0:00:02.700 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 08:15:24 +0000 (0:00:00.019) 0:00:02.719 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "python-enum34-1.0.4-1.el7.noarch providing python-enum34 is already installed", "1:python2-blivet3-3.1.3-3.el7.noarch providing python-blivet3 is already installed", "libblockdev-crypto-2.18-5.el7.x86_64 providing libblockdev-crypto is already installed", "libblockdev-dm-2.18-5.el7.x86_64 providing libblockdev-dm is already installed", "libblockdev-lvm-2.18-5.el7.x86_64 providing libblockdev-lvm is already installed", "libblockdev-mdraid-2.18-5.el7.x86_64 providing libblockdev-mdraid is already installed", "libblockdev-swap-2.18-5.el7.x86_64 providing libblockdev-swap is already installed" ] } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 08:15:25 +0000 (0:00:00.947) 0:00:03.667 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 08:15:25 +0000 (0:00:00.031) 0:00:03.698 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 08:15:25 +0000 (0:00:00.030) 0:00:03.729 ********* ok: [/cache/centos-7.qcow2c.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 08:15:25 +0000 (0:00:00.617) 0:00:04.347 ********* included: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.storage : check if the COPR support packages should be installed] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:2 Thursday 21 July 2022 08:15:25 +0000 (0:00:00.039) 0:00:04.387 ********* TASK [linux-system-roles.storage : make sure COPR support packages are present] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:13 Thursday 21 July 2022 08:15:25 +0000 (0:00:00.029) 0:00:04.416 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable COPRs] ******************************* task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:18 Thursday 21 July 2022 08:15:25 +0000 (0:00:00.040) 0:00:04.457 ********* TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 08:15:25 +0000 (0:00:00.034) 0:00:04.491 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [] } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 08:15:26 +0000 (0:00:00.528) 0:00:05.020 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "services": { "NetworkManager-wait-online.service": { "name": "NetworkManager-wait-online.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "NetworkManager.service": { "name": "NetworkManager.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "arp-ethers.service": { "name": "arp-ethers.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "auditd.service": { "name": "auditd.service", "source": "systemd", "state": "running", "status": "enabled" }, "auth-rpcgss-module.service": { "name": "auth-rpcgss-module.service", "source": "systemd", "state": "stopped", "status": "static" }, "autovt@.service": { "name": "autovt@.service", "source": "systemd", "state": "unknown", "status": "enabled" }, "blivet.service": { "name": "blivet.service", "source": "systemd", "state": "inactive", "status": "static" }, "blk-availability.service": { "name": "blk-availability.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "brandbot.service": { "name": "brandbot.service", "source": "systemd", "state": "inactive", "status": "static" }, "chrony-dnssrv@.service": { "name": "chrony-dnssrv@.service", "source": "systemd", "state": "unknown", "status": "static" }, "chrony-wait.service": { "name": "chrony-wait.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "chronyd.service": { "name": "chronyd.service", "source": "systemd", "state": "running", "status": "enabled" }, "cloud-config.service": { "name": "cloud-config.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-final.service": { "name": "cloud-final.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init-local.service": { "name": "cloud-init-local.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init.service": { "name": "cloud-init.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "console-getty.service": { "name": "console-getty.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "console-shell.service": { "name": "console-shell.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "container-getty@.service": { "name": "container-getty@.service", "source": "systemd", "state": "unknown", "status": "static" }, "cpupower.service": { "name": "cpupower.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "crond.service": { "name": "crond.service", "source": "systemd", "state": "running", "status": "enabled" }, "dbus-org.freedesktop.hostname1.service": { "name": "dbus-org.freedesktop.hostname1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.import1.service": { "name": "dbus-org.freedesktop.import1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.locale1.service": { "name": "dbus-org.freedesktop.locale1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.login1.service": { "name": "dbus-org.freedesktop.login1.service", "source": "systemd", "state": "active", "status": "static" }, "dbus-org.freedesktop.machine1.service": { "name": "dbus-org.freedesktop.machine1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.timedate1.service": { "name": "dbus-org.freedesktop.timedate1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus.service": { "name": "dbus.service", "source": "systemd", "state": "running", "status": "static" }, "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" }, "dmraid-activation.service": { "name": "dmraid-activation.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "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" }, "exim.service": { "name": "exim.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" }, "gssproxy.service": { "name": "gssproxy.service", "source": "systemd", "state": "running", "status": "disabled" }, "halt-local.service": { "name": "halt-local.service", "source": "systemd", "state": "inactive", "status": "static" }, "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" }, "ip6tables.service": { "name": "ip6tables.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "iptables.service": { "name": "iptables.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "irqbalance.service": { "name": "irqbalance.service", "source": "systemd", "state": "running", "status": "enabled" }, "kdump.service": { "name": "kdump.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "kmod-static-nodes.service": { "name": "kmod-static-nodes.service", "source": "systemd", "state": "stopped", "status": "static" }, "lvm2-activation-early.service": { "name": "lvm2-activation-early.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "lvm2-activation.service": { "name": "lvm2-activation.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "lvm2-lvmetad.service": { "name": "lvm2-lvmetad.service", "source": "systemd", "state": "running", "status": "static" }, "lvm2-lvmpolld.service": { "name": "lvm2-lvmpolld.service", "source": "systemd", "state": "stopped", "status": "static" }, "lvm2-monitor.service": { "name": "lvm2-monitor.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "lvm2-pvscan@.service": { "name": "lvm2-pvscan@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdadm-grow-continue@.service": { "name": "mdadm-grow-continue@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdadm-last-resort@.service": { "name": "mdadm-last-resort@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdcheck_continue.service": { "name": "mdcheck_continue.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdcheck_start.service": { "name": "mdcheck_start.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdmon@.service": { "name": "mdmon@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdmonitor-oneshot.service": { "name": "mdmonitor-oneshot.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdmonitor.service": { "name": "mdmonitor.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "messagebus.service": { "name": "messagebus.service", "source": "systemd", "state": "active", "status": "static" }, "microcode.service": { "name": "microcode.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "netconsole": { "name": "netconsole", "source": "sysv", "state": "stopped", "status": "disabled" }, "network": { "name": "network", "source": "sysv", "state": "running", "status": "enabled" }, "network.service": { "name": "network.service", "source": "systemd", "state": "running", "status": "active" }, "nfs-blkmap.service": { "name": "nfs-blkmap.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfs-config.service": { "name": "nfs-config.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-idmap.service": { "name": "nfs-idmap.service", "source": "systemd", "state": "inactive", "status": "static" }, "nfs-idmapd.service": { "name": "nfs-idmapd.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-lock.service": { "name": "nfs-lock.service", "source": "systemd", "state": "inactive", "status": "static" }, "nfs-mountd.service": { "name": "nfs-mountd.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-rquotad.service": { "name": "nfs-rquotad.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfs-secure-server.service": { "name": "nfs-secure-server.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "nfs-secure.service": { "name": "nfs-secure.service", "source": "systemd", "state": "inactive", "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" }, "nfs.service": { "name": "nfs.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfslock.service": { "name": "nfslock.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" }, "plymouth-quit-wait.service": { "name": "plymouth-quit-wait.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "plymouth-start.service": { "name": "plymouth-start.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "polkit.service": { "name": "polkit.service", "source": "systemd", "state": "running", "status": "static" }, "postfix.service": { "name": "postfix.service", "source": "systemd", "state": "running", "status": "enabled" }, "qemu-guest-agent.service": { "name": "qemu-guest-agent.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "quotaon.service": { "name": "quotaon.service", "source": "systemd", "state": "inactive", "status": "static" }, "rc-local.service": { "name": "rc-local.service", "source": "systemd", "state": "stopped", "status": "static" }, "rdisc.service": { "name": "rdisc.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rescue.service": { "name": "rescue.service", "source": "systemd", "state": "stopped", "status": "static" }, "rhel-autorelabel-mark.service": { "name": "rhel-autorelabel-mark.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-autorelabel.service": { "name": "rhel-autorelabel.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-configure.service": { "name": "rhel-configure.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-dmesg.service": { "name": "rhel-dmesg.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-domainname.service": { "name": "rhel-domainname.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-import-state.service": { "name": "rhel-import-state.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-loadmodules.service": { "name": "rhel-loadmodules.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-readonly.service": { "name": "rhel-readonly.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rpc-gssd.service": { "name": "rpc-gssd.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-rquotad.service": { "name": "rpc-rquotad.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rpc-statd-notify.service": { "name": "rpc-statd-notify.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-statd.service": { "name": "rpc-statd.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpcbind.service": { "name": "rpcbind.service", "source": "systemd", "state": "running", "status": "enabled" }, "rpcgssd.service": { "name": "rpcgssd.service", "source": "systemd", "state": "inactive", "status": "static" }, "rpcidmapd.service": { "name": "rpcidmapd.service", "source": "systemd", "state": "inactive", "status": "static" }, "rsyncd.service": { "name": "rsyncd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rsyncd@.service": { "name": "rsyncd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "rsyslog.service": { "name": "rsyslog.service", "source": "systemd", "state": "running", "status": "enabled" }, "selinux-policy-migrate-local-changes@.service": { "name": "selinux-policy-migrate-local-changes@.service", "source": "systemd", "state": "unknown", "status": "static" }, "selinux-policy-migrate-local-changes@targeted.service": { "name": "selinux-policy-migrate-local-changes@targeted.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sendmail.service": { "name": "sendmail.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "serial-getty@.service": { "name": "serial-getty@.service", "source": "systemd", "state": "unknown", "status": "disabled" }, "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": "static" }, "sshd.service": { "name": "sshd.service", "source": "systemd", "state": "running", "status": "enabled" }, "sshd@.service": { "name": "sshd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "syslog.service": { "name": "syslog.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "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-bootchart.service": { "name": "systemd-bootchart.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "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": "inactive", "status": "static" }, "systemd-hwdb-update.service": { "name": "systemd-hwdb-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-hybrid-sleep.service": { "name": "systemd-hybrid-sleep.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-importd.service": { "name": "systemd-importd.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-initctl.service": { "name": "systemd-initctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-catalog-update.service": { "name": "systemd-journal-catalog-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-flush.service": { "name": "systemd-journal-flush.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journald.service": { "name": "systemd-journald.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-kexec.service": { "name": "systemd-kexec.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-localed.service": { "name": "systemd-localed.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-logind.service": { "name": "systemd-logind.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-machine-id-commit.service": { "name": "systemd-machine-id-commit.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-machined.service": { "name": "systemd-machined.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-modules-load.service": { "name": "systemd-modules-load.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-nspawn@.service": { "name": "systemd-nspawn@.service", "source": "systemd", "state": "unknown", "status": "disabled" }, "systemd-poweroff.service": { "name": "systemd-poweroff.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-quotacheck.service": { "name": "systemd-quotacheck.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-random-seed.service": { "name": "systemd-random-seed.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-readahead-collect.service": { "name": "systemd-readahead-collect.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "systemd-readahead-done.service": { "name": "systemd-readahead-done.service", "source": "systemd", "state": "stopped", "status": "indirect" }, "systemd-readahead-drop.service": { "name": "systemd-readahead-drop.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "systemd-readahead-replay.service": { "name": "systemd-readahead-replay.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "systemd-reboot.service": { "name": "systemd-reboot.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-remount-fs.service": { "name": "systemd-remount-fs.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-rfkill@.service": { "name": "systemd-rfkill@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-shutdownd.service": { "name": "systemd-shutdownd.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-suspend.service": { "name": "systemd-suspend.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-sysctl.service": { "name": "systemd-sysctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-sysusers.service": { "name": "systemd-sysusers.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "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" }, "teamd@.service": { "name": "teamd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "tuned.service": { "name": "tuned.service", "source": "systemd", "state": "running", "status": "enabled" }, "wpa_supplicant.service": { "name": "wpa_supplicant.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "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/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 08:15:27 +0000 (0:00:01.106) 0:00:06.127 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 08:15:27 +0000 (0:00:00.081) 0:00:06.208 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 08:15:27 +0000 (0:00:00.020) 0:00:06.229 ********* ok: [/cache/centos-7.qcow2c.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/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 08:15:28 +0000 (0:00:00.473) 0:00:06.702 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 08:15:28 +0000 (0:00:00.036) 0:00:06.739 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 08:15:28 +0000 (0:00:00.022) 0:00:06.761 ********* ok: [/cache/centos-7.qcow2c.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/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 08:15:28 +0000 (0:00:00.035) 0:00:06.796 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 08:15:28 +0000 (0:00:00.038) 0:00:06.835 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 08:15:28 +0000 (0:00:00.038) 0:00:06.873 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 08:15:28 +0000 (0:00:00.037) 0:00:06.910 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 08:15:28 +0000 (0:00:00.024) 0:00:06.934 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 08:15:28 +0000 (0:00:00.034) 0:00:06.969 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 08:15:28 +0000 (0:00:00.023) 0:00:06.993 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658387401.739742, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1636891012.8990273, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 70, "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": 1636890761.4177752, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "18446744071719764763", "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/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 08:15:28 +0000 (0:00:00.427) 0:00:07.421 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 08:15:28 +0000 (0:00:00.022) 0:00:07.443 ********* ok: [/cache/centos-7.qcow2c.snap] META: role_complete for /cache/centos-7.qcow2c.snap TASK [Mark tasks to be skipped] ************************************************ task path: /tmp/tmp8lr32tv2/tests/tests_existing_lvm_pool.yml:16 Thursday 21 July 2022 08:15:29 +0000 (0:00:00.797) 0:00:08.241 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_skip_checks": [ "blivet_available", "packages_installed", "service_facts" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmp8lr32tv2/tests/tests_existing_lvm_pool.yml:23 Thursday 21 July 2022 08:15:29 +0000 (0:00:00.034) 0:00:08.275 ********* included: /tmp/tmp8lr32tv2/tests/get_unused_disk.yml for /cache/centos-7.qcow2c.snap TASK [Find unused disks in the system] ***************************************** task path: /tmp/tmp8lr32tv2/tests/get_unused_disk.yml:2 Thursday 21 July 2022 08:15:29 +0000 (0:00:00.034) 0:00:08.310 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "disks": [ "nvme1n1" ] } TASK [Set unused_disks if necessary] ******************************************* task path: /tmp/tmp8lr32tv2/tests/get_unused_disk.yml:9 Thursday 21 July 2022 08:15:30 +0000 (0:00:00.443) 0:00:08.753 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "unused_disks": [ "nvme1n1" ] }, "changed": false } TASK [Exit playbook when there's not enough unused disks in the system] ******** task path: /tmp/tmp8lr32tv2/tests/get_unused_disk.yml:14 Thursday 21 July 2022 08:15:30 +0000 (0:00:00.037) 0:00:08.790 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Print unused disks] ****************************************************** task path: /tmp/tmp8lr32tv2/tests/get_unused_disk.yml:19 Thursday 21 July 2022 08:15:30 +0000 (0:00:00.038) 0:00:08.829 ********* ok: [/cache/centos-7.qcow2c.snap] => { "unused_disks": [ "nvme1n1" ] } TASK [Create one LVM logical volume under one volume group] ******************** task path: /tmp/tmp8lr32tv2/tests/tests_existing_lvm_pool.yml:28 Thursday 21 July 2022 08:15:30 +0000 (0:00:00.062) 0:00:08.891 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 08:15:30 +0000 (0:00:00.044) 0:00:08.936 ********* included: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 08:15:30 +0000 (0:00:00.056) 0:00:08.992 ********* ok: [/cache/centos-7.qcow2c.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 08:15:30 +0000 (0:00:00.390) 0:00:09.383 ********* skipping: [/cache/centos-7.qcow2c.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-7.qcow2c.snap] => (item=CentOS_7.yml) => { "ansible_facts": { "__storage_blivet_diskvolume_mkfs_option_map": { "ext2": "-F", "ext3": "-F", "ext4": "-F" }, "blivet_package_list": [ "python-enum34", "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [/cache/centos-7.qcow2c.snap] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 08:15:30 +0000 (0:00:00.062) 0:00:09.446 ********* ok: [/cache/centos-7.qcow2c.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/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 08:15:30 +0000 (0:00:00.036) 0:00:09.482 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 08:15:31 +0000 (0:00:00.034) 0:00:09.517 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 08:15:31 +0000 (0:00:00.047) 0:00:09.565 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 08:15:31 +0000 (0:00:00.021) 0:00:09.586 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 08:15:31 +0000 (0:00:00.040) 0:00:09.627 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_pools": [ { "disks": [ "nvme1n1" ], "name": "foo", "volumes": [ { "name": "test1", "size": "4g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 08:15:31 +0000 (0:00:00.039) 0:00:09.667 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 08:15:31 +0000 (0:00:00.039) 0:00:09.706 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 08:15:31 +0000 (0:00:00.029) 0:00:09.735 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 08:15:31 +0000 (0:00:00.028) 0:00:09.764 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 08:15:31 +0000 (0:00:00.028) 0:00:09.792 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 08:15:31 +0000 (0:00:00.029) 0:00:09.822 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 08:15:31 +0000 (0:00:00.055) 0:00:09.878 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 08:15:31 +0000 (0:00:00.021) 0:00:09.899 ********* changed: [/cache/centos-7.qcow2c.snap] => { "actions": [ { "action": "create format", "device": "/dev/nvme1n1", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/mapper/foo-test1" ], "mounts": [], "packages": [ "xfsprogs", "e2fsprogs", "lvm2" ], "pools": [ { "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "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/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 08:15:33 +0000 (0:00:01.682) 0:00:11.582 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 08:15:33 +0000 (0:00:00.037) 0:00:11.620 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 08:15:33 +0000 (0:00:00.023) 0:00:11.643 ********* ok: [/cache/centos-7.qcow2c.snap] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/nvme1n1", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/mapper/foo-test1" ], "mounts": [], "packages": [ "xfsprogs", "e2fsprogs", "lvm2" ], "pools": [ { "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "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/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 08:15:33 +0000 (0:00:00.050) 0:00:11.694 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "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/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 08:15:33 +0000 (0:00:00.039) 0:00:11.733 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 08:15:33 +0000 (0:00:00.065) 0:00:11.799 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 08:15:33 +0000 (0:00:00.036) 0:00:11.835 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 08:15:33 +0000 (0:00:00.025) 0:00:11.860 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 08:15:33 +0000 (0:00:00.035) 0:00:11.896 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 08:15:33 +0000 (0:00:00.024) 0:00:11.920 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658387401.739742, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1636891012.8990273, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 70, "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": 1636890761.4177752, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "18446744071719764763", "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/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 08:15:33 +0000 (0:00:00.333) 0:00:12.254 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 08:15:33 +0000 (0:00:00.023) 0:00:12.277 ********* ok: [/cache/centos-7.qcow2c.snap] META: role_complete for /cache/centos-7.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp8lr32tv2/tests/tests_existing_lvm_pool.yml:39 Thursday 21 July 2022 08:15:34 +0000 (0:00:00.853) 0:00:13.131 ********* included: /tmp/tmp8lr32tv2/tests/verify-role-results.yml for /cache/centos-7.qcow2c.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:1 Thursday 21 July 2022 08:15:34 +0000 (0:00:00.039) 0:00:13.170 ********* ok: [/cache/centos-7.qcow2c.snap] => { "_storage_pools_list": [ { "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "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/tmp8lr32tv2/tests/verify-role-results.yml:6 Thursday 21 July 2022 08:15:34 +0000 (0:00:00.051) 0:00:13.222 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:14 Thursday 21 July 2022 08:15:34 +0000 (0:00:00.035) 0:00:13.258 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "info": { "/dev/fd0": { "fstype": "", "label": "", "name": "/dev/fd0", "size": "4K", "type": "disk", "uuid": "" }, "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test1", "size": "4G", "type": "lvm", "uuid": "03fdb6fb-b188-4143-bbba-1e8b69f73af5" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "LVM2_member", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "9ADqRy-I1u0-av3k-Fr1x-CJGr-yckY-wAkdsN" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-08-15-07-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "8G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "8G", "type": "partition", "uuid": "44a6a613-4e21-478b-a909-ab653c9d39df" }, "/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": "2da05b4a-241b-41c7-8682-b45e897f20c8" }, "/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": "26263f70-8842-4a7d-8801-475e770ba4a8" }, "/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/tmp8lr32tv2/tests/verify-role-results.yml:19 Thursday 21 July 2022 08:15:36 +0000 (0:00:01.450) 0:00:14.708 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003474", "end": "2022-07-21 08:15:36.286865", "rc": 0, "start": "2022-07-21 08:15:36.283391" } STDOUT: # # /etc/fstab # Created by anaconda on Sun Nov 14 11:52:41 2021 # # 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 # UUID=44a6a613-4e21-478b-a909-ab653c9d39df / xfs defaults 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,comment=cloudconfig 0 2 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:24 Thursday 21 July 2022 08:15:36 +0000 (0:00:00.444) 0:00:15.153 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003412", "end": "2022-07-21 08:15:36.598712", "failed_when_result": false, "rc": 0, "start": "2022-07-21 08:15:36.595300" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:33 Thursday 21 July 2022 08:15:36 +0000 (0:00:00.308) 0:00:15.461 ********* included: /tmp/tmp8lr32tv2/tests/test-verify-pool.yml for /cache/centos-7.qcow2c.snap => (item={'name': 'foo', 'encryption_password': None, 'state': 'present', 'raid_metadata_version': None, 'encryption': False, 'encryption_key_size': None, 'disks': ['nvme1n1'], 'raid_level': None, 'encryption_luks_version': None, 'raid_device_count': None, 'encryption_key': None, 'volumes': [{'_raw_device': '/dev/mapper/foo-test1', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/foo-test1', 'size': '4g', 'mount_point': '', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-0', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'test1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/foo-test1', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-0', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': [], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}], 'raid_chunk_size': None, 'type': 'lvm', 'encryption_cipher': None, 'raid_spare_count': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-pool.yml:5 Thursday 21 July 2022 08:15:37 +0000 (0:00:00.055) 0:00:15.517 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool.yml:18 Thursday 21 July 2022 08:15:37 +0000 (0:00:00.062) 0:00:15.580 ********* included: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml for /cache/centos-7.qcow2c.snap => (item=members) included: /tmp/tmp8lr32tv2/tests/test-verify-pool-volumes.yml for /cache/centos-7.qcow2c.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 08:15:37 +0000 (0:00:00.046) 0:00:15.627 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/nvme1n1" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 08:15:37 +0000 (0:00:00.113) 0:00:15.740 ********* ok: [/cache/centos-7.qcow2c.snap] => (item=/dev/nvme1n1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/nvme1n1", "pv": "/dev/nvme1n1" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 08:15:37 +0000 (0:00:00.404) 0:00:16.145 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 08:15:37 +0000 (0:00:00.057) 0:00:16.203 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/nvme1n1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 08:15:37 +0000 (0:00:00.058) 0:00:16.261 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 08:15:37 +0000 (0:00:00.057) 0:00:16.319 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 08:15:37 +0000 (0:00:00.039) 0:00:16.358 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 08:15:37 +0000 (0:00:00.049) 0:00:16.408 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 08:15:37 +0000 (0:00:00.023) 0:00:16.432 ********* ok: [/cache/centos-7.qcow2c.snap] => (item=/dev/nvme1n1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/nvme1n1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 08:15:37 +0000 (0:00:00.041) 0:00:16.473 ********* included: /tmp/tmp8lr32tv2/tests/verify-pool-md.yml for /cache/centos-7.qcow2c.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-md.yml:6 Thursday 21 July 2022 08:15:38 +0000 (0:00:00.041) 0:00:16.515 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-md.yml:12 Thursday 21 July 2022 08:15:38 +0000 (0:00:00.022) 0:00:16.537 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-md.yml:16 Thursday 21 July 2022 08:15:38 +0000 (0:00:00.022) 0:00:16.560 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-md.yml:20 Thursday 21 July 2022 08:15:38 +0000 (0:00:00.023) 0:00:16.583 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-md.yml:24 Thursday 21 July 2022 08:15:38 +0000 (0:00:00.023) 0:00:16.606 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-md.yml:30 Thursday 21 July 2022 08:15:38 +0000 (0:00:00.022) 0:00:16.628 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmp8lr32tv2/tests/verify-pool-md.yml:36 Thursday 21 July 2022 08:15:38 +0000 (0:00:00.022) 0:00:16.651 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-md.yml:44 Thursday 21 July 2022 08:15:38 +0000 (0:00:00.022) 0:00:16.673 ********* ok: [/cache/centos-7.qcow2c.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/tmp8lr32tv2/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 08:15:38 +0000 (0:00:00.034) 0:00:16.707 ********* included: /tmp/tmp8lr32tv2/tests/verify-pool-members-lvmraid.yml for /cache/centos-7.qcow2c.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 08:15:38 +0000 (0:00:00.052) 0:00:16.760 ********* included: /tmp/tmp8lr32tv2/tests/verify-pool-member-lvmraid.yml for /cache/centos-7.qcow2c.snap => (item={'_raw_device': '/dev/mapper/foo-test1', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/foo-test1', 'size': '4g', 'mount_point': '', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-0', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'test1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/foo-test1', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-0', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': [], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 08:15:38 +0000 (0:00:00.046) 0:00:16.806 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 08:15:38 +0000 (0:00:00.030) 0:00:16.837 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 08:15:38 +0000 (0:00:00.028) 0:00:16.866 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 08:15:38 +0000 (0:00:00.028) 0:00:16.894 ********* included: /tmp/tmp8lr32tv2/tests/verify-pool-members-thin.yml for /cache/centos-7.qcow2c.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 08:15:38 +0000 (0:00:00.046) 0:00:16.941 ********* included: /tmp/tmp8lr32tv2/tests/verify-pool-member-thin.yml for /cache/centos-7.qcow2c.snap => (item={'_raw_device': '/dev/mapper/foo-test1', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/foo-test1', 'size': '4g', 'mount_point': '', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-0', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'test1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/foo-test1', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-0', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': [], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 08:15:38 +0000 (0:00:00.044) 0:00:16.985 ********* skipping: [/cache/centos-7.qcow2c.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/tmp8lr32tv2/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 08:15:38 +0000 (0:00:00.023) 0:00:17.008 ********* skipping: [/cache/centos-7.qcow2c.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/tmp8lr32tv2/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 08:15:38 +0000 (0:00:00.024) 0:00:17.033 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 08:15:38 +0000 (0:00:00.024) 0:00:17.058 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 08:15:38 +0000 (0:00:00.025) 0:00:17.084 ********* included: /tmp/tmp8lr32tv2/tests/verify-pool-members-encryption.yml for /cache/centos-7.qcow2c.snap TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 08:15:38 +0000 (0:00:00.045) 0:00:17.129 ********* ok: [/cache/centos-7.qcow2c.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/tmp8lr32tv2/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 08:15:38 +0000 (0:00:00.135) 0:00:17.264 ********* skipping: [/cache/centos-7.qcow2c.snap] => (item=/dev/nvme1n1) => { "_storage_test_pool_member_path": "/dev/nvme1n1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 08:15:38 +0000 (0:00:00.029) 0:00:17.294 ********* included: /tmp/tmp8lr32tv2/tests/verify-pool-member-crypttab.yml for /cache/centos-7.qcow2c.snap => (item=/dev/nvme1n1) TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 08:15:38 +0000 (0:00:00.041) 0:00:17.336 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 08:15:38 +0000 (0:00:00.048) 0:00:17.384 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-crypttab.yml:11 Thursday 21 July 2022 08:15:38 +0000 (0:00:00.046) 0:00:17.430 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 08:15:38 +0000 (0:00:00.034) 0:00:17.464 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-crypttab.yml:23 Thursday 21 July 2022 08:15:38 +0000 (0:00:00.035) 0:00:17.499 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 08:15:39 +0000 (0:00:00.041) 0:00:17.541 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 08:15:39 +0000 (0:00:00.032) 0:00:17.573 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 08:15:39 +0000 (0:00:00.033) 0:00:17.607 ********* included: /tmp/tmp8lr32tv2/tests/verify-pool-members-vdo.yml for /cache/centos-7.qcow2c.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 08:15:39 +0000 (0:00:00.047) 0:00:17.654 ********* included: /tmp/tmp8lr32tv2/tests/verify-pool-member-vdo.yml for /cache/centos-7.qcow2c.snap => (item={'_raw_device': '/dev/mapper/foo-test1', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/foo-test1', 'size': '4g', 'mount_point': '', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-0', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'test1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/foo-test1', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-0', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': [], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 08:15:39 +0000 (0:00:00.045) 0:00:17.700 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 08:15:39 +0000 (0:00:00.023) 0:00:17.724 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 08:15:39 +0000 (0:00:00.022) 0:00:17.747 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 08:15:39 +0000 (0:00:00.025) 0:00:17.772 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 08:15:39 +0000 (0:00:00.022) 0:00:17.795 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 08:15:39 +0000 (0:00:00.026) 0:00:17.821 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 08:15:39 +0000 (0:00:00.022) 0:00:17.843 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 08:15:39 +0000 (0:00:00.022) 0:00:17.865 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 08:15:39 +0000 (0:00:00.032) 0:00:17.898 ********* ok: [/cache/centos-7.qcow2c.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/tmp8lr32tv2/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 08:15:39 +0000 (0:00:00.034) 0:00:17.933 ********* included: /tmp/tmp8lr32tv2/tests/test-verify-volume.yml for /cache/centos-7.qcow2c.snap => (item={'_raw_device': '/dev/mapper/foo-test1', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/foo-test1', 'size': '4g', 'mount_point': '', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-0', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'test1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/foo-test1', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-0', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': [], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume.yml:2 Thursday 21 July 2022 08:15:39 +0000 (0:00:00.043) 0:00:17.977 ********* ok: [/cache/centos-7.qcow2c.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/tmp8lr32tv2/tests/test-verify-volume.yml:10 Thursday 21 July 2022 08:15:39 +0000 (0:00:00.070) 0:00:18.048 ********* included: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml for /cache/centos-7.qcow2c.snap => (item=mount) included: /tmp/tmp8lr32tv2/tests/test-verify-volume-fstab.yml for /cache/centos-7.qcow2c.snap => (item=fstab) included: /tmp/tmp8lr32tv2/tests/test-verify-volume-fs.yml for /cache/centos-7.qcow2c.snap => (item=fs) included: /tmp/tmp8lr32tv2/tests/test-verify-volume-device.yml for /cache/centos-7.qcow2c.snap => (item=device) included: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml for /cache/centos-7.qcow2c.snap => (item=encryption) included: /tmp/tmp8lr32tv2/tests/test-verify-volume-md.yml for /cache/centos-7.qcow2c.snap => (item=md) included: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml for /cache/centos-7.qcow2c.snap => (item=size) included: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml for /cache/centos-7.qcow2c.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 08:15:39 +0000 (0:00:00.087) 0:00:18.135 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 08:15:39 +0000 (0:00:00.041) 0:00:18.176 ********* ok: [/cache/centos-7.qcow2c.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/tmp8lr32tv2/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 08:15:39 +0000 (0:00:00.064) 0:00:18.241 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 08:15:39 +0000 (0:00:00.023) 0:00:18.264 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 08:15:39 +0000 (0:00:00.046) 0:00:18.310 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 08:15:39 +0000 (0:00:00.034) 0:00:18.344 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 08:15:39 +0000 (0:00:00.023) 0:00:18.368 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 08:15:39 +0000 (0:00:00.022) 0:00:18.391 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 08:15:39 +0000 (0:00:00.022) 0:00:18.414 ********* ok: [/cache/centos-7.qcow2c.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/tmp8lr32tv2/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 08:15:39 +0000 (0:00:00.068) 0:00:18.483 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "1", "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/tmp8lr32tv2/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 08:15:40 +0000 (0:00:00.119) 0:00:18.602 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 08:15:40 +0000 (0:00:00.050) 0:00:18.652 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 08:15:40 +0000 (0:00:00.052) 0:00:18.705 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 08:15:40 +0000 (0:00:00.041) 0:00:18.747 ********* ok: [/cache/centos-7.qcow2c.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/tmp8lr32tv2/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 08:15:40 +0000 (0:00:00.039) 0:00:18.786 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 08:15:40 +0000 (0:00:00.044) 0:00:18.830 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 08:15:40 +0000 (0:00:00.041) 0:00:18.872 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658391332.6745749, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658391332.6745749, "dev": 5, "device_type": 64512, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 22485, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658391332.6745749, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 08:15:40 +0000 (0:00:00.307) 0:00:19.180 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 08:15:40 +0000 (0:00:00.037) 0:00:19.217 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 08:15:40 +0000 (0:00:00.037) 0:00:19.255 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 08:15:40 +0000 (0:00:00.034) 0:00:19.289 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 08:15:40 +0000 (0:00:00.023) 0:00:19.313 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 08:15:40 +0000 (0:00:00.046) 0:00:19.360 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 08:15:40 +0000 (0:00:00.022) 0:00:19.383 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "cryptsetup-2.0.3-6.el7.x86_64 providing cryptsetup is already installed" ] } TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 08:15:41 +0000 (0:00:00.534) 0:00:19.917 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 08:15:41 +0000 (0:00:00.022) 0:00:19.940 ********* skipping: [/cache/centos-7.qcow2c.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/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 08:15:41 +0000 (0:00:00.022) 0:00:19.963 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 08:15:41 +0000 (0:00:00.048) 0:00:20.012 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 08:15:41 +0000 (0:00:00.022) 0:00:20.034 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 08:15:41 +0000 (0:00:00.022) 0:00:20.057 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 08:15:41 +0000 (0:00:00.023) 0:00:20.081 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 08:15:41 +0000 (0:00:00.022) 0:00:20.103 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 08:15:41 +0000 (0:00:00.022) 0:00:20.125 ********* ok: [/cache/centos-7.qcow2c.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/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 08:15:41 +0000 (0:00:00.048) 0:00:20.173 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 08:15:41 +0000 (0:00:00.048) 0:00:20.221 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 08:15:41 +0000 (0:00:00.034) 0:00:20.256 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 08:15:41 +0000 (0:00:00.035) 0:00:20.291 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 08:15:41 +0000 (0:00:00.035) 0:00:20.327 ********* ok: [/cache/centos-7.qcow2c.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/tmp8lr32tv2/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 08:15:41 +0000 (0:00:00.036) 0:00:20.363 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 08:15:41 +0000 (0:00:00.035) 0:00:20.398 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 08:15:41 +0000 (0:00:00.034) 0:00:20.433 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 08:15:41 +0000 (0:00:00.035) 0:00:20.469 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 08:15:41 +0000 (0:00:00.039) 0:00:20.508 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 08:15:42 +0000 (0:00:00.035) 0:00:20.544 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 08:15:42 +0000 (0:00:00.035) 0:00:20.580 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 08:15:42 +0000 (0:00:00.035) 0:00:20.615 ********* ok: [/cache/centos-7.qcow2c.snap] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 08:15:42 +0000 (0:00:00.423) 0:00:21.039 ********* ok: [/cache/centos-7.qcow2c.snap] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 08:15:42 +0000 (0:00:00.331) 0:00:21.370 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_expected_size": "4294967296" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 08:15:42 +0000 (0:00:00.104) 0:00:21.474 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_test_expected_size": "4294967296" } TASK [debug] ******************************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 08:15:42 +0000 (0:00:00.034) 0:00:21.509 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 08:15:43 +0000 (0:00:00.035) 0:00:21.544 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 08:15:43 +0000 (0:00:00.035) 0:00:21.579 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 08:15:43 +0000 (0:00:00.036) 0:00:21.616 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 08:15:43 +0000 (0:00:00.034) 0:00:21.650 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 08:15:43 +0000 (0:00:00.034) 0:00:21.685 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_test_actual_size": { "bytes": 4294967296, "changed": false, "failed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 08:15:43 +0000 (0:00:00.034) 0:00:21.720 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_test_expected_size": "4294967296" } TASK [assert] ****************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 08:15:43 +0000 (0:00:00.035) 0:00:21.756 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 08:15:43 +0000 (0:00:00.048) 0:00:21.804 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.025689", "end": "2022-07-21 08:15:43.271985", "rc": 0, "start": "2022-07-21 08:15:43.246296" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-a----- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 08:15:43 +0000 (0:00:00.333) 0:00:22.137 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 08:15:43 +0000 (0:00:00.049) 0:00:22.187 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 08:15:43 +0000 (0:00:00.051) 0:00:22.238 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 08:15:43 +0000 (0:00:00.036) 0:00:22.275 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 08:15:43 +0000 (0:00:00.034) 0:00:22.310 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 08:15:43 +0000 (0:00:00.034) 0:00:22.345 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume.yml:16 Thursday 21 July 2022 08:15:43 +0000 (0:00:00.036) 0:00:22.381 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:43 Thursday 21 July 2022 08:15:43 +0000 (0:00:00.032) 0:00:22.414 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:53 Thursday 21 July 2022 08:15:43 +0000 (0:00:00.019) 0:00:22.434 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Create another volume in the existing pool, identified only by name.] **** task path: /tmp/tmp8lr32tv2/tests/tests_existing_lvm_pool.yml:41 Thursday 21 July 2022 08:15:43 +0000 (0:00:00.033) 0:00:22.467 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 08:15:44 +0000 (0:00:00.046) 0:00:22.514 ********* included: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 08:15:44 +0000 (0:00:00.035) 0:00:22.549 ********* ok: [/cache/centos-7.qcow2c.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 08:15:44 +0000 (0:00:00.411) 0:00:22.961 ********* skipping: [/cache/centos-7.qcow2c.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-7.qcow2c.snap] => (item=CentOS_7.yml) => { "ansible_facts": { "__storage_blivet_diskvolume_mkfs_option_map": { "ext2": "-F", "ext3": "-F", "ext4": "-F" }, "blivet_package_list": [ "python-enum34", "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [/cache/centos-7.qcow2c.snap] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 08:15:44 +0000 (0:00:00.066) 0:00:23.027 ********* ok: [/cache/centos-7.qcow2c.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/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 08:15:44 +0000 (0:00:00.032) 0:00:23.060 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 08:15:44 +0000 (0:00:00.033) 0:00:23.093 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 08:15:44 +0000 (0:00:00.046) 0:00:23.140 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 08:15:44 +0000 (0:00:00.020) 0:00:23.161 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 08:15:44 +0000 (0:00:00.027) 0:00:23.188 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_pools": [ { "name": "foo", "volumes": [ { "fs_label": "newvol", "fs_type": "ext4", "name": "newvol", "size": "2 GiB" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 08:15:44 +0000 (0:00:00.111) 0:00:23.299 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 08:15:44 +0000 (0:00:00.034) 0:00:23.334 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 08:15:44 +0000 (0:00:00.027) 0:00:23.362 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 08:15:44 +0000 (0:00:00.026) 0:00:23.388 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 08:15:44 +0000 (0:00:00.028) 0:00:23.417 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 08:15:44 +0000 (0:00:00.029) 0:00:23.446 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 08:15:44 +0000 (0:00:00.054) 0:00:23.500 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 08:15:45 +0000 (0:00:00.020) 0:00:23.521 ********* changed: [/cache/centos-7.qcow2c.snap] => { "actions": [ { "action": "create device", "device": "/dev/mapper/foo-newvol", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-newvol", "fs_type": "ext4" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/mapper/foo-test1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/mapper/foo-newvol" ], "mounts": [], "packages": [ "xfsprogs", "e2fsprogs", "lvm2" ], "pools": [ { "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-newvol", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-newvol", "_raw_device": "/dev/mapper/foo-newvol", "_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": "newvol", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "newvol", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2 GiB", "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/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 08:15:46 +0000 (0:00:01.719) 0:00:25.241 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 08:15:46 +0000 (0:00:00.035) 0:00:25.276 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 08:15:46 +0000 (0:00:00.020) 0:00:25.296 ********* ok: [/cache/centos-7.qcow2c.snap] => { "blivet_output": { "actions": [ { "action": "create device", "device": "/dev/mapper/foo-newvol", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-newvol", "fs_type": "ext4" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/mapper/foo-test1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/mapper/foo-newvol" ], "mounts": [], "packages": [ "xfsprogs", "e2fsprogs", "lvm2" ], "pools": [ { "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-newvol", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-newvol", "_raw_device": "/dev/mapper/foo-newvol", "_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": "newvol", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "newvol", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2 GiB", "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/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 08:15:46 +0000 (0:00:00.035) 0:00:25.332 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-newvol", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-newvol", "_raw_device": "/dev/mapper/foo-newvol", "_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": "newvol", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "newvol", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2 GiB", "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/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 08:15:46 +0000 (0:00:00.036) 0:00:25.368 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 08:15:46 +0000 (0:00:00.037) 0:00:25.406 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 08:15:46 +0000 (0:00:00.033) 0:00:25.440 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 08:15:46 +0000 (0:00:00.022) 0:00:25.463 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 08:15:46 +0000 (0:00:00.032) 0:00:25.495 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 08:15:47 +0000 (0:00:00.023) 0:00:25.518 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658387401.739742, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1636891012.8990273, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 70, "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": 1636890761.4177752, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "18446744071719764763", "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/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 08:15:47 +0000 (0:00:00.312) 0:00:25.831 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 08:15:47 +0000 (0:00:00.021) 0:00:25.853 ********* ok: [/cache/centos-7.qcow2c.snap] META: role_complete for /cache/centos-7.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp8lr32tv2/tests/tests_existing_lvm_pool.yml:53 Thursday 21 July 2022 08:15:48 +0000 (0:00:00.882) 0:00:26.735 ********* included: /tmp/tmp8lr32tv2/tests/verify-role-results.yml for /cache/centos-7.qcow2c.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:1 Thursday 21 July 2022 08:15:48 +0000 (0:00:00.041) 0:00:26.777 ********* ok: [/cache/centos-7.qcow2c.snap] => { "_storage_pools_list": [ { "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-newvol", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-newvol", "_raw_device": "/dev/mapper/foo-newvol", "_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": "newvol", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "newvol", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2 GiB", "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/tmp8lr32tv2/tests/verify-role-results.yml:6 Thursday 21 July 2022 08:15:48 +0000 (0:00:00.081) 0:00:26.858 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:14 Thursday 21 July 2022 08:15:48 +0000 (0:00:00.062) 0:00:26.920 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "info": { "/dev/fd0": { "fstype": "", "label": "", "name": "/dev/fd0", "size": "4K", "type": "disk", "uuid": "" }, "/dev/mapper/foo-newvol": { "fstype": "ext4", "label": "newvol", "name": "/dev/mapper/foo-newvol", "size": "2G", "type": "lvm", "uuid": "d3b55615-b8b1-40e5-b90c-8209ea8dda35" }, "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test1", "size": "4G", "type": "lvm", "uuid": "03fdb6fb-b188-4143-bbba-1e8b69f73af5" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "LVM2_member", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "9ADqRy-I1u0-av3k-Fr1x-CJGr-yckY-wAkdsN" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-08-15-07-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "8G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "8G", "type": "partition", "uuid": "44a6a613-4e21-478b-a909-ab653c9d39df" }, "/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": "2da05b4a-241b-41c7-8682-b45e897f20c8" }, "/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": "26263f70-8842-4a7d-8801-475e770ba4a8" }, "/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/tmp8lr32tv2/tests/verify-role-results.yml:19 Thursday 21 July 2022 08:15:48 +0000 (0:00:00.303) 0:00:27.223 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003599", "end": "2022-07-21 08:15:48.664311", "rc": 0, "start": "2022-07-21 08:15:48.660712" } STDOUT: # # /etc/fstab # Created by anaconda on Sun Nov 14 11:52:41 2021 # # 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 # UUID=44a6a613-4e21-478b-a909-ab653c9d39df / xfs defaults 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,comment=cloudconfig 0 2 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:24 Thursday 21 July 2022 08:15:49 +0000 (0:00:00.306) 0:00:27.530 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003263", "end": "2022-07-21 08:15:48.973150", "failed_when_result": false, "rc": 0, "start": "2022-07-21 08:15:48.969887" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:33 Thursday 21 July 2022 08:15:49 +0000 (0:00:00.308) 0:00:27.838 ********* included: /tmp/tmp8lr32tv2/tests/test-verify-pool.yml for /cache/centos-7.qcow2c.snap => (item={'name': 'foo', 'encryption_password': None, 'state': 'present', 'raid_metadata_version': None, 'encryption': False, 'encryption_key_size': None, 'disks': ['nvme1n1'], 'raid_level': None, 'encryption_luks_version': None, 'raid_device_count': None, 'encryption_key': None, 'volumes': [{'_raw_device': '/dev/mapper/foo-newvol', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'ext4', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/foo-newvol', 'size': '2 GiB', 'mount_point': '', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-1', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'newvol', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': 'newvol', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/foo-newvol', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-1', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': [], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}], 'raid_chunk_size': None, 'type': 'lvm', 'encryption_cipher': None, 'raid_spare_count': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-pool.yml:5 Thursday 21 July 2022 08:15:49 +0000 (0:00:00.056) 0:00:27.895 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool.yml:18 Thursday 21 July 2022 08:15:49 +0000 (0:00:00.033) 0:00:27.928 ********* included: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml for /cache/centos-7.qcow2c.snap => (item=members) included: /tmp/tmp8lr32tv2/tests/test-verify-pool-volumes.yml for /cache/centos-7.qcow2c.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 08:15:49 +0000 (0:00:00.045) 0:00:27.974 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/nvme1n1" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 08:15:49 +0000 (0:00:00.055) 0:00:28.029 ********* ok: [/cache/centos-7.qcow2c.snap] => (item=/dev/nvme1n1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/nvme1n1", "pv": "/dev/nvme1n1" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 08:15:49 +0000 (0:00:00.305) 0:00:28.335 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 08:15:49 +0000 (0:00:00.048) 0:00:28.383 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/nvme1n1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 08:15:49 +0000 (0:00:00.049) 0:00:28.433 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 08:15:49 +0000 (0:00:00.050) 0:00:28.483 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 08:15:50 +0000 (0:00:00.036) 0:00:28.520 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 08:15:50 +0000 (0:00:00.049) 0:00:28.569 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 08:15:50 +0000 (0:00:00.022) 0:00:28.592 ********* ok: [/cache/centos-7.qcow2c.snap] => (item=/dev/nvme1n1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/nvme1n1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 08:15:50 +0000 (0:00:00.039) 0:00:28.631 ********* included: /tmp/tmp8lr32tv2/tests/verify-pool-md.yml for /cache/centos-7.qcow2c.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-md.yml:6 Thursday 21 July 2022 08:15:50 +0000 (0:00:00.041) 0:00:28.672 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-md.yml:12 Thursday 21 July 2022 08:15:50 +0000 (0:00:00.026) 0:00:28.699 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-md.yml:16 Thursday 21 July 2022 08:15:50 +0000 (0:00:00.024) 0:00:28.723 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-md.yml:20 Thursday 21 July 2022 08:15:50 +0000 (0:00:00.024) 0:00:28.748 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-md.yml:24 Thursday 21 July 2022 08:15:50 +0000 (0:00:00.025) 0:00:28.773 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-md.yml:30 Thursday 21 July 2022 08:15:50 +0000 (0:00:00.022) 0:00:28.796 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmp8lr32tv2/tests/verify-pool-md.yml:36 Thursday 21 July 2022 08:15:50 +0000 (0:00:00.022) 0:00:28.819 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-md.yml:44 Thursday 21 July 2022 08:15:50 +0000 (0:00:00.022) 0:00:28.841 ********* ok: [/cache/centos-7.qcow2c.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/tmp8lr32tv2/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 08:15:50 +0000 (0:00:00.091) 0:00:28.933 ********* included: /tmp/tmp8lr32tv2/tests/verify-pool-members-lvmraid.yml for /cache/centos-7.qcow2c.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 08:15:50 +0000 (0:00:00.043) 0:00:28.977 ********* included: /tmp/tmp8lr32tv2/tests/verify-pool-member-lvmraid.yml for /cache/centos-7.qcow2c.snap => (item={'_raw_device': '/dev/mapper/foo-newvol', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'ext4', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/foo-newvol', 'size': '2 GiB', 'mount_point': '', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-1', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'newvol', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': 'newvol', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/foo-newvol', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-1', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': [], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 08:15:50 +0000 (0:00:00.042) 0:00:29.019 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 08:15:50 +0000 (0:00:00.026) 0:00:29.046 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 08:15:50 +0000 (0:00:00.026) 0:00:29.073 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 08:15:50 +0000 (0:00:00.030) 0:00:29.104 ********* included: /tmp/tmp8lr32tv2/tests/verify-pool-members-thin.yml for /cache/centos-7.qcow2c.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 08:15:50 +0000 (0:00:00.044) 0:00:29.148 ********* included: /tmp/tmp8lr32tv2/tests/verify-pool-member-thin.yml for /cache/centos-7.qcow2c.snap => (item={'_raw_device': '/dev/mapper/foo-newvol', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'ext4', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/foo-newvol', 'size': '2 GiB', 'mount_point': '', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-1', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'newvol', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': 'newvol', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/foo-newvol', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-1', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': [], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 08:15:50 +0000 (0:00:00.043) 0:00:29.192 ********* skipping: [/cache/centos-7.qcow2c.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/tmp8lr32tv2/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 08:15:50 +0000 (0:00:00.023) 0:00:29.215 ********* skipping: [/cache/centos-7.qcow2c.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/tmp8lr32tv2/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 08:15:50 +0000 (0:00:00.022) 0:00:29.238 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 08:15:50 +0000 (0:00:00.022) 0:00:29.261 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 08:15:50 +0000 (0:00:00.024) 0:00:29.285 ********* included: /tmp/tmp8lr32tv2/tests/verify-pool-members-encryption.yml for /cache/centos-7.qcow2c.snap TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 08:15:50 +0000 (0:00:00.045) 0:00:29.331 ********* ok: [/cache/centos-7.qcow2c.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/tmp8lr32tv2/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 08:15:50 +0000 (0:00:00.050) 0:00:29.381 ********* skipping: [/cache/centos-7.qcow2c.snap] => (item=/dev/nvme1n1) => { "_storage_test_pool_member_path": "/dev/nvme1n1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 08:15:50 +0000 (0:00:00.026) 0:00:29.408 ********* included: /tmp/tmp8lr32tv2/tests/verify-pool-member-crypttab.yml for /cache/centos-7.qcow2c.snap => (item=/dev/nvme1n1) TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 08:15:50 +0000 (0:00:00.040) 0:00:29.449 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 08:15:50 +0000 (0:00:00.049) 0:00:29.498 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-crypttab.yml:11 Thursday 21 July 2022 08:15:51 +0000 (0:00:00.053) 0:00:29.551 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 08:15:51 +0000 (0:00:00.036) 0:00:29.588 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-crypttab.yml:23 Thursday 21 July 2022 08:15:51 +0000 (0:00:00.035) 0:00:29.624 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 08:15:51 +0000 (0:00:00.034) 0:00:29.659 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 08:15:51 +0000 (0:00:00.033) 0:00:29.693 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 08:15:51 +0000 (0:00:00.037) 0:00:29.731 ********* included: /tmp/tmp8lr32tv2/tests/verify-pool-members-vdo.yml for /cache/centos-7.qcow2c.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 08:15:51 +0000 (0:00:00.048) 0:00:29.780 ********* included: /tmp/tmp8lr32tv2/tests/verify-pool-member-vdo.yml for /cache/centos-7.qcow2c.snap => (item={'_raw_device': '/dev/mapper/foo-newvol', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'ext4', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/foo-newvol', 'size': '2 GiB', 'mount_point': '', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-1', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'newvol', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': 'newvol', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/foo-newvol', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-1', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': [], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 08:15:51 +0000 (0:00:00.044) 0:00:29.824 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 08:15:51 +0000 (0:00:00.024) 0:00:29.849 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 08:15:51 +0000 (0:00:00.023) 0:00:29.872 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 08:15:51 +0000 (0:00:00.022) 0:00:29.895 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 08:15:51 +0000 (0:00:00.022) 0:00:29.917 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 08:15:51 +0000 (0:00:00.023) 0:00:29.941 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 08:15:51 +0000 (0:00:00.022) 0:00:29.964 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 08:15:51 +0000 (0:00:00.022) 0:00:29.987 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 08:15:51 +0000 (0:00:00.072) 0:00:30.059 ********* ok: [/cache/centos-7.qcow2c.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/tmp8lr32tv2/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 08:15:51 +0000 (0:00:00.073) 0:00:30.133 ********* included: /tmp/tmp8lr32tv2/tests/test-verify-volume.yml for /cache/centos-7.qcow2c.snap => (item={'_raw_device': '/dev/mapper/foo-newvol', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'ext4', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/foo-newvol', 'size': '2 GiB', 'mount_point': '', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-1', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'newvol', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': 'newvol', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/foo-newvol', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-1', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': [], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume.yml:2 Thursday 21 July 2022 08:15:51 +0000 (0:00:00.041) 0:00:30.174 ********* ok: [/cache/centos-7.qcow2c.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/tmp8lr32tv2/tests/test-verify-volume.yml:10 Thursday 21 July 2022 08:15:51 +0000 (0:00:00.049) 0:00:30.224 ********* included: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml for /cache/centos-7.qcow2c.snap => (item=mount) included: /tmp/tmp8lr32tv2/tests/test-verify-volume-fstab.yml for /cache/centos-7.qcow2c.snap => (item=fstab) included: /tmp/tmp8lr32tv2/tests/test-verify-volume-fs.yml for /cache/centos-7.qcow2c.snap => (item=fs) included: /tmp/tmp8lr32tv2/tests/test-verify-volume-device.yml for /cache/centos-7.qcow2c.snap => (item=device) included: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml for /cache/centos-7.qcow2c.snap => (item=encryption) included: /tmp/tmp8lr32tv2/tests/test-verify-volume-md.yml for /cache/centos-7.qcow2c.snap => (item=md) included: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml for /cache/centos-7.qcow2c.snap => (item=size) included: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml for /cache/centos-7.qcow2c.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 08:15:51 +0000 (0:00:00.077) 0:00:30.301 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-newvol" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 08:15:51 +0000 (0:00:00.041) 0:00:30.342 ********* ok: [/cache/centos-7.qcow2c.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/tmp8lr32tv2/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 08:15:51 +0000 (0:00:00.057) 0:00:30.400 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 08:15:51 +0000 (0:00:00.026) 0:00:30.426 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 08:15:51 +0000 (0:00:00.049) 0:00:30.476 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 08:15:52 +0000 (0:00:00.037) 0:00:30.513 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 08:15:52 +0000 (0:00:00.024) 0:00:30.538 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 08:15:52 +0000 (0:00:00.026) 0:00:30.565 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 08:15:52 +0000 (0:00:00.024) 0:00:30.589 ********* ok: [/cache/centos-7.qcow2c.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/tmp8lr32tv2/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 08:15:52 +0000 (0:00:00.036) 0:00:30.626 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "1", "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/tmp8lr32tv2/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 08:15:52 +0000 (0:00:00.061) 0:00:30.688 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 08:15:52 +0000 (0:00:00.050) 0:00:30.739 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 08:15:52 +0000 (0:00:00.050) 0:00:30.789 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 08:15:52 +0000 (0:00:00.037) 0:00:30.826 ********* ok: [/cache/centos-7.qcow2c.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/tmp8lr32tv2/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 08:15:52 +0000 (0:00:00.038) 0:00:30.864 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 08:15:52 +0000 (0:00:00.039) 0:00:30.904 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 08:15:52 +0000 (0:00:00.041) 0:00:30.945 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658391346.3355746, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658391346.3355746, "dev": 5, "device_type": 64513, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 27187, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658391346.3355746, "nlink": 1, "path": "/dev/mapper/foo-newvol", "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/tmp8lr32tv2/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 08:15:52 +0000 (0:00:00.302) 0:00:31.248 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 08:15:52 +0000 (0:00:00.039) 0:00:31.288 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 08:15:52 +0000 (0:00:00.036) 0:00:31.324 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 08:15:52 +0000 (0:00:00.035) 0:00:31.360 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 08:15:52 +0000 (0:00:00.025) 0:00:31.385 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 08:15:52 +0000 (0:00:00.042) 0:00:31.428 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 08:15:52 +0000 (0:00:00.025) 0:00:31.453 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "cryptsetup-2.0.3-6.el7.x86_64 providing cryptsetup is already installed" ] } TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 08:15:53 +0000 (0:00:00.492) 0:00:31.945 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 08:15:53 +0000 (0:00:00.057) 0:00:32.003 ********* skipping: [/cache/centos-7.qcow2c.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/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 08:15:53 +0000 (0:00:00.025) 0:00:32.028 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 08:15:53 +0000 (0:00:00.053) 0:00:32.081 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 08:15:53 +0000 (0:00:00.026) 0:00:32.108 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 08:15:53 +0000 (0:00:00.025) 0:00:32.133 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 08:15:53 +0000 (0:00:00.025) 0:00:32.159 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 08:15:53 +0000 (0:00:00.025) 0:00:32.184 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 08:15:53 +0000 (0:00:00.026) 0:00:32.211 ********* ok: [/cache/centos-7.qcow2c.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/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 08:15:53 +0000 (0:00:00.052) 0:00:32.263 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 08:15:53 +0000 (0:00:00.065) 0:00:32.329 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 08:15:53 +0000 (0:00:00.038) 0:00:32.367 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 08:15:53 +0000 (0:00:00.041) 0:00:32.408 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 08:15:53 +0000 (0:00:00.037) 0:00:32.445 ********* ok: [/cache/centos-7.qcow2c.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/tmp8lr32tv2/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 08:15:53 +0000 (0:00:00.036) 0:00:32.481 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 08:15:54 +0000 (0:00:00.037) 0:00:32.519 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 08:15:54 +0000 (0:00:00.041) 0:00:32.560 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 08:15:54 +0000 (0:00:00.037) 0:00:32.598 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 08:15:54 +0000 (0:00:00.038) 0:00:32.636 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 08:15:54 +0000 (0:00:00.038) 0:00:32.674 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 08:15:54 +0000 (0:00:00.041) 0:00:32.716 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 08:15:54 +0000 (0:00:00.037) 0:00:32.753 ********* ok: [/cache/centos-7.qcow2c.snap] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 08:15:54 +0000 (0:00:00.299) 0:00:33.053 ********* ok: [/cache/centos-7.qcow2c.snap] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 08:15:54 +0000 (0:00:00.313) 0:00:33.367 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_expected_size": "2147483648" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 08:15:54 +0000 (0:00:00.049) 0:00:33.416 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_test_expected_size": "2147483648" } TASK [debug] ******************************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 08:15:54 +0000 (0:00:00.034) 0:00:33.450 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 08:15:54 +0000 (0:00:00.035) 0:00:33.485 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 08:15:55 +0000 (0:00:00.035) 0:00:33.521 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 08:15:55 +0000 (0:00:00.044) 0:00:33.566 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 08:15:55 +0000 (0:00:00.035) 0:00:33.602 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 08:15:55 +0000 (0:00:00.035) 0:00:33.637 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_test_actual_size": { "bytes": 2147483648, "changed": false, "failed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 08:15:55 +0000 (0:00:00.035) 0:00:33.672 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_test_expected_size": "2147483648" } TASK [assert] ****************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 08:15:55 +0000 (0:00:00.036) 0:00:33.709 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 08:15:55 +0000 (0:00:00.049) 0:00:33.758 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/newvol" ], "delta": "0:00:00.024539", "end": "2022-07-21 08:15:55.241076", "rc": 0, "start": "2022-07-21 08:15:55.216537" } STDOUT: LVM2_LV_NAME=newvol LVM2_LV_ATTR=-wi-a----- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 08:15:55 +0000 (0:00:00.347) 0:00:34.106 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 08:15:55 +0000 (0:00:00.048) 0:00:34.155 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 08:15:55 +0000 (0:00:00.051) 0:00:34.207 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 08:15:55 +0000 (0:00:00.035) 0:00:34.242 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 08:15:55 +0000 (0:00:00.039) 0:00:34.282 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 08:15:55 +0000 (0:00:00.037) 0:00:34.320 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume.yml:16 Thursday 21 July 2022 08:15:55 +0000 (0:00:00.048) 0:00:34.368 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:43 Thursday 21 July 2022 08:15:55 +0000 (0:00:00.032) 0:00:34.401 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:53 Thursday 21 July 2022 08:15:55 +0000 (0:00:00.020) 0:00:34.421 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Clean up.] *************************************************************** task path: /tmp/tmp8lr32tv2/tests/tests_existing_lvm_pool.yml:55 Thursday 21 July 2022 08:15:55 +0000 (0:00:00.034) 0:00:34.456 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 08:15:55 +0000 (0:00:00.052) 0:00:34.508 ********* included: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 08:15:56 +0000 (0:00:00.035) 0:00:34.544 ********* ok: [/cache/centos-7.qcow2c.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 08:15:56 +0000 (0:00:00.408) 0:00:34.952 ********* skipping: [/cache/centos-7.qcow2c.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-7.qcow2c.snap] => (item=CentOS_7.yml) => { "ansible_facts": { "__storage_blivet_diskvolume_mkfs_option_map": { "ext2": "-F", "ext3": "-F", "ext4": "-F" }, "blivet_package_list": [ "python-enum34", "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [/cache/centos-7.qcow2c.snap] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 08:15:56 +0000 (0:00:00.059) 0:00:35.011 ********* ok: [/cache/centos-7.qcow2c.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/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 08:15:56 +0000 (0:00:00.032) 0:00:35.043 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 08:15:56 +0000 (0:00:00.032) 0:00:35.076 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 08:15:56 +0000 (0:00:00.045) 0:00:35.122 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 08:15:56 +0000 (0:00:00.021) 0:00:35.143 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 08:15:56 +0000 (0:00:00.028) 0:00:35.172 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_pools": [ { "name": "foo", "state": "absent" } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 08:15:56 +0000 (0:00:00.038) 0:00:35.210 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 08:15:56 +0000 (0:00:00.032) 0:00:35.243 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 08:15:56 +0000 (0:00:00.030) 0:00:35.274 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 08:15:56 +0000 (0:00:00.029) 0:00:35.303 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 08:15:56 +0000 (0:00:00.026) 0:00:35.330 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 08:15:56 +0000 (0:00:00.029) 0:00:35.359 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 08:15:56 +0000 (0:00:00.053) 0:00:35.412 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 08:15:56 +0000 (0:00:00.020) 0:00:35.433 ********* changed: [/cache/centos-7.qcow2c.snap] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-newvol", "fs_type": "ext4" }, { "action": "destroy device", "device": "/dev/mapper/foo-newvol", "fs_type": null }, { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/nvme1n1", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [], "packages": [ "xfsprogs", "e2fsprogs" ], "pools": [ { "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 08:15:59 +0000 (0:00:02.124) 0:00:37.557 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 08:15:59 +0000 (0:00:00.036) 0:00:37.594 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 08:15:59 +0000 (0:00:00.021) 0:00:37.615 ********* ok: [/cache/centos-7.qcow2c.snap] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-newvol", "fs_type": "ext4" }, { "action": "destroy device", "device": "/dev/mapper/foo-newvol", "fs_type": null }, { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/nvme1n1", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [], "packages": [ "xfsprogs", "e2fsprogs" ], "pools": [ { "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 08:15:59 +0000 (0:00:00.040) 0:00:37.656 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 08:15:59 +0000 (0:00:00.036) 0:00:37.693 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 08:15:59 +0000 (0:00:00.038) 0:00:37.732 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 08:15:59 +0000 (0:00:00.034) 0:00:37.766 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 08:15:59 +0000 (0:00:00.022) 0:00:37.789 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 08:15:59 +0000 (0:00:00.035) 0:00:37.825 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 08:15:59 +0000 (0:00:00.024) 0:00:37.849 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658387401.739742, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1636891012.8990273, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 70, "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": 1636890761.4177752, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "18446744071719764763", "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/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 08:15:59 +0000 (0:00:00.305) 0:00:38.155 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 08:15:59 +0000 (0:00:00.022) 0:00:38.177 ********* ok: [/cache/centos-7.qcow2c.snap] META: role_complete for /cache/centos-7.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp8lr32tv2/tests/tests_existing_lvm_pool.yml:63 Thursday 21 July 2022 08:16:00 +0000 (0:00:00.888) 0:00:39.066 ********* included: /tmp/tmp8lr32tv2/tests/verify-role-results.yml for /cache/centos-7.qcow2c.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:1 Thursday 21 July 2022 08:16:00 +0000 (0:00:00.042) 0:00:39.108 ********* ok: [/cache/centos-7.qcow2c.snap] => { "_storage_pools_list": [ { "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:6 Thursday 21 July 2022 08:16:00 +0000 (0:00:00.075) 0:00:39.184 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:14 Thursday 21 July 2022 08:16:00 +0000 (0:00:00.039) 0:00:39.224 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "info": { "/dev/fd0": { "fstype": "", "label": "", "name": "/dev/fd0", "size": "4K", "type": "disk", "uuid": "" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-08-15-07-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "8G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "8G", "type": "partition", "uuid": "44a6a613-4e21-478b-a909-ab653c9d39df" }, "/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": "2da05b4a-241b-41c7-8682-b45e897f20c8" }, "/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": "26263f70-8842-4a7d-8801-475e770ba4a8" }, "/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/tmp8lr32tv2/tests/verify-role-results.yml:19 Thursday 21 July 2022 08:16:01 +0000 (0:00:00.311) 0:00:39.536 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003545", "end": "2022-07-21 08:16:01.002671", "rc": 0, "start": "2022-07-21 08:16:00.999126" } STDOUT: # # /etc/fstab # Created by anaconda on Sun Nov 14 11:52:41 2021 # # 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 # UUID=44a6a613-4e21-478b-a909-ab653c9d39df / xfs defaults 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,comment=cloudconfig 0 2 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:24 Thursday 21 July 2022 08:16:01 +0000 (0:00:00.337) 0:00:39.873 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003578", "end": "2022-07-21 08:16:01.358576", "failed_when_result": false, "rc": 0, "start": "2022-07-21 08:16:01.354998" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:33 Thursday 21 July 2022 08:16:01 +0000 (0:00:00.352) 0:00:40.225 ********* included: /tmp/tmp8lr32tv2/tests/test-verify-pool.yml for /cache/centos-7.qcow2c.snap => (item={'name': 'foo', 'encryption_password': None, 'state': 'absent', 'raid_metadata_version': None, 'encryption': False, 'encryption_key_size': None, 'disks': ['nvme1n1'], 'raid_level': None, 'encryption_luks_version': None, 'raid_device_count': None, 'encryption_key': None, 'volumes': [], 'raid_chunk_size': None, 'type': 'lvm', 'encryption_cipher': None, 'raid_spare_count': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-pool.yml:5 Thursday 21 July 2022 08:16:01 +0000 (0:00:00.105) 0:00:40.331 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool.yml:18 Thursday 21 July 2022 08:16:01 +0000 (0:00:00.032) 0:00:40.364 ********* included: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml for /cache/centos-7.qcow2c.snap => (item=members) included: /tmp/tmp8lr32tv2/tests/test-verify-pool-volumes.yml for /cache/centos-7.qcow2c.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 08:16:01 +0000 (0:00:00.043) 0:00:40.407 ********* ok: [/cache/centos-7.qcow2c.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/tmp8lr32tv2/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 08:16:01 +0000 (0:00:00.049) 0:00:40.457 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 08:16:01 +0000 (0:00:00.021) 0:00:40.478 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__pvs_lvm_len": "0" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 08:16:02 +0000 (0:00:00.045) 0:00:40.524 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 08:16:02 +0000 (0:00:00.051) 0:00:40.575 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 08:16:02 +0000 (0:00:00.049) 0:00:40.624 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 08:16:02 +0000 (0:00:00.037) 0:00:40.662 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 08:16:02 +0000 (0:00:00.048) 0:00:40.710 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 08:16:02 +0000 (0:00:00.022) 0:00:40.732 ********* TASK [Check MD RAID] *********************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 08:16:02 +0000 (0:00:00.021) 0:00:40.754 ********* included: /tmp/tmp8lr32tv2/tests/verify-pool-md.yml for /cache/centos-7.qcow2c.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-md.yml:6 Thursday 21 July 2022 08:16:02 +0000 (0:00:00.039) 0:00:40.793 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-md.yml:12 Thursday 21 July 2022 08:16:02 +0000 (0:00:00.022) 0:00:40.816 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-md.yml:16 Thursday 21 July 2022 08:16:02 +0000 (0:00:00.023) 0:00:40.840 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-md.yml:20 Thursday 21 July 2022 08:16:02 +0000 (0:00:00.022) 0:00:40.863 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-md.yml:24 Thursday 21 July 2022 08:16:02 +0000 (0:00:00.023) 0:00:40.886 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-md.yml:30 Thursday 21 July 2022 08:16:02 +0000 (0:00:00.023) 0:00:40.909 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmp8lr32tv2/tests/verify-pool-md.yml:36 Thursday 21 July 2022 08:16:02 +0000 (0:00:00.023) 0:00:40.933 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-md.yml:44 Thursday 21 July 2022 08:16:02 +0000 (0:00:00.023) 0:00:40.957 ********* ok: [/cache/centos-7.qcow2c.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/tmp8lr32tv2/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 08:16:02 +0000 (0:00:00.035) 0:00:40.993 ********* included: /tmp/tmp8lr32tv2/tests/verify-pool-members-lvmraid.yml for /cache/centos-7.qcow2c.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 08:16:02 +0000 (0:00:00.042) 0:00:41.036 ********* TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 08:16:02 +0000 (0:00:00.021) 0:00:41.057 ********* included: /tmp/tmp8lr32tv2/tests/verify-pool-members-thin.yml for /cache/centos-7.qcow2c.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 08:16:02 +0000 (0:00:00.042) 0:00:41.099 ********* TASK [Check member encryption] ************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 08:16:02 +0000 (0:00:00.021) 0:00:41.121 ********* included: /tmp/tmp8lr32tv2/tests/verify-pool-members-encryption.yml for /cache/centos-7.qcow2c.snap TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 08:16:02 +0000 (0:00:00.045) 0:00:41.166 ********* ok: [/cache/centos-7.qcow2c.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/tmp8lr32tv2/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 08:16:02 +0000 (0:00:00.053) 0:00:41.220 ********* TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 08:16:02 +0000 (0:00:00.021) 0:00:41.242 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 08:16:02 +0000 (0:00:00.020) 0:00:41.262 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 08:16:02 +0000 (0:00:00.033) 0:00:41.296 ********* included: /tmp/tmp8lr32tv2/tests/verify-pool-members-vdo.yml for /cache/centos-7.qcow2c.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 08:16:02 +0000 (0:00:00.047) 0:00:41.343 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 08:16:02 +0000 (0:00:00.020) 0:00:41.364 ********* ok: [/cache/centos-7.qcow2c.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/tmp8lr32tv2/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 08:16:02 +0000 (0:00:00.093) 0:00:41.458 ********* TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:43 Thursday 21 July 2022 08:16:02 +0000 (0:00:00.022) 0:00:41.480 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:53 Thursday 21 July 2022 08:16:02 +0000 (0:00:00.020) 0:00:41.500 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-7.qcow2c.snap : ok=250 changed=3 unreachable=0 failed=0 skipped=197 rescued=0 ignored=0 Thursday 21 July 2022 08:16:03 +0000 (0:00:00.045) 0:00:41.546 ********* =============================================================================== linux-system-roles.storage : manage the pools and volumes to match the specified state --- 2.12s /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 1.72s /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 1.68s /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Collect info about the volumes. ----------------------------------------- 1.45s /tmp/tmp8lr32tv2/tests/verify-role-results.yml:14 ----------------------------- Gathering Facts --------------------------------------------------------- 1.15s /tmp/tmp8lr32tv2/tests/tests_existing_lvm_pool_nvme_generated.yml:3 ----------- linux-system-roles.storage : get service facts -------------------------- 1.11s /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 linux-system-roles.storage : make sure blivet is available -------------- 0.95s /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 linux-system-roles.storage : Update facts ------------------------------- 0.89s /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 linux-system-roles.storage : Update facts ------------------------------- 0.88s /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 linux-system-roles.storage : Update facts ------------------------------- 0.85s /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Gathering Facts --------------------------------------------------------- 0.81s /tmp/tmp8lr32tv2/tests/tests_existing_lvm_pool.yml:2 -------------------------- linux-system-roles.storage : Update facts ------------------------------- 0.80s /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 linux-system-roles.storage : get required packages ---------------------- 0.62s /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Ensure cryptsetup is present -------------------------------------------- 0.53s /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:10 ------------------- linux-system-roles.storage : make sure required packages are installed --- 0.53s /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Ensure cryptsetup is present -------------------------------------------- 0.49s /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:10 ------------------- linux-system-roles.storage : manage the pools and volumes to match the specified state --- 0.47s /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Read the /etc/fstab file for volume existence --------------------------- 0.44s /tmp/tmp8lr32tv2/tests/verify-role-results.yml:19 ----------------------------- Find unused disks in the system ----------------------------------------- 0.44s /tmp/tmp8lr32tv2/tests/get_unused_disk.yml:2 ---------------------------------- linux-system-roles.storage : retrieve facts for the /etc/crypttab file --- 0.43s /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 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/tmphvsi2pl0 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_existing_lvm_pool_nvme_generated.yml *************************** 2 plays in /tmp/tmptuh8_vrz/tests/storage/tests_existing_lvm_pool_nvme_generated.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/tests_existing_lvm_pool_nvme_generated.yml:3 Thursday 21 July 2022 11:06:06 +0000 (0:00:00.012) 0:00:00.012 ********* ok: [/cache/centos-7.qcow2c.snap] META: ran handlers TASK [set disk interface for test] ********************************************* task path: /tmp/tmptuh8_vrz/tests/storage/tests_existing_lvm_pool_nvme_generated.yml:7 Thursday 21 July 2022 11:06:07 +0000 (0:00:01.188) 0:00:01.201 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_use_interface": "nvme" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/tests_existing_lvm_pool.yml:2 Thursday 21 July 2022 11:06:07 +0000 (0:00:00.085) 0:00:01.287 ********* ok: [/cache/centos-7.qcow2c.snap] META: ran handlers TASK [include_role : fedora.linux_system_roles.storage] ************************ task path: /tmp/tmptuh8_vrz/tests/storage/tests_existing_lvm_pool.yml:13 Thursday 21 July 2022 11:06:08 +0000 (0:00:00.819) 0:00:02.107 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 11:06:08 +0000 (0:00:00.039) 0:00:02.146 ********* included: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 11:06:08 +0000 (0:00:00.032) 0:00:02.178 ********* ok: [/cache/centos-7.qcow2c.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 11:06:08 +0000 (0:00:00.406) 0:00:02.584 ********* skipping: [/cache/centos-7.qcow2c.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-7.qcow2c.snap] => (item=CentOS_7.yml) => { "ansible_facts": { "__storage_blivet_diskvolume_mkfs_option_map": { "ext2": "-F", "ext3": "-F", "ext4": "-F" }, "blivet_package_list": [ "python-enum34", "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [/cache/centos-7.qcow2c.snap] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 11:06:09 +0000 (0:00:00.054) 0:00:02.638 ********* ok: [/cache/centos-7.qcow2c.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/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 11:06:09 +0000 (0:00:00.033) 0:00:02.672 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 11:06:09 +0000 (0:00:00.031) 0:00:02.704 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 11:06:09 +0000 (0:00:00.067) 0:00:02.771 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 11:06:09 +0000 (0:00:00.019) 0:00:02.791 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "python-enum34-1.0.4-1.el7.noarch providing python-enum34 is already installed", "1:python2-blivet3-3.1.3-3.el7.noarch providing python-blivet3 is already installed", "libblockdev-crypto-2.18-5.el7.x86_64 providing libblockdev-crypto is already installed", "libblockdev-dm-2.18-5.el7.x86_64 providing libblockdev-dm is already installed", "libblockdev-lvm-2.18-5.el7.x86_64 providing libblockdev-lvm is already installed", "libblockdev-mdraid-2.18-5.el7.x86_64 providing libblockdev-mdraid is already installed", "libblockdev-swap-2.18-5.el7.x86_64 providing libblockdev-swap is already installed" ] } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 11:06:10 +0000 (0:00:00.986) 0:00:03.777 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 11:06:10 +0000 (0:00:00.035) 0:00:03.812 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 11:06:10 +0000 (0:00:00.060) 0:00:03.873 ********* ok: [/cache/centos-7.qcow2c.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 11:06:10 +0000 (0:00:00.646) 0:00:04.520 ********* included: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.storage : check if the COPR support packages should be installed] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:2 Thursday 21 July 2022 11:06:10 +0000 (0:00:00.050) 0:00:04.570 ********* TASK [fedora.linux_system_roles.storage : make sure COPR support packages are present] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:13 Thursday 21 July 2022 11:06:10 +0000 (0:00:00.039) 0:00:04.609 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable COPRs] ************************ task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:18 Thursday 21 July 2022 11:06:11 +0000 (0:00:00.037) 0:00:04.647 ********* TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 11:06:11 +0000 (0:00:00.031) 0:00:04.678 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [] } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 11:06:11 +0000 (0:00:00.553) 0:00:05.231 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "services": { "NetworkManager-wait-online.service": { "name": "NetworkManager-wait-online.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "NetworkManager.service": { "name": "NetworkManager.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "arp-ethers.service": { "name": "arp-ethers.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "auditd.service": { "name": "auditd.service", "source": "systemd", "state": "running", "status": "enabled" }, "auth-rpcgss-module.service": { "name": "auth-rpcgss-module.service", "source": "systemd", "state": "stopped", "status": "static" }, "autovt@.service": { "name": "autovt@.service", "source": "systemd", "state": "unknown", "status": "enabled" }, "blivet.service": { "name": "blivet.service", "source": "systemd", "state": "inactive", "status": "static" }, "blk-availability.service": { "name": "blk-availability.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "brandbot.service": { "name": "brandbot.service", "source": "systemd", "state": "inactive", "status": "static" }, "chrony-dnssrv@.service": { "name": "chrony-dnssrv@.service", "source": "systemd", "state": "unknown", "status": "static" }, "chrony-wait.service": { "name": "chrony-wait.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "chronyd.service": { "name": "chronyd.service", "source": "systemd", "state": "running", "status": "enabled" }, "cloud-config.service": { "name": "cloud-config.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-final.service": { "name": "cloud-final.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init-local.service": { "name": "cloud-init-local.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init.service": { "name": "cloud-init.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "console-getty.service": { "name": "console-getty.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "console-shell.service": { "name": "console-shell.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "container-getty@.service": { "name": "container-getty@.service", "source": "systemd", "state": "unknown", "status": "static" }, "cpupower.service": { "name": "cpupower.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "crond.service": { "name": "crond.service", "source": "systemd", "state": "running", "status": "enabled" }, "dbus-org.freedesktop.hostname1.service": { "name": "dbus-org.freedesktop.hostname1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.import1.service": { "name": "dbus-org.freedesktop.import1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.locale1.service": { "name": "dbus-org.freedesktop.locale1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.login1.service": { "name": "dbus-org.freedesktop.login1.service", "source": "systemd", "state": "active", "status": "static" }, "dbus-org.freedesktop.machine1.service": { "name": "dbus-org.freedesktop.machine1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.timedate1.service": { "name": "dbus-org.freedesktop.timedate1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus.service": { "name": "dbus.service", "source": "systemd", "state": "running", "status": "static" }, "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" }, "dmraid-activation.service": { "name": "dmraid-activation.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "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" }, "exim.service": { "name": "exim.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" }, "gssproxy.service": { "name": "gssproxy.service", "source": "systemd", "state": "running", "status": "disabled" }, "halt-local.service": { "name": "halt-local.service", "source": "systemd", "state": "inactive", "status": "static" }, "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" }, "ip6tables.service": { "name": "ip6tables.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "iptables.service": { "name": "iptables.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "irqbalance.service": { "name": "irqbalance.service", "source": "systemd", "state": "running", "status": "enabled" }, "kdump.service": { "name": "kdump.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "kmod-static-nodes.service": { "name": "kmod-static-nodes.service", "source": "systemd", "state": "stopped", "status": "static" }, "lvm2-activation-early.service": { "name": "lvm2-activation-early.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "lvm2-activation.service": { "name": "lvm2-activation.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "lvm2-lvmetad.service": { "name": "lvm2-lvmetad.service", "source": "systemd", "state": "running", "status": "static" }, "lvm2-lvmpolld.service": { "name": "lvm2-lvmpolld.service", "source": "systemd", "state": "stopped", "status": "static" }, "lvm2-monitor.service": { "name": "lvm2-monitor.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "lvm2-pvscan@.service": { "name": "lvm2-pvscan@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdadm-grow-continue@.service": { "name": "mdadm-grow-continue@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdadm-last-resort@.service": { "name": "mdadm-last-resort@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdcheck_continue.service": { "name": "mdcheck_continue.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdcheck_start.service": { "name": "mdcheck_start.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdmon@.service": { "name": "mdmon@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdmonitor-oneshot.service": { "name": "mdmonitor-oneshot.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdmonitor.service": { "name": "mdmonitor.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "messagebus.service": { "name": "messagebus.service", "source": "systemd", "state": "active", "status": "static" }, "microcode.service": { "name": "microcode.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "netconsole": { "name": "netconsole", "source": "sysv", "state": "stopped", "status": "disabled" }, "network": { "name": "network", "source": "sysv", "state": "running", "status": "enabled" }, "network.service": { "name": "network.service", "source": "systemd", "state": "running", "status": "active" }, "nfs-blkmap.service": { "name": "nfs-blkmap.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfs-config.service": { "name": "nfs-config.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-idmap.service": { "name": "nfs-idmap.service", "source": "systemd", "state": "inactive", "status": "static" }, "nfs-idmapd.service": { "name": "nfs-idmapd.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-lock.service": { "name": "nfs-lock.service", "source": "systemd", "state": "inactive", "status": "static" }, "nfs-mountd.service": { "name": "nfs-mountd.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-rquotad.service": { "name": "nfs-rquotad.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfs-secure-server.service": { "name": "nfs-secure-server.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "nfs-secure.service": { "name": "nfs-secure.service", "source": "systemd", "state": "inactive", "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" }, "nfs.service": { "name": "nfs.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfslock.service": { "name": "nfslock.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" }, "plymouth-quit-wait.service": { "name": "plymouth-quit-wait.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "plymouth-start.service": { "name": "plymouth-start.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "polkit.service": { "name": "polkit.service", "source": "systemd", "state": "running", "status": "static" }, "postfix.service": { "name": "postfix.service", "source": "systemd", "state": "running", "status": "enabled" }, "qemu-guest-agent.service": { "name": "qemu-guest-agent.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "quotaon.service": { "name": "quotaon.service", "source": "systemd", "state": "inactive", "status": "static" }, "rc-local.service": { "name": "rc-local.service", "source": "systemd", "state": "stopped", "status": "static" }, "rdisc.service": { "name": "rdisc.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rescue.service": { "name": "rescue.service", "source": "systemd", "state": "stopped", "status": "static" }, "rhel-autorelabel-mark.service": { "name": "rhel-autorelabel-mark.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-autorelabel.service": { "name": "rhel-autorelabel.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-configure.service": { "name": "rhel-configure.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-dmesg.service": { "name": "rhel-dmesg.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-domainname.service": { "name": "rhel-domainname.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-import-state.service": { "name": "rhel-import-state.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-loadmodules.service": { "name": "rhel-loadmodules.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-readonly.service": { "name": "rhel-readonly.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rpc-gssd.service": { "name": "rpc-gssd.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-rquotad.service": { "name": "rpc-rquotad.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rpc-statd-notify.service": { "name": "rpc-statd-notify.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-statd.service": { "name": "rpc-statd.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpcbind.service": { "name": "rpcbind.service", "source": "systemd", "state": "running", "status": "enabled" }, "rpcgssd.service": { "name": "rpcgssd.service", "source": "systemd", "state": "inactive", "status": "static" }, "rpcidmapd.service": { "name": "rpcidmapd.service", "source": "systemd", "state": "inactive", "status": "static" }, "rsyncd.service": { "name": "rsyncd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rsyncd@.service": { "name": "rsyncd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "rsyslog.service": { "name": "rsyslog.service", "source": "systemd", "state": "running", "status": "enabled" }, "selinux-policy-migrate-local-changes@.service": { "name": "selinux-policy-migrate-local-changes@.service", "source": "systemd", "state": "unknown", "status": "static" }, "selinux-policy-migrate-local-changes@targeted.service": { "name": "selinux-policy-migrate-local-changes@targeted.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sendmail.service": { "name": "sendmail.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "serial-getty@.service": { "name": "serial-getty@.service", "source": "systemd", "state": "unknown", "status": "disabled" }, "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": "static" }, "sshd.service": { "name": "sshd.service", "source": "systemd", "state": "running", "status": "enabled" }, "sshd@.service": { "name": "sshd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "syslog.service": { "name": "syslog.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "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-bootchart.service": { "name": "systemd-bootchart.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "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": "inactive", "status": "static" }, "systemd-hwdb-update.service": { "name": "systemd-hwdb-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-hybrid-sleep.service": { "name": "systemd-hybrid-sleep.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-importd.service": { "name": "systemd-importd.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-initctl.service": { "name": "systemd-initctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-catalog-update.service": { "name": "systemd-journal-catalog-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-flush.service": { "name": "systemd-journal-flush.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journald.service": { "name": "systemd-journald.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-kexec.service": { "name": "systemd-kexec.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-localed.service": { "name": "systemd-localed.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-logind.service": { "name": "systemd-logind.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-machine-id-commit.service": { "name": "systemd-machine-id-commit.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-machined.service": { "name": "systemd-machined.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-modules-load.service": { "name": "systemd-modules-load.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-nspawn@.service": { "name": "systemd-nspawn@.service", "source": "systemd", "state": "unknown", "status": "disabled" }, "systemd-poweroff.service": { "name": "systemd-poweroff.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-quotacheck.service": { "name": "systemd-quotacheck.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-random-seed.service": { "name": "systemd-random-seed.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-readahead-collect.service": { "name": "systemd-readahead-collect.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "systemd-readahead-done.service": { "name": "systemd-readahead-done.service", "source": "systemd", "state": "stopped", "status": "indirect" }, "systemd-readahead-drop.service": { "name": "systemd-readahead-drop.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "systemd-readahead-replay.service": { "name": "systemd-readahead-replay.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "systemd-reboot.service": { "name": "systemd-reboot.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-remount-fs.service": { "name": "systemd-remount-fs.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-rfkill@.service": { "name": "systemd-rfkill@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-shutdownd.service": { "name": "systemd-shutdownd.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-suspend.service": { "name": "systemd-suspend.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-sysctl.service": { "name": "systemd-sysctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-sysusers.service": { "name": "systemd-sysusers.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "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" }, "teamd@.service": { "name": "teamd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "tuned.service": { "name": "tuned.service", "source": "systemd", "state": "running", "status": "enabled" }, "wpa_supplicant.service": { "name": "wpa_supplicant.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "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/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 11:06:12 +0000 (0:00:01.114) 0:00:06.346 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 11:06:12 +0000 (0:00:00.120) 0:00:06.466 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 11:06:12 +0000 (0:00:00.022) 0:00:06.489 ********* ok: [/cache/centos-7.qcow2c.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/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 11:06:13 +0000 (0:00:00.468) 0:00:06.958 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 11:06:13 +0000 (0:00:00.037) 0:00:06.995 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 11:06:13 +0000 (0:00:00.021) 0:00:07.017 ********* ok: [/cache/centos-7.qcow2c.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/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 11:06:13 +0000 (0:00:00.037) 0:00:07.055 ********* ok: [/cache/centos-7.qcow2c.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/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 11:06:13 +0000 (0:00:00.037) 0:00:07.092 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 11:06:13 +0000 (0:00:00.035) 0:00:07.128 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 11:06:13 +0000 (0:00:00.033) 0:00:07.161 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 11:06:13 +0000 (0:00:00.024) 0:00:07.186 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 11:06:13 +0000 (0:00:00.033) 0:00:07.219 ********* skipping: [/cache/centos-7.qcow2c.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/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 11:06:13 +0000 (0:00:00.022) 0:00:07.241 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658387401.739742, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1636891012.8990273, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 70, "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": 1636890761.4177752, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "18446744071719764763", "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/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 11:06:14 +0000 (0:00:00.446) 0:00:07.688 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 11:06:14 +0000 (0:00:00.021) 0:00:07.710 ********* ok: [/cache/centos-7.qcow2c.snap] META: role_complete for /cache/centos-7.qcow2c.snap TASK [Mark tasks to be skipped] ************************************************ task path: /tmp/tmptuh8_vrz/tests/storage/tests_existing_lvm_pool.yml:16 Thursday 21 July 2022 11:06:14 +0000 (0:00:00.839) 0:00:08.549 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_skip_checks": [ "blivet_available", "packages_installed", "service_facts" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/tests_existing_lvm_pool.yml:23 Thursday 21 July 2022 11:06:14 +0000 (0:00:00.031) 0:00:08.581 ********* included: /tmp/tmptuh8_vrz/tests/storage/get_unused_disk.yml for /cache/centos-7.qcow2c.snap TASK [Find unused disks in the system] ***************************************** task path: /tmp/tmptuh8_vrz/tests/storage/get_unused_disk.yml:2 Thursday 21 July 2022 11:06:14 +0000 (0:00:00.036) 0:00:08.617 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "disks": [ "nvme1n1" ] } TASK [Set unused_disks if necessary] ******************************************* task path: /tmp/tmptuh8_vrz/tests/storage/get_unused_disk.yml:9 Thursday 21 July 2022 11:06:15 +0000 (0:00:00.460) 0:00:09.078 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "unused_disks": [ "nvme1n1" ] }, "changed": false } TASK [Exit playbook when there's not enough unused disks in the system] ******** task path: /tmp/tmptuh8_vrz/tests/storage/get_unused_disk.yml:14 Thursday 21 July 2022 11:06:15 +0000 (0:00:00.063) 0:00:09.142 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Print unused disks] ****************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/get_unused_disk.yml:19 Thursday 21 July 2022 11:06:15 +0000 (0:00:00.039) 0:00:09.182 ********* ok: [/cache/centos-7.qcow2c.snap] => { "unused_disks": [ "nvme1n1" ] } TASK [Create one LVM logical volume under one volume group] ******************** task path: /tmp/tmptuh8_vrz/tests/storage/tests_existing_lvm_pool.yml:28 Thursday 21 July 2022 11:06:15 +0000 (0:00:00.063) 0:00:09.245 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 11:06:15 +0000 (0:00:00.064) 0:00:09.310 ********* included: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 11:06:15 +0000 (0:00:00.034) 0:00:09.344 ********* ok: [/cache/centos-7.qcow2c.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 11:06:16 +0000 (0:00:00.408) 0:00:09.753 ********* skipping: [/cache/centos-7.qcow2c.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-7.qcow2c.snap] => (item=CentOS_7.yml) => { "ansible_facts": { "__storage_blivet_diskvolume_mkfs_option_map": { "ext2": "-F", "ext3": "-F", "ext4": "-F" }, "blivet_package_list": [ "python-enum34", "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [/cache/centos-7.qcow2c.snap] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 11:06:16 +0000 (0:00:00.060) 0:00:09.813 ********* ok: [/cache/centos-7.qcow2c.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/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 11:06:16 +0000 (0:00:00.036) 0:00:09.849 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 11:06:16 +0000 (0:00:00.036) 0:00:09.886 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 11:06:16 +0000 (0:00:00.055) 0:00:09.942 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 11:06:16 +0000 (0:00:00.021) 0:00:09.963 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 11:06:16 +0000 (0:00:00.026) 0:00:09.990 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_pools": [ { "disks": [ "nvme1n1" ], "name": "foo", "volumes": [ { "name": "test1", "size": "4g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 11:06:16 +0000 (0:00:00.038) 0:00:10.029 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 11:06:16 +0000 (0:00:00.036) 0:00:10.065 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 11:06:16 +0000 (0:00:00.027) 0:00:10.093 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 11:06:16 +0000 (0:00:00.026) 0:00:10.119 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 11:06:16 +0000 (0:00:00.026) 0:00:10.146 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 11:06:16 +0000 (0:00:00.028) 0:00:10.174 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 11:06:16 +0000 (0:00:00.058) 0:00:10.233 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 11:06:16 +0000 (0:00:00.020) 0:00:10.253 ********* changed: [/cache/centos-7.qcow2c.snap] => { "actions": [ { "action": "create format", "device": "/dev/nvme1n1", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/mapper/foo-test1" ], "mounts": [], "packages": [ "xfsprogs", "e2fsprogs", "lvm2" ], "pools": [ { "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "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/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 11:06:18 +0000 (0:00:01.710) 0:00:11.964 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 11:06:18 +0000 (0:00:00.038) 0:00:12.002 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 11:06:18 +0000 (0:00:00.022) 0:00:12.024 ********* ok: [/cache/centos-7.qcow2c.snap] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/nvme1n1", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/mapper/foo-test1" ], "mounts": [], "packages": [ "xfsprogs", "e2fsprogs", "lvm2" ], "pools": [ { "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "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/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 11:06:18 +0000 (0:00:00.068) 0:00:12.092 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "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/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 11:06:18 +0000 (0:00:00.069) 0:00:12.162 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 11:06:18 +0000 (0:00:00.035) 0:00:12.198 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 11:06:18 +0000 (0:00:00.033) 0:00:12.231 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 11:06:18 +0000 (0:00:00.026) 0:00:12.258 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 11:06:18 +0000 (0:00:00.033) 0:00:12.291 ********* skipping: [/cache/centos-7.qcow2c.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/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 11:06:18 +0000 (0:00:00.022) 0:00:12.313 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658387401.739742, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1636891012.8990273, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 70, "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": 1636890761.4177752, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "18446744071719764763", "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/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 11:06:19 +0000 (0:00:00.312) 0:00:12.626 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 11:06:19 +0000 (0:00:00.032) 0:00:12.659 ********* ok: [/cache/centos-7.qcow2c.snap] META: role_complete for /cache/centos-7.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/tests_existing_lvm_pool.yml:39 Thursday 21 July 2022 11:06:20 +0000 (0:00:01.845) 0:00:14.504 ********* included: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml for /cache/centos-7.qcow2c.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 11:06:20 +0000 (0:00:00.039) 0:00:14.544 ********* ok: [/cache/centos-7.qcow2c.snap] => { "_storage_pools_list": [ { "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "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/tmptuh8_vrz/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 11:06:20 +0000 (0:00:00.046) 0:00:14.590 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 11:06:21 +0000 (0:00:00.036) 0:00:14.626 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "info": { "/dev/fd0": { "fstype": "", "label": "", "name": "/dev/fd0", "size": "4K", "type": "disk", "uuid": "" }, "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test1", "size": "4G", "type": "lvm", "uuid": "2f3639c6-e01a-4ddd-89cf-c88bc224cc2f" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "LVM2_member", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "0haSTM-tn8X-1GN3-2aKF-Saei-DoiV-F93feD" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-11-05-52-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "8G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "8G", "type": "partition", "uuid": "44a6a613-4e21-478b-a909-ab653c9d39df" }, "/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": "2da05b4a-241b-41c7-8682-b45e897f20c8" }, "/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": "26263f70-8842-4a7d-8801-475e770ba4a8" }, "/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/tmptuh8_vrz/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 11:06:21 +0000 (0:00:00.435) 0:00:15.062 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003559", "end": "2022-07-21 11:06:21.527143", "rc": 0, "start": "2022-07-21 11:06:21.523584" } STDOUT: # # /etc/fstab # Created by anaconda on Sun Nov 14 11:52:41 2021 # # 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 # UUID=44a6a613-4e21-478b-a909-ab653c9d39df / xfs defaults 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,comment=cloudconfig 0 2 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 11:06:21 +0000 (0:00:00.430) 0:00:15.493 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003337", "end": "2022-07-21 11:06:21.834771", "failed_when_result": false, "rc": 0, "start": "2022-07-21 11:06:21.831434" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 11:06:22 +0000 (0:00:00.308) 0:00:15.802 ********* included: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool.yml for /cache/centos-7.qcow2c.snap => (item={'name': 'foo', 'encryption_password': None, 'state': 'present', 'raid_metadata_version': None, 'encryption': False, 'encryption_key_size': None, 'disks': ['nvme1n1'], 'raid_level': None, 'encryption_luks_version': None, 'raid_device_count': None, 'encryption_key': None, 'volumes': [{'_raw_device': '/dev/mapper/foo-test1', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/foo-test1', 'size': '4g', 'mount_point': '', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-0', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'test1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/foo-test1', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-0', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': [], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}], 'raid_chunk_size': None, 'type': 'lvm', 'encryption_cipher': None, 'raid_spare_count': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 11:06:22 +0000 (0:00:00.059) 0:00:15.861 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 11:06:22 +0000 (0:00:00.067) 0:00:15.929 ********* included: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml for /cache/centos-7.qcow2c.snap => (item=members) included: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-volumes.yml for /cache/centos-7.qcow2c.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 11:06:22 +0000 (0:00:00.072) 0:00:16.002 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/nvme1n1" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 11:06:22 +0000 (0:00:00.054) 0:00:16.056 ********* ok: [/cache/centos-7.qcow2c.snap] => (item=/dev/nvme1n1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/nvme1n1", "pv": "/dev/nvme1n1" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 11:06:22 +0000 (0:00:00.384) 0:00:16.441 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 11:06:22 +0000 (0:00:00.049) 0:00:16.491 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/nvme1n1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 11:06:22 +0000 (0:00:00.048) 0:00:16.539 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 11:06:22 +0000 (0:00:00.045) 0:00:16.585 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 11:06:22 +0000 (0:00:00.033) 0:00:16.618 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 11:06:23 +0000 (0:00:00.049) 0:00:16.668 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 11:06:23 +0000 (0:00:00.023) 0:00:16.692 ********* ok: [/cache/centos-7.qcow2c.snap] => (item=/dev/nvme1n1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/nvme1n1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 11:06:23 +0000 (0:00:00.040) 0:00:16.732 ********* included: /tmp/tmptuh8_vrz/tests/storage/verify-pool-md.yml for /cache/centos-7.qcow2c.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 11:06:23 +0000 (0:00:00.040) 0:00:16.772 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 11:06:23 +0000 (0:00:00.022) 0:00:16.794 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 11:06:23 +0000 (0:00:00.020) 0:00:16.815 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 11:06:23 +0000 (0:00:00.020) 0:00:16.836 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 11:06:23 +0000 (0:00:00.020) 0:00:16.857 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 11:06:23 +0000 (0:00:00.021) 0:00:16.879 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 11:06:23 +0000 (0:00:00.020) 0:00:16.900 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 11:06:23 +0000 (0:00:00.025) 0:00:16.925 ********* ok: [/cache/centos-7.qcow2c.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/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 11:06:23 +0000 (0:00:00.034) 0:00:16.959 ********* included: /tmp/tmptuh8_vrz/tests/storage/verify-pool-members-lvmraid.yml for /cache/centos-7.qcow2c.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 11:06:23 +0000 (0:00:00.053) 0:00:17.013 ********* included: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-lvmraid.yml for /cache/centos-7.qcow2c.snap => (item={'_raw_device': '/dev/mapper/foo-test1', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/foo-test1', 'size': '4g', 'mount_point': '', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-0', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'test1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/foo-test1', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-0', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': [], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 11:06:23 +0000 (0:00:00.048) 0:00:17.061 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 11:06:23 +0000 (0:00:00.029) 0:00:17.091 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 11:06:23 +0000 (0:00:00.027) 0:00:17.119 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 11:06:23 +0000 (0:00:00.025) 0:00:17.144 ********* included: /tmp/tmptuh8_vrz/tests/storage/verify-pool-members-thin.yml for /cache/centos-7.qcow2c.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 11:06:23 +0000 (0:00:00.044) 0:00:17.189 ********* included: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-thin.yml for /cache/centos-7.qcow2c.snap => (item={'_raw_device': '/dev/mapper/foo-test1', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/foo-test1', 'size': '4g', 'mount_point': '', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-0', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'test1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/foo-test1', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-0', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': [], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 11:06:23 +0000 (0:00:00.040) 0:00:17.229 ********* skipping: [/cache/centos-7.qcow2c.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/tmptuh8_vrz/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 11:06:23 +0000 (0:00:00.025) 0:00:17.255 ********* skipping: [/cache/centos-7.qcow2c.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/tmptuh8_vrz/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 11:06:23 +0000 (0:00:00.025) 0:00:17.280 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 11:06:23 +0000 (0:00:00.024) 0:00:17.304 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 11:06:23 +0000 (0:00:00.023) 0:00:17.328 ********* included: /tmp/tmptuh8_vrz/tests/storage/verify-pool-members-encryption.yml for /cache/centos-7.qcow2c.snap TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 11:06:23 +0000 (0:00:00.085) 0:00:17.414 ********* ok: [/cache/centos-7.qcow2c.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/tmptuh8_vrz/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 11:06:23 +0000 (0:00:00.049) 0:00:17.463 ********* skipping: [/cache/centos-7.qcow2c.snap] => (item=/dev/nvme1n1) => { "_storage_test_pool_member_path": "/dev/nvme1n1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 11:06:23 +0000 (0:00:00.028) 0:00:17.492 ********* included: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-crypttab.yml for /cache/centos-7.qcow2c.snap => (item=/dev/nvme1n1) TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 11:06:23 +0000 (0:00:00.044) 0:00:17.536 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-crypttab.yml:4 Thursday 21 July 2022 11:06:23 +0000 (0:00:00.048) 0:00:17.584 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-crypttab.yml:9 Thursday 21 July 2022 11:06:24 +0000 (0:00:00.049) 0:00:17.634 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-crypttab.yml:15 Thursday 21 July 2022 11:06:24 +0000 (0:00:00.036) 0:00:17.670 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-crypttab.yml:21 Thursday 21 July 2022 11:06:24 +0000 (0:00:00.033) 0:00:17.703 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 11:06:24 +0000 (0:00:00.033) 0:00:17.736 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 11:06:24 +0000 (0:00:00.033) 0:00:17.770 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 11:06:24 +0000 (0:00:00.030) 0:00:17.800 ********* included: /tmp/tmptuh8_vrz/tests/storage/verify-pool-members-vdo.yml for /cache/centos-7.qcow2c.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 11:06:24 +0000 (0:00:00.046) 0:00:17.847 ********* included: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-vdo.yml for /cache/centos-7.qcow2c.snap => (item={'_raw_device': '/dev/mapper/foo-test1', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/foo-test1', 'size': '4g', 'mount_point': '', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-0', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'test1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/foo-test1', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-0', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': [], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 11:06:24 +0000 (0:00:00.048) 0:00:17.896 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 11:06:24 +0000 (0:00:00.023) 0:00:17.920 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 11:06:24 +0000 (0:00:00.023) 0:00:17.944 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 11:06:24 +0000 (0:00:00.022) 0:00:17.966 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 11:06:24 +0000 (0:00:00.022) 0:00:17.988 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 11:06:24 +0000 (0:00:00.024) 0:00:18.013 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 11:06:24 +0000 (0:00:00.023) 0:00:18.036 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 11:06:24 +0000 (0:00:00.024) 0:00:18.060 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 11:06:24 +0000 (0:00:00.031) 0:00:18.092 ********* ok: [/cache/centos-7.qcow2c.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/tmptuh8_vrz/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 11:06:24 +0000 (0:00:00.035) 0:00:18.128 ********* included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume.yml for /cache/centos-7.qcow2c.snap => (item={'_raw_device': '/dev/mapper/foo-test1', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/foo-test1', 'size': '4g', 'mount_point': '', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-0', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'test1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/foo-test1', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-0', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': [], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 11:06:24 +0000 (0:00:00.042) 0:00:18.171 ********* ok: [/cache/centos-7.qcow2c.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/tmptuh8_vrz/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 11:06:24 +0000 (0:00:00.049) 0:00:18.220 ********* included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml for /cache/centos-7.qcow2c.snap => (item=mount) included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-fstab.yml for /cache/centos-7.qcow2c.snap => (item=fstab) included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-fs.yml for /cache/centos-7.qcow2c.snap => (item=fs) included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-device.yml for /cache/centos-7.qcow2c.snap => (item=device) included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml for /cache/centos-7.qcow2c.snap => (item=encryption) included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-md.yml for /cache/centos-7.qcow2c.snap => (item=md) included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml for /cache/centos-7.qcow2c.snap => (item=size) included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml for /cache/centos-7.qcow2c.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 11:06:24 +0000 (0:00:00.085) 0:00:18.306 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 11:06:24 +0000 (0:00:00.039) 0:00:18.345 ********* ok: [/cache/centos-7.qcow2c.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/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 11:06:24 +0000 (0:00:00.056) 0:00:18.401 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 11:06:24 +0000 (0:00:00.024) 0:00:18.426 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 11:06:24 +0000 (0:00:00.051) 0:00:18.477 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 11:06:24 +0000 (0:00:00.036) 0:00:18.513 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 11:06:24 +0000 (0:00:00.024) 0:00:18.537 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 11:06:24 +0000 (0:00:00.024) 0:00:18.562 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 11:06:24 +0000 (0:00:00.054) 0:00:18.616 ********* ok: [/cache/centos-7.qcow2c.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/tmptuh8_vrz/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 11:06:25 +0000 (0:00:00.034) 0:00:18.651 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "1", "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/tmptuh8_vrz/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 11:06:25 +0000 (0:00:00.062) 0:00:18.713 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 11:06:25 +0000 (0:00:00.048) 0:00:18.761 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 11:06:25 +0000 (0:00:00.046) 0:00:18.808 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 11:06:25 +0000 (0:00:00.044) 0:00:18.852 ********* ok: [/cache/centos-7.qcow2c.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/tmptuh8_vrz/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 11:06:25 +0000 (0:00:00.034) 0:00:18.887 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 11:06:25 +0000 (0:00:00.039) 0:00:18.926 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 11:06:25 +0000 (0:00:00.043) 0:00:18.970 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658401577.9573672, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658401577.9573672, "dev": 5, "device_type": 64512, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 24463, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658401577.9573672, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 11:06:25 +0000 (0:00:00.306) 0:00:19.277 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 11:06:25 +0000 (0:00:00.040) 0:00:19.317 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 11:06:25 +0000 (0:00:00.040) 0:00:19.358 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 11:06:25 +0000 (0:00:00.032) 0:00:19.391 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 11:06:25 +0000 (0:00:00.021) 0:00:19.413 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 11:06:25 +0000 (0:00:00.036) 0:00:19.449 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 11:06:25 +0000 (0:00:00.026) 0:00:19.475 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "cryptsetup-2.0.3-6.el7.x86_64 providing cryptsetup is already installed" ] } TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 11:06:26 +0000 (0:00:00.545) 0:00:20.021 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 11:06:26 +0000 (0:00:00.023) 0:00:20.044 ********* skipping: [/cache/centos-7.qcow2c.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/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 11:06:26 +0000 (0:00:00.021) 0:00:20.065 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 11:06:26 +0000 (0:00:00.047) 0:00:20.113 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 11:06:26 +0000 (0:00:00.021) 0:00:20.135 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 11:06:26 +0000 (0:00:00.023) 0:00:20.159 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 11:06:26 +0000 (0:00:00.021) 0:00:20.181 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 11:06:26 +0000 (0:00:00.021) 0:00:20.202 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 11:06:26 +0000 (0:00:00.022) 0:00:20.224 ********* ok: [/cache/centos-7.qcow2c.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/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 11:06:26 +0000 (0:00:00.049) 0:00:20.273 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 11:06:26 +0000 (0:00:00.047) 0:00:20.321 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 11:06:26 +0000 (0:00:00.032) 0:00:20.354 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 11:06:26 +0000 (0:00:00.034) 0:00:20.389 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 11:06:26 +0000 (0:00:00.031) 0:00:20.421 ********* ok: [/cache/centos-7.qcow2c.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/tmptuh8_vrz/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 11:06:26 +0000 (0:00:00.070) 0:00:20.491 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 11:06:26 +0000 (0:00:00.066) 0:00:20.558 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 11:06:26 +0000 (0:00:00.034) 0:00:20.593 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 11:06:27 +0000 (0:00:00.033) 0:00:20.626 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 11:06:27 +0000 (0:00:00.033) 0:00:20.659 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 11:06:27 +0000 (0:00:00.035) 0:00:20.695 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 11:06:27 +0000 (0:00:00.033) 0:00:20.728 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 11:06:27 +0000 (0:00:00.034) 0:00:20.763 ********* ok: [/cache/centos-7.qcow2c.snap] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 11:06:27 +0000 (0:00:00.402) 0:00:21.165 ********* ok: [/cache/centos-7.qcow2c.snap] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 11:06:27 +0000 (0:00:00.328) 0:00:21.494 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_expected_size": "4294967296" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 11:06:27 +0000 (0:00:00.052) 0:00:21.547 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_test_expected_size": "4294967296" } TASK [debug] ******************************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 11:06:27 +0000 (0:00:00.035) 0:00:21.583 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 11:06:27 +0000 (0:00:00.037) 0:00:21.620 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 11:06:28 +0000 (0:00:00.037) 0:00:21.657 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 11:06:28 +0000 (0:00:00.033) 0:00:21.691 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 11:06:28 +0000 (0:00:00.035) 0:00:21.726 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 11:06:28 +0000 (0:00:00.036) 0:00:21.763 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_test_actual_size": { "bytes": 4294967296, "changed": false, "failed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 11:06:28 +0000 (0:00:00.035) 0:00:21.798 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_test_expected_size": "4294967296" } TASK [assert] ****************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 11:06:28 +0000 (0:00:00.031) 0:00:21.830 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 11:06:28 +0000 (0:00:00.047) 0:00:21.877 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.028868", "end": "2022-07-21 11:06:28.262537", "rc": 0, "start": "2022-07-21 11:06:28.233669" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-a----- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 11:06:28 +0000 (0:00:00.355) 0:00:22.233 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 11:06:28 +0000 (0:00:00.046) 0:00:22.280 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 11:06:28 +0000 (0:00:00.047) 0:00:22.327 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 11:06:28 +0000 (0:00:00.035) 0:00:22.362 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 11:06:28 +0000 (0:00:00.034) 0:00:22.397 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 11:06:28 +0000 (0:00:00.045) 0:00:22.442 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 11:06:28 +0000 (0:00:00.041) 0:00:22.483 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 11:06:28 +0000 (0:00:00.040) 0:00:22.524 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 11:06:28 +0000 (0:00:00.022) 0:00:22.547 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Create another volume in the existing pool, identified only by name.] **** task path: /tmp/tmptuh8_vrz/tests/storage/tests_existing_lvm_pool.yml:41 Thursday 21 July 2022 11:06:29 +0000 (0:00:00.085) 0:00:22.632 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 11:06:29 +0000 (0:00:00.049) 0:00:22.682 ********* included: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 11:06:29 +0000 (0:00:00.034) 0:00:22.716 ********* ok: [/cache/centos-7.qcow2c.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 11:06:29 +0000 (0:00:00.451) 0:00:23.167 ********* skipping: [/cache/centos-7.qcow2c.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-7.qcow2c.snap] => (item=CentOS_7.yml) => { "ansible_facts": { "__storage_blivet_diskvolume_mkfs_option_map": { "ext2": "-F", "ext3": "-F", "ext4": "-F" }, "blivet_package_list": [ "python-enum34", "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [/cache/centos-7.qcow2c.snap] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 11:06:29 +0000 (0:00:00.061) 0:00:23.229 ********* ok: [/cache/centos-7.qcow2c.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/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 11:06:29 +0000 (0:00:00.034) 0:00:23.263 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 11:06:29 +0000 (0:00:00.034) 0:00:23.298 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 11:06:29 +0000 (0:00:00.058) 0:00:23.357 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 11:06:29 +0000 (0:00:00.023) 0:00:23.380 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 11:06:29 +0000 (0:00:00.030) 0:00:23.410 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_pools": [ { "name": "foo", "volumes": [ { "fs_label": "newvol", "fs_type": "ext4", "name": "newvol", "size": "2 GiB" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 11:06:29 +0000 (0:00:00.040) 0:00:23.450 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 11:06:29 +0000 (0:00:00.039) 0:00:23.490 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 11:06:29 +0000 (0:00:00.034) 0:00:23.525 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 11:06:29 +0000 (0:00:00.029) 0:00:23.554 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 11:06:29 +0000 (0:00:00.029) 0:00:23.584 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 11:06:29 +0000 (0:00:00.029) 0:00:23.614 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 11:06:30 +0000 (0:00:00.058) 0:00:23.672 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 11:06:30 +0000 (0:00:00.023) 0:00:23.695 ********* changed: [/cache/centos-7.qcow2c.snap] => { "actions": [ { "action": "create device", "device": "/dev/mapper/foo-newvol", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-newvol", "fs_type": "ext4" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/mapper/foo-test1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/mapper/foo-newvol" ], "mounts": [], "packages": [ "xfsprogs", "e2fsprogs", "lvm2" ], "pools": [ { "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-newvol", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-newvol", "_raw_device": "/dev/mapper/foo-newvol", "_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": "newvol", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "newvol", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2 GiB", "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/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 11:06:31 +0000 (0:00:01.750) 0:00:25.446 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 11:06:31 +0000 (0:00:00.039) 0:00:25.485 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 11:06:31 +0000 (0:00:00.022) 0:00:25.507 ********* ok: [/cache/centos-7.qcow2c.snap] => { "blivet_output": { "actions": [ { "action": "create device", "device": "/dev/mapper/foo-newvol", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-newvol", "fs_type": "ext4" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/mapper/foo-test1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/mapper/foo-newvol" ], "mounts": [], "packages": [ "xfsprogs", "e2fsprogs", "lvm2" ], "pools": [ { "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-newvol", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-newvol", "_raw_device": "/dev/mapper/foo-newvol", "_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": "newvol", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "newvol", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2 GiB", "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/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 11:06:31 +0000 (0:00:00.042) 0:00:25.550 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-newvol", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-newvol", "_raw_device": "/dev/mapper/foo-newvol", "_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": "newvol", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "newvol", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2 GiB", "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/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 11:06:31 +0000 (0:00:00.039) 0:00:25.589 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 11:06:32 +0000 (0:00:00.035) 0:00:25.625 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 11:06:32 +0000 (0:00:00.033) 0:00:25.659 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 11:06:32 +0000 (0:00:00.024) 0:00:25.683 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 11:06:32 +0000 (0:00:00.033) 0:00:25.716 ********* skipping: [/cache/centos-7.qcow2c.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/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 11:06:32 +0000 (0:00:00.022) 0:00:25.738 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658387401.739742, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1636891012.8990273, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 70, "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": 1636890761.4177752, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "18446744071719764763", "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/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 11:06:32 +0000 (0:00:00.338) 0:00:26.077 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 11:06:32 +0000 (0:00:00.022) 0:00:26.100 ********* ok: [/cache/centos-7.qcow2c.snap] META: role_complete for /cache/centos-7.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/tests_existing_lvm_pool.yml:53 Thursday 21 July 2022 11:06:33 +0000 (0:00:00.864) 0:00:26.965 ********* included: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml for /cache/centos-7.qcow2c.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 11:06:33 +0000 (0:00:00.044) 0:00:27.009 ********* ok: [/cache/centos-7.qcow2c.snap] => { "_storage_pools_list": [ { "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-newvol", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-newvol", "_raw_device": "/dev/mapper/foo-newvol", "_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": "newvol", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "newvol", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2 GiB", "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/tmptuh8_vrz/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 11:06:33 +0000 (0:00:00.080) 0:00:27.090 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 11:06:33 +0000 (0:00:00.037) 0:00:27.127 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "info": { "/dev/fd0": { "fstype": "", "label": "", "name": "/dev/fd0", "size": "4K", "type": "disk", "uuid": "" }, "/dev/mapper/foo-newvol": { "fstype": "ext4", "label": "newvol", "name": "/dev/mapper/foo-newvol", "size": "2G", "type": "lvm", "uuid": "e962cfd4-23e7-4b83-a01f-98f2dc353b9a" }, "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test1", "size": "4G", "type": "lvm", "uuid": "2f3639c6-e01a-4ddd-89cf-c88bc224cc2f" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "LVM2_member", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "0haSTM-tn8X-1GN3-2aKF-Saei-DoiV-F93feD" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-11-05-52-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "8G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "8G", "type": "partition", "uuid": "44a6a613-4e21-478b-a909-ab653c9d39df" }, "/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": "2da05b4a-241b-41c7-8682-b45e897f20c8" }, "/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": "26263f70-8842-4a7d-8801-475e770ba4a8" }, "/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/tmptuh8_vrz/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 11:06:33 +0000 (0:00:00.319) 0:00:27.447 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.004046", "end": "2022-07-21 11:06:33.786840", "rc": 0, "start": "2022-07-21 11:06:33.782794" } STDOUT: # # /etc/fstab # Created by anaconda on Sun Nov 14 11:52:41 2021 # # 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 # UUID=44a6a613-4e21-478b-a909-ab653c9d39df / xfs defaults 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,comment=cloudconfig 0 2 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 11:06:34 +0000 (0:00:00.317) 0:00:27.764 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003629", "end": "2022-07-21 11:06:34.102151", "failed_when_result": false, "rc": 0, "start": "2022-07-21 11:06:34.098522" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 11:06:34 +0000 (0:00:00.307) 0:00:28.072 ********* included: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool.yml for /cache/centos-7.qcow2c.snap => (item={'name': 'foo', 'encryption_password': None, 'state': 'present', 'raid_metadata_version': None, 'encryption': False, 'encryption_key_size': None, 'disks': ['nvme1n1'], 'raid_level': None, 'encryption_luks_version': None, 'raid_device_count': None, 'encryption_key': None, 'volumes': [{'_raw_device': '/dev/mapper/foo-newvol', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'ext4', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/foo-newvol', 'size': '2 GiB', 'mount_point': '', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-1', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'newvol', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': 'newvol', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/foo-newvol', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-1', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': [], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}], 'raid_chunk_size': None, 'type': 'lvm', 'encryption_cipher': None, 'raid_spare_count': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 11:06:34 +0000 (0:00:00.062) 0:00:28.134 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 11:06:34 +0000 (0:00:00.036) 0:00:28.171 ********* included: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml for /cache/centos-7.qcow2c.snap => (item=members) included: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-volumes.yml for /cache/centos-7.qcow2c.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 11:06:34 +0000 (0:00:00.049) 0:00:28.221 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/nvme1n1" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 11:06:34 +0000 (0:00:00.055) 0:00:28.276 ********* ok: [/cache/centos-7.qcow2c.snap] => (item=/dev/nvme1n1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/nvme1n1", "pv": "/dev/nvme1n1" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 11:06:34 +0000 (0:00:00.306) 0:00:28.583 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 11:06:35 +0000 (0:00:00.056) 0:00:28.639 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/nvme1n1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 11:06:35 +0000 (0:00:00.055) 0:00:28.694 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 11:06:35 +0000 (0:00:00.055) 0:00:28.750 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 11:06:35 +0000 (0:00:00.038) 0:00:28.788 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 11:06:35 +0000 (0:00:00.050) 0:00:28.839 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 11:06:35 +0000 (0:00:00.025) 0:00:28.864 ********* ok: [/cache/centos-7.qcow2c.snap] => (item=/dev/nvme1n1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/nvme1n1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 11:06:35 +0000 (0:00:00.042) 0:00:28.906 ********* included: /tmp/tmptuh8_vrz/tests/storage/verify-pool-md.yml for /cache/centos-7.qcow2c.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 11:06:35 +0000 (0:00:00.042) 0:00:28.949 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 11:06:35 +0000 (0:00:00.024) 0:00:28.973 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 11:06:35 +0000 (0:00:00.025) 0:00:28.999 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 11:06:35 +0000 (0:00:00.024) 0:00:29.023 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 11:06:35 +0000 (0:00:00.026) 0:00:29.050 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 11:06:35 +0000 (0:00:00.026) 0:00:29.076 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 11:06:35 +0000 (0:00:00.061) 0:00:29.137 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 11:06:35 +0000 (0:00:00.026) 0:00:29.163 ********* ok: [/cache/centos-7.qcow2c.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/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 11:06:35 +0000 (0:00:00.036) 0:00:29.200 ********* included: /tmp/tmptuh8_vrz/tests/storage/verify-pool-members-lvmraid.yml for /cache/centos-7.qcow2c.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 11:06:35 +0000 (0:00:00.046) 0:00:29.247 ********* included: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-lvmraid.yml for /cache/centos-7.qcow2c.snap => (item={'_raw_device': '/dev/mapper/foo-newvol', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'ext4', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/foo-newvol', 'size': '2 GiB', 'mount_point': '', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-1', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'newvol', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': 'newvol', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/foo-newvol', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-1', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': [], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 11:06:35 +0000 (0:00:00.043) 0:00:29.291 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 11:06:35 +0000 (0:00:00.029) 0:00:29.320 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 11:06:35 +0000 (0:00:00.028) 0:00:29.348 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 11:06:35 +0000 (0:00:00.028) 0:00:29.377 ********* included: /tmp/tmptuh8_vrz/tests/storage/verify-pool-members-thin.yml for /cache/centos-7.qcow2c.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 11:06:35 +0000 (0:00:00.047) 0:00:29.424 ********* included: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-thin.yml for /cache/centos-7.qcow2c.snap => (item={'_raw_device': '/dev/mapper/foo-newvol', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'ext4', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/foo-newvol', 'size': '2 GiB', 'mount_point': '', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-1', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'newvol', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': 'newvol', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/foo-newvol', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-1', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': [], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 11:06:35 +0000 (0:00:00.043) 0:00:29.468 ********* skipping: [/cache/centos-7.qcow2c.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/tmptuh8_vrz/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 11:06:35 +0000 (0:00:00.024) 0:00:29.493 ********* skipping: [/cache/centos-7.qcow2c.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/tmptuh8_vrz/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 11:06:35 +0000 (0:00:00.023) 0:00:29.516 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 11:06:35 +0000 (0:00:00.021) 0:00:29.538 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 11:06:35 +0000 (0:00:00.024) 0:00:29.563 ********* included: /tmp/tmptuh8_vrz/tests/storage/verify-pool-members-encryption.yml for /cache/centos-7.qcow2c.snap TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 11:06:35 +0000 (0:00:00.049) 0:00:29.612 ********* ok: [/cache/centos-7.qcow2c.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/tmptuh8_vrz/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 11:06:36 +0000 (0:00:00.052) 0:00:29.665 ********* skipping: [/cache/centos-7.qcow2c.snap] => (item=/dev/nvme1n1) => { "_storage_test_pool_member_path": "/dev/nvme1n1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 11:06:36 +0000 (0:00:00.029) 0:00:29.695 ********* included: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-crypttab.yml for /cache/centos-7.qcow2c.snap => (item=/dev/nvme1n1) TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 11:06:36 +0000 (0:00:00.045) 0:00:29.740 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-crypttab.yml:4 Thursday 21 July 2022 11:06:36 +0000 (0:00:00.050) 0:00:29.791 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-crypttab.yml:9 Thursday 21 July 2022 11:06:36 +0000 (0:00:00.052) 0:00:29.843 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-crypttab.yml:15 Thursday 21 July 2022 11:06:36 +0000 (0:00:00.040) 0:00:29.883 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-crypttab.yml:21 Thursday 21 July 2022 11:06:36 +0000 (0:00:00.038) 0:00:29.922 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 11:06:36 +0000 (0:00:00.037) 0:00:29.959 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 11:06:36 +0000 (0:00:00.036) 0:00:29.995 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 11:06:36 +0000 (0:00:00.036) 0:00:30.032 ********* included: /tmp/tmptuh8_vrz/tests/storage/verify-pool-members-vdo.yml for /cache/centos-7.qcow2c.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 11:06:36 +0000 (0:00:00.046) 0:00:30.079 ********* included: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-vdo.yml for /cache/centos-7.qcow2c.snap => (item={'_raw_device': '/dev/mapper/foo-newvol', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'ext4', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/foo-newvol', 'size': '2 GiB', 'mount_point': '', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-1', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'newvol', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': 'newvol', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/foo-newvol', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-1', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': [], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 11:06:36 +0000 (0:00:00.044) 0:00:30.123 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 11:06:36 +0000 (0:00:00.029) 0:00:30.153 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 11:06:36 +0000 (0:00:00.028) 0:00:30.181 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 11:06:36 +0000 (0:00:00.028) 0:00:30.209 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 11:06:36 +0000 (0:00:00.025) 0:00:30.235 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 11:06:36 +0000 (0:00:00.024) 0:00:30.260 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 11:06:36 +0000 (0:00:00.023) 0:00:30.284 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 11:06:36 +0000 (0:00:00.025) 0:00:30.310 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 11:06:36 +0000 (0:00:00.079) 0:00:30.389 ********* ok: [/cache/centos-7.qcow2c.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/tmptuh8_vrz/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 11:06:36 +0000 (0:00:00.035) 0:00:30.424 ********* included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume.yml for /cache/centos-7.qcow2c.snap => (item={'_raw_device': '/dev/mapper/foo-newvol', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'ext4', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/foo-newvol', 'size': '2 GiB', 'mount_point': '', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-1', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'newvol', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': 'newvol', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/foo-newvol', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-1', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': [], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 11:06:36 +0000 (0:00:00.045) 0:00:30.470 ********* ok: [/cache/centos-7.qcow2c.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/tmptuh8_vrz/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 11:06:36 +0000 (0:00:00.047) 0:00:30.518 ********* included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml for /cache/centos-7.qcow2c.snap => (item=mount) included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-fstab.yml for /cache/centos-7.qcow2c.snap => (item=fstab) included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-fs.yml for /cache/centos-7.qcow2c.snap => (item=fs) included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-device.yml for /cache/centos-7.qcow2c.snap => (item=device) included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml for /cache/centos-7.qcow2c.snap => (item=encryption) included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-md.yml for /cache/centos-7.qcow2c.snap => (item=md) included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml for /cache/centos-7.qcow2c.snap => (item=size) included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml for /cache/centos-7.qcow2c.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 11:06:36 +0000 (0:00:00.078) 0:00:30.596 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-newvol" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 11:06:37 +0000 (0:00:00.039) 0:00:30.636 ********* ok: [/cache/centos-7.qcow2c.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/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 11:06:37 +0000 (0:00:00.064) 0:00:30.700 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 11:06:37 +0000 (0:00:00.025) 0:00:30.726 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 11:06:37 +0000 (0:00:00.048) 0:00:30.774 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 11:06:37 +0000 (0:00:00.035) 0:00:30.810 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 11:06:37 +0000 (0:00:00.024) 0:00:30.834 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 11:06:37 +0000 (0:00:00.022) 0:00:30.856 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 11:06:37 +0000 (0:00:00.022) 0:00:30.879 ********* ok: [/cache/centos-7.qcow2c.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/tmptuh8_vrz/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 11:06:37 +0000 (0:00:00.032) 0:00:30.912 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "1", "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/tmptuh8_vrz/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 11:06:37 +0000 (0:00:00.059) 0:00:30.972 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 11:06:37 +0000 (0:00:00.046) 0:00:31.018 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 11:06:37 +0000 (0:00:00.047) 0:00:31.065 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 11:06:37 +0000 (0:00:00.037) 0:00:31.103 ********* ok: [/cache/centos-7.qcow2c.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/tmptuh8_vrz/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 11:06:37 +0000 (0:00:00.032) 0:00:31.135 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 11:06:37 +0000 (0:00:00.036) 0:00:31.172 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 11:06:37 +0000 (0:00:00.037) 0:00:31.210 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658401591.4333673, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658401591.4333673, "dev": 5, "device_type": 64513, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 28271, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658401591.4333673, "nlink": 1, "path": "/dev/mapper/foo-newvol", "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/tmptuh8_vrz/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 11:06:37 +0000 (0:00:00.301) 0:00:31.511 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 11:06:37 +0000 (0:00:00.036) 0:00:31.548 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 11:06:37 +0000 (0:00:00.039) 0:00:31.588 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 11:06:38 +0000 (0:00:00.038) 0:00:31.626 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 11:06:38 +0000 (0:00:00.022) 0:00:31.649 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 11:06:38 +0000 (0:00:00.037) 0:00:31.687 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 11:06:38 +0000 (0:00:00.023) 0:00:31.710 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "cryptsetup-2.0.3-6.el7.x86_64 providing cryptsetup is already installed" ] } TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 11:06:38 +0000 (0:00:00.544) 0:00:32.255 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 11:06:38 +0000 (0:00:00.025) 0:00:32.281 ********* skipping: [/cache/centos-7.qcow2c.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/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 11:06:38 +0000 (0:00:00.030) 0:00:32.311 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 11:06:38 +0000 (0:00:00.063) 0:00:32.374 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 11:06:38 +0000 (0:00:00.031) 0:00:32.406 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 11:06:38 +0000 (0:00:00.022) 0:00:32.429 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 11:06:38 +0000 (0:00:00.021) 0:00:32.450 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 11:06:38 +0000 (0:00:00.023) 0:00:32.473 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 11:06:38 +0000 (0:00:00.021) 0:00:32.495 ********* ok: [/cache/centos-7.qcow2c.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/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 11:06:38 +0000 (0:00:00.067) 0:00:32.563 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 11:06:38 +0000 (0:00:00.046) 0:00:32.609 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 11:06:39 +0000 (0:00:00.036) 0:00:32.646 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 11:06:39 +0000 (0:00:00.038) 0:00:32.684 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 11:06:39 +0000 (0:00:00.033) 0:00:32.718 ********* ok: [/cache/centos-7.qcow2c.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/tmptuh8_vrz/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 11:06:39 +0000 (0:00:00.032) 0:00:32.750 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 11:06:39 +0000 (0:00:00.036) 0:00:32.787 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 11:06:39 +0000 (0:00:00.033) 0:00:32.820 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 11:06:39 +0000 (0:00:00.033) 0:00:32.853 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 11:06:39 +0000 (0:00:00.034) 0:00:32.887 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 11:06:39 +0000 (0:00:00.037) 0:00:32.925 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 11:06:39 +0000 (0:00:00.034) 0:00:32.959 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 11:06:39 +0000 (0:00:00.037) 0:00:32.996 ********* ok: [/cache/centos-7.qcow2c.snap] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 11:06:39 +0000 (0:00:00.302) 0:00:33.299 ********* ok: [/cache/centos-7.qcow2c.snap] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 11:06:39 +0000 (0:00:00.303) 0:00:33.603 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_expected_size": "2147483648" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 11:06:40 +0000 (0:00:00.048) 0:00:33.651 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_test_expected_size": "2147483648" } TASK [debug] ******************************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 11:06:40 +0000 (0:00:00.038) 0:00:33.690 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 11:06:40 +0000 (0:00:00.036) 0:00:33.726 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 11:06:40 +0000 (0:00:00.040) 0:00:33.766 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 11:06:40 +0000 (0:00:00.038) 0:00:33.805 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 11:06:40 +0000 (0:00:00.036) 0:00:33.841 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 11:06:40 +0000 (0:00:00.038) 0:00:33.880 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_test_actual_size": { "bytes": 2147483648, "changed": false, "failed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 11:06:40 +0000 (0:00:00.041) 0:00:33.921 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_test_expected_size": "2147483648" } TASK [assert] ****************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 11:06:40 +0000 (0:00:00.034) 0:00:33.955 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 11:06:40 +0000 (0:00:00.086) 0:00:34.041 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/newvol" ], "delta": "0:00:00.026194", "end": "2022-07-21 11:06:40.433595", "rc": 0, "start": "2022-07-21 11:06:40.407401" } STDOUT: LVM2_LV_NAME=newvol LVM2_LV_ATTR=-wi-a----- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 11:06:40 +0000 (0:00:00.389) 0:00:34.431 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 11:06:40 +0000 (0:00:00.048) 0:00:34.479 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 11:06:40 +0000 (0:00:00.049) 0:00:34.528 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 11:06:40 +0000 (0:00:00.035) 0:00:34.564 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 11:06:40 +0000 (0:00:00.045) 0:00:34.609 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 11:06:41 +0000 (0:00:00.035) 0:00:34.645 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 11:06:41 +0000 (0:00:00.035) 0:00:34.680 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 11:06:41 +0000 (0:00:00.032) 0:00:34.713 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 11:06:41 +0000 (0:00:00.020) 0:00:34.734 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Clean up.] *************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/tests_existing_lvm_pool.yml:55 Thursday 21 July 2022 11:06:41 +0000 (0:00:00.034) 0:00:34.768 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 11:06:41 +0000 (0:00:00.054) 0:00:34.823 ********* included: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 11:06:41 +0000 (0:00:00.033) 0:00:34.857 ********* ok: [/cache/centos-7.qcow2c.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 11:06:41 +0000 (0:00:00.397) 0:00:35.254 ********* skipping: [/cache/centos-7.qcow2c.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-7.qcow2c.snap] => (item=CentOS_7.yml) => { "ansible_facts": { "__storage_blivet_diskvolume_mkfs_option_map": { "ext2": "-F", "ext3": "-F", "ext4": "-F" }, "blivet_package_list": [ "python-enum34", "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [/cache/centos-7.qcow2c.snap] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 11:06:41 +0000 (0:00:00.061) 0:00:35.315 ********* ok: [/cache/centos-7.qcow2c.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/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 11:06:41 +0000 (0:00:00.041) 0:00:35.357 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 11:06:41 +0000 (0:00:00.051) 0:00:35.408 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 11:06:41 +0000 (0:00:00.057) 0:00:35.466 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 11:06:41 +0000 (0:00:00.020) 0:00:35.487 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 11:06:41 +0000 (0:00:00.026) 0:00:35.514 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_pools": [ { "name": "foo", "state": "absent" } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 11:06:41 +0000 (0:00:00.035) 0:00:35.549 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 11:06:41 +0000 (0:00:00.034) 0:00:35.584 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 11:06:41 +0000 (0:00:00.027) 0:00:35.612 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 11:06:42 +0000 (0:00:00.047) 0:00:35.659 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 11:06:42 +0000 (0:00:00.034) 0:00:35.693 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 11:06:42 +0000 (0:00:00.031) 0:00:35.725 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 11:06:42 +0000 (0:00:00.059) 0:00:35.785 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 11:06:42 +0000 (0:00:00.020) 0:00:35.805 ********* changed: [/cache/centos-7.qcow2c.snap] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-newvol", "fs_type": "ext4" }, { "action": "destroy device", "device": "/dev/mapper/foo-newvol", "fs_type": null }, { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/nvme1n1", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [], "packages": [ "xfsprogs", "e2fsprogs" ], "pools": [ { "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 11:06:44 +0000 (0:00:02.083) 0:00:37.889 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 11:06:44 +0000 (0:00:00.036) 0:00:37.926 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 11:06:44 +0000 (0:00:00.020) 0:00:37.947 ********* ok: [/cache/centos-7.qcow2c.snap] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-newvol", "fs_type": "ext4" }, { "action": "destroy device", "device": "/dev/mapper/foo-newvol", "fs_type": null }, { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/nvme1n1", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [], "packages": [ "xfsprogs", "e2fsprogs" ], "pools": [ { "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 11:06:44 +0000 (0:00:00.071) 0:00:38.018 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 11:06:44 +0000 (0:00:00.075) 0:00:38.094 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 11:06:44 +0000 (0:00:00.106) 0:00:38.201 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 11:06:44 +0000 (0:00:00.036) 0:00:38.237 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 11:06:44 +0000 (0:00:00.023) 0:00:38.261 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 11:06:44 +0000 (0:00:00.034) 0:00:38.295 ********* skipping: [/cache/centos-7.qcow2c.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/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 11:06:44 +0000 (0:00:00.024) 0:00:38.319 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658387401.739742, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1636891012.8990273, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 70, "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": 1636890761.4177752, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "18446744071719764763", "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/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 11:06:45 +0000 (0:00:00.315) 0:00:38.635 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 11:06:45 +0000 (0:00:00.025) 0:00:38.660 ********* ok: [/cache/centos-7.qcow2c.snap] META: role_complete for /cache/centos-7.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/tests_existing_lvm_pool.yml:63 Thursday 21 July 2022 11:06:45 +0000 (0:00:00.837) 0:00:39.497 ********* included: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml for /cache/centos-7.qcow2c.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 11:06:45 +0000 (0:00:00.045) 0:00:39.542 ********* ok: [/cache/centos-7.qcow2c.snap] => { "_storage_pools_list": [ { "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 11:06:45 +0000 (0:00:00.046) 0:00:39.589 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 11:06:46 +0000 (0:00:00.033) 0:00:39.623 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "info": { "/dev/fd0": { "fstype": "", "label": "", "name": "/dev/fd0", "size": "4K", "type": "disk", "uuid": "" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-11-05-52-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "8G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "8G", "type": "partition", "uuid": "44a6a613-4e21-478b-a909-ab653c9d39df" }, "/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": "2da05b4a-241b-41c7-8682-b45e897f20c8" }, "/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": "26263f70-8842-4a7d-8801-475e770ba4a8" }, "/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/tmptuh8_vrz/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 11:06:46 +0000 (0:00:00.303) 0:00:39.926 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003327", "end": "2022-07-21 11:06:46.265765", "rc": 0, "start": "2022-07-21 11:06:46.262438" } STDOUT: # # /etc/fstab # Created by anaconda on Sun Nov 14 11:52:41 2021 # # 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 # UUID=44a6a613-4e21-478b-a909-ab653c9d39df / xfs defaults 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,comment=cloudconfig 0 2 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 11:06:46 +0000 (0:00:00.305) 0:00:40.232 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003596", "end": "2022-07-21 11:06:46.575685", "failed_when_result": false, "rc": 0, "start": "2022-07-21 11:06:46.572089" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 11:06:46 +0000 (0:00:00.313) 0:00:40.545 ********* included: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool.yml for /cache/centos-7.qcow2c.snap => (item={'name': 'foo', 'encryption_password': None, 'state': 'absent', 'raid_metadata_version': None, 'encryption': False, 'encryption_key_size': None, 'disks': ['nvme1n1'], 'raid_level': None, 'encryption_luks_version': None, 'raid_device_count': None, 'encryption_key': None, 'volumes': [], 'raid_chunk_size': None, 'type': 'lvm', 'encryption_cipher': None, 'raid_spare_count': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 11:06:46 +0000 (0:00:00.055) 0:00:40.601 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 11:06:47 +0000 (0:00:00.033) 0:00:40.634 ********* included: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml for /cache/centos-7.qcow2c.snap => (item=members) included: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-volumes.yml for /cache/centos-7.qcow2c.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 11:06:47 +0000 (0:00:00.044) 0:00:40.679 ********* ok: [/cache/centos-7.qcow2c.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/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 11:06:47 +0000 (0:00:00.052) 0:00:40.731 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 11:06:47 +0000 (0:00:00.022) 0:00:40.754 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__pvs_lvm_len": "0" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 11:06:47 +0000 (0:00:00.083) 0:00:40.837 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 11:06:47 +0000 (0:00:00.049) 0:00:40.886 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 11:06:47 +0000 (0:00:00.083) 0:00:40.969 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 11:06:47 +0000 (0:00:00.074) 0:00:41.043 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 11:06:47 +0000 (0:00:00.080) 0:00:41.123 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 11:06:47 +0000 (0:00:00.022) 0:00:41.146 ********* TASK [Check MD RAID] *********************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 11:06:47 +0000 (0:00:00.021) 0:00:41.168 ********* included: /tmp/tmptuh8_vrz/tests/storage/verify-pool-md.yml for /cache/centos-7.qcow2c.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 11:06:47 +0000 (0:00:00.041) 0:00:41.209 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 11:06:47 +0000 (0:00:00.023) 0:00:41.232 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 11:06:47 +0000 (0:00:00.024) 0:00:41.257 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 11:06:47 +0000 (0:00:00.026) 0:00:41.283 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 11:06:47 +0000 (0:00:00.025) 0:00:41.309 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 11:06:47 +0000 (0:00:00.023) 0:00:41.332 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 11:06:47 +0000 (0:00:00.024) 0:00:41.357 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 11:06:47 +0000 (0:00:00.023) 0:00:41.381 ********* ok: [/cache/centos-7.qcow2c.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/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 11:06:47 +0000 (0:00:00.038) 0:00:41.419 ********* included: /tmp/tmptuh8_vrz/tests/storage/verify-pool-members-lvmraid.yml for /cache/centos-7.qcow2c.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 11:06:47 +0000 (0:00:00.042) 0:00:41.462 ********* TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 11:06:47 +0000 (0:00:00.021) 0:00:41.483 ********* included: /tmp/tmptuh8_vrz/tests/storage/verify-pool-members-thin.yml for /cache/centos-7.qcow2c.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 11:06:47 +0000 (0:00:00.042) 0:00:41.525 ********* TASK [Check member encryption] ************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 11:06:47 +0000 (0:00:00.022) 0:00:41.548 ********* included: /tmp/tmptuh8_vrz/tests/storage/verify-pool-members-encryption.yml for /cache/centos-7.qcow2c.snap TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 11:06:47 +0000 (0:00:00.046) 0:00:41.594 ********* ok: [/cache/centos-7.qcow2c.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/tmptuh8_vrz/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 11:06:48 +0000 (0:00:00.053) 0:00:41.648 ********* TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 11:06:48 +0000 (0:00:00.024) 0:00:41.673 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 11:06:48 +0000 (0:00:00.022) 0:00:41.695 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 11:06:48 +0000 (0:00:00.035) 0:00:41.730 ********* included: /tmp/tmptuh8_vrz/tests/storage/verify-pool-members-vdo.yml for /cache/centos-7.qcow2c.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 11:06:48 +0000 (0:00:00.046) 0:00:41.777 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 11:06:48 +0000 (0:00:00.020) 0:00:41.797 ********* ok: [/cache/centos-7.qcow2c.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/tmptuh8_vrz/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 11:06:48 +0000 (0:00:00.031) 0:00:41.829 ********* TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 11:06:48 +0000 (0:00:00.021) 0:00:41.851 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 11:06:48 +0000 (0:00:00.022) 0:00:41.873 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-7.qcow2c.snap : ok=250 changed=3 unreachable=0 failed=0 skipped=197 rescued=0 ignored=0 Thursday 21 July 2022 11:06:48 +0000 (0:00:00.055) 0:00:41.928 ********* =============================================================================== fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 2.08s /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : Update facts ------------------------ 1.85s /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 1.75s /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 1.71s /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Gathering Facts --------------------------------------------------------- 1.19s /tmp/tmptuh8_vrz/tests/storage/tests_existing_lvm_pool_nvme_generated.yml:3 --- fedora.linux_system_roles.storage : get service facts ------------------- 1.11s /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 fedora.linux_system_roles.storage : make sure blivet is available ------- 0.99s /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 fedora.linux_system_roles.storage : Update facts ------------------------ 0.86s /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 fedora.linux_system_roles.storage : Update facts ------------------------ 0.84s /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 fedora.linux_system_roles.storage : Update facts ------------------------ 0.84s /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Gathering Facts --------------------------------------------------------- 0.82s /tmp/tmptuh8_vrz/tests/storage/tests_existing_lvm_pool.yml:2 ------------------ fedora.linux_system_roles.storage : get required packages --------------- 0.65s /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 fedora.linux_system_roles.storage : make sure required packages are installed --- 0.55s /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Ensure cryptsetup is present -------------------------------------------- 0.55s /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:10 ----------- Ensure cryptsetup is present -------------------------------------------- 0.54s /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:10 ----------- fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 0.47s /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Find unused disks in the system ----------------------------------------- 0.46s /tmp/tmptuh8_vrz/tests/storage/get_unused_disk.yml:2 -------------------------- fedora.linux_system_roles.storage : Ensure ansible_facts used by role --- 0.45s /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file --- 0.45s /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Collect info about the volumes. ----------------------------------------- 0.44s /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:14 ---------------------