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 statically imported: /tmp/tmp8lr32tv2/tests/create-test-file.yml statically imported: /tmp/tmp8lr32tv2/tests/verify-data-preservation.yml statically imported: /tmp/tmp8lr32tv2/tests/create-test-file.yml statically imported: /tmp/tmp8lr32tv2/tests/verify-data-preservation.yml statically imported: /tmp/tmp8lr32tv2/tests/create-test-file.yml statically imported: /tmp/tmp8lr32tv2/tests/verify-data-preservation.yml 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_luks_pool_scsi_generated.yml *********************************** 2 plays in /tmp/tmp8lr32tv2/tests/tests_luks_pool_scsi_generated.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp8lr32tv2/tests/tests_luks_pool_scsi_generated.yml:3 Thursday 21 July 2022 08:42:37 +0000 (0:00:00.013) 0:00:00.013 ********* ok: [/cache/centos-7.qcow2c.snap] META: ran handlers TASK [set disk interface for test] ********************************************* task path: /tmp/tmp8lr32tv2/tests/tests_luks_pool_scsi_generated.yml:7 Thursday 21 July 2022 08:42:38 +0000 (0:00:01.177) 0:00:01.191 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_use_interface": "scsi" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp8lr32tv2/tests/tests_luks_pool.yml:2 Thursday 21 July 2022 08:42:38 +0000 (0:00:00.052) 0:00:01.244 ********* ok: [/cache/centos-7.qcow2c.snap] META: ran handlers TASK [include_role : linux-system-roles.storage] ******************************* task path: /tmp/tmp8lr32tv2/tests/tests_luks_pool.yml:14 Thursday 21 July 2022 08:42:39 +0000 (0:00:00.817) 0:00:02.061 ********* 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:42:39 +0000 (0:00:00.034) 0:00:02.095 ********* 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:42:39 +0000 (0:00:00.031) 0:00:02.126 ********* 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:42:40 +0000 (0:00:00.407) 0:00:02.534 ********* 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:42:40 +0000 (0:00:00.056) 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:42:40 +0000 (0:00:00.029) 0:00:02.619 ********* 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:42:40 +0000 (0:00:00.029) 0:00:02.649 ********* 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:42:40 +0000 (0:00:00.044) 0:00:02.693 ********* 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:42:40 +0000 (0:00:00.017) 0:00:02.711 ********* 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:42:41 +0000 (0:00:01.087) 0:00:03.799 ********* 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:42:41 +0000 (0:00:00.031) 0:00:03.831 ********* 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:42:41 +0000 (0:00:00.032) 0:00:03.863 ********* 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:42:42 +0000 (0:00:00.658) 0:00:04.521 ********* 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:42:42 +0000 (0:00:00.047) 0:00:04.568 ********* 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:42:42 +0000 (0:00:00.034) 0:00:04.603 ********* 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:42:42 +0000 (0:00:00.043) 0:00:04.647 ********* 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:42:42 +0000 (0:00:00.029) 0:00:04.677 ********* 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:42:42 +0000 (0:00:00.575) 0:00:05.252 ********* 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:42:43 +0000 (0:00:01.095) 0:00:06.347 ********* 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:42:43 +0000 (0:00:00.055) 0:00:06.402 ********* 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:42:43 +0000 (0:00:00.023) 0:00:06.426 ********* 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:42:44 +0000 (0:00:00.473) 0:00:06.899 ********* 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:42:44 +0000 (0:00:00.036) 0:00:06.936 ********* 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:42:44 +0000 (0:00:00.022) 0:00:06.958 ********* 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:42:44 +0000 (0:00:00.035) 0:00:06.993 ********* 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:42:44 +0000 (0:00:00.034) 0:00:07.027 ********* 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:42:44 +0000 (0:00:00.035) 0:00:07.063 ********* 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:42:44 +0000 (0:00:00.034) 0:00:07.098 ********* 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:42:44 +0000 (0:00:00.023) 0:00:07.121 ********* 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:42:44 +0000 (0:00:00.033) 0:00:07.155 ********* 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:42:44 +0000 (0:00:00.024) 0:00:07.179 ********* 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:42:45 +0000 (0:00:00.447) 0:00:07.626 ********* 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:42:45 +0000 (0:00:00.021) 0:00:07.647 ********* 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_luks_pool.yml:17 Thursday 21 July 2022 08:42:46 +0000 (0:00:00.840) 0:00:08.488 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_skip_checks": [ "blivet_available", "service_facts" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmp8lr32tv2/tests/tests_luks_pool.yml:23 Thursday 21 July 2022 08:42:46 +0000 (0:00:00.064) 0:00:08.552 ********* 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:42:46 +0000 (0:00:00.033) 0:00:08.586 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "disks": [ "sdb" ] } TASK [Set unused_disks if necessary] ******************************************* task path: /tmp/tmp8lr32tv2/tests/get_unused_disk.yml:9 Thursday 21 July 2022 08:42:47 +0000 (0:00:01.461) 0:00:10.048 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "unused_disks": [ "sdb" ] }, "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:42:47 +0000 (0:00:00.036) 0:00:10.084 ********* 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:42:47 +0000 (0:00:00.040) 0:00:10.125 ********* ok: [/cache/centos-7.qcow2c.snap] => { "unused_disks": [ "sdb" ] } TASK [Create an encrypted lvm pool] ******************************************** task path: /tmp/tmp8lr32tv2/tests/tests_luks_pool.yml:34 Thursday 21 July 2022 08:42:47 +0000 (0:00:00.033) 0:00:10.158 ********* 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:42:47 +0000 (0:00:00.035) 0:00:10.194 ********* 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:42:47 +0000 (0:00:00.034) 0:00:10.228 ********* 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:42:48 +0000 (0:00:00.420) 0:00:10.648 ********* 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:42:48 +0000 (0:00:00.060) 0:00:10.709 ********* 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:42:48 +0000 (0:00:00.034) 0:00:10.743 ********* 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:42:48 +0000 (0:00:00.035) 0:00:10.779 ********* 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:42:48 +0000 (0:00:00.050) 0:00:10.829 ********* 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:42:48 +0000 (0:00:00.021) 0:00:10.851 ********* 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:42:48 +0000 (0:00:00.029) 0:00:10.880 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_pools": [ { "disks": [ "sdb" ], "encryption": true, "name": "foo", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "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:42:48 +0000 (0:00:00.037) 0:00:10.918 ********* 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:42:48 +0000 (0:00:00.070) 0:00:10.988 ********* ok: [/cache/centos-7.qcow2c.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [ "cryptsetup", "lvm2" ], "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:42:49 +0000 (0:00:01.108) 0:00:12.096 ********* 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:42:49 +0000 (0:00:00.045) 0:00:12.142 ********* 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:42:49 +0000 (0:00:00.062) 0:00:12.204 ********* 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:42:49 +0000 (0:00:00.038) 0:00:12.242 ********* 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:42:49 +0000 (0:00:00.032) 0:00:12.275 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "cryptsetup-2.0.3-6.el7.x86_64 providing cryptsetup is already installed", "7:lvm2-2.02.187-6.el7_9.5.x86_64 providing lvm2 is already installed" ] } 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:42:50 +0000 (0:00:00.522) 0:00:12.798 ********* 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:42:50 +0000 (0:00:00.030) 0:00:12.828 ********* 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:42:50 +0000 (0:00:00.054) 0:00:12.882 ********* 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:42:50 +0000 (0:00:00.020) 0:00:12.903 ********* fatal: [/cache/centos-7.qcow2c.snap]: FAILED! => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } MSG: encrypted pool 'foo' missing key/password TASK [linux-system-roles.storage : failed message] ***************************** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:99 Thursday 21 July 2022 08:42:51 +0000 (0:00:01.058) 0:00:13.961 ********* fatal: [/cache/centos-7.qcow2c.snap]: FAILED! => { "changed": false } MSG: {'crypts': [], 'mounts': [], 'leaves': [], 'changed': False, 'actions': [], 'failed': True, 'volumes': [], 'invocation': {'module_args': {'packages_only': False, 'disklabel_type': None, 'diskvolume_mkfs_option_map': {'ext4': '-F', 'ext3': '-F', 'ext2': '-F'}, 'safe_mode': True, 'pools': [{'name': 'foo', 'encryption_password': None, 'state': 'present', 'raid_metadata_version': None, 'encryption': True, 'encryption_key_size': None, 'disks': ['sdb'], 'raid_level': None, 'encryption_luks_version': None, 'raid_device_count': None, 'encryption_key': None, 'volumes': [{'fs_type': None, 'mount_options': None, 'size': '4g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, 'encryption': None, 'raid_level': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'deduplication': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'raid_disks': [], 'cache_mode': None, 'name': 'test1', 'cached': None, 'type': None, 'thin': False, 'cache_size': None, 'cache_devices': [], 'fs_create_options': None}], 'raid_chunk_size': None, 'type': 'lvm', 'encryption_cipher': None, 'raid_spare_count': None}], 'volumes': [], 'pool_defaults': {'encryption_password': None, 'raid_metadata_version': None, 'encryption': False, 'encryption_cipher': None, 'disks': [], 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'raid_device_count': None, 'state': 'present', 'volumes': [], 'raid_chunk_size': None, 'type': 'lvm', 'raid_level': None, 'raid_spare_count': None}, 'volume_defaults': {'raid_metadata_version': None, 'mount_device_identifier': 'uuid', 'fs_type': 'xfs', 'mount_options': 'defaults', 'size': 0, 'mount_point': '', 'compression': None, 'encryption_password': None, 'encryption': False, 'raid_level': None, 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'fs_overwrite_existing': True, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'mount_passno': 0, 'raid_spare_count': None, 'cache_mode': None, 'deduplication': None, 'cached': False, 'type': 'lvm', 'disks': [], 'thin_pool_size': None, 'thin': None, 'mount_check': 0, 'cache_size': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}, 'use_partitions': None}}, 'pools': [], 'packages': [], 'msg': "encrypted pool 'foo' missing key/password", '_ansible_no_log': 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:42:51 +0000 (0:00:00.040) 0:00:14.002 ********* TASK [Check that we failed in the role] **************************************** task path: /tmp/tmp8lr32tv2/tests/tests_luks_pool.yml:53 Thursday 21 July 2022 08:42:51 +0000 (0:00:00.022) 0:00:14.024 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the output of the keyless luks test] ****************************** task path: /tmp/tmp8lr32tv2/tests/tests_luks_pool.yml:59 Thursday 21 July 2022 08:42:51 +0000 (0:00:00.036) 0:00:14.061 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Mark tasks to be skipped] ************************************************ task path: /tmp/tmp8lr32tv2/tests/tests_luks_pool.yml:66 Thursday 21 July 2022 08:42:51 +0000 (0:00:00.049) 0:00:14.110 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_skip_checks": [ "blivet_available", "packages_installed", "service_facts" ] }, "changed": false } TASK [Create a key file] ******************************************************* task path: /tmp/tmp8lr32tv2/tests/tests_luks_pool.yml:75 Thursday 21 July 2022 08:42:51 +0000 (0:00:00.035) 0:00:14.145 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/storage_testauMYFVlukskey", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [Write the key into the key file] ***************************************** task path: /tmp/tmp8lr32tv2/tests/tests_luks_pool.yml:82 Thursday 21 July 2022 08:42:52 +0000 (0:00:00.420) 0:00:14.566 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "checksum": "7a4dff3752e2baf5617c57eaac048e2b95e8af91", "dest": "/tmp/storage_testauMYFVlukskey", "gid": 0, "group": "root", "md5sum": "4ac07b967150835c00d0865161e48744", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 32, "src": "/root/.ansible/tmp/ansible-tmp-1658392972.1400368-307757-86365875674344/source", "state": "file", "uid": 0 } TASK [Create an encrypted lvm pool using a key file] *************************** task path: /tmp/tmp8lr32tv2/tests/tests_luks_pool.yml:89 Thursday 21 July 2022 08:42:52 +0000 (0:00:00.695) 0:00:15.261 ********* 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:42:52 +0000 (0:00:00.038) 0:00:15.300 ********* 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:42:52 +0000 (0:00:00.034) 0:00:15.335 ********* 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:42:53 +0000 (0:00:00.406) 0:00:15.741 ********* 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:42:53 +0000 (0:00:00.090) 0:00:15.832 ********* 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:42:53 +0000 (0:00:00.032) 0:00:15.864 ********* 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:42:53 +0000 (0:00:00.062) 0:00:15.926 ********* 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:42:53 +0000 (0:00:00.076) 0:00:16.002 ********* 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:42:53 +0000 (0:00:00.021) 0:00:16.024 ********* 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:42:53 +0000 (0:00:00.028) 0:00:16.052 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_pools": [ { "disks": [ "sdb" ], "encryption": true, "encryption_key": "/tmp/storage_testauMYFVlukskey", "name": "foo", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "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:42:53 +0000 (0:00:00.039) 0:00:16.092 ********* 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:42:53 +0000 (0:00:00.034) 0:00:16.126 ********* 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:42:53 +0000 (0:00:00.026) 0:00:16.152 ********* 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:42:53 +0000 (0:00:00.025) 0:00:16.178 ********* 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:42:53 +0000 (0:00:00.027) 0:00:16.205 ********* 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:42:53 +0000 (0:00:00.027) 0:00:16.233 ********* 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:42:53 +0000 (0:00:00.055) 0:00:16.288 ********* 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:42:53 +0000 (0:00:00.020) 0:00:16.308 ********* changed: [/cache/centos-7.qcow2c.snap] => { "actions": [ { "action": "create format", "device": "/dev/sdb", "fs_type": "luks" }, { "action": "create device", "device": "/dev/mapper/luks-567fd233-350e-40d3-9c12-2f6f5f3e47f5", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/luks-567fd233-350e-40d3-9c12-2f6f5f3e47f5", "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": [ { "backing_device": "/dev/sdb", "name": "luks-567fd233-350e-40d3-9c12-2f6f5f3e47f5", "password": "/tmp/storage_testauMYFVlukskey", "state": "present" } ], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/mapper/foo-test1" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "cryptsetup", "xfsprogs", "e2fsprogs", "lvm2" ], "pools": [ { "disks": [ "sdb" ], "encryption": true, "encryption_cipher": null, "encryption_key": "/tmp/storage_testauMYFVlukskey", "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-1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "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:43:01 +0000 (0:00:07.933) 0:00:24.242 ********* 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:43:01 +0000 (0:00:00.042) 0:00:24.285 ********* 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:43:01 +0000 (0:00:00.026) 0:00:24.312 ********* ok: [/cache/centos-7.qcow2c.snap] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sdb", "fs_type": "luks" }, { "action": "create device", "device": "/dev/mapper/luks-567fd233-350e-40d3-9c12-2f6f5f3e47f5", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/luks-567fd233-350e-40d3-9c12-2f6f5f3e47f5", "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": [ { "backing_device": "/dev/sdb", "name": "luks-567fd233-350e-40d3-9c12-2f6f5f3e47f5", "password": "/tmp/storage_testauMYFVlukskey", "state": "present" } ], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/mapper/foo-test1" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "cryptsetup", "xfsprogs", "e2fsprogs", "lvm2" ], "pools": [ { "disks": [ "sdb" ], "encryption": true, "encryption_cipher": null, "encryption_key": "/tmp/storage_testauMYFVlukskey", "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-1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "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:43:01 +0000 (0:00:00.041) 0:00:24.353 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sdb" ], "encryption": true, "encryption_cipher": null, "encryption_key": "/tmp/storage_testauMYFVlukskey", "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-1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "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:43:01 +0000 (0:00:00.041) 0:00:24.394 ********* 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:43:01 +0000 (0:00:00.035) 0:00:24.430 ********* 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:43:01 +0000 (0:00:00.042) 0:00:24.472 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "name": null, "status": {} } 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:43:02 +0000 (0:00:00.756) 0:00:25.229 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-7.qcow2c.snap] => (item={'src': '/dev/mapper/foo-test1', 'dump': 0, 'passno': 0, 'fstype': 'xfs', 'state': 'mounted', 'path': '/opt/test1', 'opts': 'defaults'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 08:43:03 +0000 (0:00:00.488) 0:00:25.717 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "name": null, "status": {} } 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:43:03 +0000 (0:00:00.458) 0:00:26.176 ********* 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:43:04 +0000 (0:00:00.365) 0:00:26.541 ********* changed: [/cache/centos-7.qcow2c.snap] => (item={'state': 'present', 'password': '/tmp/storage_testauMYFVlukskey', 'name': 'luks-567fd233-350e-40d3-9c12-2f6f5f3e47f5', 'backing_device': '/dev/sdb'}) => { "ansible_loop_var": "entry", "backup": "", "changed": true, "entry": { "backing_device": "/dev/sdb", "name": "luks-567fd233-350e-40d3-9c12-2f6f5f3e47f5", "password": "/tmp/storage_testauMYFVlukskey", "state": "present" } } MSG: line added 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:43:04 +0000 (0:00:00.468) 0:00:27.010 ********* ok: [/cache/centos-7.qcow2c.snap] META: role_complete for /cache/centos-7.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp8lr32tv2/tests/tests_luks_pool.yml:104 Thursday 21 July 2022 08:43:05 +0000 (0:00:00.865) 0:00:27.875 ********* 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:43:05 +0000 (0:00:00.040) 0:00:27.915 ********* ok: [/cache/centos-7.qcow2c.snap] => { "_storage_pools_list": [ { "disks": [ "sdb" ], "encryption": true, "encryption_cipher": null, "encryption_key": "/tmp/storage_testauMYFVlukskey", "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-1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "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:43:05 +0000 (0:00:00.065) 0:00:27.981 ********* 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:43:05 +0000 (0:00:00.037) 0:00:28.019 ********* 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": "3c1faf09-41d4-4016-9201-a84cee877f1b" }, "/dev/mapper/luks-567fd233-350e-40d3-9c12-2f6f5f3e47f5": { "fstype": "LVM2_member", "label": "", "name": "/dev/mapper/luks-567fd233-350e-40d3-9c12-2f6f5f3e47f5", "size": "10G", "type": "crypt", "uuid": "f21UM2-wrqb-UJkC-vF7M-8wkp-1aPm-bsTN3A" }, "/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": "crypto_LUKS", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "567fd233-350e-40d3-9c12-2f6f5f3e47f5" }, "/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-42-23-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:43:05 +0000 (0:00:00.449) 0:00:28.469 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003630", "end": "2022-07-21 08:43:06.030690", "rc": 0, "start": "2022-07-21 08:43:06.027060" } 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 /dev/mapper/foo-test1 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:24 Thursday 21 July 2022 08:43:06 +0000 (0:00:00.441) 0:00:28.910 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003509", "end": "2022-07-21 08:43:06.336468", "failed_when_result": false, "rc": 0, "start": "2022-07-21 08:43:06.332959" } STDOUT: luks-567fd233-350e-40d3-9c12-2f6f5f3e47f5 /dev/sdb /tmp/storage_testauMYFVlukskey 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:43:06 +0000 (0:00:00.317) 0:00:29.228 ********* 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': True, 'encryption_key_size': None, 'disks': ['sdb'], 'raid_level': None, 'encryption_luks_version': None, 'raid_device_count': None, 'encryption_key': '/tmp/storage_testauMYFVlukskey', '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': '/opt/test1', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-1', '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-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:43:06 +0000 (0:00:00.060) 0:00:29.288 ********* 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:43:06 +0000 (0:00:00.033) 0:00:29.322 ********* 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:43:06 +0000 (0:00:00.046) 0:00:29.369 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/mapper/luks-567fd233-350e-40d3-9c12-2f6f5f3e47f5" ] }, "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:43:06 +0000 (0:00:00.055) 0:00:29.424 ********* ok: [/cache/centos-7.qcow2c.snap] => (item=/dev/mapper/luks-567fd233-350e-40d3-9c12-2f6f5f3e47f5) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/mapper/luks-567fd233-350e-40d3-9c12-2f6f5f3e47f5", "pv": "/dev/mapper/luks-567fd233-350e-40d3-9c12-2f6f5f3e47f5" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 08:43:07 +0000 (0:00:00.442) 0:00:29.866 ********* 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:43:07 +0000 (0:00:00.081) 0:00:29.948 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/mapper/luks-567fd233-350e-40d3-9c12-2f6f5f3e47f5" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 08:43:07 +0000 (0:00:00.083) 0:00:30.032 ********* 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:43:07 +0000 (0:00:00.083) 0:00:30.115 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "crypt" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 08:43:07 +0000 (0:00:00.070) 0:00:30.186 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 08:43:07 +0000 (0:00:00.024) 0:00:30.210 ********* 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:43:07 +0000 (0:00:00.022) 0:00:30.233 ********* ok: [/cache/centos-7.qcow2c.snap] => (item=/dev/mapper/luks-567fd233-350e-40d3-9c12-2f6f5f3e47f5) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/mapper/luks-567fd233-350e-40d3-9c12-2f6f5f3e47f5" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 08:43:07 +0000 (0:00:00.049) 0:00:30.282 ********* 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:43:07 +0000 (0:00:00.041) 0:00:30.324 ********* 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:43:07 +0000 (0:00:00.022) 0:00:30.346 ********* 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:43:07 +0000 (0:00:00.025) 0:00:30.371 ********* 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:43:07 +0000 (0:00:00.022) 0:00:30.394 ********* 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:43:07 +0000 (0:00:00.022) 0:00:30.416 ********* 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:43:07 +0000 (0:00:00.021) 0:00:30.438 ********* 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:43:07 +0000 (0:00:00.022) 0:00:30.461 ********* 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:43:08 +0000 (0:00:00.023) 0:00:30.485 ********* 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:43:08 +0000 (0:00:00.032) 0:00:30.517 ********* 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:43:08 +0000 (0:00:00.043) 0:00:30.561 ********* 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': '/opt/test1', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-1', '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-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:43:08 +0000 (0:00:00.050) 0:00:30.611 ********* 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:43:08 +0000 (0:00:00.030) 0:00:30.641 ********* 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:43:08 +0000 (0:00:00.028) 0:00:30.669 ********* 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:43:08 +0000 (0:00:00.027) 0:00:30.697 ********* 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:43:08 +0000 (0:00:00.047) 0:00:30.744 ********* 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': '/opt/test1', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-1', '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-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:43:08 +0000 (0:00:00.044) 0:00:30.789 ********* 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:43:08 +0000 (0:00:00.024) 0:00:30.813 ********* 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:43:08 +0000 (0:00:00.028) 0:00:30.842 ********* 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:43:08 +0000 (0:00:00.025) 0:00:30.868 ********* 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:43:08 +0000 (0:00:00.024) 0:00:30.893 ********* 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:43:08 +0000 (0:00:00.048) 0:00:30.941 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "1", "_storage_test_expected_crypttab_key_file": "/tmp/storage_testauMYFVlukskey" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 08:43:08 +0000 (0:00:00.048) 0:00:30.990 ********* included: /tmp/tmp8lr32tv2/tests/verify-pool-member-encryption.yml for /cache/centos-7.qcow2c.snap => (item=/dev/mapper/luks-567fd233-350e-40d3-9c12-2f6f5f3e47f5) TASK [Get the backing device path] ********************************************* task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-encryption.yml:1 Thursday 21 July 2022 08:43:08 +0000 (0:00:00.046) 0:00:31.037 ********* changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "realpath", "/dev/disk/by-uuid/567fd233-350e-40d3-9c12-2f6f5f3e47f5" ], "delta": "0:00:00.004896", "end": "2022-07-21 08:43:08.489042", "rc": 0, "start": "2022-07-21 08:43:08.484146" } STDOUT: /dev/sdb TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-encryption.yml:6 Thursday 21 July 2022 08:43:08 +0000 (0:00:00.331) 0:00:31.368 ********* 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 member] *************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-encryption.yml:11 Thursday 21 July 2022 08:43:09 +0000 (0:00:00.557) 0:00:31.925 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "cryptsetup", "luksDump", "/dev/sdb" ], "delta": "0:00:00.116145", "end": "2022-07-21 08:43:09.467469", "rc": 0, "start": "2022-07-21 08:43:09.351324" } STDOUT: LUKS header information for /dev/sdb Version: 1 Cipher name: aes Cipher mode: xts-plain64 Hash spec: sha256 Payload offset: 4096 MK bits: 512 MK digest: 7b 61 52 10 ef b0 4d 61 43 6e 94 d2 7d 4c bf 0a c0 62 65 33 MK salt: 5c 70 e2 31 c1 ee 17 06 d9 ec cb 4d 65 89 5e 7c b7 87 53 1a df d7 5a 28 89 6f a0 7d 52 44 8c 34 MK iterations: 22914 UUID: 567fd233-350e-40d3-9c12-2f6f5f3e47f5 Key Slot 0: ENABLED Iterations: 366122 Salt: b0 18 2b 0e d6 eb a6 43 08 99 63 8d a2 4f d6 05 4f bb 5b 7e c8 ef e2 73 4d a5 c8 b3 a4 b2 e6 22 Key material offset: 8 AF stripes: 4000 Key Slot 1: DISABLED Key Slot 2: DISABLED Key Slot 3: DISABLED Key Slot 4: DISABLED Key Slot 5: DISABLED Key Slot 6: DISABLED Key Slot 7: DISABLED TASK [Check LUKS version] ****************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-encryption.yml:17 Thursday 21 July 2022 08:43:09 +0000 (0:00:00.423) 0:00:32.349 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-encryption.yml:23 Thursday 21 July 2022 08:43:09 +0000 (0:00:00.025) 0:00:32.375 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-encryption.yml:29 Thursday 21 July 2022 08:43:09 +0000 (0:00:00.025) 0:00:32.400 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "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:43:09 +0000 (0:00:00.024) 0:00:32.425 ********* included: /tmp/tmp8lr32tv2/tests/verify-pool-member-crypttab.yml for /cache/centos-7.qcow2c.snap => (item=/dev/mapper/luks-567fd233-350e-40d3-9c12-2f6f5f3e47f5) TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 08:43:09 +0000 (0:00:00.047) 0:00:32.472 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [ "luks-567fd233-350e-40d3-9c12-2f6f5f3e47f5 /dev/sdb /tmp/storage_testauMYFVlukskey" ] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 08:43:10 +0000 (0:00:00.052) 0:00:32.525 ********* 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:43:10 +0000 (0:00:00.049) 0:00:32.575 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 08:43:10 +0000 (0:00:00.051) 0:00:32.627 ********* 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:43:10 +0000 (0:00:00.035) 0:00:32.663 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 08:43:10 +0000 (0:00:00.049) 0:00:32.712 ********* 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:43:10 +0000 (0:00:00.036) 0:00:32.748 ********* 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:43:10 +0000 (0:00:00.036) 0:00:32.784 ********* 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:43:10 +0000 (0:00:00.048) 0:00:32.833 ********* 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': '/opt/test1', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-1', '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-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:43:10 +0000 (0:00:00.046) 0:00:32.880 ********* 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:43:10 +0000 (0:00:00.024) 0:00:32.904 ********* 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:43:10 +0000 (0:00:00.024) 0:00:32.929 ********* 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:43:10 +0000 (0:00:00.025) 0:00:32.954 ********* 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:43:10 +0000 (0:00:00.025) 0:00:32.979 ********* 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:43:10 +0000 (0:00:00.025) 0:00:33.004 ********* 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:43:10 +0000 (0:00:00.024) 0:00:33.029 ********* 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:43:10 +0000 (0:00:00.024) 0:00:33.053 ********* 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:43:10 +0000 (0:00:00.037) 0:00:33.091 ********* 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:43:10 +0000 (0:00:00.034) 0:00:33.125 ********* 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': '/opt/test1', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-1', '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-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:43:10 +0000 (0:00:00.042) 0:00:33.168 ********* 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:43:10 +0000 (0:00:00.050) 0:00:33.218 ********* 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:43:10 +0000 (0:00:00.140) 0:00:33.358 ********* 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:43:10 +0000 (0:00:00.039) 0:00:33.398 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 1037768, "block_size": 4096, "block_total": 1046016, "block_used": 8248, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 2097149, "inode_total": 2097152, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,noquota", "size_available": 4250697728, "size_total": 4284481536, "uuid": "3c1faf09-41d4-4016-9201-a84cee877f1b" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 1037768, "block_size": 4096, "block_total": 1046016, "block_used": 8248, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 2097149, "inode_total": 2097152, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,noquota", "size_available": 4250697728, "size_total": 4284481536, "uuid": "3c1faf09-41d4-4016-9201-a84cee877f1b" } ], "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:43:10 +0000 (0:00:00.056) 0:00:33.455 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed 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:43:11 +0000 (0:00:00.051) 0:00:33.506 ********* 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:43:11 +0000 (0:00:00.050) 0:00:33.557 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 08:43:11 +0000 (0:00:00.051) 0:00:33.609 ********* 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:43:11 +0000 (0:00:00.026) 0:00:33.635 ********* 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:43:11 +0000 (0:00:00.024) 0:00:33.660 ********* 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:43:11 +0000 (0:00:00.024) 0:00:33.684 ********* 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:43:11 +0000 (0:00:00.035) 0:00:33.720 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 08:43:11 +0000 (0:00:00.063) 0:00:33.783 ********* 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:43:11 +0000 (0:00:00.049) 0:00:33.833 ********* 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:43:11 +0000 (0:00:00.050) 0:00:33.883 ********* 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:43:11 +0000 (0:00:00.038) 0:00:33.921 ********* 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:43:11 +0000 (0:00:00.035) 0:00:33.957 ********* 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:43:11 +0000 (0:00:00.040) 0:00:33.998 ********* 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:43:11 +0000 (0:00:00.040) 0:00:34.038 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658392981.316639, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658392981.316639, "dev": 5, "device_type": 64513, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 27133, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658392981.316639, "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:43:11 +0000 (0:00:00.320) 0:00:34.359 ********* 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:43:11 +0000 (0:00:00.038) 0:00:34.398 ********* 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:43:11 +0000 (0:00:00.041) 0:00:34.440 ********* 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:43:11 +0000 (0:00:00.037) 0:00:34.477 ********* 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:43:12 +0000 (0:00:00.025) 0:00:34.503 ********* 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:43:12 +0000 (0:00:00.038) 0:00:34.541 ********* 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:43:12 +0000 (0:00:00.023) 0:00:34.565 ********* 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:43:12 +0000 (0:00:00.524) 0:00:35.089 ********* 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:43:12 +0000 (0:00:00.023) 0:00:35.113 ********* 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:43:12 +0000 (0:00:00.023) 0:00:35.137 ********* 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:43:12 +0000 (0:00:00.052) 0:00:35.189 ********* 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:43:12 +0000 (0:00:00.024) 0:00:35.214 ********* 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:43:12 +0000 (0:00:00.023) 0:00:35.238 ********* 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:43:12 +0000 (0:00:00.024) 0:00:35.263 ********* 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:43:12 +0000 (0:00:00.023) 0:00:35.287 ********* 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:43:12 +0000 (0:00:00.024) 0:00:35.311 ********* 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:43:12 +0000 (0:00:00.082) 0:00:35.393 ********* 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:43:12 +0000 (0:00:00.050) 0:00:35.444 ********* 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:43:13 +0000 (0:00:00.033) 0:00:35.478 ********* 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:43:13 +0000 (0:00:00.035) 0:00:35.513 ********* 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:43:13 +0000 (0:00:00.037) 0:00:35.550 ********* 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:43:13 +0000 (0:00:00.034) 0:00:35.584 ********* 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:43:13 +0000 (0:00:00.033) 0:00:35.618 ********* 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:43:13 +0000 (0:00:00.033) 0:00:35.652 ********* 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:43:13 +0000 (0:00:00.034) 0:00:35.686 ********* 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:43:13 +0000 (0:00:00.064) 0:00:35.750 ********* 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:43:13 +0000 (0:00:00.034) 0:00:35.785 ********* 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:43:13 +0000 (0:00:00.034) 0:00:35.820 ********* 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:43:13 +0000 (0:00:00.039) 0:00:35.860 ********* 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:43:13 +0000 (0:00:00.413) 0:00:36.273 ********* 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:43:14 +0000 (0:00:00.318) 0:00:36.592 ********* 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:43:14 +0000 (0:00:00.051) 0:00:36.644 ********* 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:43:14 +0000 (0:00:00.035) 0:00:36.680 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 08:43:14 +0000 (0:00:00.034) 0:00:36.714 ********* 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:43:14 +0000 (0:00:00.037) 0:00:36.752 ********* 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:43:14 +0000 (0:00:00.036) 0:00:36.789 ********* 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:43:14 +0000 (0:00:00.034) 0:00:36.824 ********* 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:43:14 +0000 (0:00:00.034) 0:00:36.858 ********* 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:43:14 +0000 (0:00:00.035) 0:00:36.894 ********* 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:43:14 +0000 (0:00:00.036) 0:00:36.930 ********* 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:43:14 +0000 (0:00:00.049) 0:00:36.980 ********* 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.028003", "end": "2022-07-21 08:43:14.428169", "rc": 0, "start": "2022-07-21 08:43:14.400166" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 08:43:14 +0000 (0:00:00.327) 0:00:37.307 ********* 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:43:14 +0000 (0:00:00.050) 0:00:37.358 ********* 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:43:14 +0000 (0:00:00.051) 0:00:37.410 ********* 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:43:14 +0000 (0:00:00.038) 0:00:37.448 ********* 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:43:15 +0000 (0:00:00.036) 0:00:37.485 ********* 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:43:15 +0000 (0:00:00.037) 0:00:37.523 ********* 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:43:15 +0000 (0:00:00.036) 0:00:37.560 ********* 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:43:15 +0000 (0:00:00.033) 0:00:37.593 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:53 Thursday 21 July 2022 08:43:15 +0000 (0:00:00.020) 0:00:37.613 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Remove the key file] ***************************************************** task path: /tmp/tmp8lr32tv2/tests/tests_luks_pool.yml:106 Thursday 21 July 2022 08:43:15 +0000 (0:00:00.033) 0:00:37.647 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "path": "/tmp/storage_testauMYFVlukskey", "state": "absent" } TASK [create a file] *********************************************************** task path: /tmp/tmp8lr32tv2/tests/create-test-file.yml:10 Thursday 21 July 2022 08:43:15 +0000 (0:00:00.439) 0:00:38.087 ********* changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "dest": "/opt/test1/quux", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:unlabeled_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [Remove the encryption layer] ********************************************* task path: /tmp/tmp8lr32tv2/tests/tests_luks_pool.yml:116 Thursday 21 July 2022 08:43:15 +0000 (0:00:00.308) 0:00:38.395 ********* 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:43:15 +0000 (0:00:00.049) 0:00:38.445 ********* 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:43:16 +0000 (0:00:00.038) 0:00:38.483 ********* 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:43:16 +0000 (0:00:00.417) 0:00:38.901 ********* 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:43:16 +0000 (0:00:00.061) 0:00:38.962 ********* 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:43:16 +0000 (0:00:00.032) 0:00:38.995 ********* 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:43:16 +0000 (0:00:00.033) 0:00:39.029 ********* 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:43:16 +0000 (0:00:00.045) 0:00:39.075 ********* 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:43:16 +0000 (0:00:00.020) 0:00:39.095 ********* 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:43:16 +0000 (0:00:00.026) 0:00:39.121 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_pools": [ { "disks": [ "sdb" ], "encryption": false, "encryption_password": "yabbadabbadoo", "name": "foo", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "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:43:16 +0000 (0:00:00.036) 0:00:39.158 ********* 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:43:16 +0000 (0:00:00.042) 0:00:39.201 ********* 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:43:16 +0000 (0:00:00.029) 0:00:39.230 ********* 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:43:16 +0000 (0:00:00.027) 0:00:39.257 ********* 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:43:16 +0000 (0:00:00.029) 0:00:39.287 ********* 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:43:16 +0000 (0:00:00.029) 0:00:39.317 ********* 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:43:16 +0000 (0:00:00.061) 0:00:39.378 ********* 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:43:16 +0000 (0:00:00.022) 0:00:39.400 ********* fatal: [/cache/centos-7.qcow2c.snap]: FAILED! => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } MSG: cannot remove and recreate existing pool 'foo' in safe mode TASK [linux-system-roles.storage : failed message] ***************************** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:99 Thursday 21 July 2022 08:43:18 +0000 (0:00:01.373) 0:00:40.774 ********* fatal: [/cache/centos-7.qcow2c.snap]: FAILED! => { "changed": false } MSG: {'crypts': [], 'mounts': [], 'leaves': [], 'changed': False, 'actions': [], 'failed': True, 'volumes': [], 'invocation': {'module_args': {'packages_only': False, 'disklabel_type': None, 'diskvolume_mkfs_option_map': {'ext4': '-F', 'ext3': '-F', 'ext2': '-F'}, 'safe_mode': True, 'pools': [{'name': 'foo', 'encryption_password': 'yabbadabbadoo', 'state': 'present', 'raid_metadata_version': None, 'encryption': False, 'encryption_key_size': 0, 'disks': ['sdb'], 'raid_level': None, 'encryption_luks_version': 'luks1', 'raid_device_count': None, 'encryption_key': None, 'volumes': [{'fs_type': None, 'mount_options': None, 'size': '4g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, 'encryption': None, 'raid_level': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'deduplication': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'raid_disks': [], 'cache_mode': None, 'name': 'test1', 'cached': None, 'type': None, 'thin': False, 'cache_size': None, 'cache_devices': [], 'fs_create_options': None}], 'raid_chunk_size': None, 'type': 'lvm', 'encryption_cipher': None, 'raid_spare_count': None}], 'volumes': [], 'pool_defaults': {'encryption_password': None, 'raid_metadata_version': None, 'encryption': False, 'encryption_cipher': None, 'disks': [], 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'raid_device_count': None, 'state': 'present', 'volumes': [], 'raid_chunk_size': None, 'type': 'lvm', 'raid_level': None, 'raid_spare_count': None}, 'volume_defaults': {'raid_metadata_version': None, 'mount_device_identifier': 'uuid', 'fs_type': 'xfs', 'mount_options': 'defaults', 'size': 0, 'mount_point': '', 'compression': None, 'encryption_password': None, 'encryption': False, 'raid_level': None, 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'fs_overwrite_existing': True, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'mount_passno': 0, 'raid_spare_count': None, 'cache_mode': None, 'deduplication': None, 'cached': False, 'type': 'lvm', 'disks': [], 'thin_pool_size': None, 'thin': None, 'mount_check': 0, 'cache_size': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}, 'use_partitions': None}}, 'pools': [], 'packages': [], 'msg': "cannot remove and recreate existing pool 'foo' in safe mode", '_ansible_no_log': 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:43:18 +0000 (0:00:00.083) 0:00:40.857 ********* TASK [Check that we failed in the role] **************************************** task path: /tmp/tmp8lr32tv2/tests/tests_luks_pool.yml:134 Thursday 21 July 2022 08:43:18 +0000 (0:00:00.022) 0:00:40.880 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the output of the safe_mode test] ********************************* task path: /tmp/tmp8lr32tv2/tests/tests_luks_pool.yml:140 Thursday 21 July 2022 08:43:18 +0000 (0:00:00.037) 0:00:40.918 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [stat the file] *********************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-data-preservation.yml:10 Thursday 21 July 2022 08:43:18 +0000 (0:00:00.050) 0:00:40.968 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658392995.513639, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658392995.513639, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 67, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0644", "mtime": 1658392995.513639, "nlink": 1, "path": "/opt/test1/quux", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "version": "18446744072864525301", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [assert file presence] **************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-data-preservation.yml:15 Thursday 21 July 2022 08:43:18 +0000 (0:00:00.313) 0:00:41.282 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Remove the encryption layer] ********************************************* task path: /tmp/tmp8lr32tv2/tests/tests_luks_pool.yml:151 Thursday 21 July 2022 08:43:18 +0000 (0:00:00.040) 0:00:41.323 ********* 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:43:18 +0000 (0:00:00.039) 0:00:41.363 ********* 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:43:18 +0000 (0:00:00.034) 0:00:41.397 ********* 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:43:19 +0000 (0:00:00.413) 0:00:41.811 ********* 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:43:19 +0000 (0:00:00.063) 0:00:41.875 ********* 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:43:19 +0000 (0:00:00.034) 0:00:41.910 ********* 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:43:19 +0000 (0:00:00.038) 0:00:41.948 ********* 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:43:19 +0000 (0:00:00.048) 0:00:41.997 ********* 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:43:19 +0000 (0:00:00.022) 0:00:42.020 ********* 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:43:19 +0000 (0:00:00.030) 0:00:42.050 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_pools": [ { "disks": [ "sdb" ], "encryption": false, "encryption_password": "yabbadabbadoo", "name": "foo", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "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:43:19 +0000 (0:00:00.038) 0:00:42.089 ********* 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:43:19 +0000 (0:00:00.037) 0:00:42.127 ********* 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:43:19 +0000 (0:00:00.030) 0:00:42.157 ********* 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:43:19 +0000 (0:00:00.030) 0:00:42.188 ********* 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:43:19 +0000 (0:00:00.029) 0:00:42.217 ********* 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:43:19 +0000 (0:00:00.026) 0:00:42.243 ********* 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:43:19 +0000 (0:00:00.053) 0:00:42.297 ********* 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:43:19 +0000 (0:00:00.023) 0:00:42.321 ********* changed: [/cache/centos-7.qcow2c.snap] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/mapper/luks-567fd233-350e-40d3-9c12-2f6f5f3e47f5", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/mapper/luks-567fd233-350e-40d3-9c12-2f6f5f3e47f5", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb", "fs_type": "luks" }, { "action": "create format", "device": "/dev/sdb", "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": [ { "backing_device": "/dev/sdb", "name": "luks-567fd233-350e-40d3-9c12-2f6f5f3e47f5", "password": "-", "state": "absent" } ], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/mapper/foo-test1" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "xfsprogs", "e2fsprogs", "lvm2" ], "pools": [ { "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks1", "encryption_password": "yabbadabbadoo", "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "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:43:22 +0000 (0:00:02.528) 0:00:44.849 ********* 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:43:22 +0000 (0:00:00.040) 0:00:44.889 ********* 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:43:22 +0000 (0:00:00.022) 0:00:44.912 ********* ok: [/cache/centos-7.qcow2c.snap] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/mapper/luks-567fd233-350e-40d3-9c12-2f6f5f3e47f5", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/mapper/luks-567fd233-350e-40d3-9c12-2f6f5f3e47f5", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb", "fs_type": "luks" }, { "action": "create format", "device": "/dev/sdb", "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": [ { "backing_device": "/dev/sdb", "name": "luks-567fd233-350e-40d3-9c12-2f6f5f3e47f5", "password": "-", "state": "absent" } ], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/mapper/foo-test1" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "xfsprogs", "e2fsprogs", "lvm2" ], "pools": [ { "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks1", "encryption_password": "yabbadabbadoo", "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "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:43:22 +0000 (0:00:00.043) 0:00:44.956 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks1", "encryption_password": "yabbadabbadoo", "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "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:43:22 +0000 (0:00:00.039) 0:00:44.995 ********* 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:43:22 +0000 (0:00:00.038) 0:00:45.034 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-7.qcow2c.snap] => (item={'src': '/dev/mapper/foo-test1', 'state': 'absent', 'path': '/opt/test1', 'fstype': 'xfs'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 08:43:22 +0000 (0:00:00.368) 0:00:45.403 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "name": null, "status": {} } 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:43:23 +0000 (0:00:00.490) 0:00:45.893 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-7.qcow2c.snap] => (item={'src': '/dev/mapper/foo-test1', 'dump': 0, 'passno': 0, 'fstype': 'xfs', 'state': 'mounted', 'path': '/opt/test1', 'opts': 'defaults'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 08:43:23 +0000 (0:00:00.359) 0:00:46.253 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "name": null, "status": {} } 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:43:24 +0000 (0:00:00.442) 0:00:46.695 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658392986.335639, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "2aaadfbbe92fa5be11a0973611f035f66895da20", "ctime": 1658392984.122639, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4256173, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1658392984.121639, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 82, "uid": 0, "version": "18446744072257877486", "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:43:24 +0000 (0:00:00.315) 0:00:47.010 ********* changed: [/cache/centos-7.qcow2c.snap] => (item={'state': 'absent', 'password': '-', 'name': 'luks-567fd233-350e-40d3-9c12-2f6f5f3e47f5', 'backing_device': '/dev/sdb'}) => { "ansible_loop_var": "entry", "backup": "", "changed": true, "entry": { "backing_device": "/dev/sdb", "name": "luks-567fd233-350e-40d3-9c12-2f6f5f3e47f5", "password": "-", "state": "absent" }, "found": 1 } MSG: 1 line(s) removed 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:43:24 +0000 (0:00:00.341) 0:00:47.352 ********* ok: [/cache/centos-7.qcow2c.snap] META: role_complete for /cache/centos-7.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp8lr32tv2/tests/tests_luks_pool.yml:167 Thursday 21 July 2022 08:43:25 +0000 (0:00:00.859) 0:00:48.211 ********* 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:43:25 +0000 (0:00:00.037) 0:00:48.248 ********* ok: [/cache/centos-7.qcow2c.snap] => { "_storage_pools_list": [ { "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks1", "encryption_password": "yabbadabbadoo", "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "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:43:25 +0000 (0:00:00.050) 0:00:48.299 ********* 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:43:25 +0000 (0:00:00.036) 0:00:48.336 ********* 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": "71b13d41-732f-42f7-b6d2-c31625de8711" }, "/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": "LVM2_member", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "5QR1Kz-UC27-gKq9-mVjm-TbOm-b0DH-0EL1mM" }, "/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-42-23-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:43:26 +0000 (0:00:00.356) 0:00:48.692 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003580", "end": "2022-07-21 08:43:26.156917", "rc": 0, "start": "2022-07-21 08:43:26.153337" } 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 /dev/mapper/foo-test1 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:24 Thursday 21 July 2022 08:43:26 +0000 (0:00:00.342) 0:00:49.034 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.004039", "end": "2022-07-21 08:43:26.467431", "failed_when_result": false, "rc": 0, "start": "2022-07-21 08:43:26.463392" } 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:43:26 +0000 (0:00:00.320) 0:00:49.355 ********* included: /tmp/tmp8lr32tv2/tests/test-verify-pool.yml for /cache/centos-7.qcow2c.snap => (item={'name': 'foo', 'encryption_password': 'yabbadabbadoo', 'state': 'present', 'raid_metadata_version': None, 'encryption': False, 'encryption_key_size': 0, 'disks': ['sdb'], 'raid_level': None, 'encryption_luks_version': 'luks1', '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': '/opt/test1', '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:43:26 +0000 (0:00:00.057) 0:00:49.413 ********* 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:43:26 +0000 (0:00:00.033) 0:00:49.446 ********* 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:43:27 +0000 (0:00:00.052) 0:00:49.498 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sdb" ] }, "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:43:27 +0000 (0:00:00.057) 0:00:49.556 ********* ok: [/cache/centos-7.qcow2c.snap] => (item=/dev/sdb) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sdb", "pv": "/dev/sdb" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 08:43:27 +0000 (0:00:00.291) 0:00:49.847 ********* 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:43:27 +0000 (0:00:00.046) 0:00:49.893 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sdb" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 08:43:27 +0000 (0:00:00.053) 0:00:49.947 ********* 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:43:27 +0000 (0:00:00.067) 0:00:50.014 ********* 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:43:27 +0000 (0:00:00.035) 0:00:50.050 ********* 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:43:27 +0000 (0:00:00.052) 0:00:50.103 ********* 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:43:27 +0000 (0:00:00.025) 0:00:50.129 ********* ok: [/cache/centos-7.qcow2c.snap] => (item=/dev/sdb) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sdb" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 08:43:27 +0000 (0:00:00.046) 0:00:50.176 ********* 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:43:27 +0000 (0:00:00.042) 0:00:50.218 ********* 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:43:27 +0000 (0:00:00.027) 0:00:50.246 ********* 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:43:27 +0000 (0:00:00.025) 0:00:50.271 ********* 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:43:27 +0000 (0:00:00.025) 0:00:50.297 ********* 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:43:27 +0000 (0:00:00.025) 0:00:50.322 ********* 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:43:27 +0000 (0:00:00.025) 0:00:50.348 ********* 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:43:27 +0000 (0:00:00.025) 0:00:50.373 ********* 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:43:27 +0000 (0:00:00.024) 0:00:50.397 ********* 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:43:27 +0000 (0:00:00.033) 0:00:50.431 ********* 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:43:28 +0000 (0:00:00.050) 0:00:50.482 ********* 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': '/opt/test1', '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:43:28 +0000 (0:00:00.042) 0:00:50.525 ********* 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:43:28 +0000 (0:00:00.028) 0:00:50.553 ********* 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:43:28 +0000 (0:00:00.060) 0:00:50.613 ********* 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:43:28 +0000 (0:00:00.027) 0:00:50.641 ********* 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:43:28 +0000 (0:00:00.043) 0:00:50.685 ********* 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': '/opt/test1', '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:43:28 +0000 (0:00:00.042) 0:00:50.728 ********* 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:43:28 +0000 (0:00:00.023) 0:00:50.751 ********* 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:43:28 +0000 (0:00:00.024) 0:00:50.776 ********* 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:43:28 +0000 (0:00:00.023) 0:00:50.799 ********* 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:43:28 +0000 (0:00:00.023) 0:00:50.822 ********* 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:43:28 +0000 (0:00:00.053) 0:00:50.875 ********* 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:43:28 +0000 (0:00:00.051) 0:00:50.927 ********* skipping: [/cache/centos-7.qcow2c.snap] => (item=/dev/sdb) => { "_storage_test_pool_member_path": "/dev/sdb", "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:43:28 +0000 (0:00:00.025) 0:00:50.953 ********* included: /tmp/tmp8lr32tv2/tests/verify-pool-member-crypttab.yml for /cache/centos-7.qcow2c.snap => (item=/dev/sdb) TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 08:43:28 +0000 (0:00:00.045) 0:00:50.998 ********* 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:43:28 +0000 (0:00:00.053) 0:00:51.051 ********* 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:43:28 +0000 (0:00:00.048) 0:00:51.099 ********* 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:43:28 +0000 (0:00:00.037) 0:00:51.137 ********* 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:43:28 +0000 (0:00:00.034) 0:00:51.171 ********* 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:43:28 +0000 (0:00:00.034) 0:00:51.206 ********* 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:43:28 +0000 (0:00:00.038) 0:00:51.244 ********* 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:43:28 +0000 (0:00:00.036) 0:00:51.280 ********* 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:43:28 +0000 (0:00:00.046) 0:00:51.327 ********* 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': '/opt/test1', '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:43:28 +0000 (0:00:00.047) 0:00:51.374 ********* 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:43:28 +0000 (0:00:00.023) 0:00:51.398 ********* 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:43:28 +0000 (0:00:00.023) 0:00:51.421 ********* 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:43:28 +0000 (0:00:00.022) 0:00:51.444 ********* 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:43:28 +0000 (0:00:00.027) 0:00:51.471 ********* 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:43:29 +0000 (0:00:00.024) 0:00:51.496 ********* 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:43:29 +0000 (0:00:00.022) 0:00:51.519 ********* 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:43:29 +0000 (0:00:00.022) 0:00:51.541 ********* 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:43:29 +0000 (0:00:00.039) 0:00:51.581 ********* 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:43:29 +0000 (0:00:00.036) 0:00:51.617 ********* 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': '/opt/test1', '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:43:29 +0000 (0:00:00.043) 0:00:51.661 ********* 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:43:29 +0000 (0:00:00.050) 0:00:51.711 ********* 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:43:29 +0000 (0:00:00.111) 0:00:51.823 ********* 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:43:29 +0000 (0:00:00.039) 0:00:51.862 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 1037768, "block_size": 4096, "block_total": 1046016, "block_used": 8248, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 2097149, "inode_total": 2097152, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,noquota", "size_available": 4250697728, "size_total": 4284481536, "uuid": "71b13d41-732f-42f7-b6d2-c31625de8711" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 1037768, "block_size": 4096, "block_total": 1046016, "block_used": 8248, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 2097149, "inode_total": 2097152, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,noquota", "size_available": 4250697728, "size_total": 4284481536, "uuid": "71b13d41-732f-42f7-b6d2-c31625de8711" } ], "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:43:29 +0000 (0:00:00.052) 0:00:51.915 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed 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:43:29 +0000 (0:00:00.047) 0:00:51.963 ********* 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:43:29 +0000 (0:00:00.047) 0:00:52.010 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 08:43:29 +0000 (0:00:00.049) 0:00:52.060 ********* 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:43:29 +0000 (0:00:00.023) 0:00:52.084 ********* 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:43:29 +0000 (0:00:00.022) 0:00:52.107 ********* 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:43:29 +0000 (0:00:00.022) 0:00:52.130 ********* 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:43:29 +0000 (0:00:00.033) 0:00:52.164 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 08:43:29 +0000 (0:00:00.060) 0:00:52.224 ********* 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:43:29 +0000 (0:00:00.047) 0:00:52.272 ********* 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:43:29 +0000 (0:00:00.048) 0:00:52.320 ********* 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:43:29 +0000 (0:00:00.039) 0:00:52.360 ********* 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:43:29 +0000 (0:00:00.045) 0:00:52.406 ********* 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:43:29 +0000 (0:00:00.040) 0:00:52.446 ********* 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:43:30 +0000 (0:00:00.039) 0:00:52.486 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658393001.905639, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658393001.905639, "dev": 5, "device_type": 64512, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 33440, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658393001.905639, "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:43:30 +0000 (0:00:00.301) 0:00:52.788 ********* 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:43:30 +0000 (0:00:00.039) 0:00:52.828 ********* 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:43:30 +0000 (0:00:00.043) 0:00:52.871 ********* 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:43:30 +0000 (0:00:00.040) 0:00:52.912 ********* 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:43:30 +0000 (0:00:00.028) 0:00:52.940 ********* 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:43:30 +0000 (0:00:00.040) 0:00:52.980 ********* 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:43:30 +0000 (0:00:00.022) 0:00:53.003 ********* 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:43:31 +0000 (0:00:00.519) 0:00:53.523 ********* 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:43:31 +0000 (0:00:00.024) 0:00:53.548 ********* 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:43:31 +0000 (0:00:00.024) 0:00:53.572 ********* 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:43:31 +0000 (0:00:00.050) 0:00:53.622 ********* 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:43:31 +0000 (0:00:00.022) 0:00:53.645 ********* 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:43:31 +0000 (0:00:00.022) 0:00:53.668 ********* 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:43:31 +0000 (0:00:00.023) 0:00:53.692 ********* 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:43:31 +0000 (0:00:00.022) 0:00:53.714 ********* 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:43:31 +0000 (0:00:00.022) 0:00:53.737 ********* 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:43:31 +0000 (0:00:00.087) 0:00:53.824 ********* 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:43:31 +0000 (0:00:00.047) 0:00:53.872 ********* 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:43:31 +0000 (0:00:00.034) 0:00:53.907 ********* 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:43:31 +0000 (0:00:00.034) 0:00:53.942 ********* 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:43:31 +0000 (0:00:00.073) 0:00:54.016 ********* 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:43:31 +0000 (0:00:00.033) 0:00:54.049 ********* 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:43:31 +0000 (0:00:00.034) 0:00:54.084 ********* 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:43:31 +0000 (0:00:00.034) 0:00:54.119 ********* 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:43:31 +0000 (0:00:00.036) 0:00:54.155 ********* 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:43:31 +0000 (0:00:00.037) 0:00:54.193 ********* 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:43:31 +0000 (0:00:00.034) 0:00:54.228 ********* 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:43:31 +0000 (0:00:00.034) 0:00:54.262 ********* 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:43:31 +0000 (0:00:00.036) 0:00:54.298 ********* 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:43:32 +0000 (0:00:00.296) 0:00:54.595 ********* 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:43:32 +0000 (0:00:00.320) 0:00:54.916 ********* 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:43:32 +0000 (0:00:00.049) 0:00:54.965 ********* 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:43:32 +0000 (0:00:00.034) 0:00:55.000 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 08:43:32 +0000 (0:00:00.037) 0:00:55.038 ********* 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:43:32 +0000 (0:00:00.035) 0:00:55.073 ********* 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:43:32 +0000 (0:00:00.034) 0:00:55.108 ********* 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:43:32 +0000 (0:00:00.034) 0:00:55.143 ********* 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:43:32 +0000 (0:00:00.039) 0:00:55.183 ********* 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:43:32 +0000 (0:00:00.033) 0:00:55.217 ********* 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:43:32 +0000 (0:00:00.034) 0:00:55.251 ********* 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:43:32 +0000 (0:00:00.051) 0:00:55.303 ********* 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.025009", "end": "2022-07-21 08:43:32.751194", "rc": 0, "start": "2022-07-21 08:43:32.726185" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 08:43:33 +0000 (0:00:00.327) 0:00:55.630 ********* 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:43:33 +0000 (0:00:00.049) 0:00:55.680 ********* 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:43:33 +0000 (0:00:00.050) 0:00:55.731 ********* 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:43:33 +0000 (0:00:00.043) 0:00:55.774 ********* 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:43:33 +0000 (0:00:00.036) 0:00:55.811 ********* 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:43:33 +0000 (0:00:00.037) 0:00:55.848 ********* 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:43:33 +0000 (0:00:00.036) 0:00:55.885 ********* 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:43:33 +0000 (0:00:00.035) 0:00:55.921 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:53 Thursday 21 July 2022 08:43:33 +0000 (0:00:00.020) 0:00:55.941 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [create a file] *********************************************************** task path: /tmp/tmp8lr32tv2/tests/create-test-file.yml:10 Thursday 21 July 2022 08:43:33 +0000 (0:00:00.032) 0:00:55.974 ********* changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "dest": "/opt/test1/quux", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:unlabeled_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [Add encryption to the pool] ********************************************** task path: /tmp/tmp8lr32tv2/tests/tests_luks_pool.yml:173 Thursday 21 July 2022 08:43:33 +0000 (0:00:00.349) 0:00:56.324 ********* 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:43:33 +0000 (0:00:00.038) 0:00:56.362 ********* 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:43:33 +0000 (0:00:00.036) 0:00:56.398 ********* 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:43:34 +0000 (0:00:00.467) 0:00:56.866 ********* 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:43:34 +0000 (0:00:00.063) 0:00:56.929 ********* 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:43:34 +0000 (0:00:00.033) 0:00:56.963 ********* 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:43:34 +0000 (0:00:00.031) 0:00:56.994 ********* 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:43:34 +0000 (0:00:00.046) 0:00:57.040 ********* 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:43:34 +0000 (0:00:00.021) 0:00:57.061 ********* 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:43:34 +0000 (0:00:00.029) 0:00:57.090 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_pools": [ { "disks": [ "sdb" ], "encryption": true, "encryption_cipher": "serpent-xts-plain64", "encryption_key_size": 512, "encryption_luks_version": "luks1", "encryption_password": "yabbadabbadoo", "name": "foo", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "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:43:34 +0000 (0:00:00.037) 0:00:57.127 ********* 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:43:34 +0000 (0:00:00.039) 0:00:57.167 ********* 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:43:34 +0000 (0:00:00.030) 0:00:57.198 ********* 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:43:34 +0000 (0:00:00.026) 0:00:57.224 ********* 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:43:34 +0000 (0:00:00.028) 0:00:57.252 ********* 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:43:34 +0000 (0:00:00.026) 0:00:57.279 ********* 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:43:34 +0000 (0:00:00.071) 0:00:57.350 ********* 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:43:34 +0000 (0:00:00.021) 0:00:57.372 ********* fatal: [/cache/centos-7.qcow2c.snap]: FAILED! => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } MSG: cannot remove and recreate existing pool 'foo' in safe mode TASK [linux-system-roles.storage : failed message] ***************************** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:99 Thursday 21 July 2022 08:43:36 +0000 (0:00:01.293) 0:00:58.666 ********* fatal: [/cache/centos-7.qcow2c.snap]: FAILED! => { "changed": false } MSG: {'crypts': [], 'mounts': [], 'leaves': [], 'changed': False, 'actions': [], 'failed': True, 'volumes': [], 'invocation': {'module_args': {'packages_only': False, 'disklabel_type': None, 'diskvolume_mkfs_option_map': {'ext4': '-F', 'ext3': '-F', 'ext2': '-F'}, 'safe_mode': True, 'pools': [{'name': 'foo', 'encryption_password': 'yabbadabbadoo', 'state': 'present', 'raid_metadata_version': None, 'encryption': True, 'encryption_key_size': 512, 'disks': ['sdb'], 'raid_level': None, 'encryption_luks_version': 'luks1', 'raid_device_count': None, 'encryption_key': None, 'volumes': [{'fs_type': None, 'mount_options': None, 'size': '4g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, 'encryption': None, 'raid_level': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'deduplication': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'raid_disks': [], 'cache_mode': None, 'name': 'test1', 'cached': None, 'type': None, 'thin': False, 'cache_size': None, 'cache_devices': [], 'fs_create_options': None}], 'raid_chunk_size': None, 'type': 'lvm', 'encryption_cipher': 'serpent-xts-plain64', 'raid_spare_count': None}], 'volumes': [], 'pool_defaults': {'encryption_password': None, 'raid_metadata_version': None, 'encryption': False, 'encryption_cipher': None, 'disks': [], 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'raid_device_count': None, 'state': 'present', 'volumes': [], 'raid_chunk_size': None, 'type': 'lvm', 'raid_level': None, 'raid_spare_count': None}, 'volume_defaults': {'raid_metadata_version': None, 'mount_device_identifier': 'uuid', 'fs_type': 'xfs', 'mount_options': 'defaults', 'size': 0, 'mount_point': '', 'compression': None, 'encryption_password': None, 'encryption': False, 'raid_level': None, 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'fs_overwrite_existing': True, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'mount_passno': 0, 'raid_spare_count': None, 'cache_mode': None, 'deduplication': None, 'cached': False, 'type': 'lvm', 'disks': [], 'thin_pool_size': None, 'thin': None, 'mount_check': 0, 'cache_size': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}, 'use_partitions': None}}, 'pools': [], 'packages': [], 'msg': "cannot remove and recreate existing pool 'foo' in safe mode", '_ansible_no_log': 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:43:36 +0000 (0:00:00.041) 0:00:58.708 ********* TASK [Check that we failed in the role] **************************************** task path: /tmp/tmp8lr32tv2/tests/tests_luks_pool.yml:194 Thursday 21 July 2022 08:43:36 +0000 (0:00:00.022) 0:00:58.731 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the output of the safe_mode test] ********************************* task path: /tmp/tmp8lr32tv2/tests/tests_luks_pool.yml:200 Thursday 21 July 2022 08:43:36 +0000 (0:00:00.038) 0:00:58.770 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [stat the file] *********************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-data-preservation.yml:10 Thursday 21 July 2022 08:43:36 +0000 (0:00:00.051) 0:00:58.821 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658393013.441639, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658393013.441639, "dev": 64512, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 67, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0644", "mtime": 1658393013.441639, "nlink": 1, "path": "/opt/test1/quux", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "version": "208667657", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [assert file presence] **************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-data-preservation.yml:15 Thursday 21 July 2022 08:43:36 +0000 (0:00:00.314) 0:00:59.135 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Add encryption to the pool] ********************************************** task path: /tmp/tmp8lr32tv2/tests/tests_luks_pool.yml:211 Thursday 21 July 2022 08:43:36 +0000 (0:00:00.042) 0:00:59.178 ********* 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:43:36 +0000 (0:00:00.043) 0:00:59.221 ********* 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:43:36 +0000 (0:00:00.035) 0:00:59.257 ********* 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:43:37 +0000 (0:00:00.443) 0:00:59.700 ********* 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:43:37 +0000 (0:00:00.098) 0:00:59.799 ********* 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:43:37 +0000 (0:00:00.075) 0:00:59.874 ********* 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:43:37 +0000 (0:00:00.035) 0:00:59.909 ********* 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:43:37 +0000 (0:00:00.079) 0:00:59.988 ********* 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:43:37 +0000 (0:00:00.021) 0:01:00.010 ********* 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:43:37 +0000 (0:00:00.027) 0:01:00.038 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_pools": [ { "disks": [ "sdb" ], "encryption": true, "encryption_cipher": "serpent-xts-plain64", "encryption_key_size": 512, "encryption_luks_version": "luks1", "encryption_password": "yabbadabbadoo", "name": "foo", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "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:43:37 +0000 (0:00:00.037) 0:01:00.075 ********* 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:43:37 +0000 (0:00:00.036) 0:01:00.112 ********* 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:43:37 +0000 (0:00:00.030) 0:01:00.142 ********* 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:43:37 +0000 (0:00:00.028) 0:01:00.170 ********* 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:43:37 +0000 (0:00:00.029) 0:01:00.200 ********* 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:43:37 +0000 (0:00:00.032) 0:01:00.232 ********* 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:43:37 +0000 (0:00:00.059) 0:01:00.291 ********* 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:43:37 +0000 (0:00:00.023) 0:01:00.315 ********* changed: [/cache/centos-7.qcow2c.snap] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb", "fs_type": "lvmpv" }, { "action": "create format", "device": "/dev/sdb", "fs_type": "luks" }, { "action": "create device", "device": "/dev/mapper/luks-2c90f6c9-84f5-40a4-bddb-38c970d17a2c", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/luks-2c90f6c9-84f5-40a4-bddb-38c970d17a2c", "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": [ { "backing_device": "/dev/sdb", "name": "luks-2c90f6c9-84f5-40a4-bddb-38c970d17a2c", "password": "-", "state": "present" } ], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/mapper/foo-test1" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "cryptsetup", "xfsprogs", "e2fsprogs", "lvm2" ], "pools": [ { "disks": [ "sdb" ], "encryption": true, "encryption_cipher": "serpent-xts-plain64", "encryption_key": null, "encryption_key_size": 512, "encryption_luks_version": "luks1", "encryption_password": "yabbadabbadoo", "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-1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "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:43:46 +0000 (0:00:08.670) 0:01:08.985 ********* 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:43:46 +0000 (0:00:00.039) 0:01:09.024 ********* 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:43:46 +0000 (0:00:00.021) 0:01:09.046 ********* ok: [/cache/centos-7.qcow2c.snap] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb", "fs_type": "lvmpv" }, { "action": "create format", "device": "/dev/sdb", "fs_type": "luks" }, { "action": "create device", "device": "/dev/mapper/luks-2c90f6c9-84f5-40a4-bddb-38c970d17a2c", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/luks-2c90f6c9-84f5-40a4-bddb-38c970d17a2c", "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": [ { "backing_device": "/dev/sdb", "name": "luks-2c90f6c9-84f5-40a4-bddb-38c970d17a2c", "password": "-", "state": "present" } ], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/mapper/foo-test1" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "cryptsetup", "xfsprogs", "e2fsprogs", "lvm2" ], "pools": [ { "disks": [ "sdb" ], "encryption": true, "encryption_cipher": "serpent-xts-plain64", "encryption_key": null, "encryption_key_size": 512, "encryption_luks_version": "luks1", "encryption_password": "yabbadabbadoo", "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-1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "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:43:46 +0000 (0:00:00.043) 0:01:09.090 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sdb" ], "encryption": true, "encryption_cipher": "serpent-xts-plain64", "encryption_key": null, "encryption_key_size": 512, "encryption_luks_version": "luks1", "encryption_password": "yabbadabbadoo", "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-1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "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:43:46 +0000 (0:00:00.045) 0:01:09.135 ********* 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:43:46 +0000 (0:00:00.036) 0:01:09.172 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-7.qcow2c.snap] => (item={'src': '/dev/mapper/foo-test1', 'state': 'absent', 'path': '/opt/test1', 'fstype': 'xfs'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 08:43:47 +0000 (0:00:00.345) 0:01:09.517 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "name": null, "status": {} } 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:43:47 +0000 (0:00:00.482) 0:01:10.000 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-7.qcow2c.snap] => (item={'src': '/dev/mapper/foo-test1', 'dump': 0, 'passno': 0, 'fstype': 'xfs', 'state': 'mounted', 'path': '/opt/test1', 'opts': 'defaults'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 08:43:47 +0000 (0:00:00.351) 0:01:10.351 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "name": null, "status": {} } 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:43:48 +0000 (0:00:00.467) 0:01:10.819 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658393006.4666388, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658393004.4626389, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8426538, "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": 1658393004.4626389, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "1793859204", "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:43:48 +0000 (0:00:00.374) 0:01:11.194 ********* changed: [/cache/centos-7.qcow2c.snap] => (item={'state': 'present', 'password': '-', 'name': 'luks-2c90f6c9-84f5-40a4-bddb-38c970d17a2c', 'backing_device': '/dev/sdb'}) => { "ansible_loop_var": "entry", "backup": "", "changed": true, "entry": { "backing_device": "/dev/sdb", "name": "luks-2c90f6c9-84f5-40a4-bddb-38c970d17a2c", "password": "-", "state": "present" } } MSG: line added 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:43:49 +0000 (0:00:00.378) 0:01:11.572 ********* ok: [/cache/centos-7.qcow2c.snap] META: role_complete for /cache/centos-7.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp8lr32tv2/tests/tests_luks_pool.yml:230 Thursday 21 July 2022 08:43:50 +0000 (0:00:00.914) 0:01:12.486 ********* 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:43:50 +0000 (0:00:00.040) 0:01:12.527 ********* ok: [/cache/centos-7.qcow2c.snap] => { "_storage_pools_list": [ { "disks": [ "sdb" ], "encryption": true, "encryption_cipher": "serpent-xts-plain64", "encryption_key": null, "encryption_key_size": 512, "encryption_luks_version": "luks1", "encryption_password": "yabbadabbadoo", "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-1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "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:43:50 +0000 (0:00:00.051) 0:01:12.579 ********* 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:43:50 +0000 (0:00:00.036) 0:01:12.615 ********* 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": "fe47b388-31a3-4a9a-9c27-970cc20b46ae" }, "/dev/mapper/luks-2c90f6c9-84f5-40a4-bddb-38c970d17a2c": { "fstype": "LVM2_member", "label": "", "name": "/dev/mapper/luks-2c90f6c9-84f5-40a4-bddb-38c970d17a2c", "size": "10G", "type": "crypt", "uuid": "w29BVu-bElU-v2Q7-K765-wHjC-34gp-wfZ4w9" }, "/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": "crypto_LUKS", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "2c90f6c9-84f5-40a4-bddb-38c970d17a2c" }, "/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-42-23-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:43:50 +0000 (0:00:00.323) 0:01:12.939 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003561", "end": "2022-07-21 08:43:50.367599", "rc": 0, "start": "2022-07-21 08:43:50.364038" } 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 /dev/mapper/foo-test1 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:24 Thursday 21 July 2022 08:43:50 +0000 (0:00:00.311) 0:01:13.250 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003541", "end": "2022-07-21 08:43:50.677672", "failed_when_result": false, "rc": 0, "start": "2022-07-21 08:43:50.674131" } STDOUT: luks-2c90f6c9-84f5-40a4-bddb-38c970d17a2c /dev/sdb - 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:43:51 +0000 (0:00:00.312) 0:01:13.563 ********* included: /tmp/tmp8lr32tv2/tests/test-verify-pool.yml for /cache/centos-7.qcow2c.snap => (item={'name': 'foo', 'encryption_password': 'yabbadabbadoo', 'state': 'present', 'raid_metadata_version': None, 'encryption': True, 'encryption_key_size': 512, 'disks': ['sdb'], 'raid_level': None, 'encryption_luks_version': 'luks1', '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': '/opt/test1', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-1', '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-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': 'serpent-xts-plain64', 'raid_spare_count': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-pool.yml:5 Thursday 21 July 2022 08:43:51 +0000 (0:00:00.060) 0:01:13.623 ********* 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:43:51 +0000 (0:00:00.036) 0:01:13.659 ********* 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:43:51 +0000 (0:00:00.046) 0:01:13.706 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/mapper/luks-2c90f6c9-84f5-40a4-bddb-38c970d17a2c" ] }, "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:43:51 +0000 (0:00:00.054) 0:01:13.761 ********* ok: [/cache/centos-7.qcow2c.snap] => (item=/dev/mapper/luks-2c90f6c9-84f5-40a4-bddb-38c970d17a2c) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/mapper/luks-2c90f6c9-84f5-40a4-bddb-38c970d17a2c", "pv": "/dev/mapper/luks-2c90f6c9-84f5-40a4-bddb-38c970d17a2c" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 08:43:51 +0000 (0:00:00.315) 0:01:14.077 ********* 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:43:51 +0000 (0:00:00.078) 0:01:14.155 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/mapper/luks-2c90f6c9-84f5-40a4-bddb-38c970d17a2c" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 08:43:51 +0000 (0:00:00.090) 0:01:14.245 ********* 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:43:51 +0000 (0:00:00.085) 0:01:14.330 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "crypt" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 08:43:51 +0000 (0:00:00.039) 0:01:14.370 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 08:43:51 +0000 (0:00:00.025) 0:01:14.396 ********* 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:43:51 +0000 (0:00:00.025) 0:01:14.421 ********* ok: [/cache/centos-7.qcow2c.snap] => (item=/dev/mapper/luks-2c90f6c9-84f5-40a4-bddb-38c970d17a2c) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/mapper/luks-2c90f6c9-84f5-40a4-bddb-38c970d17a2c" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 08:43:51 +0000 (0:00:00.039) 0:01:14.461 ********* 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:43:52 +0000 (0:00:00.042) 0:01:14.504 ********* 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:43:52 +0000 (0:00:00.027) 0:01:14.531 ********* 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:43:52 +0000 (0:00:00.022) 0:01:14.554 ********* 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:43:52 +0000 (0:00:00.022) 0:01:14.576 ********* 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:43:52 +0000 (0:00:00.025) 0:01:14.602 ********* 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:43:52 +0000 (0:00:00.025) 0:01:14.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:43:52 +0000 (0:00:00.025) 0:01:14.653 ********* 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:43:52 +0000 (0:00:00.025) 0:01:14.679 ********* 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:43:52 +0000 (0:00:00.037) 0:01:14.716 ********* 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:43:52 +0000 (0:00:00.047) 0:01:14.763 ********* 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': '/opt/test1', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-1', '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-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:43:52 +0000 (0:00:00.050) 0:01:14.813 ********* 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:43:52 +0000 (0:00:00.038) 0:01:14.852 ********* 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:43:52 +0000 (0:00:00.031) 0:01:14.883 ********* 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:43:52 +0000 (0:00:00.030) 0:01:14.913 ********* 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:43:52 +0000 (0:00:00.047) 0:01:14.960 ********* 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': '/opt/test1', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-1', '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-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:43:52 +0000 (0:00:00.043) 0:01:15.004 ********* 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:43:52 +0000 (0:00:00.025) 0:01:15.029 ********* 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:43:52 +0000 (0:00:00.026) 0:01:15.055 ********* 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:43:52 +0000 (0:00:00.023) 0:01:15.079 ********* 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:43:52 +0000 (0:00:00.026) 0:01:15.105 ********* 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:43:52 +0000 (0:00:00.050) 0:01:15.155 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "1", "_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:43:52 +0000 (0:00:00.050) 0:01:15.205 ********* included: /tmp/tmp8lr32tv2/tests/verify-pool-member-encryption.yml for /cache/centos-7.qcow2c.snap => (item=/dev/mapper/luks-2c90f6c9-84f5-40a4-bddb-38c970d17a2c) TASK [Get the backing device path] ********************************************* task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-encryption.yml:1 Thursday 21 July 2022 08:43:52 +0000 (0:00:00.045) 0:01:15.251 ********* changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "realpath", "/dev/disk/by-uuid/2c90f6c9-84f5-40a4-bddb-38c970d17a2c" ], "delta": "0:00:00.003639", "end": "2022-07-21 08:43:52.701036", "rc": 0, "start": "2022-07-21 08:43:52.697397" } STDOUT: /dev/sdb TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-encryption.yml:6 Thursday 21 July 2022 08:43:53 +0000 (0:00:00.334) 0:01:15.585 ********* 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 member] *************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-encryption.yml:11 Thursday 21 July 2022 08:43:53 +0000 (0:00:00.567) 0:01:16.153 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "cryptsetup", "luksDump", "/dev/sdb" ], "delta": "0:00:00.034013", "end": "2022-07-21 08:43:53.617955", "rc": 0, "start": "2022-07-21 08:43:53.583942" } STDOUT: LUKS header information for /dev/sdb Version: 1 Cipher name: serpent Cipher mode: xts-plain64 Hash spec: sha256 Payload offset: 4096 MK bits: 512 MK digest: 3f b7 7e 14 43 ce ed 57 bd 9a 1f ab 00 ed bb a4 08 7a f3 10 MK salt: 6b fd f6 c4 e4 b7 ef f0 7c ba 31 3e 85 78 af 53 70 45 57 77 c2 1f d8 de 12 bd cb b1 24 bc f5 3f MK iterations: 22661 UUID: 2c90f6c9-84f5-40a4-bddb-38c970d17a2c Key Slot 0: ENABLED Iterations: 360582 Salt: d9 7d 09 c2 c9 69 c6 a5 d6 89 f1 a6 fb 4e e7 be cc f1 59 38 e5 99 18 e6 b1 94 9a 83 01 5d 2f 23 Key material offset: 8 AF stripes: 4000 Key Slot 1: DISABLED Key Slot 2: DISABLED Key Slot 3: DISABLED Key Slot 4: DISABLED Key Slot 5: DISABLED Key Slot 6: DISABLED Key Slot 7: DISABLED TASK [Check LUKS version] ****************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-encryption.yml:17 Thursday 21 July 2022 08:43:54 +0000 (0:00:00.349) 0:01:16.502 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-encryption.yml:23 Thursday 21 July 2022 08:43:54 +0000 (0:00:00.055) 0:01:16.557 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-encryption.yml:29 Thursday 21 July 2022 08:43:54 +0000 (0:00:00.053) 0:01:16.611 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 08:43:54 +0000 (0:00:00.055) 0:01:16.666 ********* included: /tmp/tmp8lr32tv2/tests/verify-pool-member-crypttab.yml for /cache/centos-7.qcow2c.snap => (item=/dev/mapper/luks-2c90f6c9-84f5-40a4-bddb-38c970d17a2c) TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 08:43:54 +0000 (0:00:00.046) 0:01:16.713 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [ "luks-2c90f6c9-84f5-40a4-bddb-38c970d17a2c /dev/sdb -" ] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 08:43:54 +0000 (0:00:00.053) 0:01:16.767 ********* 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:43:54 +0000 (0:00:00.047) 0:01:16.815 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 08:43:54 +0000 (0:00:00.049) 0:01:16.864 ********* 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:43:54 +0000 (0:00:00.039) 0:01:16.904 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 08:43:54 +0000 (0:00:00.053) 0:01:16.957 ********* 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:43:54 +0000 (0:00:00.037) 0:01:16.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/tmp8lr32tv2/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 08:43:54 +0000 (0:00:00.038) 0:01:17.033 ********* 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:43:54 +0000 (0:00:00.048) 0:01:17.082 ********* 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': '/opt/test1', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-1', '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-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:43:54 +0000 (0:00:00.047) 0:01:17.130 ********* 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:43:54 +0000 (0:00:00.026) 0:01:17.156 ********* 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:43:54 +0000 (0:00:00.025) 0:01:17.182 ********* 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:43:54 +0000 (0:00:00.024) 0:01:17.206 ********* 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:43:54 +0000 (0:00:00.026) 0:01:17.233 ********* 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:43:54 +0000 (0:00:00.024) 0:01:17.257 ********* 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:43:54 +0000 (0:00:00.024) 0:01:17.282 ********* 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:43:54 +0000 (0:00:00.025) 0:01:17.308 ********* 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:43:54 +0000 (0:00:00.037) 0:01:17.346 ********* 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:43:54 +0000 (0:00:00.034) 0:01:17.381 ********* 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': '/opt/test1', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-1', '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-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:43:54 +0000 (0:00:00.044) 0:01:17.425 ********* 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:43:54 +0000 (0:00:00.052) 0:01:17.477 ********* 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:43:55 +0000 (0:00:00.146) 0:01:17.624 ********* 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:43:55 +0000 (0:00:00.040) 0:01:17.665 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 1037768, "block_size": 4096, "block_total": 1046016, "block_used": 8248, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 2097149, "inode_total": 2097152, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,noquota", "size_available": 4250697728, "size_total": 4284481536, "uuid": "fe47b388-31a3-4a9a-9c27-970cc20b46ae" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 1037768, "block_size": 4096, "block_total": 1046016, "block_used": 8248, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 2097149, "inode_total": 2097152, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,noquota", "size_available": 4250697728, "size_total": 4284481536, "uuid": "fe47b388-31a3-4a9a-9c27-970cc20b46ae" } ], "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:43:55 +0000 (0:00:00.055) 0:01:17.721 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed 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:43:55 +0000 (0:00:00.050) 0:01:17.772 ********* 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:43:55 +0000 (0:00:00.050) 0:01:17.822 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 08:43:55 +0000 (0:00:00.050) 0:01:17.872 ********* 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:43:55 +0000 (0:00:00.025) 0:01:17.898 ********* 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:43:55 +0000 (0:00:00.025) 0:01:17.924 ********* 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:43:55 +0000 (0:00:00.024) 0:01:17.949 ********* 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:43:55 +0000 (0:00:00.035) 0:01:17.984 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 08:43:55 +0000 (0:00:00.065) 0:01:18.050 ********* 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:43:55 +0000 (0:00:00.062) 0:01:18.112 ********* 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:43:55 +0000 (0:00:00.064) 0:01:18.176 ********* 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:43:55 +0000 (0:00:00.042) 0:01:18.218 ********* 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:43:55 +0000 (0:00:00.033) 0:01:18.252 ********* 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:43:55 +0000 (0:00:00.041) 0:01:18.294 ********* 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:43:55 +0000 (0:00:00.041) 0:01:18.336 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658393026.0546389, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658393026.0546389, "dev": 5, "device_type": 64513, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 41194, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658393026.0546389, "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:43:56 +0000 (0:00:00.318) 0:01:18.654 ********* 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:43:56 +0000 (0:00:00.039) 0:01:18.694 ********* 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:43:56 +0000 (0:00:00.040) 0:01:18.735 ********* 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:43:56 +0000 (0:00:00.039) 0:01:18.775 ********* 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:43:56 +0000 (0:00:00.027) 0:01:18.802 ********* 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:43:56 +0000 (0:00:00.038) 0:01:18.841 ********* 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:43:56 +0000 (0:00:00.027) 0:01:18.869 ********* 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:43:56 +0000 (0:00:00.524) 0:01:19.394 ********* 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:43:56 +0000 (0:00:00.025) 0:01:19.419 ********* 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:43:56 +0000 (0:00:00.024) 0:01:19.444 ********* 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:43:57 +0000 (0:00:00.055) 0:01:19.499 ********* 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:43:57 +0000 (0:00:00.025) 0:01:19.525 ********* 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:43:57 +0000 (0:00:00.035) 0:01:19.561 ********* 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:43:57 +0000 (0:00:00.029) 0:01:19.590 ********* 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:43:57 +0000 (0:00:00.026) 0:01:19.616 ********* 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:43:57 +0000 (0:00:00.024) 0:01:19.640 ********* 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:43:57 +0000 (0:00:00.084) 0:01:19.725 ********* 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:43:57 +0000 (0:00:00.054) 0:01:19.779 ********* 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:43:57 +0000 (0:00:00.036) 0:01:19.815 ********* 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:43:57 +0000 (0:00:00.040) 0:01:19.855 ********* 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:43:57 +0000 (0:00:00.037) 0:01:19.893 ********* 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:43:57 +0000 (0:00:00.039) 0:01:19.933 ********* 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:43:57 +0000 (0:00:00.038) 0:01:19.972 ********* 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:43:57 +0000 (0:00:00.038) 0:01:20.010 ********* 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:43:57 +0000 (0:00:00.039) 0:01:20.050 ********* 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:43:57 +0000 (0:00:00.103) 0:01:20.153 ********* 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:43:57 +0000 (0:00:00.037) 0:01:20.190 ********* 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:43:57 +0000 (0:00:00.036) 0:01:20.226 ********* 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:43:57 +0000 (0:00:00.037) 0:01:20.264 ********* 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:43:58 +0000 (0:00:00.324) 0:01:20.588 ********* 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:43:58 +0000 (0:00:00.317) 0:01:20.906 ********* 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:43:58 +0000 (0:00:00.052) 0:01:20.958 ********* 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:43:58 +0000 (0:00:00.037) 0:01:20.995 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 08:43:58 +0000 (0:00:00.037) 0:01:21.032 ********* 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:43:58 +0000 (0:00:00.035) 0:01:21.067 ********* 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:43:58 +0000 (0:00:00.035) 0:01:21.103 ********* 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:43:58 +0000 (0:00:00.034) 0:01:21.137 ********* 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:43:58 +0000 (0:00:00.042) 0:01:21.179 ********* 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:43:58 +0000 (0:00:00.042) 0:01:21.222 ********* 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:43:58 +0000 (0:00:00.039) 0:01:21.261 ********* 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:43:58 +0000 (0:00:00.056) 0:01:21.318 ********* 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.024978", "end": "2022-07-21 08:43:58.777041", "rc": 0, "start": "2022-07-21 08:43:58.752063" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 08:43:59 +0000 (0:00:00.340) 0:01:21.659 ********* 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:43:59 +0000 (0:00:00.050) 0:01:21.709 ********* 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:43:59 +0000 (0:00:00.050) 0:01:21.760 ********* 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:43:59 +0000 (0:00:00.041) 0:01:21.801 ********* 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:43:59 +0000 (0:00:00.042) 0:01:21.844 ********* 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:43:59 +0000 (0:00:00.037) 0:01:21.882 ********* 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:43:59 +0000 (0:00:00.037) 0:01:21.919 ********* 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:43:59 +0000 (0:00:00.039) 0:01:21.958 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:53 Thursday 21 July 2022 08:43:59 +0000 (0:00:00.021) 0:01:21.979 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [create a file] *********************************************************** task path: /tmp/tmp8lr32tv2/tests/create-test-file.yml:10 Thursday 21 July 2022 08:43:59 +0000 (0:00:00.035) 0:01:22.015 ********* changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "dest": "/opt/test1/quux", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:unlabeled_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [Change the mountpoint, leaving encryption in place] ********************** task path: /tmp/tmp8lr32tv2/tests/tests_luks_pool.yml:234 Thursday 21 July 2022 08:43:59 +0000 (0:00:00.323) 0:01:22.339 ********* 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:43:59 +0000 (0:00:00.049) 0:01:22.388 ********* 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:43:59 +0000 (0:00:00.035) 0:01:22.423 ********* 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:44:00 +0000 (0:00:00.416) 0:01:22.840 ********* 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:44:00 +0000 (0:00:00.144) 0:01:22.985 ********* 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:44:00 +0000 (0:00:00.032) 0:01:23.018 ********* 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:44:00 +0000 (0:00:00.037) 0:01:23.055 ********* 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:44:00 +0000 (0:00:00.049) 0:01:23.105 ********* 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:44:00 +0000 (0:00:00.021) 0:01:23.127 ********* 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:44:00 +0000 (0:00:00.029) 0:01:23.156 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_pools": [ { "disks": [ "sdb" ], "name": "foo", "type": "lvm", "volumes": [ { "mount_point": "/opt/test2", "name": "test1" } ] } ] } 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:44:00 +0000 (0:00:00.040) 0:01:23.197 ********* 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:44:00 +0000 (0:00:00.039) 0:01:23.236 ********* 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:44:00 +0000 (0:00:00.029) 0:01:23.266 ********* 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:44:00 +0000 (0:00:00.028) 0:01:23.294 ********* 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:44:00 +0000 (0:00:00.029) 0:01:23.324 ********* 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:44:00 +0000 (0:00:00.033) 0:01:23.357 ********* 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:44:00 +0000 (0:00:00.056) 0:01:23.414 ********* 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:44:00 +0000 (0:00:00.021) 0:01:23.435 ********* ok: [/cache/centos-7.qcow2c.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/mapper/foo-test1" ], "mounts": [ { "path": "/opt/test1", "state": "absent" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "cryptsetup", "xfsprogs", "e2fsprogs", "lvm2" ], "pools": [ { "disks": [ "sdb" ], "encryption": true, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks1", "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-1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 4294967296, "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:44:02 +0000 (0:00:01.539) 0:01:24.975 ********* 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:44:02 +0000 (0:00:00.039) 0:01:25.014 ********* 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:44:02 +0000 (0:00:00.021) 0:01:25.036 ********* ok: [/cache/centos-7.qcow2c.snap] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/mapper/foo-test1" ], "mounts": [ { "path": "/opt/test1", "state": "absent" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "cryptsetup", "xfsprogs", "e2fsprogs", "lvm2" ], "pools": [ { "disks": [ "sdb" ], "encryption": true, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks1", "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-1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 4294967296, "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:44:02 +0000 (0:00:00.039) 0:01:25.075 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sdb" ], "encryption": true, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks1", "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-1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 4294967296, "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:44:02 +0000 (0:00:00.039) 0:01:25.114 ********* 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:44:02 +0000 (0:00:00.038) 0:01:25.153 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-7.qcow2c.snap] => (item={'path': '/opt/test1', 'state': 'absent'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "mount_info": { "path": "/opt/test1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 08:44:03 +0000 (0:00:00.369) 0:01:25.522 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "name": null, "status": {} } 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:44:03 +0000 (0:00:00.460) 0:01:25.982 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-7.qcow2c.snap] => (item={'src': '/dev/mapper/foo-test1', 'dump': 0, 'passno': 0, 'fstype': 'xfs', 'state': 'mounted', 'path': '/opt/test2', 'opts': 'defaults'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test2", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 08:44:03 +0000 (0:00:00.389) 0:01:26.372 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "name": null, "status": {} } 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:44:04 +0000 (0:00:00.450) 0:01:26.823 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658393030.6766388, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7b017329967125e3be0b703369244116b69525a3", "ctime": 1658393028.6836388, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12585040, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1658393028.6836388, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 53, "uid": 0, "version": "18446744073557463292", "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:44:04 +0000 (0:00:00.316) 0:01:27.139 ********* 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:44:04 +0000 (0:00:00.023) 0:01:27.163 ********* ok: [/cache/centos-7.qcow2c.snap] META: role_complete for /cache/centos-7.qcow2c.snap TASK [Assert to implicitly preserve encryption on existing pool] *************** task path: /tmp/tmp8lr32tv2/tests/tests_luks_pool.yml:246 Thursday 21 July 2022 08:44:05 +0000 (0:00:00.929) 0:01:28.092 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [stat the file] *********************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-data-preservation.yml:10 Thursday 21 July 2022 08:44:05 +0000 (0:00:00.037) 0:01:28.129 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658393039.457639, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658393039.457639, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 67, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0644", "mtime": 1658393039.457639, "nlink": 1, "path": "/opt/test2/quux", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "version": "18446744073426970959", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [assert file presence] **************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-data-preservation.yml:15 Thursday 21 July 2022 08:44:05 +0000 (0:00:00.315) 0:01:28.445 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmp8lr32tv2/tests/tests_luks_pool.yml:255 Thursday 21 July 2022 08:44:06 +0000 (0:00:00.040) 0:01:28.485 ********* 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:44:06 +0000 (0:00:00.042) 0:01:28.528 ********* ok: [/cache/centos-7.qcow2c.snap] => { "_storage_pools_list": [ { "disks": [ "sdb" ], "encryption": true, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks1", "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-1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 4294967296, "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:44:06 +0000 (0:00:00.058) 0:01:28.587 ********* 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:44:06 +0000 (0:00:00.043) 0:01:28.630 ********* 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": "fe47b388-31a3-4a9a-9c27-970cc20b46ae" }, "/dev/mapper/luks-2c90f6c9-84f5-40a4-bddb-38c970d17a2c": { "fstype": "LVM2_member", "label": "", "name": "/dev/mapper/luks-2c90f6c9-84f5-40a4-bddb-38c970d17a2c", "size": "10G", "type": "crypt", "uuid": "w29BVu-bElU-v2Q7-K765-wHjC-34gp-wfZ4w9" }, "/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": "crypto_LUKS", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "2c90f6c9-84f5-40a4-bddb-38c970d17a2c" }, "/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-42-23-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:44:06 +0000 (0:00:00.323) 0:01:28.954 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003778", "end": "2022-07-21 08:44:06.386481", "rc": 0, "start": "2022-07-21 08:44:06.382703" } 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 /dev/mapper/foo-test1 /opt/test2 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:24 Thursday 21 July 2022 08:44:06 +0000 (0:00:00.316) 0:01:29.271 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003505", "end": "2022-07-21 08:44:06.699002", "failed_when_result": false, "rc": 0, "start": "2022-07-21 08:44:06.695497" } STDOUT: luks-2c90f6c9-84f5-40a4-bddb-38c970d17a2c /dev/sdb - 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:44:07 +0000 (0:00:00.311) 0:01:29.582 ********* 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': True, 'encryption_key_size': 0, 'disks': ['sdb'], 'raid_level': None, 'encryption_luks_version': 'luks1', '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': 4294967296, 'mount_point': '/opt/test2', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-1', '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-1', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb'], '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:44:07 +0000 (0:00:00.065) 0:01:29.648 ********* 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:44:07 +0000 (0:00:00.035) 0:01:29.683 ********* 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:44:07 +0000 (0:00:00.049) 0:01:29.733 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/mapper/luks-2c90f6c9-84f5-40a4-bddb-38c970d17a2c" ] }, "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:44:07 +0000 (0:00:00.056) 0:01:29.789 ********* ok: [/cache/centos-7.qcow2c.snap] => (item=/dev/mapper/luks-2c90f6c9-84f5-40a4-bddb-38c970d17a2c) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/mapper/luks-2c90f6c9-84f5-40a4-bddb-38c970d17a2c", "pv": "/dev/mapper/luks-2c90f6c9-84f5-40a4-bddb-38c970d17a2c" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 08:44:07 +0000 (0:00:00.313) 0:01:30.103 ********* 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:44:07 +0000 (0:00:00.048) 0:01:30.152 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/mapper/luks-2c90f6c9-84f5-40a4-bddb-38c970d17a2c" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 08:44:07 +0000 (0:00:00.051) 0:01:30.203 ********* 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:44:07 +0000 (0:00:00.091) 0:01:30.294 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "crypt" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 08:44:07 +0000 (0:00:00.100) 0:01:30.395 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 08:44:07 +0000 (0:00:00.027) 0:01:30.422 ********* 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:44:07 +0000 (0:00:00.022) 0:01:30.445 ********* ok: [/cache/centos-7.qcow2c.snap] => (item=/dev/mapper/luks-2c90f6c9-84f5-40a4-bddb-38c970d17a2c) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/mapper/luks-2c90f6c9-84f5-40a4-bddb-38c970d17a2c" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 08:44:08 +0000 (0:00:00.084) 0:01:30.530 ********* 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:44:08 +0000 (0:00:00.073) 0:01:30.604 ********* 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:44:08 +0000 (0:00:00.023) 0:01:30.627 ********* 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:44:08 +0000 (0:00:00.023) 0:01:30.650 ********* 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:44:08 +0000 (0:00:00.022) 0:01:30.673 ********* 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:44:08 +0000 (0:00:00.023) 0:01:30.697 ********* 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:44:08 +0000 (0:00:00.022) 0:01:30.719 ********* 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:44:08 +0000 (0:00:00.025) 0:01:30.745 ********* 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:44:08 +0000 (0:00:00.025) 0:01:30.770 ********* 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:44:08 +0000 (0:00:00.033) 0:01:30.804 ********* 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:44:08 +0000 (0:00:00.048) 0:01:30.852 ********* 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': 4294967296, 'mount_point': '/opt/test2', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-1', '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-1', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb'], '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:44:08 +0000 (0:00:00.045) 0:01:30.897 ********* 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:44:08 +0000 (0:00:00.029) 0:01:30.927 ********* 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:44:08 +0000 (0:00:00.030) 0:01:30.957 ********* 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:44:08 +0000 (0:00:00.028) 0:01:30.986 ********* 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:44:08 +0000 (0:00:00.043) 0:01:31.030 ********* 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': 4294967296, 'mount_point': '/opt/test2', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-1', '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-1', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb'], '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:44:08 +0000 (0:00:00.041) 0:01:31.072 ********* 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:44:08 +0000 (0:00:00.021) 0:01:31.093 ********* 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:44:08 +0000 (0:00:00.021) 0:01:31.115 ********* 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:44:08 +0000 (0:00:00.022) 0:01:31.137 ********* 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:44:08 +0000 (0:00:00.021) 0:01:31.159 ********* 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:44:08 +0000 (0:00:00.044) 0:01:31.203 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "1", "_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:44:08 +0000 (0:00:00.045) 0:01:31.249 ********* included: /tmp/tmp8lr32tv2/tests/verify-pool-member-encryption.yml for /cache/centos-7.qcow2c.snap => (item=/dev/mapper/luks-2c90f6c9-84f5-40a4-bddb-38c970d17a2c) TASK [Get the backing device path] ********************************************* task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-encryption.yml:1 Thursday 21 July 2022 08:44:08 +0000 (0:00:00.041) 0:01:31.291 ********* changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "realpath", "/dev/disk/by-uuid/2c90f6c9-84f5-40a4-bddb-38c970d17a2c" ], "delta": "0:00:00.003613", "end": "2022-07-21 08:44:08.741036", "rc": 0, "start": "2022-07-21 08:44:08.737423" } STDOUT: /dev/sdb TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-encryption.yml:6 Thursday 21 July 2022 08:44:09 +0000 (0:00:00.333) 0:01:31.625 ********* 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 member] *************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-encryption.yml:11 Thursday 21 July 2022 08:44:09 +0000 (0:00:00.524) 0:01:32.149 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "cryptsetup", "luksDump", "/dev/sdb" ], "delta": "0:00:00.032812", "end": "2022-07-21 08:44:09.649269", "rc": 0, "start": "2022-07-21 08:44:09.616457" } STDOUT: LUKS header information for /dev/sdb Version: 1 Cipher name: serpent Cipher mode: xts-plain64 Hash spec: sha256 Payload offset: 4096 MK bits: 512 MK digest: 3f b7 7e 14 43 ce ed 57 bd 9a 1f ab 00 ed bb a4 08 7a f3 10 MK salt: 6b fd f6 c4 e4 b7 ef f0 7c ba 31 3e 85 78 af 53 70 45 57 77 c2 1f d8 de 12 bd cb b1 24 bc f5 3f MK iterations: 22661 UUID: 2c90f6c9-84f5-40a4-bddb-38c970d17a2c Key Slot 0: ENABLED Iterations: 360582 Salt: d9 7d 09 c2 c9 69 c6 a5 d6 89 f1 a6 fb 4e e7 be cc f1 59 38 e5 99 18 e6 b1 94 9a 83 01 5d 2f 23 Key material offset: 8 AF stripes: 4000 Key Slot 1: DISABLED Key Slot 2: DISABLED Key Slot 3: DISABLED Key Slot 4: DISABLED Key Slot 5: DISABLED Key Slot 6: DISABLED Key Slot 7: DISABLED TASK [Check LUKS version] ****************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-encryption.yml:17 Thursday 21 July 2022 08:44:10 +0000 (0:00:00.382) 0:01:32.532 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-encryption.yml:23 Thursday 21 July 2022 08:44:10 +0000 (0:00:00.051) 0:01:32.583 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-encryption.yml:29 Thursday 21 July 2022 08:44:10 +0000 (0:00:00.023) 0:01:32.607 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "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:44:10 +0000 (0:00:00.023) 0:01:32.630 ********* included: /tmp/tmp8lr32tv2/tests/verify-pool-member-crypttab.yml for /cache/centos-7.qcow2c.snap => (item=/dev/mapper/luks-2c90f6c9-84f5-40a4-bddb-38c970d17a2c) TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 08:44:10 +0000 (0:00:00.045) 0:01:32.676 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [ "luks-2c90f6c9-84f5-40a4-bddb-38c970d17a2c /dev/sdb -" ] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 08:44:10 +0000 (0:00:00.049) 0:01:32.725 ********* 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:44:10 +0000 (0:00:00.046) 0:01:32.771 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 08:44:10 +0000 (0:00:00.046) 0:01:32.818 ********* 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:44:10 +0000 (0:00:00.033) 0:01:32.852 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 08:44:10 +0000 (0:00:00.049) 0:01:32.901 ********* 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:44:10 +0000 (0:00:00.039) 0:01:32.941 ********* 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:44:10 +0000 (0:00:00.035) 0:01:32.976 ********* 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:44:10 +0000 (0:00:00.047) 0:01:33.024 ********* 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': 4294967296, 'mount_point': '/opt/test2', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-1', '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-1', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb'], '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:44:10 +0000 (0:00:00.042) 0:01:33.067 ********* 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:44:10 +0000 (0:00:00.022) 0:01:33.090 ********* 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:44:10 +0000 (0:00:00.025) 0:01:33.116 ********* 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:44:10 +0000 (0:00:00.027) 0:01:33.143 ********* 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:44:10 +0000 (0:00:00.026) 0:01:33.169 ********* 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:44:10 +0000 (0:00:00.026) 0:01:33.196 ********* 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:44:10 +0000 (0:00:00.028) 0:01:33.224 ********* 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:44:10 +0000 (0:00:00.025) 0:01:33.250 ********* 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:44:10 +0000 (0:00:00.037) 0:01:33.287 ********* 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:44:10 +0000 (0:00:00.038) 0:01:33.325 ********* 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': 4294967296, 'mount_point': '/opt/test2', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-1', '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-1', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb'], '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:44:10 +0000 (0:00:00.047) 0:01:33.373 ********* 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:44:10 +0000 (0:00:00.051) 0:01:33.424 ********* 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:44:11 +0000 (0:00:00.081) 0:01:33.506 ********* 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:44:11 +0000 (0:00:00.043) 0:01:33.549 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 1037768, "block_size": 4096, "block_total": 1046016, "block_used": 8248, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 2097148, "inode_total": 2097152, "inode_used": 4, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,noquota", "size_available": 4250697728, "size_total": 4284481536, "uuid": "fe47b388-31a3-4a9a-9c27-970cc20b46ae" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 1037768, "block_size": 4096, "block_total": 1046016, "block_used": 8248, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 2097148, "inode_total": 2097152, "inode_used": 4, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,noquota", "size_available": 4250697728, "size_total": 4284481536, "uuid": "fe47b388-31a3-4a9a-9c27-970cc20b46ae" } ], "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:44:11 +0000 (0:00:00.057) 0:01:33.607 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed 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:44:11 +0000 (0:00:00.089) 0:01:33.697 ********* 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:44:11 +0000 (0:00:00.128) 0:01:33.825 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 08:44:11 +0000 (0:00:00.053) 0:01:33.879 ********* 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:44:11 +0000 (0:00:00.024) 0:01:33.903 ********* 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:44:11 +0000 (0:00:00.023) 0:01:33.927 ********* 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:44:11 +0000 (0:00:00.028) 0:01:33.955 ********* 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:44:11 +0000 (0:00:00.037) 0:01:33.993 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test2 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test2 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 08:44:11 +0000 (0:00:00.066) 0:01:34.059 ********* 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:44:11 +0000 (0:00:00.053) 0:01:34.113 ********* 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:44:11 +0000 (0:00:00.050) 0:01:34.164 ********* 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:44:11 +0000 (0:00:00.036) 0:01:34.200 ********* 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:44:11 +0000 (0:00:00.035) 0:01:34.235 ********* 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:44:11 +0000 (0:00:00.043) 0:01:34.279 ********* 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:44:11 +0000 (0:00:00.040) 0:01:34.319 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658393026.0546389, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658393026.0546389, "dev": 5, "device_type": 64513, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 41194, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658393026.0546389, "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:44:12 +0000 (0:00:00.328) 0:01:34.648 ********* 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:44:12 +0000 (0:00:00.050) 0:01:34.699 ********* 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:44:12 +0000 (0:00:00.045) 0:01:34.744 ********* 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:44:12 +0000 (0:00:00.041) 0:01:34.786 ********* 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:44:12 +0000 (0:00:00.025) 0:01:34.812 ********* 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:44:12 +0000 (0:00:00.039) 0:01:34.851 ********* 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:44:12 +0000 (0:00:00.024) 0:01:34.876 ********* 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:44:12 +0000 (0:00:00.502) 0:01:35.378 ********* 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:44:12 +0000 (0:00:00.024) 0:01:35.403 ********* 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:44:12 +0000 (0:00:00.022) 0:01:35.426 ********* 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:44:12 +0000 (0:00:00.050) 0:01:35.476 ********* 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:44:13 +0000 (0:00:00.023) 0:01:35.500 ********* 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:44:13 +0000 (0:00:00.022) 0:01:35.523 ********* 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:44:13 +0000 (0:00:00.022) 0:01:35.545 ********* 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:44:13 +0000 (0:00:00.023) 0:01:35.569 ********* 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:44:13 +0000 (0:00:00.024) 0:01:35.593 ********* 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:44:13 +0000 (0:00:00.089) 0:01:35.683 ********* 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:44:13 +0000 (0:00:00.098) 0:01:35.781 ********* 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:44:13 +0000 (0:00:00.040) 0:01:35.822 ********* 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:44:13 +0000 (0:00:00.037) 0:01:35.859 ********* 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:44:13 +0000 (0:00:00.039) 0:01:35.899 ********* 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:44:13 +0000 (0:00:00.122) 0:01:36.021 ********* 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:44:13 +0000 (0:00:00.040) 0:01:36.062 ********* 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:44:13 +0000 (0:00:00.040) 0:01:36.102 ********* 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:44:13 +0000 (0:00:00.039) 0:01:36.141 ********* 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:44:13 +0000 (0:00:00.040) 0:01:36.182 ********* 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:44:13 +0000 (0:00:00.045) 0:01:36.228 ********* 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:44:13 +0000 (0:00:00.038) 0:01:36.266 ********* 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:44:13 +0000 (0:00:00.036) 0:01:36.303 ********* 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:44:14 +0000 (0:00:00.317) 0:01:36.621 ********* 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:44:14 +0000 (0:00:00.331) 0:01:36.952 ********* 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:44:14 +0000 (0:00:00.052) 0:01:37.005 ********* 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:44:14 +0000 (0:00:00.040) 0:01:37.046 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 08:44:14 +0000 (0:00:00.039) 0:01:37.085 ********* 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:44:14 +0000 (0:00:00.040) 0:01:37.126 ********* 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:44:14 +0000 (0:00:00.038) 0:01:37.164 ********* 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:44:14 +0000 (0:00:00.038) 0:01:37.202 ********* 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:44:14 +0000 (0:00:00.042) 0:01:37.245 ********* 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:44:14 +0000 (0:00:00.038) 0:01:37.283 ********* 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:44:14 +0000 (0:00:00.040) 0:01:37.323 ********* 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:44:14 +0000 (0:00:00.053) 0:01:37.377 ********* 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.029384", "end": "2022-07-21 08:44:14.844473", "rc": 0, "start": "2022-07-21 08:44:14.815089" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 08:44:15 +0000 (0:00:00.354) 0:01:37.731 ********* 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:44:15 +0000 (0:00:00.051) 0:01:37.782 ********* 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:44:15 +0000 (0:00:00.052) 0:01:37.835 ********* 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:44:15 +0000 (0:00:00.043) 0:01:37.878 ********* 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:44:15 +0000 (0:00:00.040) 0:01:37.919 ********* 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:44:15 +0000 (0:00:00.045) 0:01:37.964 ********* 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:44:15 +0000 (0:00:00.042) 0:01:38.006 ********* 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:44:15 +0000 (0:00:00.042) 0:01:38.049 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:53 Thursday 21 July 2022 08:44:15 +0000 (0:00:00.024) 0:01:38.073 ********* 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_luks_pool.yml:257 Thursday 21 July 2022 08:44:15 +0000 (0:00:00.038) 0:01:38.112 ********* 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:44:15 +0000 (0:00:00.054) 0:01:38.166 ********* 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:44:15 +0000 (0:00:00.037) 0:01:38.203 ********* 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:44:16 +0000 (0:00:00.468) 0:01:38.672 ********* 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:44:16 +0000 (0:00:00.148) 0:01:38.820 ********* 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:44:16 +0000 (0:00:00.036) 0:01:38.857 ********* 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:44:16 +0000 (0:00:00.037) 0:01:38.894 ********* 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:44:16 +0000 (0:00:00.049) 0:01:38.943 ********* 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:44:16 +0000 (0:00:00.019) 0:01:38.963 ********* 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:44:16 +0000 (0:00:00.026) 0:01:38.989 ********* 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:44:16 +0000 (0:00:00.034) 0:01:39.023 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_volumes": [ { "disks": [ "sdb" ], "name": "foo", "state": "absent", "type": "disk" } ] } 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:44:16 +0000 (0:00:00.036) 0:01:39.060 ********* 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:44:16 +0000 (0:00:00.028) 0:01:39.089 ********* 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:44:16 +0000 (0:00:00.028) 0:01:39.117 ********* 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:44:16 +0000 (0:00:00.027) 0:01:39.144 ********* 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:44:16 +0000 (0:00:00.031) 0:01:39.175 ********* 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:44:16 +0000 (0:00:00.058) 0:01:39.234 ********* 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:44:16 +0000 (0:00:00.021) 0:01:39.256 ********* changed: [/cache/centos-7.qcow2c.snap] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/mapper/luks-2c90f6c9-84f5-40a4-bddb-38c970d17a2c", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/mapper/luks-2c90f6c9-84f5-40a4-bddb-38c970d17a2c", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb", "fs_type": "luks" } ], "changed": true, "crypts": [ { "backing_device": "/dev/sdb", "name": "luks-2c90f6c9-84f5-40a4-bddb-38c970d17a2c", "password": "-", "state": "absent" } ], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test2", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/mapper/luks-2c90f6c9-84f5-40a4-bddb-38c970d17a2c", "_mount_id": "/dev/mapper/luks-2c90f6c9-84f5-40a4-bddb-38c970d17a2c", "_raw_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": true, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks1", "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "lvmpv", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10735321088, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 08:44:18 +0000 (0:00:02.129) 0:01:41.386 ********* 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:44:18 +0000 (0:00:00.040) 0:01:41.426 ********* 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:44:18 +0000 (0:00:00.022) 0:01:41.449 ********* ok: [/cache/centos-7.qcow2c.snap] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/mapper/luks-2c90f6c9-84f5-40a4-bddb-38c970d17a2c", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/mapper/luks-2c90f6c9-84f5-40a4-bddb-38c970d17a2c", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb", "fs_type": "luks" } ], "changed": true, "crypts": [ { "backing_device": "/dev/sdb", "name": "luks-2c90f6c9-84f5-40a4-bddb-38c970d17a2c", "password": "-", "state": "absent" } ], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test2", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/mapper/luks-2c90f6c9-84f5-40a4-bddb-38c970d17a2c", "_mount_id": "/dev/mapper/luks-2c90f6c9-84f5-40a4-bddb-38c970d17a2c", "_raw_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": true, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks1", "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "lvmpv", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10735321088, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 08:44:19 +0000 (0:00:00.040) 0:01:41.489 ********* 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:44:19 +0000 (0:00:00.042) 0:01:41.531 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/mapper/luks-2c90f6c9-84f5-40a4-bddb-38c970d17a2c", "_mount_id": "/dev/mapper/luks-2c90f6c9-84f5-40a4-bddb-38c970d17a2c", "_raw_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": true, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks1", "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "lvmpv", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10735321088, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 08:44:19 +0000 (0:00:00.041) 0:01:41.573 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-7.qcow2c.snap] => (item={'src': '/dev/mapper/foo-test1', 'state': 'absent', 'path': '/opt/test2', 'fstype': 'xfs'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "fstype": "xfs", "path": "/opt/test2", "src": "/dev/mapper/foo-test1", "state": "absent" }, "name": "/opt/test2", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 08:44:19 +0000 (0:00:00.352) 0:01:41.926 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "name": null, "status": {} } 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:44:19 +0000 (0:00:00.479) 0:01:42.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:163 Thursday 21 July 2022 08:44:19 +0000 (0:00:00.042) 0:01:42.448 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "name": null, "status": {} } 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:44:20 +0000 (0:00:00.466) 0:01:42.914 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658393030.6766388, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7b017329967125e3be0b703369244116b69525a3", "ctime": 1658393028.6836388, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12585040, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1658393028.6836388, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 53, "uid": 0, "version": "18446744073557463292", "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:44:20 +0000 (0:00:00.330) 0:01:43.245 ********* changed: [/cache/centos-7.qcow2c.snap] => (item={'state': 'absent', 'password': '-', 'name': 'luks-2c90f6c9-84f5-40a4-bddb-38c970d17a2c', 'backing_device': '/dev/sdb'}) => { "ansible_loop_var": "entry", "backup": "", "changed": true, "entry": { "backing_device": "/dev/sdb", "name": "luks-2c90f6c9-84f5-40a4-bddb-38c970d17a2c", "password": "-", "state": "absent" }, "found": 1 } MSG: 1 line(s) removed 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:44:21 +0000 (0:00:00.382) 0:01:43.627 ********* ok: [/cache/centos-7.qcow2c.snap] META: role_complete for /cache/centos-7.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp8lr32tv2/tests/tests_luks_pool.yml:267 Thursday 21 July 2022 08:44:22 +0000 (0:00:00.928) 0:01:44.556 ********* 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:44:22 +0000 (0:00:00.045) 0:01:44.602 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:6 Thursday 21 July 2022 08:44:22 +0000 (0:00:00.038) 0:01:44.641 ********* ok: [/cache/centos-7.qcow2c.snap] => { "_storage_volumes_list": [ { "_device": "/dev/mapper/luks-2c90f6c9-84f5-40a4-bddb-38c970d17a2c", "_mount_id": "/dev/mapper/luks-2c90f6c9-84f5-40a4-bddb-38c970d17a2c", "_raw_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": true, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks1", "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "lvmpv", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10735321088, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:14 Thursday 21 July 2022 08:44:22 +0000 (0:00:00.051) 0:01:44.693 ********* 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-42-23-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:44:22 +0000 (0:00:00.318) 0:01:45.011 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.004876", "end": "2022-07-21 08:44:22.449029", "rc": 0, "start": "2022-07-21 08:44:22.444153" } 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:44:22 +0000 (0:00:00.321) 0:01:45.332 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003491", "end": "2022-07-21 08:44:22.769433", "failed_when_result": false, "rc": 0, "start": "2022-07-21 08:44:22.765942" } 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:44:23 +0000 (0:00:00.319) 0:01:45.652 ********* 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:44:23 +0000 (0:00:00.023) 0:01:45.676 ********* included: /tmp/tmp8lr32tv2/tests/test-verify-volume.yml for /cache/centos-7.qcow2c.snap => (item={'_raw_device': '/dev/sdb', 'raid_metadata_version': None, 'mount_device_identifier': 'uuid', 'fs_type': 'lvmpv', 'mount_options': 'defaults', '_device': '/dev/mapper/luks-2c90f6c9-84f5-40a4-bddb-38c970d17a2c', 'size': 10735321088, 'mount_point': None, 'compression': None, 'encryption_password': None, 'encryption': True, 'raid_level': None, 'raid_device_count': None, 'state': 'absent', 'vdo_pool_size': None, 'thin_pool_name': None, 'type': 'disk', 'encryption_key_size': 0, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': 'luks1', 'cache_size': 0, '_mount_id': '/dev/mapper/luks-2c90f6c9-84f5-40a4-bddb-38c970d17a2c', 'raid_spare_count': None, 'name': 'foo', 'cache_mode': None, 'cache_devices': [], 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb'], 'thin': None, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'thin_pool_size': None, 'fs_create_options': ''}) TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume.yml:2 Thursday 21 July 2022 08:44:23 +0000 (0:00:00.055) 0:01:45.731 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_volume_present": false, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume.yml:10 Thursday 21 July 2022 08:44:23 +0000 (0:00:00.050) 0:01:45.782 ********* 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:44:23 +0000 (0:00:00.078) 0:01:45.860 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/luks-2c90f6c9-84f5-40a4-bddb-38c970d17a2c" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 08:44:23 +0000 (0:00:00.040) 0:01:45.901 ********* 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:44:23 +0000 (0:00:00.056) 0:01:45.958 ********* 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:44:23 +0000 (0:00:00.024) 0:01:45.983 ********* 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:44:23 +0000 (0:00:00.052) 0:01:46.035 ********* 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:44:23 +0000 (0:00:00.036) 0:01:46.071 ********* 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:44:23 +0000 (0:00:00.023) 0:01:46.094 ********* 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:44:23 +0000 (0:00:00.023) 0:01:46.118 ********* 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:44:23 +0000 (0:00:00.026) 0:01:46.145 ********* 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:44:23 +0000 (0:00:00.033) 0:01:46.178 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "0", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 08:44:23 +0000 (0:00:00.057) 0:01:46.236 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 08:44:23 +0000 (0:00:00.023) 0:01:46.259 ********* 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:44:23 +0000 (0:00:00.046) 0:01:46.305 ********* 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:44:23 +0000 (0:00:00.033) 0:01:46.339 ********* 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:44:23 +0000 (0:00:00.065) 0:01:46.404 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 08:44:23 +0000 (0:00:00.072) 0:01:46.476 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 08:44:24 +0000 (0:00:00.023) 0:01:46.500 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658393058.445639, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658393058.445639, "dev": 5, "device_type": 2064, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 1788, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658393058.445639, "nlink": 1, "path": "/dev/sdb", "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:44:24 +0000 (0:00:00.325) 0:01:46.825 ********* 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:44:24 +0000 (0:00:00.038) 0:01:46.864 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } 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:44:24 +0000 (0:00:00.026) 0:01:46.890 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "st_volume_type": "disk" }, "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:44:24 +0000 (0:00:00.036) 0:01:46.927 ********* 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:44:24 +0000 (0:00:00.025) 0:01:46.952 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 08:44:24 +0000 (0:00:00.025) 0:01:46.978 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "exists": false } } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 08:44:24 +0000 (0:00:00.306) 0:01:47.284 ********* 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:44:25 +0000 (0:00:00.533) 0:01:47.818 ********* 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:44:25 +0000 (0:00:00.029) 0:01:47.847 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed 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:44:25 +0000 (0:00:00.041) 0:01:47.888 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } 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:44:25 +0000 (0:00:00.025) 0:01:47.913 ********* 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:44:25 +0000 (0:00:00.022) 0:01:47.936 ********* 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:44:25 +0000 (0:00:00.022) 0:01:47.959 ********* 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:44:25 +0000 (0:00:00.022) 0:01:47.982 ********* 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:44:25 +0000 (0:00:00.025) 0:01:48.007 ********* 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:44:25 +0000 (0:00:00.025) 0:01:48.033 ********* 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:44:25 +0000 (0:00:00.055) 0:01:48.088 ********* 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:44:25 +0000 (0:00:00.052) 0:01:48.140 ********* 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:44:25 +0000 (0:00:00.035) 0:01:48.176 ********* 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:44:25 +0000 (0:00:00.039) 0:01:48.216 ********* 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:44:25 +0000 (0:00:00.037) 0:01:48.254 ********* 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:44:25 +0000 (0:00:00.036) 0:01:48.290 ********* 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:44:25 +0000 (0:00:00.034) 0:01:48.325 ********* 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:44:25 +0000 (0:00:00.034) 0:01:48.360 ********* 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:44:25 +0000 (0:00:00.033) 0:01:48.393 ********* 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:44:25 +0000 (0:00:00.033) 0:01:48.427 ********* 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:44:25 +0000 (0:00:00.036) 0:01:48.463 ********* 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:44:26 +0000 (0:00:00.036) 0:01:48.500 ********* 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:44:26 +0000 (0:00:00.040) 0:01:48.541 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 08:44:26 +0000 (0:00:00.026) 0:01:48.567 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 08:44:26 +0000 (0:00:00.049) 0:01:48.617 ********* 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:20 Thursday 21 July 2022 08:44:26 +0000 (0:00:00.046) 0:01:48.663 ********* 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:44:26 +0000 (0:00:00.076) 0:01:48.740 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 08:44:26 +0000 (0:00:00.038) 0:01:48.779 ********* 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:44:26 +0000 (0:00:00.036) 0:01:48.815 ********* 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:44:26 +0000 (0:00:00.039) 0:01:48.854 ********* 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:44:26 +0000 (0:00:00.037) 0:01:48.892 ********* 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:44:26 +0000 (0:00:00.037) 0:01:48.929 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 08:44:26 +0000 (0:00:00.038) 0:01:48.968 ********* 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:44:26 +0000 (0:00:00.040) 0:01:49.008 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 08:44:26 +0000 (0:00:00.024) 0:01:49.033 ********* 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:14 Thursday 21 July 2022 08:44:26 +0000 (0:00:00.025) 0:01:49.059 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 08:44:26 +0000 (0:00:00.026) 0:01:49.085 ********* 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:22 Thursday 21 July 2022 08:44:26 +0000 (0:00:00.026) 0:01:49.111 ********* 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:44:26 +0000 (0:00:00.023) 0:01:49.135 ********* 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:44:26 +0000 (0:00:00.022) 0:01:49.158 ********* 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:44:26 +0000 (0:00:00.021) 0:01:49.179 ********* 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:44:26 +0000 (0:00:00.022) 0:01:49.202 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:53 Thursday 21 July 2022 08:44:26 +0000 (0:00:00.030) 0:01:49.233 ********* 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=542 changed=22 unreachable=0 failed=3 skipped=371 rescued=3 ignored=0 Thursday 21 July 2022 08:44:26 +0000 (0:00:00.052) 0:01:49.285 ********* =============================================================================== linux-system-roles.storage : manage the pools and volumes to match the specified state --- 8.67s /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 --- 7.93s /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 --- 2.53s /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 --- 2.13s /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.54s /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Find unused disks in the system ----------------------------------------- 1.46s /tmp/tmp8lr32tv2/tests/get_unused_disk.yml:2 ---------------------------------- linux-system-roles.storage : manage the pools and volumes to match the specified state --- 1.37s /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.29s /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Gathering Facts --------------------------------------------------------- 1.18s /tmp/tmp8lr32tv2/tests/tests_luks_pool_scsi_generated.yml:3 ------------------- linux-system-roles.storage : get required packages ---------------------- 1.11s /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 linux-system-roles.storage : get service facts -------------------------- 1.10s /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 linux-system-roles.storage : make sure blivet is available -------------- 1.09s /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 1.06s /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : Update facts ------------------------------- 0.93s /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 linux-system-roles.storage : Update facts ------------------------------- 0.93s /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 linux-system-roles.storage : Update facts ------------------------------- 0.91s /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 linux-system-roles.storage : Update facts ------------------------------- 0.87s /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 linux-system-roles.storage : Update facts ------------------------------- 0.86s /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 linux-system-roles.storage : Update facts ------------------------------- 0.84s /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Gathering Facts --------------------------------------------------------- 0.82s /tmp/tmp8lr32tv2/tests/tests_luks_pool.yml:2 ---------------------------------- 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 statically imported: /tmp/tmptuh8_vrz/tests/storage/create-test-file.yml statically imported: /tmp/tmptuh8_vrz/tests/storage/verify-data-preservation.yml statically imported: /tmp/tmptuh8_vrz/tests/storage/create-test-file.yml statically imported: /tmp/tmptuh8_vrz/tests/storage/verify-data-preservation.yml statically imported: /tmp/tmptuh8_vrz/tests/storage/create-test-file.yml statically imported: /tmp/tmptuh8_vrz/tests/storage/verify-data-preservation.yml 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_luks_pool_scsi_generated.yml *********************************** 2 plays in /tmp/tmptuh8_vrz/tests/storage/tests_luks_pool_scsi_generated.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/tests_luks_pool_scsi_generated.yml:3 Thursday 21 July 2022 11:33:48 +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_luks_pool_scsi_generated.yml:7 Thursday 21 July 2022 11:33:49 +0000 (0:00:01.226) 0:00:01.239 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_use_interface": "scsi" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/tests_luks_pool.yml:2 Thursday 21 July 2022 11:33:49 +0000 (0:00:00.051) 0:00:01.290 ********* 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_luks_pool.yml:14 Thursday 21 July 2022 11:33:50 +0000 (0:00:00.834) 0:00:02.125 ********* 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:33:50 +0000 (0:00:00.035) 0:00:02.160 ********* 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:33:50 +0000 (0:00:00.031) 0:00:02.192 ********* 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:33:50 +0000 (0:00:00.410) 0:00:02.602 ********* 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:33:50 +0000 (0:00:00.056) 0:00:02.659 ********* 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:33:50 +0000 (0:00:00.030) 0:00:02.689 ********* 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:33:51 +0000 (0:00:00.032) 0:00:02.722 ********* 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:33:51 +0000 (0:00:00.055) 0:00:02.777 ********* 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:33:51 +0000 (0:00:00.018) 0:00:02.796 ********* 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:33:52 +0000 (0:00:00.955) 0:00:03.751 ********* 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:33:52 +0000 (0:00:00.035) 0:00:03.787 ********* 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:33:52 +0000 (0:00:00.034) 0:00:03.821 ********* 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:33:52 +0000 (0:00:00.689) 0:00:04.510 ********* 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:33:52 +0000 (0:00:00.049) 0:00:04.560 ********* 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:33:52 +0000 (0:00:00.032) 0:00:04.593 ********* 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:33:52 +0000 (0:00:00.034) 0:00:04.628 ********* 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:33:52 +0000 (0:00:00.028) 0:00:04.656 ********* 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:33:53 +0000 (0:00:00.556) 0:00:05.212 ********* 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:33:54 +0000 (0:00:01.093) 0:00:06.305 ********* 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:33:54 +0000 (0:00:00.056) 0:00:06.362 ********* 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:33:54 +0000 (0:00:00.023) 0:00:06.386 ********* 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:33:55 +0000 (0:00:00.471) 0:00:06.857 ********* 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:33:55 +0000 (0:00:00.035) 0:00:06.893 ********* 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:33:55 +0000 (0:00:00.021) 0:00:06.914 ********* 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:33:55 +0000 (0:00:00.035) 0:00:06.950 ********* 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:33:55 +0000 (0:00:00.037) 0:00:06.987 ********* 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:33:55 +0000 (0:00:00.035) 0:00:07.023 ********* 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:33:55 +0000 (0:00:00.035) 0:00:07.058 ********* 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:33:55 +0000 (0:00:00.026) 0:00:07.084 ********* 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:33:55 +0000 (0:00:00.032) 0:00:07.117 ********* 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:33:55 +0000 (0:00:00.021) 0:00:07.139 ********* 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:33:55 +0000 (0:00:00.445) 0:00:07.584 ********* 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:33:55 +0000 (0:00:00.021) 0:00:07.606 ********* 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_luks_pool.yml:17 Thursday 21 July 2022 11:33:56 +0000 (0:00:00.845) 0:00:08.452 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_skip_checks": [ "blivet_available", "service_facts" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/tests_luks_pool.yml:23 Thursday 21 July 2022 11:33:56 +0000 (0:00:00.063) 0:00:08.515 ********* 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:33:56 +0000 (0:00:00.036) 0:00:08.552 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "disks": [ "sdb" ] } TASK [Set unused_disks if necessary] ******************************************* task path: /tmp/tmptuh8_vrz/tests/storage/get_unused_disk.yml:9 Thursday 21 July 2022 11:33:57 +0000 (0:00:00.490) 0:00:09.043 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "unused_disks": [ "sdb" ] }, "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:33:57 +0000 (0:00:00.038) 0:00:09.081 ********* 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:33:57 +0000 (0:00:00.037) 0:00:09.118 ********* ok: [/cache/centos-7.qcow2c.snap] => { "unused_disks": [ "sdb" ] } TASK [Create an encrypted lvm pool] ******************************************** task path: /tmp/tmptuh8_vrz/tests/storage/tests_luks_pool.yml:34 Thursday 21 July 2022 11:33:57 +0000 (0:00:00.037) 0:00:09.156 ********* 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:33:57 +0000 (0:00:00.038) 0:00:09.194 ********* 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:33:57 +0000 (0:00:00.034) 0:00:09.228 ********* 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:33:57 +0000 (0:00:00.410) 0:00:09.639 ********* 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:33:57 +0000 (0:00:00.060) 0:00:09.699 ********* 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:33:58 +0000 (0:00:00.034) 0:00:09.733 ********* 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:33:58 +0000 (0:00:00.032) 0:00:09.766 ********* 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:33:58 +0000 (0:00:00.054) 0:00:09.821 ********* 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:33:58 +0000 (0:00:00.019) 0:00:09.841 ********* 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:33:58 +0000 (0:00:00.026) 0:00:09.867 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_pools": [ { "disks": [ "sdb" ], "encryption": true, "name": "foo", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "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:33:58 +0000 (0:00:00.040) 0:00:09.907 ********* 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:33:58 +0000 (0:00:00.039) 0:00:09.947 ********* ok: [/cache/centos-7.qcow2c.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [ "cryptsetup", "lvm2" ], "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:33:59 +0000 (0:00:01.088) 0:00:11.035 ********* 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:33:59 +0000 (0:00:00.072) 0:00:11.108 ********* 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:33:59 +0000 (0:00:00.032) 0:00:11.141 ********* 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:33:59 +0000 (0:00:00.035) 0:00:11.177 ********* 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:33:59 +0000 (0:00:00.031) 0:00:11.208 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "cryptsetup-2.0.3-6.el7.x86_64 providing cryptsetup is already installed", "7:lvm2-2.02.187-6.el7_9.5.x86_64 providing lvm2 is already installed" ] } 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:34:00 +0000 (0:00:00.515) 0:00:11.724 ********* 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:34:00 +0000 (0:00:00.030) 0:00:11.754 ********* 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:34:00 +0000 (0:00:00.064) 0:00:11.819 ********* 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:34:00 +0000 (0:00:00.020) 0:00:11.839 ********* fatal: [/cache/centos-7.qcow2c.snap]: FAILED! => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } MSG: encrypted pool 'foo' missing key/password TASK [fedora.linux_system_roles.storage : failed message] ********************** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:86 Thursday 21 July 2022 11:34:01 +0000 (0:00:01.080) 0:00:12.920 ********* fatal: [/cache/centos-7.qcow2c.snap]: FAILED! => { "changed": false } MSG: {'crypts': [], 'mounts': [], 'leaves': [], 'changed': False, 'actions': [], 'failed': True, 'volumes': [], 'invocation': {'module_args': {'packages_only': False, 'disklabel_type': None, 'diskvolume_mkfs_option_map': {'ext4': '-F', 'ext3': '-F', 'ext2': '-F'}, 'safe_mode': True, 'pools': [{'name': 'foo', 'encryption_password': None, 'state': 'present', 'raid_metadata_version': None, 'encryption': True, 'encryption_key_size': None, 'disks': ['sdb'], 'raid_level': None, 'encryption_luks_version': None, 'raid_device_count': None, 'encryption_key': None, 'volumes': [{'fs_type': None, 'mount_options': None, 'size': '4g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, 'encryption': None, 'raid_level': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'deduplication': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'raid_disks': [], 'cache_mode': None, 'name': 'test1', 'cached': None, 'type': None, 'thin': False, 'cache_size': None, 'cache_devices': [], 'fs_create_options': None}], 'raid_chunk_size': None, 'type': 'lvm', 'encryption_cipher': None, 'raid_spare_count': None}], 'volumes': [], 'pool_defaults': {'encryption_password': None, 'raid_metadata_version': None, 'encryption': False, 'encryption_cipher': None, 'disks': [], 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'raid_device_count': None, 'state': 'present', 'volumes': [], 'raid_chunk_size': None, 'type': 'lvm', 'raid_level': None, 'raid_spare_count': None}, 'volume_defaults': {'raid_metadata_version': None, 'mount_device_identifier': 'uuid', 'fs_type': 'xfs', 'mount_options': 'defaults', 'size': 0, 'mount_point': '', 'compression': None, 'encryption_password': None, 'encryption': False, 'raid_level': None, 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'fs_overwrite_existing': True, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'mount_passno': 0, 'raid_spare_count': None, 'cache_mode': None, 'deduplication': None, 'cached': False, 'type': 'lvm', 'disks': [], 'thin_pool_size': None, 'thin': None, 'mount_check': 0, 'cache_size': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}, 'use_partitions': None}}, 'pools': [], 'packages': [], 'msg': "encrypted pool 'foo' missing key/password", '_ansible_no_log': 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:34:01 +0000 (0:00:00.041) 0:00:12.961 ********* TASK [Check that we failed in the role] **************************************** task path: /tmp/tmptuh8_vrz/tests/storage/tests_luks_pool.yml:53 Thursday 21 July 2022 11:34:01 +0000 (0:00:00.020) 0:00:12.982 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the output of the keyless luks test] ****************************** task path: /tmp/tmptuh8_vrz/tests/storage/tests_luks_pool.yml:59 Thursday 21 July 2022 11:34:01 +0000 (0:00:00.036) 0:00:13.018 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Mark tasks to be skipped] ************************************************ task path: /tmp/tmptuh8_vrz/tests/storage/tests_luks_pool.yml:64 Thursday 21 July 2022 11:34:01 +0000 (0:00:00.044) 0:00:13.063 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_skip_checks": [ "blivet_available", "packages_installed", "service_facts" ] }, "changed": false } TASK [Create a key file] ******************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/tests_luks_pool.yml:73 Thursday 21 July 2022 11:34:01 +0000 (0:00:00.031) 0:00:13.095 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/storage_test02cgfMlukskey", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [Write the key into the key file] ***************************************** task path: /tmp/tmptuh8_vrz/tests/storage/tests_luks_pool.yml:80 Thursday 21 July 2022 11:34:01 +0000 (0:00:00.408) 0:00:13.503 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "checksum": "7a4dff3752e2baf5617c57eaac048e2b95e8af91", "dest": "/tmp/storage_test02cgfMlukskey", "gid": 0, "group": "root", "md5sum": "4ac07b967150835c00d0865161e48744", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 32, "src": "/root/.ansible/tmp/ansible-tmp-1658403241.8419163-268195-158537970599665/source", "state": "file", "uid": 0 } TASK [Create an encrypted lvm pool using a key file] *************************** task path: /tmp/tmptuh8_vrz/tests/storage/tests_luks_pool.yml:87 Thursday 21 July 2022 11:34:02 +0000 (0:00:00.697) 0:00:14.201 ********* 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:34:02 +0000 (0:00:00.040) 0:00:14.241 ********* 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:34:02 +0000 (0:00:00.037) 0:00:14.278 ********* 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:34:03 +0000 (0:00:00.463) 0:00:14.742 ********* 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:34:03 +0000 (0:00:00.090) 0:00:14.833 ********* 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:34:03 +0000 (0:00:00.074) 0:00:14.907 ********* 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:34:03 +0000 (0:00:00.084) 0:00:14.992 ********* 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:34:03 +0000 (0:00:00.058) 0:00:15.051 ********* 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:34:03 +0000 (0:00:00.022) 0:00:15.073 ********* 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:34:03 +0000 (0:00:00.030) 0:00:15.104 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_pools": [ { "disks": [ "sdb" ], "encryption": true, "encryption_key": "/tmp/storage_test02cgfMlukskey", "name": "foo", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "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:34:03 +0000 (0:00:00.040) 0:00:15.144 ********* 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:34:03 +0000 (0:00:00.039) 0:00:15.184 ********* 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:34:03 +0000 (0:00:00.034) 0:00:15.219 ********* 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:34:03 +0000 (0:00:00.027) 0:00:15.247 ********* 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:34:03 +0000 (0:00:00.026) 0:00:15.273 ********* 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:34:03 +0000 (0:00:00.026) 0:00:15.300 ********* 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:34:03 +0000 (0:00:00.058) 0:00:15.358 ********* 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:34:03 +0000 (0:00:00.021) 0:00:15.380 ********* changed: [/cache/centos-7.qcow2c.snap] => { "actions": [ { "action": "create format", "device": "/dev/sdb", "fs_type": "luks" }, { "action": "create device", "device": "/dev/mapper/luks-9f6a615f-1e5b-490b-8f6e-406bd4207bd7", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/luks-9f6a615f-1e5b-490b-8f6e-406bd4207bd7", "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": [ { "backing_device": "/dev/sdb", "name": "luks-9f6a615f-1e5b-490b-8f6e-406bd4207bd7", "password": "/tmp/storage_test02cgfMlukskey", "state": "present" } ], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/mapper/foo-test1" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "cryptsetup", "xfsprogs", "e2fsprogs", "lvm2" ], "pools": [ { "disks": [ "sdb" ], "encryption": true, "encryption_cipher": null, "encryption_key": "/tmp/storage_test02cgfMlukskey", "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-1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "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:34:11 +0000 (0:00:07.923) 0:00:23.303 ********* 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:34:11 +0000 (0:00:00.041) 0:00:23.345 ********* 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:34:11 +0000 (0:00:00.024) 0:00:23.369 ********* ok: [/cache/centos-7.qcow2c.snap] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sdb", "fs_type": "luks" }, { "action": "create device", "device": "/dev/mapper/luks-9f6a615f-1e5b-490b-8f6e-406bd4207bd7", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/luks-9f6a615f-1e5b-490b-8f6e-406bd4207bd7", "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": [ { "backing_device": "/dev/sdb", "name": "luks-9f6a615f-1e5b-490b-8f6e-406bd4207bd7", "password": "/tmp/storage_test02cgfMlukskey", "state": "present" } ], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/mapper/foo-test1" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "cryptsetup", "xfsprogs", "e2fsprogs", "lvm2" ], "pools": [ { "disks": [ "sdb" ], "encryption": true, "encryption_cipher": null, "encryption_key": "/tmp/storage_test02cgfMlukskey", "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-1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "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:34:11 +0000 (0:00:00.041) 0:00:23.410 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sdb" ], "encryption": true, "encryption_cipher": null, "encryption_key": "/tmp/storage_test02cgfMlukskey", "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-1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "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:34:11 +0000 (0:00:00.039) 0:00:23.450 ********* 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:34:11 +0000 (0:00:00.037) 0:00:23.487 ********* 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:34:11 +0000 (0:00:00.039) 0:00:23.527 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "name": null, "status": {} } 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:34:12 +0000 (0:00:00.747) 0:00:24.274 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-7.qcow2c.snap] => (item={'src': '/dev/mapper/foo-test1', 'dump': 0, 'passno': 0, 'fstype': 'xfs', 'state': 'mounted', 'path': '/opt/test1', 'opts': 'defaults'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 11:34:13 +0000 (0:00:00.512) 0:00:24.787 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "name": null, "status": {} } 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:34:13 +0000 (0:00:00.479) 0:00:25.266 ********* 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:34:13 +0000 (0:00:00.322) 0:00:25.589 ********* changed: [/cache/centos-7.qcow2c.snap] => (item={'state': 'present', 'password': '/tmp/storage_test02cgfMlukskey', 'name': 'luks-9f6a615f-1e5b-490b-8f6e-406bd4207bd7', 'backing_device': '/dev/sdb'}) => { "ansible_loop_var": "entry", "backup": "", "changed": true, "entry": { "backing_device": "/dev/sdb", "name": "luks-9f6a615f-1e5b-490b-8f6e-406bd4207bd7", "password": "/tmp/storage_test02cgfMlukskey", "state": "present" } } MSG: line added 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:34:14 +0000 (0:00:00.456) 0:00:26.045 ********* 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_luks_pool.yml:102 Thursday 21 July 2022 11:34:15 +0000 (0:00:00.885) 0:00:26.931 ********* 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:34:15 +0000 (0:00:00.040) 0:00:26.972 ********* ok: [/cache/centos-7.qcow2c.snap] => { "_storage_pools_list": [ { "disks": [ "sdb" ], "encryption": true, "encryption_cipher": null, "encryption_key": "/tmp/storage_test02cgfMlukskey", "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-1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "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:34:15 +0000 (0:00:00.053) 0:00:27.026 ********* 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:34:15 +0000 (0:00:00.037) 0:00:27.063 ********* 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": "94a6ae8b-8890-48d8-82c4-0201a912c5df" }, "/dev/mapper/luks-9f6a615f-1e5b-490b-8f6e-406bd4207bd7": { "fstype": "LVM2_member", "label": "", "name": "/dev/mapper/luks-9f6a615f-1e5b-490b-8f6e-406bd4207bd7", "size": "10G", "type": "crypt", "uuid": "05kbXp-Gi2Z-ZHOc-vmJ1-rtH2-Sjpj-dbF65d" }, "/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": "crypto_LUKS", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "9f6a615f-1e5b-490b-8f6e-406bd4207bd7" }, "/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-33-34-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:34:15 +0000 (0:00:00.434) 0:00:27.498 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003357", "end": "2022-07-21 11:34:16.069535", "rc": 0, "start": "2022-07-21 11:34:16.066178" } 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 /dev/mapper/foo-test1 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 11:34:16 +0000 (0:00:00.454) 0:00:27.953 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003549", "end": "2022-07-21 11:34:16.393757", "failed_when_result": false, "rc": 0, "start": "2022-07-21 11:34:16.390208" } STDOUT: luks-9f6a615f-1e5b-490b-8f6e-406bd4207bd7 /dev/sdb /tmp/storage_test02cgfMlukskey 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:34:16 +0000 (0:00:00.323) 0:00:28.276 ********* 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': True, 'encryption_key_size': None, 'disks': ['sdb'], 'raid_level': None, 'encryption_luks_version': None, 'raid_device_count': None, 'encryption_key': '/tmp/storage_test02cgfMlukskey', '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': '/opt/test1', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-1', '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-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:34:16 +0000 (0:00:00.061) 0:00:28.337 ********* 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:34:16 +0000 (0:00:00.033) 0:00:28.371 ********* 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:34:16 +0000 (0:00:00.048) 0:00:28.419 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/mapper/luks-9f6a615f-1e5b-490b-8f6e-406bd4207bd7" ] }, "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:34:16 +0000 (0:00:00.093) 0:00:28.512 ********* ok: [/cache/centos-7.qcow2c.snap] => (item=/dev/mapper/luks-9f6a615f-1e5b-490b-8f6e-406bd4207bd7) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/mapper/luks-9f6a615f-1e5b-490b-8f6e-406bd4207bd7", "pv": "/dev/mapper/luks-9f6a615f-1e5b-490b-8f6e-406bd4207bd7" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 11:34:17 +0000 (0:00:00.435) 0:00:28.948 ********* 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:34:17 +0000 (0:00:00.077) 0:00:29.025 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/mapper/luks-9f6a615f-1e5b-490b-8f6e-406bd4207bd7" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 11:34:17 +0000 (0:00:00.091) 0:00:29.116 ********* 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:34:17 +0000 (0:00:00.087) 0:00:29.204 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "crypt" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 11:34:17 +0000 (0:00:00.072) 0:00:29.276 ********* 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-pool-members.yml:37 Thursday 21 July 2022 11:34:17 +0000 (0:00:00.057) 0:00:29.334 ********* 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:34:17 +0000 (0:00:00.025) 0:00:29.360 ********* ok: [/cache/centos-7.qcow2c.snap] => (item=/dev/mapper/luks-9f6a615f-1e5b-490b-8f6e-406bd4207bd7) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/mapper/luks-9f6a615f-1e5b-490b-8f6e-406bd4207bd7" } 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:34:17 +0000 (0:00:00.045) 0:00:29.405 ********* 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:34:17 +0000 (0:00:00.050) 0:00:29.455 ********* 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:34:17 +0000 (0:00:00.029) 0:00:29.485 ********* 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:34:17 +0000 (0:00:00.027) 0:00:29.512 ********* 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:34:17 +0000 (0:00:00.024) 0:00:29.537 ********* 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:34:17 +0000 (0:00:00.025) 0:00:29.563 ********* 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:34:17 +0000 (0:00:00.025) 0:00:29.589 ********* 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:34:17 +0000 (0:00:00.024) 0:00:29.613 ********* 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:34:17 +0000 (0:00:00.023) 0:00:29.637 ********* 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:34:17 +0000 (0:00:00.036) 0:00:29.673 ********* 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:34:18 +0000 (0:00:00.043) 0:00:29.717 ********* 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': '/opt/test1', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-1', '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-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:34:18 +0000 (0:00:00.042) 0:00:29.759 ********* 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:34:18 +0000 (0:00:00.027) 0:00:29.786 ********* 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:34:18 +0000 (0:00:00.026) 0:00:29.813 ********* 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:34:18 +0000 (0:00:00.027) 0:00:29.840 ********* 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:34:18 +0000 (0:00:00.042) 0:00:29.883 ********* 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': '/opt/test1', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-1', '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-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:34:18 +0000 (0:00:00.042) 0:00:29.925 ********* 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:34:18 +0000 (0:00:00.021) 0:00:29.947 ********* 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:34:18 +0000 (0:00:00.021) 0:00:29.969 ********* 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:34:18 +0000 (0:00:00.021) 0:00:29.990 ********* 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:34:18 +0000 (0:00:00.023) 0:00:30.014 ********* 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:34:18 +0000 (0:00:00.050) 0:00:30.064 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "1", "_storage_test_expected_crypttab_key_file": "/tmp/storage_test02cgfMlukskey" }, "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:34:18 +0000 (0:00:00.054) 0:00:30.119 ********* included: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-encryption.yml for /cache/centos-7.qcow2c.snap => (item=/dev/mapper/luks-9f6a615f-1e5b-490b-8f6e-406bd4207bd7) TASK [Get the backing device path] ********************************************* task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-encryption.yml:1 Thursday 21 July 2022 11:34:18 +0000 (0:00:00.044) 0:00:30.164 ********* changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "realpath", "/dev/disk/by-uuid/9f6a615f-1e5b-490b-8f6e-406bd4207bd7" ], "delta": "0:00:00.004953", "end": "2022-07-21 11:34:18.616643", "rc": 0, "start": "2022-07-21 11:34:18.611690" } STDOUT: /dev/sdb TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-encryption.yml:6 Thursday 21 July 2022 11:34:18 +0000 (0:00:00.334) 0:00:30.498 ********* 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 member] *************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-encryption.yml:11 Thursday 21 July 2022 11:34:19 +0000 (0:00:00.531) 0:00:31.029 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "cryptsetup", "luksDump", "/dev/sdb" ], "delta": "0:00:00.108286", "end": "2022-07-21 11:34:19.570833", "rc": 0, "start": "2022-07-21 11:34:19.462547" } STDOUT: LUKS header information for /dev/sdb Version: 1 Cipher name: aes Cipher mode: xts-plain64 Hash spec: sha256 Payload offset: 4096 MK bits: 512 MK digest: d0 24 7e 21 78 70 7b 7e 06 16 bf 2b d4 26 3f 41 14 6b 1f bf MK salt: d0 de 8b 3d 45 4e 1c 6b 02 4d a9 33 22 73 57 42 34 9b 29 d4 97 38 36 60 b0 36 b0 f7 eb 89 b9 65 MK iterations: 22629 UUID: 9f6a615f-1e5b-490b-8f6e-406bd4207bd7 Key Slot 0: ENABLED Iterations: 362578 Salt: a9 fa a4 b2 a1 7f 64 01 2c 75 4a e7 5e 5c 46 1a 4c ef 17 0c 48 ba d2 bf 1f 3d b7 45 76 4c 80 60 Key material offset: 8 AF stripes: 4000 Key Slot 1: DISABLED Key Slot 2: DISABLED Key Slot 3: DISABLED Key Slot 4: DISABLED Key Slot 5: DISABLED Key Slot 6: DISABLED Key Slot 7: DISABLED TASK [Check LUKS version] ****************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-encryption.yml:17 Thursday 21 July 2022 11:34:19 +0000 (0:00:00.421) 0:00:31.451 ********* 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/verify-pool-member-encryption.yml:23 Thursday 21 July 2022 11:34:19 +0000 (0:00:00.026) 0:00:31.477 ********* 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/verify-pool-member-encryption.yml:29 Thursday 21 July 2022 11:34:19 +0000 (0:00:00.026) 0:00:31.503 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "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:34:19 +0000 (0:00:00.026) 0:00:31.530 ********* included: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-crypttab.yml for /cache/centos-7.qcow2c.snap => (item=/dev/mapper/luks-9f6a615f-1e5b-490b-8f6e-406bd4207bd7) TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 11:34:19 +0000 (0:00:00.048) 0:00:31.578 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [ "luks-9f6a615f-1e5b-490b-8f6e-406bd4207bd7 /dev/sdb /tmp/storage_test02cgfMlukskey" ] }, "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:34:19 +0000 (0:00:00.051) 0:00:31.630 ********* 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:34:19 +0000 (0:00:00.052) 0:00:31.682 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed 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:34:20 +0000 (0:00:00.054) 0:00:31.736 ********* 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:34:20 +0000 (0:00:00.037) 0:00:31.774 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 11:34:20 +0000 (0:00:00.052) 0:00:31.827 ********* 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:34:20 +0000 (0:00:00.038) 0:00:31.865 ********* 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:34:20 +0000 (0:00:00.035) 0:00:31.901 ********* 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:34:20 +0000 (0:00:00.050) 0:00:31.951 ********* 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': '/opt/test1', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-1', '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-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:34:20 +0000 (0:00:00.046) 0:00:31.998 ********* 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:34:20 +0000 (0:00:00.023) 0:00:32.021 ********* 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:34:20 +0000 (0:00:00.024) 0:00:32.046 ********* 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:34:20 +0000 (0:00:00.026) 0:00:32.073 ********* 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:34:20 +0000 (0:00:00.025) 0:00:32.099 ********* 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:34:20 +0000 (0:00:00.034) 0:00:32.133 ********* 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:34:20 +0000 (0:00:00.027) 0:00:32.160 ********* 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:34:20 +0000 (0:00:00.027) 0:00:32.188 ********* 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:34:20 +0000 (0:00:00.037) 0:00:32.225 ********* 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:34:20 +0000 (0:00:00.037) 0:00:32.263 ********* 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': '/opt/test1', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-1', '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-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:34:20 +0000 (0:00:00.047) 0:00:32.310 ********* 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:34:20 +0000 (0:00:00.052) 0:00:32.363 ********* 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:34:20 +0000 (0:00:00.089) 0:00:32.452 ********* 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:34:20 +0000 (0:00:00.121) 0:00:32.573 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 1037768, "block_size": 4096, "block_total": 1046016, "block_used": 8248, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 2097149, "inode_total": 2097152, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,noquota", "size_available": 4250697728, "size_total": 4284481536, "uuid": "94a6ae8b-8890-48d8-82c4-0201a912c5df" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 1037768, "block_size": 4096, "block_total": 1046016, "block_used": 8248, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 2097149, "inode_total": 2097152, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,noquota", "size_available": 4250697728, "size_total": 4284481536, "uuid": "94a6ae8b-8890-48d8-82c4-0201a912c5df" } ], "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:34:20 +0000 (0:00:00.056) 0:00:32.630 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed 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:34:20 +0000 (0:00:00.051) 0:00:32.681 ********* 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:34:21 +0000 (0:00:00.052) 0:00:32.734 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 11:34:21 +0000 (0:00:00.051) 0:00:32.786 ********* 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:34:21 +0000 (0:00:00.026) 0:00:32.812 ********* 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:34:21 +0000 (0:00:00.025) 0:00:32.838 ********* 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:34:21 +0000 (0:00:00.025) 0:00:32.864 ********* 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:34:21 +0000 (0:00:00.034) 0:00:32.898 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 11:34:21 +0000 (0:00:00.061) 0:00:32.960 ********* 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:34:21 +0000 (0:00:00.053) 0:00:33.013 ********* 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:34:21 +0000 (0:00:00.048) 0:00:33.062 ********* 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:34:21 +0000 (0:00:00.034) 0:00:33.097 ********* 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:34:21 +0000 (0:00:00.038) 0:00:33.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:34:21 +0000 (0:00:00.039) 0:00:33.175 ********* 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:34:21 +0000 (0:00:00.041) 0:00:33.217 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658403251.376368, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658403251.376368, "dev": 5, "device_type": 64513, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 25568, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658403251.376368, "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:34:21 +0000 (0:00:00.311) 0:00:33.528 ********* 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:34:21 +0000 (0:00:00.040) 0:00:33.569 ********* 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:34:21 +0000 (0:00:00.040) 0:00:33.610 ********* 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:34:21 +0000 (0:00:00.036) 0:00:33.646 ********* 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:34:21 +0000 (0:00:00.025) 0:00:33.671 ********* 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:34:21 +0000 (0:00:00.040) 0:00:33.712 ********* 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:34:22 +0000 (0:00:00.025) 0:00:33.737 ********* 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:34:22 +0000 (0:00:00.503) 0:00:34.241 ********* 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:34:22 +0000 (0:00:00.023) 0:00:34.265 ********* 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:34:22 +0000 (0:00:00.021) 0:00:34.287 ********* 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:34:22 +0000 (0:00:00.050) 0:00:34.337 ********* 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:34:22 +0000 (0:00:00.026) 0:00:34.363 ********* 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:34:22 +0000 (0:00:00.023) 0:00:34.386 ********* 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:34:22 +0000 (0:00:00.024) 0:00:34.411 ********* 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:34:22 +0000 (0:00:00.025) 0:00:34.436 ********* 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:34:22 +0000 (0:00:00.024) 0:00:34.461 ********* 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:34:22 +0000 (0:00:00.079) 0:00:34.541 ********* 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:34:22 +0000 (0:00:00.047) 0:00:34.588 ********* 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:34:22 +0000 (0:00:00.035) 0:00:34.624 ********* 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:34:22 +0000 (0:00:00.042) 0:00:34.666 ********* 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:34:22 +0000 (0:00:00.038) 0:00:34.704 ********* 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:34:23 +0000 (0:00:00.036) 0:00:34.740 ********* 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:34:23 +0000 (0:00:00.038) 0:00:34.778 ********* 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:34:23 +0000 (0:00:00.049) 0:00:34.828 ********* 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:34:23 +0000 (0:00:00.043) 0:00:34.871 ********* 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:34:23 +0000 (0:00:00.040) 0:00:34.912 ********* 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:34:23 +0000 (0:00:00.035) 0:00:34.948 ********* 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:34:23 +0000 (0:00:00.042) 0:00:34.990 ********* 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:34:23 +0000 (0:00:00.038) 0:00:35.029 ********* 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:34:23 +0000 (0:00:00.411) 0:00:35.440 ********* 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:34:24 +0000 (0:00:00.322) 0:00:35.763 ********* 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:34:24 +0000 (0:00:00.049) 0:00:35.812 ********* 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:34:24 +0000 (0:00:00.036) 0:00:35.848 ********* 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:34:24 +0000 (0:00:00.039) 0:00:35.888 ********* 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:34:24 +0000 (0:00:00.041) 0:00:35.929 ********* 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:34:24 +0000 (0:00:00.036) 0:00:35.966 ********* 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:34:24 +0000 (0:00:00.035) 0:00:36.002 ********* 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:34:24 +0000 (0:00:00.035) 0:00:36.037 ********* 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:34:24 +0000 (0:00:00.036) 0:00:36.074 ********* 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:34:24 +0000 (0:00:00.032) 0:00:36.107 ********* 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:34:24 +0000 (0:00:00.050) 0:00:36.157 ********* 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.022954", "end": "2022-07-21 11:34:24.613300", "rc": 0, "start": "2022-07-21 11:34:24.590346" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 11:34:24 +0000 (0:00:00.335) 0:00:36.492 ********* 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:34:24 +0000 (0:00:00.053) 0:00:36.546 ********* 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:34:24 +0000 (0:00:00.090) 0:00:36.636 ********* 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:34:24 +0000 (0:00:00.036) 0:00:36.673 ********* 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:34:24 +0000 (0:00:00.037) 0:00:36.710 ********* 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:34:25 +0000 (0:00:00.038) 0:00:36.748 ********* 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:34:25 +0000 (0:00:00.037) 0:00:36.786 ********* 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:34:25 +0000 (0:00:00.108) 0:00:36.895 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 11:34:25 +0000 (0:00:00.022) 0:00:36.917 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Remove the key file] ***************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/tests_luks_pool.yml:104 Thursday 21 July 2022 11:34:25 +0000 (0:00:00.036) 0:00:36.954 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "path": "/tmp/storage_test02cgfMlukskey", "state": "absent" } TASK [create a file] *********************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/create-test-file.yml:10 Thursday 21 July 2022 11:34:25 +0000 (0:00:00.442) 0:00:37.396 ********* changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "dest": "/opt/test1/quux", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:unlabeled_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [Remove the encryption layer] ********************************************* task path: /tmp/tmptuh8_vrz/tests/storage/tests_luks_pool.yml:114 Thursday 21 July 2022 11:34:26 +0000 (0:00:00.327) 0:00:37.724 ********* 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:34:26 +0000 (0:00:00.042) 0:00:37.766 ********* 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:34:26 +0000 (0:00:00.038) 0:00:37.804 ********* 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:34:26 +0000 (0:00:00.412) 0:00:38.217 ********* 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:34:26 +0000 (0:00:00.063) 0:00:38.280 ********* 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:34:26 +0000 (0:00:00.035) 0:00:38.315 ********* 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:34:26 +0000 (0:00:00.038) 0:00:38.354 ********* 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:34:26 +0000 (0:00:00.061) 0:00:38.415 ********* 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:34:26 +0000 (0:00:00.021) 0:00:38.437 ********* 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:34:26 +0000 (0:00:00.027) 0:00:38.465 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_pools": [ { "disks": [ "sdb" ], "encryption": false, "encryption_password": "yabbadabbadoo", "name": "foo", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "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:34:26 +0000 (0:00:00.041) 0:00:38.506 ********* 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:34:26 +0000 (0:00:00.037) 0:00:38.543 ********* 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:34:26 +0000 (0:00:00.030) 0:00:38.573 ********* 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:34:26 +0000 (0:00:00.030) 0:00:38.604 ********* 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:34:26 +0000 (0:00:00.036) 0:00:38.640 ********* 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:34:26 +0000 (0:00:00.033) 0:00:38.674 ********* 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:34:27 +0000 (0:00:00.065) 0:00:38.739 ********* 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:34:27 +0000 (0:00:00.029) 0:00:38.769 ********* fatal: [/cache/centos-7.qcow2c.snap]: FAILED! => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } MSG: cannot remove and recreate existing pool 'foo' in safe mode TASK [fedora.linux_system_roles.storage : failed message] ********************** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:86 Thursday 21 July 2022 11:34:28 +0000 (0:00:01.391) 0:00:40.160 ********* fatal: [/cache/centos-7.qcow2c.snap]: FAILED! => { "changed": false } MSG: {'crypts': [], 'mounts': [], 'leaves': [], 'changed': False, 'actions': [], 'failed': True, 'volumes': [], 'invocation': {'module_args': {'packages_only': False, 'disklabel_type': None, 'diskvolume_mkfs_option_map': {'ext4': '-F', 'ext3': '-F', 'ext2': '-F'}, 'safe_mode': True, 'pools': [{'name': 'foo', 'encryption_password': 'yabbadabbadoo', 'state': 'present', 'raid_metadata_version': None, 'encryption': False, 'encryption_key_size': 0, 'disks': ['sdb'], 'raid_level': None, 'encryption_luks_version': 'luks1', 'raid_device_count': None, 'encryption_key': None, 'volumes': [{'fs_type': None, 'mount_options': None, 'size': '4g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, 'encryption': None, 'raid_level': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'deduplication': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'raid_disks': [], 'cache_mode': None, 'name': 'test1', 'cached': None, 'type': None, 'thin': False, 'cache_size': None, 'cache_devices': [], 'fs_create_options': None}], 'raid_chunk_size': None, 'type': 'lvm', 'encryption_cipher': None, 'raid_spare_count': None}], 'volumes': [], 'pool_defaults': {'encryption_password': None, 'raid_metadata_version': None, 'encryption': False, 'encryption_cipher': None, 'disks': [], 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'raid_device_count': None, 'state': 'present', 'volumes': [], 'raid_chunk_size': None, 'type': 'lvm', 'raid_level': None, 'raid_spare_count': None}, 'volume_defaults': {'raid_metadata_version': None, 'mount_device_identifier': 'uuid', 'fs_type': 'xfs', 'mount_options': 'defaults', 'size': 0, 'mount_point': '', 'compression': None, 'encryption_password': None, 'encryption': False, 'raid_level': None, 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'fs_overwrite_existing': True, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'mount_passno': 0, 'raid_spare_count': None, 'cache_mode': None, 'deduplication': None, 'cached': False, 'type': 'lvm', 'disks': [], 'thin_pool_size': None, 'thin': None, 'mount_check': 0, 'cache_size': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}, 'use_partitions': None}}, 'pools': [], 'packages': [], 'msg': "cannot remove and recreate existing pool 'foo' in safe mode", '_ansible_no_log': 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:34:28 +0000 (0:00:00.083) 0:00:40.244 ********* TASK [Check that we failed in the role] **************************************** task path: /tmp/tmptuh8_vrz/tests/storage/tests_luks_pool.yml:132 Thursday 21 July 2022 11:34:28 +0000 (0:00:00.022) 0:00:40.267 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the output of the safe_mode test] ********************************* task path: /tmp/tmptuh8_vrz/tests/storage/tests_luks_pool.yml:138 Thursday 21 July 2022 11:34:28 +0000 (0:00:00.081) 0:00:40.349 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [stat the file] *********************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-data-preservation.yml:10 Thursday 21 July 2022 11:34:28 +0000 (0:00:00.132) 0:00:40.481 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658403265.841368, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658403265.841368, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 67, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0644", "mtime": 1658403265.841368, "nlink": 1, "path": "/opt/test1/quux", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "version": "367775351", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [assert file presence] **************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-data-preservation.yml:15 Thursday 21 July 2022 11:34:29 +0000 (0:00:00.315) 0:00:40.797 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Remove the encryption layer] ********************************************* task path: /tmp/tmptuh8_vrz/tests/storage/tests_luks_pool.yml:145 Thursday 21 July 2022 11:34:29 +0000 (0:00:00.046) 0:00:40.843 ********* 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:34:29 +0000 (0:00:00.042) 0:00:40.885 ********* 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:34:29 +0000 (0:00:00.036) 0:00:40.921 ********* 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:34:29 +0000 (0:00:00.415) 0:00:41.337 ********* 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:34:29 +0000 (0:00:00.063) 0:00:41.401 ********* 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:34:29 +0000 (0:00:00.037) 0:00:41.439 ********* 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:34:29 +0000 (0:00:00.035) 0:00:41.474 ********* 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:34:29 +0000 (0:00:00.059) 0:00:41.533 ********* 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:34:29 +0000 (0:00:00.022) 0:00:41.556 ********* 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:34:29 +0000 (0:00:00.028) 0:00:41.584 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_pools": [ { "disks": [ "sdb" ], "encryption": false, "encryption_password": "yabbadabbadoo", "name": "foo", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "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:34:29 +0000 (0:00:00.035) 0:00:41.620 ********* 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:34:29 +0000 (0:00:00.035) 0:00:41.655 ********* 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:34:29 +0000 (0:00:00.029) 0:00:41.685 ********* 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:34:30 +0000 (0:00:00.029) 0:00:41.715 ********* 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:34:30 +0000 (0:00:00.027) 0:00:41.743 ********* 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:34:30 +0000 (0:00:00.027) 0:00:41.770 ********* 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:34:30 +0000 (0:00:00.060) 0:00:41.830 ********* 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:34:30 +0000 (0:00:00.023) 0:00:41.854 ********* changed: [/cache/centos-7.qcow2c.snap] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/mapper/luks-9f6a615f-1e5b-490b-8f6e-406bd4207bd7", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/mapper/luks-9f6a615f-1e5b-490b-8f6e-406bd4207bd7", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb", "fs_type": "luks" }, { "action": "create format", "device": "/dev/sdb", "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": [ { "backing_device": "/dev/sdb", "name": "luks-9f6a615f-1e5b-490b-8f6e-406bd4207bd7", "password": "-", "state": "absent" } ], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/mapper/foo-test1" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "xfsprogs", "e2fsprogs", "lvm2" ], "pools": [ { "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks1", "encryption_password": "yabbadabbadoo", "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "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:34:32 +0000 (0:00:02.477) 0:00:44.331 ********* 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:34:32 +0000 (0:00:00.037) 0:00:44.369 ********* 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:34:32 +0000 (0:00:00.023) 0:00:44.392 ********* ok: [/cache/centos-7.qcow2c.snap] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/mapper/luks-9f6a615f-1e5b-490b-8f6e-406bd4207bd7", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/mapper/luks-9f6a615f-1e5b-490b-8f6e-406bd4207bd7", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb", "fs_type": "luks" }, { "action": "create format", "device": "/dev/sdb", "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": [ { "backing_device": "/dev/sdb", "name": "luks-9f6a615f-1e5b-490b-8f6e-406bd4207bd7", "password": "-", "state": "absent" } ], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/mapper/foo-test1" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "xfsprogs", "e2fsprogs", "lvm2" ], "pools": [ { "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks1", "encryption_password": "yabbadabbadoo", "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "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:34:32 +0000 (0:00:00.043) 0:00:44.435 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks1", "encryption_password": "yabbadabbadoo", "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "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:34:32 +0000 (0:00:00.073) 0:00:44.508 ********* 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:34:32 +0000 (0:00:00.074) 0:00:44.582 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-7.qcow2c.snap] => (item={'src': '/dev/mapper/foo-test1', 'state': 'absent', 'path': '/opt/test1', 'fstype': 'xfs'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 11:34:33 +0000 (0:00:00.380) 0:00:44.963 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "name": null, "status": {} } 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:34:33 +0000 (0:00:00.447) 0:00:45.411 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-7.qcow2c.snap] => (item={'src': '/dev/mapper/foo-test1', 'dump': 0, 'passno': 0, 'fstype': 'xfs', 'state': 'mounted', 'path': '/opt/test1', 'opts': 'defaults'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 11:34:34 +0000 (0:00:00.348) 0:00:45.760 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "name": null, "status": {} } 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:34:34 +0000 (0:00:00.444) 0:00:46.204 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658403256.392368, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "312aa469634d8a938f3c9da7cca50e06f81c6afc", "ctime": 1658403254.158368, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4256173, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1658403254.158368, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 82, "uid": 0, "version": "265819422", "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:34:34 +0000 (0:00:00.319) 0:00:46.523 ********* changed: [/cache/centos-7.qcow2c.snap] => (item={'state': 'absent', 'password': '-', 'name': 'luks-9f6a615f-1e5b-490b-8f6e-406bd4207bd7', 'backing_device': '/dev/sdb'}) => { "ansible_loop_var": "entry", "backup": "", "changed": true, "entry": { "backing_device": "/dev/sdb", "name": "luks-9f6a615f-1e5b-490b-8f6e-406bd4207bd7", "password": "-", "state": "absent" }, "found": 1 } MSG: 1 line(s) removed 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:34:35 +0000 (0:00:00.346) 0:00:46.870 ********* 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_luks_pool.yml:161 Thursday 21 July 2022 11:34:36 +0000 (0:00:00.860) 0:00:47.730 ********* 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:34:36 +0000 (0:00:00.039) 0:00:47.769 ********* ok: [/cache/centos-7.qcow2c.snap] => { "_storage_pools_list": [ { "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks1", "encryption_password": "yabbadabbadoo", "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "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:34:36 +0000 (0:00:00.051) 0:00:47.821 ********* 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:34:36 +0000 (0:00:00.038) 0:00:47.860 ********* 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": "d21a2067-a92a-4cb2-8908-631fb855a015" }, "/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": "LVM2_member", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "pmMpup-0IOJ-SToO-KJoL-6ZVU-DZuf-kkj9U6" }, "/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-33-34-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:34:36 +0000 (0:00:00.321) 0:00:48.181 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003288", "end": "2022-07-21 11:34:36.602129", "rc": 0, "start": "2022-07-21 11:34:36.598841" } 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 /dev/mapper/foo-test1 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 11:34:36 +0000 (0:00:00.301) 0:00:48.483 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003621", "end": "2022-07-21 11:34:36.911931", "failed_when_result": false, "rc": 0, "start": "2022-07-21 11:34:36.908310" } 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:34:37 +0000 (0:00:00.310) 0:00:48.794 ********* included: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool.yml for /cache/centos-7.qcow2c.snap => (item={'name': 'foo', 'encryption_password': 'yabbadabbadoo', 'state': 'present', 'raid_metadata_version': None, 'encryption': False, 'encryption_key_size': 0, 'disks': ['sdb'], 'raid_level': None, 'encryption_luks_version': 'luks1', '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': '/opt/test1', '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:34:37 +0000 (0:00:00.058) 0:00:48.852 ********* 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:34:37 +0000 (0:00:00.086) 0:00:48.939 ********* 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:34:37 +0000 (0:00:00.085) 0:00:49.024 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sdb" ] }, "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:34:37 +0000 (0:00:00.053) 0:00:49.078 ********* ok: [/cache/centos-7.qcow2c.snap] => (item=/dev/sdb) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sdb", "pv": "/dev/sdb" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 11:34:37 +0000 (0:00:00.299) 0:00:49.378 ********* 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:34:37 +0000 (0:00:00.051) 0:00:49.430 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sdb" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 11:34:37 +0000 (0:00:00.049) 0:00:49.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-pool-members.yml:29 Thursday 21 July 2022 11:34:37 +0000 (0:00:00.050) 0:00:49.529 ********* 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:34:37 +0000 (0:00:00.036) 0:00:49.566 ********* 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:34:37 +0000 (0:00:00.048) 0:00:49.614 ********* 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:34:37 +0000 (0:00:00.023) 0:00:49.638 ********* ok: [/cache/centos-7.qcow2c.snap] => (item=/dev/sdb) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sdb" } 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:34:37 +0000 (0:00:00.046) 0:00:49.684 ********* 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:34:38 +0000 (0:00:00.043) 0:00:49.728 ********* 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:34:38 +0000 (0:00:00.027) 0:00:49.755 ********* 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:34:38 +0000 (0:00:00.025) 0:00:49.781 ********* 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:34:38 +0000 (0:00:00.025) 0:00:49.806 ********* 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:34:38 +0000 (0:00:00.023) 0:00:49.829 ********* 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:34:38 +0000 (0:00:00.024) 0:00:49.853 ********* 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:34:38 +0000 (0:00:00.023) 0:00:49.876 ********* 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:34:38 +0000 (0:00:00.023) 0:00:49.900 ********* 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:34:38 +0000 (0:00:00.037) 0:00:49.937 ********* 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:34:38 +0000 (0:00:00.044) 0:00:49.982 ********* 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': '/opt/test1', '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:34:38 +0000 (0:00:00.042) 0:00:50.024 ********* 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:34:38 +0000 (0:00:00.030) 0:00:50.055 ********* 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:34:38 +0000 (0:00:00.027) 0:00:50.083 ********* 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:34:38 +0000 (0:00:00.026) 0:00:50.109 ********* 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:34:38 +0000 (0:00:00.044) 0:00:50.154 ********* 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': '/opt/test1', '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:34:38 +0000 (0:00:00.042) 0:00:50.196 ********* 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:34:38 +0000 (0:00:00.024) 0:00:50.221 ********* 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:34:38 +0000 (0:00:00.026) 0:00:50.247 ********* 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:34:38 +0000 (0:00:00.022) 0:00:50.270 ********* 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:34:38 +0000 (0:00:00.022) 0:00:50.293 ********* 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:34:38 +0000 (0:00:00.102) 0:00:50.395 ********* 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:34:38 +0000 (0:00:00.048) 0:00:50.443 ********* skipping: [/cache/centos-7.qcow2c.snap] => (item=/dev/sdb) => { "_storage_test_pool_member_path": "/dev/sdb", "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:34:38 +0000 (0:00:00.027) 0:00:50.471 ********* included: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-crypttab.yml for /cache/centos-7.qcow2c.snap => (item=/dev/sdb) TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 11:34:38 +0000 (0:00:00.042) 0:00:50.514 ********* 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:34:38 +0000 (0:00:00.050) 0:00:50.564 ********* 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:34:38 +0000 (0:00:00.048) 0:00:50.612 ********* 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:34:38 +0000 (0:00:00.037) 0:00:50.649 ********* 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:34:38 +0000 (0:00:00.036) 0:00:50.685 ********* 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:34:39 +0000 (0:00:00.038) 0:00:50.724 ********* 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:34:39 +0000 (0:00:00.036) 0:00:50.760 ********* 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:34:39 +0000 (0:00:00.038) 0:00:50.799 ********* 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:34:39 +0000 (0:00:00.048) 0:00:50.848 ********* 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': '/opt/test1', '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:34:39 +0000 (0:00:00.043) 0:00:50.892 ********* 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:34:39 +0000 (0:00:00.027) 0:00:50.919 ********* 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:34:39 +0000 (0:00:00.023) 0:00:50.942 ********* 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:34:39 +0000 (0:00:00.022) 0:00:50.965 ********* 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:34:39 +0000 (0:00:00.023) 0:00:50.989 ********* 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:34:39 +0000 (0:00:00.021) 0:00:51.011 ********* 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:34:39 +0000 (0:00:00.025) 0:00:51.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:34:39 +0000 (0:00:00.024) 0:00:51.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:34:39 +0000 (0:00:00.037) 0:00:51.098 ********* 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:34:39 +0000 (0:00:00.032) 0:00:51.131 ********* 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': '/opt/test1', '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:34:39 +0000 (0:00:00.043) 0:00:51.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/tmptuh8_vrz/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 11:34:39 +0000 (0:00:00.049) 0:00:51.224 ********* 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:34:39 +0000 (0:00:00.078) 0:00:51.302 ********* 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:34:39 +0000 (0:00:00.040) 0:00:51.343 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 1037768, "block_size": 4096, "block_total": 1046016, "block_used": 8248, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 2097149, "inode_total": 2097152, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,noquota", "size_available": 4250697728, "size_total": 4284481536, "uuid": "d21a2067-a92a-4cb2-8908-631fb855a015" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 1037768, "block_size": 4096, "block_total": 1046016, "block_used": 8248, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 2097149, "inode_total": 2097152, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,noquota", "size_available": 4250697728, "size_total": 4284481536, "uuid": "d21a2067-a92a-4cb2-8908-631fb855a015" } ], "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:34:39 +0000 (0:00:00.055) 0:00:51.398 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed 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:34:39 +0000 (0:00:00.049) 0:00:51.448 ********* 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:34:39 +0000 (0:00:00.048) 0:00:51.496 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 11:34:39 +0000 (0:00:00.049) 0:00:51.546 ********* 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:34:39 +0000 (0:00:00.025) 0:00:51.571 ********* 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:34:39 +0000 (0:00:00.023) 0:00:51.595 ********* 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:34:39 +0000 (0:00:00.021) 0:00:51.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:34:40 +0000 (0:00:00.107) 0:00:51.724 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 11:34:40 +0000 (0:00:00.063) 0:00:51.787 ********* 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:34:40 +0000 (0:00:00.052) 0:00:51.839 ********* 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:34:40 +0000 (0:00:00.054) 0:00:51.894 ********* 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:34:40 +0000 (0:00:00.037) 0:00:51.931 ********* 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:34:40 +0000 (0:00:00.037) 0:00:51.969 ********* 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:34:40 +0000 (0:00:00.041) 0:00:52.011 ********* 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:34:40 +0000 (0:00:00.041) 0:00:52.052 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658403272.409368, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658403272.409368, "dev": 5, "device_type": 64512, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 33510, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658403272.409368, "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:34:40 +0000 (0:00:00.298) 0:00:52.351 ********* 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:34:40 +0000 (0:00:00.040) 0:00:52.391 ********* 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:34:40 +0000 (0:00:00.042) 0:00:52.434 ********* 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:34:40 +0000 (0:00:00.041) 0:00:52.475 ********* 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:34:40 +0000 (0:00:00.031) 0:00:52.507 ********* 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:34:40 +0000 (0:00:00.039) 0:00:52.546 ********* 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:34:40 +0000 (0:00:00.023) 0:00:52.569 ********* 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:34:41 +0000 (0:00:00.495) 0:00:53.064 ********* 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:34:41 +0000 (0:00:00.028) 0:00:53.093 ********* 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:34:41 +0000 (0:00:00.026) 0:00:53.120 ********* 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:34:41 +0000 (0:00:00.058) 0:00:53.178 ********* 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:34:41 +0000 (0:00:00.026) 0:00:53.205 ********* 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:34:41 +0000 (0:00:00.028) 0:00:53.233 ********* 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:34:41 +0000 (0:00:00.027) 0:00:53.261 ********* 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:34:41 +0000 (0:00:00.026) 0:00:53.287 ********* 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:34:41 +0000 (0:00:00.025) 0:00:53.313 ********* 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:34:41 +0000 (0:00:00.054) 0:00:53.368 ********* 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:34:41 +0000 (0:00:00.053) 0:00:53.422 ********* 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:34:41 +0000 (0:00:00.036) 0:00:53.458 ********* 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:34:41 +0000 (0:00:00.037) 0:00:53.496 ********* 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:34:41 +0000 (0:00:00.038) 0:00:53.534 ********* 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:34:41 +0000 (0:00:00.038) 0:00:53.573 ********* 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:34:41 +0000 (0:00:00.040) 0:00:53.613 ********* 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:34:41 +0000 (0:00:00.037) 0:00:53.651 ********* 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:34:41 +0000 (0:00:00.036) 0:00:53.688 ********* 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:34:42 +0000 (0:00:00.041) 0:00:53.729 ********* 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:34:42 +0000 (0:00:00.037) 0:00:53.767 ********* 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:34:42 +0000 (0:00:00.037) 0:00:53.804 ********* 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:34:42 +0000 (0:00:00.037) 0:00:53.842 ********* 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:34:42 +0000 (0:00:00.315) 0:00:54.158 ********* 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:34:42 +0000 (0:00:00.367) 0:00:54.525 ********* 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:34:42 +0000 (0:00:00.091) 0:00:54.617 ********* 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:34:43 +0000 (0:00:00.119) 0:00:54.737 ********* 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:34:43 +0000 (0:00:00.040) 0:00:54.777 ********* 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:34:43 +0000 (0:00:00.039) 0:00:54.817 ********* 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:34:43 +0000 (0:00:00.039) 0:00:54.857 ********* 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:34:43 +0000 (0:00:00.041) 0:00:54.898 ********* 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:34:43 +0000 (0:00:00.039) 0:00:54.938 ********* 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:34:43 +0000 (0:00:00.039) 0:00:54.977 ********* 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:34:43 +0000 (0:00:00.039) 0:00:55.016 ********* 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:34:43 +0000 (0:00:00.052) 0:00:55.068 ********* 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.026011", "end": "2022-07-21 11:34:43.538449", "rc": 0, "start": "2022-07-21 11:34:43.512438" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 11:34:43 +0000 (0:00:00.349) 0:00:55.418 ********* 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:34:43 +0000 (0:00:00.052) 0:00:55.470 ********* 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:34:43 +0000 (0:00:00.054) 0:00:55.524 ********* 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:34:43 +0000 (0:00:00.040) 0:00:55.565 ********* 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:34:43 +0000 (0:00:00.040) 0:00:55.606 ********* 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:34:43 +0000 (0:00:00.039) 0:00:55.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:34:43 +0000 (0:00:00.043) 0:00:55.689 ********* 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:34:44 +0000 (0:00:00.036) 0:00:55.725 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 11:34:44 +0000 (0:00:00.022) 0:00:55.748 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [create a file] *********************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/create-test-file.yml:10 Thursday 21 July 2022 11:34:44 +0000 (0:00:00.037) 0:00:55.785 ********* changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "dest": "/opt/test1/quux", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:unlabeled_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [Add encryption to the pool] ********************************************** task path: /tmp/tmptuh8_vrz/tests/storage/tests_luks_pool.yml:167 Thursday 21 July 2022 11:34:44 +0000 (0:00:00.327) 0:00:56.113 ********* 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:34:44 +0000 (0:00:00.048) 0:00:56.161 ********* 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:34:44 +0000 (0:00:00.041) 0:00:56.203 ********* 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:34:44 +0000 (0:00:00.399) 0:00:56.602 ********* 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:34:44 +0000 (0:00:00.069) 0:00:56.671 ********* 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:34:44 +0000 (0:00:00.035) 0:00:56.707 ********* 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:34:45 +0000 (0:00:00.038) 0:00:56.746 ********* 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:34:45 +0000 (0:00:00.059) 0:00:56.805 ********* 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:34:45 +0000 (0:00:00.022) 0:00:56.828 ********* 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:34:45 +0000 (0:00:00.031) 0:00:56.859 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_pools": [ { "disks": [ "sdb" ], "encryption": true, "encryption_cipher": "serpent-xts-plain64", "encryption_key_size": 512, "encryption_luks_version": "luks1", "encryption_password": "yabbadabbadoo", "name": "foo", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "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:34:45 +0000 (0:00:00.082) 0:00:56.942 ********* 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:34:45 +0000 (0:00:00.039) 0:00:56.981 ********* 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:34:45 +0000 (0:00:00.030) 0:00:57.012 ********* 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:34:45 +0000 (0:00:00.029) 0:00:57.041 ********* 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:34:45 +0000 (0:00:00.069) 0:00:57.110 ********* 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:34:45 +0000 (0:00:00.028) 0:00:57.139 ********* 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:34:45 +0000 (0:00:00.061) 0:00:57.200 ********* 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:34:45 +0000 (0:00:00.023) 0:00:57.223 ********* fatal: [/cache/centos-7.qcow2c.snap]: FAILED! => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } MSG: cannot remove and recreate existing pool 'foo' in safe mode TASK [fedora.linux_system_roles.storage : failed message] ********************** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:86 Thursday 21 July 2022 11:34:46 +0000 (0:00:01.289) 0:00:58.513 ********* fatal: [/cache/centos-7.qcow2c.snap]: FAILED! => { "changed": false } MSG: {'crypts': [], 'mounts': [], 'leaves': [], 'changed': False, 'actions': [], 'failed': True, 'volumes': [], 'invocation': {'module_args': {'packages_only': False, 'disklabel_type': None, 'diskvolume_mkfs_option_map': {'ext4': '-F', 'ext3': '-F', 'ext2': '-F'}, 'safe_mode': True, 'pools': [{'name': 'foo', 'encryption_password': 'yabbadabbadoo', 'state': 'present', 'raid_metadata_version': None, 'encryption': True, 'encryption_key_size': 512, 'disks': ['sdb'], 'raid_level': None, 'encryption_luks_version': 'luks1', 'raid_device_count': None, 'encryption_key': None, 'volumes': [{'fs_type': None, 'mount_options': None, 'size': '4g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, 'encryption': None, 'raid_level': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'deduplication': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'raid_disks': [], 'cache_mode': None, 'name': 'test1', 'cached': None, 'type': None, 'thin': False, 'cache_size': None, 'cache_devices': [], 'fs_create_options': None}], 'raid_chunk_size': None, 'type': 'lvm', 'encryption_cipher': 'serpent-xts-plain64', 'raid_spare_count': None}], 'volumes': [], 'pool_defaults': {'encryption_password': None, 'raid_metadata_version': None, 'encryption': False, 'encryption_cipher': None, 'disks': [], 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'raid_device_count': None, 'state': 'present', 'volumes': [], 'raid_chunk_size': None, 'type': 'lvm', 'raid_level': None, 'raid_spare_count': None}, 'volume_defaults': {'raid_metadata_version': None, 'mount_device_identifier': 'uuid', 'fs_type': 'xfs', 'mount_options': 'defaults', 'size': 0, 'mount_point': '', 'compression': None, 'encryption_password': None, 'encryption': False, 'raid_level': None, 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'fs_overwrite_existing': True, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'mount_passno': 0, 'raid_spare_count': None, 'cache_mode': None, 'deduplication': None, 'cached': False, 'type': 'lvm', 'disks': [], 'thin_pool_size': None, 'thin': None, 'mount_check': 0, 'cache_size': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}, 'use_partitions': None}}, 'pools': [], 'packages': [], 'msg': "cannot remove and recreate existing pool 'foo' in safe mode", '_ansible_no_log': 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:34:46 +0000 (0:00:00.040) 0:00:58.553 ********* TASK [Check that we failed in the role] **************************************** task path: /tmp/tmptuh8_vrz/tests/storage/tests_luks_pool.yml:188 Thursday 21 July 2022 11:34:46 +0000 (0:00:00.021) 0:00:58.575 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the output of the safe_mode test] ********************************* task path: /tmp/tmptuh8_vrz/tests/storage/tests_luks_pool.yml:194 Thursday 21 July 2022 11:34:46 +0000 (0:00:00.036) 0:00:58.612 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [stat the file] *********************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-data-preservation.yml:10 Thursday 21 July 2022 11:34:46 +0000 (0:00:00.047) 0:00:58.659 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658403284.226368, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658403284.226368, "dev": 64512, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 67, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0644", "mtime": 1658403284.226368, "nlink": 1, "path": "/opt/test1/quux", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "version": "1766306251", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [assert file presence] **************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-data-preservation.yml:15 Thursday 21 July 2022 11:34:47 +0000 (0:00:00.331) 0:00:58.991 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Add encryption to the pool] ********************************************** task path: /tmp/tmptuh8_vrz/tests/storage/tests_luks_pool.yml:201 Thursday 21 July 2022 11:34:47 +0000 (0:00:00.042) 0:00:59.033 ********* 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:34:47 +0000 (0:00:00.043) 0:00:59.077 ********* 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:34:47 +0000 (0:00:00.038) 0:00:59.115 ********* 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:34:47 +0000 (0:00:00.421) 0:00:59.537 ********* 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:34:47 +0000 (0:00:00.065) 0:00:59.603 ********* 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:34:47 +0000 (0:00:00.036) 0:00:59.640 ********* 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:34:47 +0000 (0:00:00.033) 0:00:59.674 ********* 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:34:48 +0000 (0:00:00.056) 0:00:59.730 ********* 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:34:48 +0000 (0:00:00.025) 0:00:59.755 ********* 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:34:48 +0000 (0:00:00.028) 0:00:59.784 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_pools": [ { "disks": [ "sdb" ], "encryption": true, "encryption_cipher": "serpent-xts-plain64", "encryption_key_size": 512, "encryption_luks_version": "luks1", "encryption_password": "yabbadabbadoo", "name": "foo", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "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:34:48 +0000 (0:00:00.075) 0:00:59.860 ********* 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:34:48 +0000 (0:00:00.038) 0:00:59.899 ********* 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:34:48 +0000 (0:00:00.028) 0:00:59.927 ********* 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:34:48 +0000 (0:00:00.030) 0:00:59.958 ********* 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:34:48 +0000 (0:00:00.028) 0:00:59.986 ********* 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:34:48 +0000 (0:00:00.029) 0:01:00.015 ********* 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:34:48 +0000 (0:00:00.091) 0:01:00.107 ********* 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:34:48 +0000 (0:00:00.035) 0:01:00.143 ********* changed: [/cache/centos-7.qcow2c.snap] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb", "fs_type": "lvmpv" }, { "action": "create format", "device": "/dev/sdb", "fs_type": "luks" }, { "action": "create device", "device": "/dev/mapper/luks-2adfe0ce-2b2b-4f6c-835d-7800b91d47c1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/luks-2adfe0ce-2b2b-4f6c-835d-7800b91d47c1", "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": [ { "backing_device": "/dev/sdb", "name": "luks-2adfe0ce-2b2b-4f6c-835d-7800b91d47c1", "password": "-", "state": "present" } ], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/mapper/foo-test1" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "cryptsetup", "xfsprogs", "e2fsprogs", "lvm2" ], "pools": [ { "disks": [ "sdb" ], "encryption": true, "encryption_cipher": "serpent-xts-plain64", "encryption_key": null, "encryption_key_size": 512, "encryption_luks_version": "luks1", "encryption_password": "yabbadabbadoo", "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-1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "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:34:56 +0000 (0:00:08.552) 0:01:08.696 ********* 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:34:57 +0000 (0:00:00.036) 0:01:08.733 ********* 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:34:57 +0000 (0:00:00.023) 0:01:08.756 ********* ok: [/cache/centos-7.qcow2c.snap] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb", "fs_type": "lvmpv" }, { "action": "create format", "device": "/dev/sdb", "fs_type": "luks" }, { "action": "create device", "device": "/dev/mapper/luks-2adfe0ce-2b2b-4f6c-835d-7800b91d47c1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/luks-2adfe0ce-2b2b-4f6c-835d-7800b91d47c1", "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": [ { "backing_device": "/dev/sdb", "name": "luks-2adfe0ce-2b2b-4f6c-835d-7800b91d47c1", "password": "-", "state": "present" } ], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/mapper/foo-test1" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "cryptsetup", "xfsprogs", "e2fsprogs", "lvm2" ], "pools": [ { "disks": [ "sdb" ], "encryption": true, "encryption_cipher": "serpent-xts-plain64", "encryption_key": null, "encryption_key_size": 512, "encryption_luks_version": "luks1", "encryption_password": "yabbadabbadoo", "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-1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "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:34:57 +0000 (0:00:00.043) 0:01:08.799 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sdb" ], "encryption": true, "encryption_cipher": "serpent-xts-plain64", "encryption_key": null, "encryption_key_size": 512, "encryption_luks_version": "luks1", "encryption_password": "yabbadabbadoo", "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-1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "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:34:57 +0000 (0:00:00.041) 0:01:08.841 ********* 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:34:57 +0000 (0:00:00.039) 0:01:08.880 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-7.qcow2c.snap] => (item={'src': '/dev/mapper/foo-test1', 'state': 'absent', 'path': '/opt/test1', 'fstype': 'xfs'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 11:34:57 +0000 (0:00:00.338) 0:01:09.219 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "name": null, "status": {} } 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:34:57 +0000 (0:00:00.451) 0:01:09.671 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-7.qcow2c.snap] => (item={'src': '/dev/mapper/foo-test1', 'dump': 0, 'passno': 0, 'fstype': 'xfs', 'state': 'mounted', 'path': '/opt/test1', 'opts': 'defaults'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 11:34:58 +0000 (0:00:00.354) 0:01:10.025 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "name": null, "status": {} } 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:34:58 +0000 (0:00:00.453) 0:01:10.479 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658403276.910368, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658403274.979368, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8426538, "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": 1658403274.979368, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "578994984", "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:34:59 +0000 (0:00:00.319) 0:01:10.798 ********* changed: [/cache/centos-7.qcow2c.snap] => (item={'state': 'present', 'password': '-', 'name': 'luks-2adfe0ce-2b2b-4f6c-835d-7800b91d47c1', 'backing_device': '/dev/sdb'}) => { "ansible_loop_var": "entry", "backup": "", "changed": true, "entry": { "backing_device": "/dev/sdb", "name": "luks-2adfe0ce-2b2b-4f6c-835d-7800b91d47c1", "password": "-", "state": "present" } } MSG: line added 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:34:59 +0000 (0:00:00.334) 0:01:11.133 ********* 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_luks_pool.yml:220 Thursday 21 July 2022 11:35:00 +0000 (0:00:00.853) 0:01:11.987 ********* 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:35:00 +0000 (0:00:00.079) 0:01:12.066 ********* ok: [/cache/centos-7.qcow2c.snap] => { "_storage_pools_list": [ { "disks": [ "sdb" ], "encryption": true, "encryption_cipher": "serpent-xts-plain64", "encryption_key": null, "encryption_key_size": 512, "encryption_luks_version": "luks1", "encryption_password": "yabbadabbadoo", "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-1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "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:35:00 +0000 (0:00:00.051) 0:01:12.118 ********* 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:35:00 +0000 (0:00:00.035) 0:01:12.153 ********* 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": "23d637fb-42f8-4c6b-a2ba-0af90e907897" }, "/dev/mapper/luks-2adfe0ce-2b2b-4f6c-835d-7800b91d47c1": { "fstype": "LVM2_member", "label": "", "name": "/dev/mapper/luks-2adfe0ce-2b2b-4f6c-835d-7800b91d47c1", "size": "10G", "type": "crypt", "uuid": "fKa4xX-Qywj-ELVM-J3pG-HnA0-3MEl-jTP22V" }, "/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": "crypto_LUKS", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "2adfe0ce-2b2b-4f6c-835d-7800b91d47c1" }, "/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-33-34-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:35:00 +0000 (0:00:00.300) 0:01:12.454 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003309", "end": "2022-07-21 11:35:00.875818", "rc": 0, "start": "2022-07-21 11:35:00.872509" } 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 /dev/mapper/foo-test1 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 11:35:01 +0000 (0:00:00.305) 0:01:12.759 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003536", "end": "2022-07-21 11:35:01.200322", "failed_when_result": false, "rc": 0, "start": "2022-07-21 11:35:01.196786" } STDOUT: luks-2adfe0ce-2b2b-4f6c-835d-7800b91d47c1 /dev/sdb - 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:35:01 +0000 (0:00:00.323) 0:01:13.083 ********* included: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool.yml for /cache/centos-7.qcow2c.snap => (item={'name': 'foo', 'encryption_password': 'yabbadabbadoo', 'state': 'present', 'raid_metadata_version': None, 'encryption': True, 'encryption_key_size': 512, 'disks': ['sdb'], 'raid_level': None, 'encryption_luks_version': 'luks1', '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': '/opt/test1', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-1', '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-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': 'serpent-xts-plain64', '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:35:01 +0000 (0:00:00.059) 0:01:13.142 ********* 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:35:01 +0000 (0:00:00.033) 0:01:13.176 ********* 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:35:01 +0000 (0:00:00.045) 0:01:13.222 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/mapper/luks-2adfe0ce-2b2b-4f6c-835d-7800b91d47c1" ] }, "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:35:01 +0000 (0:00:00.053) 0:01:13.275 ********* ok: [/cache/centos-7.qcow2c.snap] => (item=/dev/mapper/luks-2adfe0ce-2b2b-4f6c-835d-7800b91d47c1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/mapper/luks-2adfe0ce-2b2b-4f6c-835d-7800b91d47c1", "pv": "/dev/mapper/luks-2adfe0ce-2b2b-4f6c-835d-7800b91d47c1" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 11:35:01 +0000 (0:00:00.312) 0:01:13.588 ********* 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:35:01 +0000 (0:00:00.049) 0:01:13.637 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/mapper/luks-2adfe0ce-2b2b-4f6c-835d-7800b91d47c1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 11:35:01 +0000 (0:00:00.065) 0:01:13.703 ********* 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:35:02 +0000 (0:00:00.058) 0:01:13.761 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "crypt" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 11:35:02 +0000 (0:00:00.040) 0:01:13.801 ********* 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-pool-members.yml:37 Thursday 21 July 2022 11:35:02 +0000 (0:00:00.026) 0:01:13.827 ********* 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:35:02 +0000 (0:00:00.024) 0:01:13.852 ********* ok: [/cache/centos-7.qcow2c.snap] => (item=/dev/mapper/luks-2adfe0ce-2b2b-4f6c-835d-7800b91d47c1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/mapper/luks-2adfe0ce-2b2b-4f6c-835d-7800b91d47c1" } 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:35:02 +0000 (0:00:00.043) 0:01:13.895 ********* 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:35:02 +0000 (0:00:00.041) 0:01:13.937 ********* 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:35:02 +0000 (0:00:00.025) 0:01:13.962 ********* 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:35:02 +0000 (0:00:00.027) 0:01:13.990 ********* 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:35:02 +0000 (0:00:00.025) 0:01:14.015 ********* 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:35:02 +0000 (0:00:00.025) 0:01:14.041 ********* 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:35:02 +0000 (0:00:00.025) 0:01:14.067 ********* 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:35:02 +0000 (0:00:00.027) 0:01:14.094 ********* 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:35:02 +0000 (0:00:00.023) 0:01:14.118 ********* 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:35:02 +0000 (0:00:00.071) 0:01:14.190 ********* 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:35:02 +0000 (0:00:00.044) 0:01:14.234 ********* 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': '/opt/test1', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-1', '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-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:35:02 +0000 (0:00:00.043) 0:01:14.278 ********* 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:35:02 +0000 (0:00:00.070) 0:01:14.349 ********* 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:35:02 +0000 (0:00:00.030) 0:01:14.379 ********* 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:35:02 +0000 (0:00:00.029) 0:01:14.409 ********* 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:35:02 +0000 (0:00:00.048) 0:01:14.457 ********* 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': '/opt/test1', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-1', '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-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:35:02 +0000 (0:00:00.045) 0:01:14.502 ********* 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:35:02 +0000 (0:00:00.023) 0:01:14.526 ********* 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:35:02 +0000 (0:00:00.023) 0:01:14.549 ********* 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:35:02 +0000 (0:00:00.021) 0:01:14.571 ********* 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:35:02 +0000 (0:00:00.021) 0:01:14.592 ********* 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:35:02 +0000 (0:00:00.045) 0:01:14.638 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "1", "_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:35:02 +0000 (0:00:00.045) 0:01:14.684 ********* included: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-encryption.yml for /cache/centos-7.qcow2c.snap => (item=/dev/mapper/luks-2adfe0ce-2b2b-4f6c-835d-7800b91d47c1) TASK [Get the backing device path] ********************************************* task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-encryption.yml:1 Thursday 21 July 2022 11:35:03 +0000 (0:00:00.042) 0:01:14.727 ********* changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "realpath", "/dev/disk/by-uuid/2adfe0ce-2b2b-4f6c-835d-7800b91d47c1" ], "delta": "0:00:00.003470", "end": "2022-07-21 11:35:03.157176", "rc": 0, "start": "2022-07-21 11:35:03.153706" } STDOUT: /dev/sdb TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-encryption.yml:6 Thursday 21 July 2022 11:35:03 +0000 (0:00:00.311) 0:01:15.039 ********* 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 member] *************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-encryption.yml:11 Thursday 21 July 2022 11:35:03 +0000 (0:00:00.515) 0:01:15.554 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "cryptsetup", "luksDump", "/dev/sdb" ], "delta": "0:00:00.035336", "end": "2022-07-21 11:35:04.018000", "rc": 0, "start": "2022-07-21 11:35:03.982664" } STDOUT: LUKS header information for /dev/sdb Version: 1 Cipher name: serpent Cipher mode: xts-plain64 Hash spec: sha256 Payload offset: 4096 MK bits: 512 MK digest: 2d f6 ba b5 8f 79 1a 90 7d d4 4e 16 7c 46 ed e0 66 ec 43 47 MK salt: 7c a9 df 68 5c 15 f2 4e be 33 56 22 5d ca f9 aa cb f1 7d 3d cf 6f b7 94 61 e9 c6 3f aa 12 76 7a MK iterations: 22946 UUID: 2adfe0ce-2b2b-4f6c-835d-7800b91d47c1 Key Slot 0: ENABLED Iterations: 367662 Salt: 46 9e e4 17 98 a3 f7 32 96 35 16 05 5a 3d 77 64 e0 b4 4f e5 30 3a ae 35 da a9 a0 ac 01 db 53 66 Key material offset: 8 AF stripes: 4000 Key Slot 1: DISABLED Key Slot 2: DISABLED Key Slot 3: DISABLED Key Slot 4: DISABLED Key Slot 5: DISABLED Key Slot 6: DISABLED Key Slot 7: DISABLED TASK [Check LUKS version] ****************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-encryption.yml:17 Thursday 21 July 2022 11:35:04 +0000 (0:00:00.345) 0:01:15.899 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-encryption.yml:23 Thursday 21 July 2022 11:35:04 +0000 (0:00:00.058) 0:01:15.958 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-encryption.yml:29 Thursday 21 July 2022 11:35:04 +0000 (0:00:00.051) 0:01:16.010 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 11:35:04 +0000 (0:00:00.049) 0:01:16.059 ********* included: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-crypttab.yml for /cache/centos-7.qcow2c.snap => (item=/dev/mapper/luks-2adfe0ce-2b2b-4f6c-835d-7800b91d47c1) TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 11:35:04 +0000 (0:00:00.047) 0:01:16.107 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [ "luks-2adfe0ce-2b2b-4f6c-835d-7800b91d47c1 /dev/sdb -" ] }, "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:35:04 +0000 (0:00:00.054) 0:01:16.161 ********* 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:35:04 +0000 (0:00:00.085) 0:01:16.247 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed 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:35:04 +0000 (0:00:00.085) 0:01:16.332 ********* 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:35:04 +0000 (0:00:00.037) 0:01:16.370 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 11:35:04 +0000 (0:00:00.081) 0:01:16.452 ********* 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:35:04 +0000 (0:00:00.067) 0:01:16.520 ********* 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:35:04 +0000 (0:00:00.117) 0:01:16.637 ********* 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:35:04 +0000 (0:00:00.050) 0:01:16.688 ********* 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': '/opt/test1', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-1', '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-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:35:05 +0000 (0:00:00.047) 0:01:16.736 ********* 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:35:05 +0000 (0:00:00.026) 0:01:16.762 ********* 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:35:05 +0000 (0:00:00.025) 0:01:16.788 ********* 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:35:05 +0000 (0:00:00.027) 0:01: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-member-vdo.yml:21 Thursday 21 July 2022 11:35:05 +0000 (0:00:00.024) 0:01:16.840 ********* 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:35:05 +0000 (0:00:00.023) 0:01:16.863 ********* 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:35:05 +0000 (0:00:00.024) 0:01:16.887 ********* 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:35:05 +0000 (0:00:00.026) 0:01:16.914 ********* 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:35:05 +0000 (0:00:00.035) 0:01:16.950 ********* 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:35:05 +0000 (0:00:00.035) 0:01:16.985 ********* 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': '/opt/test1', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-1', '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-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:35:05 +0000 (0:00:00.046) 0:01:17.032 ********* 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:35:05 +0000 (0:00:00.049) 0:01:17.082 ********* 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:35:05 +0000 (0:00:00.082) 0:01:17.165 ********* 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:35:05 +0000 (0:00:00.044) 0:01:17.209 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 1037768, "block_size": 4096, "block_total": 1046016, "block_used": 8248, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 2097149, "inode_total": 2097152, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,noquota", "size_available": 4250697728, "size_total": 4284481536, "uuid": "23d637fb-42f8-4c6b-a2ba-0af90e907897" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 1037768, "block_size": 4096, "block_total": 1046016, "block_used": 8248, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 2097149, "inode_total": 2097152, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,noquota", "size_available": 4250697728, "size_total": 4284481536, "uuid": "23d637fb-42f8-4c6b-a2ba-0af90e907897" } ], "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:35:05 +0000 (0:00:00.056) 0:01:17.266 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed 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:35:05 +0000 (0:00:00.051) 0:01:17.317 ********* 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:35:05 +0000 (0:00:00.052) 0:01:17.369 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 11:35:05 +0000 (0:00:00.053) 0:01:17.423 ********* 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:35:05 +0000 (0:00:00.025) 0:01:17.448 ********* 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:35:05 +0000 (0:00:00.023) 0:01:17.472 ********* 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:35:05 +0000 (0:00:00.024) 0:01:17.496 ********* 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:35:05 +0000 (0:00:00.036) 0:01:17.533 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 11:35:05 +0000 (0:00:00.057) 0:01:17.591 ********* 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:35:05 +0000 (0:00:00.047) 0:01:17.639 ********* 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:35:05 +0000 (0:00:00.050) 0:01:17.689 ********* 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:35:06 +0000 (0:00:00.037) 0:01:17.727 ********* 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:35:06 +0000 (0:00:00.036) 0:01:17.763 ********* 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:35:06 +0000 (0:00:00.041) 0:01:17.804 ********* 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:35:06 +0000 (0:00:00.044) 0:01:17.849 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658403296.772368, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658403296.772368, "dev": 5, "device_type": 64513, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 42090, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658403296.772368, "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:35:06 +0000 (0:00:00.373) 0:01:18.222 ********* 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:35:06 +0000 (0:00:00.041) 0:01:18.263 ********* 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:35:06 +0000 (0:00:00.043) 0:01:18.306 ********* 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:35:06 +0000 (0:00:00.041) 0:01:18.348 ********* 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:35:06 +0000 (0:00:00.023) 0:01:18.372 ********* 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:35:06 +0000 (0:00:00.040) 0:01:18.412 ********* 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:35:06 +0000 (0:00:00.024) 0:01:18.437 ********* 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:35:07 +0000 (0:00:00.509) 0:01:18.946 ********* 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:35:07 +0000 (0:00:00.023) 0:01:18.970 ********* 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:35:07 +0000 (0:00:00.023) 0:01:18.993 ********* 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:35:07 +0000 (0:00:00.049) 0:01:19.043 ********* 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:35:07 +0000 (0:00:00.023) 0:01:19.066 ********* 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:35:07 +0000 (0:00:00.023) 0:01:19.089 ********* 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:35:07 +0000 (0:00:00.024) 0:01:19.114 ********* 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:35:07 +0000 (0:00:00.026) 0:01:19.140 ********* 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:35:07 +0000 (0:00:00.030) 0:01:19.170 ********* 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:35:07 +0000 (0:00:00.056) 0:01:19.227 ********* 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:35:07 +0000 (0:00:00.051) 0:01:19.279 ********* 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:35:07 +0000 (0:00:00.043) 0:01:19.323 ********* 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:35:07 +0000 (0:00:00.037) 0:01:19.360 ********* 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:35:07 +0000 (0:00:00.040) 0:01:19.401 ********* 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:35:07 +0000 (0:00:00.038) 0:01:19.439 ********* 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:35:07 +0000 (0:00:00.043) 0:01:19.483 ********* 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:35:07 +0000 (0:00:00.038) 0:01:19.522 ********* 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:35:07 +0000 (0:00:00.040) 0:01:19.563 ********* 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:35:07 +0000 (0:00:00.035) 0:01:19.598 ********* 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:35:07 +0000 (0:00:00.035) 0:01:19.633 ********* 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:35:07 +0000 (0:00:00.035) 0:01:19.668 ********* 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:35:07 +0000 (0:00:00.039) 0:01:19.708 ********* 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:35:08 +0000 (0:00:00.303) 0:01:20.011 ********* 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:35:08 +0000 (0:00:00.363) 0:01:20.375 ********* 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:35:08 +0000 (0:00:00.087) 0:01:20.462 ********* 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:35:08 +0000 (0:00:00.075) 0:01:20.538 ********* 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:35:08 +0000 (0:00:00.037) 0:01:20.575 ********* 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:35:08 +0000 (0:00:00.036) 0:01:20.611 ********* 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:35:08 +0000 (0:00:00.038) 0:01:20.649 ********* 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:35:08 +0000 (0:00:00.036) 0:01:20.686 ********* 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:35:09 +0000 (0:00:00.035) 0:01:20.722 ********* 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:35:09 +0000 (0:00:00.036) 0:01:20.759 ********* 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:35:09 +0000 (0:00:00.046) 0:01:20.805 ********* 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:35:09 +0000 (0:00:00.053) 0:01:20.859 ********* 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.023549", "end": "2022-07-21 11:35:09.310285", "rc": 0, "start": "2022-07-21 11:35:09.286736" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 11:35:09 +0000 (0:00:00.333) 0:01:21.192 ********* 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:35:09 +0000 (0:00:00.053) 0:01:21.245 ********* 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:35:09 +0000 (0:00:00.052) 0:01:21.298 ********* 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:35:09 +0000 (0:00:00.039) 0:01:21.338 ********* 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:35:09 +0000 (0:00:00.037) 0:01:21.375 ********* 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:35:09 +0000 (0:00:00.040) 0:01:21.416 ********* 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:35:09 +0000 (0:00:00.036) 0:01:21.453 ********* 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:35:09 +0000 (0:00:00.033) 0:01:21.486 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 11:35:09 +0000 (0:00:00.022) 0:01:21.509 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [create a file] *********************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/create-test-file.yml:10 Thursday 21 July 2022 11:35:09 +0000 (0:00:00.040) 0:01:21.549 ********* changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "dest": "/opt/test1/quux", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:unlabeled_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [Change the mountpoint, leaving encryption in place] ********************** task path: /tmp/tmptuh8_vrz/tests/storage/tests_luks_pool.yml:224 Thursday 21 July 2022 11:35:10 +0000 (0:00:00.318) 0:01:21.868 ********* 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:35:10 +0000 (0:00:00.048) 0:01:21.917 ********* 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:35:10 +0000 (0:00:00.037) 0:01:21.954 ********* 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:35:10 +0000 (0:00:00.414) 0:01:22.368 ********* 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:35:10 +0000 (0:00:00.062) 0:01:22.431 ********* 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:35:10 +0000 (0:00:00.034) 0:01:22.465 ********* 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:35:10 +0000 (0:00:00.077) 0:01:22.542 ********* 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:35:10 +0000 (0:00:00.099) 0:01:22.641 ********* 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:35:10 +0000 (0:00:00.024) 0:01:22.666 ********* 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:35:10 +0000 (0:00:00.029) 0:01:22.695 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_pools": [ { "disks": [ "sdb" ], "name": "foo", "type": "lvm", "volumes": [ { "mount_point": "/opt/test2", "name": "test1" } ] } ] } 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:35:11 +0000 (0:00:00.042) 0:01:22.737 ********* 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:35:11 +0000 (0:00:00.039) 0:01:22.777 ********* 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:35:11 +0000 (0:00:00.031) 0:01:22.809 ********* 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:35:11 +0000 (0:00:00.031) 0:01:22.840 ********* 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:35:11 +0000 (0:00:00.034) 0:01:22.875 ********* 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:35:11 +0000 (0:00:00.031) 0:01:22.907 ********* 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:35:11 +0000 (0:00:00.059) 0:01:22.966 ********* 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:35:11 +0000 (0:00:00.024) 0:01:22.991 ********* ok: [/cache/centos-7.qcow2c.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/mapper/foo-test1" ], "mounts": [ { "path": "/opt/test1", "state": "absent" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "cryptsetup", "xfsprogs", "e2fsprogs", "lvm2" ], "pools": [ { "disks": [ "sdb" ], "encryption": true, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks1", "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-1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 4294967296, "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:35:12 +0000 (0:00:01.477) 0:01:24.468 ********* 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:35:12 +0000 (0:00:00.038) 0:01:24.507 ********* 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:35:12 +0000 (0:00:00.023) 0:01:24.531 ********* ok: [/cache/centos-7.qcow2c.snap] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/mapper/foo-test1" ], "mounts": [ { "path": "/opt/test1", "state": "absent" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "cryptsetup", "xfsprogs", "e2fsprogs", "lvm2" ], "pools": [ { "disks": [ "sdb" ], "encryption": true, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks1", "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-1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 4294967296, "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:35:12 +0000 (0:00:00.042) 0:01:24.573 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sdb" ], "encryption": true, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks1", "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-1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 4294967296, "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:35:12 +0000 (0:00:00.044) 0:01:24.617 ********* 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:35:12 +0000 (0:00:00.038) 0:01:24.656 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-7.qcow2c.snap] => (item={'path': '/opt/test1', 'state': 'absent'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "mount_info": { "path": "/opt/test1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 11:35:13 +0000 (0:00:00.359) 0:01:25.016 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "name": null, "status": {} } 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:35:13 +0000 (0:00:00.452) 0:01:25.468 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-7.qcow2c.snap] => (item={'src': '/dev/mapper/foo-test1', 'dump': 0, 'passno': 0, 'fstype': 'xfs', 'state': 'mounted', 'path': '/opt/test2', 'opts': 'defaults'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test2", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 11:35:14 +0000 (0:00:00.412) 0:01:25.880 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "name": null, "status": {} } 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:35:14 +0000 (0:00:00.447) 0:01:26.328 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658403301.198368, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7ee160efb08bcf7bf5b6f484cc6cc51346e01d82", "ctime": 1658403299.243368, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12585040, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1658403299.242368, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 53, "uid": 0, "version": "18446744071818064725", "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:35:14 +0000 (0:00:00.327) 0:01:26.656 ********* 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:35:14 +0000 (0:00:00.024) 0:01:26.680 ********* ok: [/cache/centos-7.qcow2c.snap] META: role_complete for /cache/centos-7.qcow2c.snap TASK [Assert to implicitly preserve encryption on existing pool] *************** task path: /tmp/tmptuh8_vrz/tests/storage/tests_luks_pool.yml:236 Thursday 21 July 2022 11:35:16 +0000 (0:00:01.932) 0:01:28.613 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [stat the file] *********************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-data-preservation.yml:10 Thursday 21 July 2022 11:35:16 +0000 (0:00:00.083) 0:01:28.696 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658403309.984368, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658403309.984368, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 67, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0644", "mtime": 1658403309.984368, "nlink": 1, "path": "/opt/test2/quux", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "version": "18446744072370084745", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [assert file presence] **************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-data-preservation.yml:15 Thursday 21 July 2022 11:35:17 +0000 (0:00:00.376) 0:01:29.072 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/tests_luks_pool.yml:245 Thursday 21 July 2022 11:35:17 +0000 (0:00:00.039) 0:01:29.112 ********* 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:35:17 +0000 (0:00:00.041) 0:01:29.153 ********* ok: [/cache/centos-7.qcow2c.snap] => { "_storage_pools_list": [ { "disks": [ "sdb" ], "encryption": true, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks1", "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-1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 4294967296, "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:35:17 +0000 (0:00:00.050) 0:01:29.203 ********* 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:35:17 +0000 (0:00:00.039) 0:01:29.242 ********* 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": "23d637fb-42f8-4c6b-a2ba-0af90e907897" }, "/dev/mapper/luks-2adfe0ce-2b2b-4f6c-835d-7800b91d47c1": { "fstype": "LVM2_member", "label": "", "name": "/dev/mapper/luks-2adfe0ce-2b2b-4f6c-835d-7800b91d47c1", "size": "10G", "type": "crypt", "uuid": "fKa4xX-Qywj-ELVM-J3pG-HnA0-3MEl-jTP22V" }, "/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": "crypto_LUKS", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "2adfe0ce-2b2b-4f6c-835d-7800b91d47c1" }, "/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-33-34-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:35:17 +0000 (0:00:00.313) 0:01:29.556 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003622", "end": "2022-07-21 11:35:17.977423", "rc": 0, "start": "2022-07-21 11:35:17.973801" } 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 /dev/mapper/foo-test1 /opt/test2 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 11:35:18 +0000 (0:00:00.303) 0:01:29.860 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003503", "end": "2022-07-21 11:35:18.289698", "failed_when_result": false, "rc": 0, "start": "2022-07-21 11:35:18.286195" } STDOUT: luks-2adfe0ce-2b2b-4f6c-835d-7800b91d47c1 /dev/sdb - 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:35:18 +0000 (0:00:00.314) 0:01:30.174 ********* 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': True, 'encryption_key_size': 0, 'disks': ['sdb'], 'raid_level': None, 'encryption_luks_version': 'luks1', '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': 4294967296, 'mount_point': '/opt/test2', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-1', '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-1', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb'], '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:35:18 +0000 (0:00:00.061) 0:01:30.235 ********* 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:35:18 +0000 (0:00:00.035) 0:01:30.271 ********* 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:35:18 +0000 (0:00:00.046) 0:01:30.317 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/mapper/luks-2adfe0ce-2b2b-4f6c-835d-7800b91d47c1" ] }, "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:35:18 +0000 (0:00:00.051) 0:01:30.369 ********* ok: [/cache/centos-7.qcow2c.snap] => (item=/dev/mapper/luks-2adfe0ce-2b2b-4f6c-835d-7800b91d47c1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/mapper/luks-2adfe0ce-2b2b-4f6c-835d-7800b91d47c1", "pv": "/dev/mapper/luks-2adfe0ce-2b2b-4f6c-835d-7800b91d47c1" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 11:35:18 +0000 (0:00:00.311) 0:01:30.680 ********* 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:35:19 +0000 (0:00:00.052) 0:01:30.733 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/mapper/luks-2adfe0ce-2b2b-4f6c-835d-7800b91d47c1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 11:35:19 +0000 (0:00:00.053) 0:01:30.786 ********* 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:35:19 +0000 (0:00:00.056) 0:01:30.842 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "crypt" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 11:35:19 +0000 (0:00:00.038) 0:01:30.880 ********* 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-pool-members.yml:37 Thursday 21 July 2022 11:35:19 +0000 (0:00:00.024) 0:01:30.905 ********* 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:35:19 +0000 (0:00:00.023) 0:01:30.929 ********* ok: [/cache/centos-7.qcow2c.snap] => (item=/dev/mapper/luks-2adfe0ce-2b2b-4f6c-835d-7800b91d47c1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/mapper/luks-2adfe0ce-2b2b-4f6c-835d-7800b91d47c1" } 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:35:19 +0000 (0:00:00.044) 0:01:30.974 ********* 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:35:19 +0000 (0:00:00.042) 0:01:31.016 ********* 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:35:19 +0000 (0:00:00.023) 0:01:31.040 ********* 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:35:19 +0000 (0:00:00.024) 0:01:31.064 ********* 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:35:19 +0000 (0:00:00.023) 0:01:31.087 ********* 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:35:19 +0000 (0:00:00.022) 0:01:31.110 ********* 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:35:19 +0000 (0:00:00.022) 0:01:31.133 ********* 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:35:19 +0000 (0:00:00.061) 0:01:31.195 ********* 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:35:19 +0000 (0:00:00.025) 0:01:31.220 ********* 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:35:19 +0000 (0:00:00.034) 0:01:31.254 ********* 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:35:19 +0000 (0:00:00.045) 0:01:31.299 ********* 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': 4294967296, 'mount_point': '/opt/test2', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-1', '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-1', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb'], '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:35:19 +0000 (0:00:00.046) 0:01:31.346 ********* 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:35:19 +0000 (0:00:00.029) 0:01:31.375 ********* 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:35:19 +0000 (0:00:00.033) 0:01:31.409 ********* 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:35:19 +0000 (0:00:00.031) 0:01:31.441 ********* 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:35:19 +0000 (0:00:00.049) 0:01:31.491 ********* 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': 4294967296, 'mount_point': '/opt/test2', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-1', '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-1', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb'], '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:35:19 +0000 (0:00:00.045) 0:01:31.536 ********* 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:35:19 +0000 (0:00:00.025) 0:01:31.562 ********* 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:35:19 +0000 (0:00:00.026) 0:01:31.588 ********* 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:35:19 +0000 (0:00:00.025) 0:01:31.614 ********* 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:35:19 +0000 (0:00:00.025) 0:01:31.640 ********* 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:35:19 +0000 (0:00:00.047) 0:01:31.688 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "1", "_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:35:20 +0000 (0:00:00.053) 0:01:31.741 ********* included: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-encryption.yml for /cache/centos-7.qcow2c.snap => (item=/dev/mapper/luks-2adfe0ce-2b2b-4f6c-835d-7800b91d47c1) TASK [Get the backing device path] ********************************************* task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-encryption.yml:1 Thursday 21 July 2022 11:35:20 +0000 (0:00:00.044) 0:01:31.786 ********* changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "realpath", "/dev/disk/by-uuid/2adfe0ce-2b2b-4f6c-835d-7800b91d47c1" ], "delta": "0:00:00.003452", "end": "2022-07-21 11:35:20.235012", "rc": 0, "start": "2022-07-21 11:35:20.231560" } STDOUT: /dev/sdb TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-encryption.yml:6 Thursday 21 July 2022 11:35:20 +0000 (0:00:00.330) 0:01:32.117 ********* 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 member] *************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-encryption.yml:11 Thursday 21 July 2022 11:35:20 +0000 (0:00:00.518) 0:01:32.636 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "cryptsetup", "luksDump", "/dev/sdb" ], "delta": "0:00:00.033417", "end": "2022-07-21 11:35:21.093699", "rc": 0, "start": "2022-07-21 11:35:21.060282" } STDOUT: LUKS header information for /dev/sdb Version: 1 Cipher name: serpent Cipher mode: xts-plain64 Hash spec: sha256 Payload offset: 4096 MK bits: 512 MK digest: 2d f6 ba b5 8f 79 1a 90 7d d4 4e 16 7c 46 ed e0 66 ec 43 47 MK salt: 7c a9 df 68 5c 15 f2 4e be 33 56 22 5d ca f9 aa cb f1 7d 3d cf 6f b7 94 61 e9 c6 3f aa 12 76 7a MK iterations: 22946 UUID: 2adfe0ce-2b2b-4f6c-835d-7800b91d47c1 Key Slot 0: ENABLED Iterations: 367662 Salt: 46 9e e4 17 98 a3 f7 32 96 35 16 05 5a 3d 77 64 e0 b4 4f e5 30 3a ae 35 da a9 a0 ac 01 db 53 66 Key material offset: 8 AF stripes: 4000 Key Slot 1: DISABLED Key Slot 2: DISABLED Key Slot 3: DISABLED Key Slot 4: DISABLED Key Slot 5: DISABLED Key Slot 6: DISABLED Key Slot 7: DISABLED TASK [Check LUKS version] ****************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-encryption.yml:17 Thursday 21 July 2022 11:35:21 +0000 (0:00:00.340) 0:01:32.976 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-encryption.yml:23 Thursday 21 July 2022 11:35:21 +0000 (0:00:00.090) 0:01:33.067 ********* 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/verify-pool-member-encryption.yml:29 Thursday 21 July 2022 11:35:21 +0000 (0:00:00.024) 0:01:33.092 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "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:35:21 +0000 (0:00:00.053) 0:01:33.145 ********* included: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-crypttab.yml for /cache/centos-7.qcow2c.snap => (item=/dev/mapper/luks-2adfe0ce-2b2b-4f6c-835d-7800b91d47c1) TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 11:35:21 +0000 (0:00:00.048) 0:01:33.194 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [ "luks-2adfe0ce-2b2b-4f6c-835d-7800b91d47c1 /dev/sdb -" ] }, "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:35:21 +0000 (0:00:00.055) 0:01:33.249 ********* 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:35:21 +0000 (0:00:00.052) 0:01:33.301 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed 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:35:21 +0000 (0:00:00.052) 0:01:33.353 ********* 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:35:21 +0000 (0:00:00.037) 0:01:33.391 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 11:35:21 +0000 (0:00:00.053) 0:01:33.444 ********* 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:35:21 +0000 (0:00:00.034) 0:01:33.479 ********* 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:35:21 +0000 (0:00:00.038) 0:01:33.517 ********* 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:35:21 +0000 (0:00:00.050) 0:01:33.568 ********* 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': 4294967296, 'mount_point': '/opt/test2', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-1', '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-1', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb'], '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:35:21 +0000 (0:00:00.044) 0:01:33.612 ********* 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:35:21 +0000 (0:00:00.023) 0:01:33.636 ********* 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:35:21 +0000 (0:00:00.022) 0:01:33.659 ********* 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:35:21 +0000 (0:00:00.022) 0:01:33.682 ********* 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:35:21 +0000 (0:00:00.023) 0:01:33.705 ********* 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:35:22 +0000 (0:00:00.028) 0:01:33.734 ********* 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:35:22 +0000 (0:00:00.024) 0:01:33.758 ********* 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:35:22 +0000 (0:00:00.025) 0:01:33.783 ********* 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:35:22 +0000 (0:00:00.037) 0:01:33.820 ********* 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:35:22 +0000 (0:00:00.037) 0:01:33.858 ********* 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': 4294967296, 'mount_point': '/opt/test2', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-1', '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-1', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb'], '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:35:22 +0000 (0:00:00.041) 0:01:33.899 ********* 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:35:22 +0000 (0:00:00.049) 0:01:33.949 ********* 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:35:22 +0000 (0:00:00.083) 0:01:34.033 ********* 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:35:22 +0000 (0:00:00.040) 0:01:34.074 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 1037768, "block_size": 4096, "block_total": 1046016, "block_used": 8248, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 2097148, "inode_total": 2097152, "inode_used": 4, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,noquota", "size_available": 4250697728, "size_total": 4284481536, "uuid": "23d637fb-42f8-4c6b-a2ba-0af90e907897" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 1037768, "block_size": 4096, "block_total": 1046016, "block_used": 8248, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 2097148, "inode_total": 2097152, "inode_used": 4, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,noquota", "size_available": 4250697728, "size_total": 4284481536, "uuid": "23d637fb-42f8-4c6b-a2ba-0af90e907897" } ], "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:35:22 +0000 (0:00:00.053) 0:01:34.127 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed 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:35:22 +0000 (0:00:00.048) 0:01:34.175 ********* 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:35:22 +0000 (0:00:00.048) 0:01:34.223 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 11:35:22 +0000 (0:00:00.053) 0:01:34.276 ********* 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:35:22 +0000 (0:00:00.024) 0:01:34.301 ********* 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:35:22 +0000 (0:00:00.028) 0:01:34.329 ********* 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:35:22 +0000 (0:00:00.025) 0:01:34.355 ********* 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:35:22 +0000 (0:00:00.079) 0:01:34.434 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test2 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test2 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 11:35:22 +0000 (0:00:00.142) 0:01:34.577 ********* 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:35:22 +0000 (0:00:00.049) 0:01:34.626 ********* 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:35:22 +0000 (0:00:00.052) 0:01:34.679 ********* 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:35:23 +0000 (0:00:00.039) 0:01:34.718 ********* 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:35:23 +0000 (0:00:00.032) 0:01:34.751 ********* 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:35:23 +0000 (0:00:00.036) 0:01:34.788 ********* 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:35:23 +0000 (0:00:00.038) 0:01:34.827 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658403296.772368, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658403296.772368, "dev": 5, "device_type": 64513, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 42090, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658403296.772368, "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:35:23 +0000 (0:00:00.317) 0:01:35.144 ********* 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:35:23 +0000 (0:00:00.037) 0:01:35.182 ********* 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:35:23 +0000 (0:00:00.036) 0:01:35.218 ********* 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:35:23 +0000 (0:00:00.034) 0:01:35.253 ********* 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:35:23 +0000 (0:00:00.022) 0:01:35.275 ********* 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:35:23 +0000 (0:00:00.037) 0:01:35.312 ********* 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:35:23 +0000 (0:00:00.021) 0:01:35.334 ********* 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:35:24 +0000 (0:00:00.498) 0:01:35.832 ********* 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:35:24 +0000 (0:00:00.023) 0:01:35.856 ********* 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:35:24 +0000 (0:00:00.023) 0:01:35.880 ********* 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:35:24 +0000 (0:00:00.052) 0:01:35.932 ********* 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:35:24 +0000 (0:00:00.023) 0:01:35.955 ********* 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:35:24 +0000 (0:00:00.022) 0:01:35.977 ********* 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:35:24 +0000 (0:00:00.021) 0:01:35.999 ********* 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:35:24 +0000 (0:00:00.023) 0:01:36.022 ********* 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:35:24 +0000 (0:00:00.026) 0:01:36.049 ********* 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:35:24 +0000 (0:00:00.053) 0:01:36.102 ********* 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:35:24 +0000 (0:00:00.052) 0:01:36.155 ********* 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:35:24 +0000 (0:00:00.042) 0:01:36.197 ********* 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:35:24 +0000 (0:00:00.037) 0:01:36.234 ********* 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:35:24 +0000 (0:00:00.036) 0:01:36.270 ********* 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:35:24 +0000 (0:00:00.035) 0:01:36.306 ********* 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:35:24 +0000 (0:00:00.038) 0:01:36.344 ********* 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:35:24 +0000 (0:00:00.034) 0:01:36.379 ********* 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:35:24 +0000 (0:00:00.034) 0:01:36.414 ********* 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:35:24 +0000 (0:00:00.035) 0:01:36.449 ********* 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:35:24 +0000 (0:00:00.038) 0:01:36.488 ********* 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:35:24 +0000 (0:00:00.040) 0:01:36.528 ********* 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:35:24 +0000 (0:00:00.037) 0:01:36.566 ********* 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:35:25 +0000 (0:00:00.309) 0:01:36.876 ********* 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:35:25 +0000 (0:00:00.320) 0:01:37.196 ********* 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:35:25 +0000 (0:00:00.049) 0:01:37.245 ********* 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:35:25 +0000 (0:00:00.074) 0:01:37.320 ********* 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:35:25 +0000 (0:00:00.039) 0:01:37.359 ********* 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:35:25 +0000 (0:00:00.081) 0:01:37.440 ********* 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:35:25 +0000 (0:00:00.035) 0:01:37.476 ********* 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:35:25 +0000 (0:00:00.036) 0:01:37.512 ********* 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:35:25 +0000 (0:00:00.038) 0:01:37.551 ********* 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:35:25 +0000 (0:00:00.035) 0:01:37.587 ********* 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:35:25 +0000 (0:00:00.035) 0:01:37.622 ********* 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:35:25 +0000 (0:00:00.049) 0:01:37.672 ********* 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.024063", "end": "2022-07-21 11:35:26.112471", "rc": 0, "start": "2022-07-21 11:35:26.088408" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 11:35:26 +0000 (0:00:00.320) 0:01:37.992 ********* 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:35:26 +0000 (0:00:00.049) 0:01:38.041 ********* 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:35:26 +0000 (0:00:00.053) 0:01:38.095 ********* 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:35:26 +0000 (0:00:00.039) 0:01:38.134 ********* 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:35:26 +0000 (0:00:00.039) 0:01:38.173 ********* 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:35:26 +0000 (0:00:00.034) 0:01:38.208 ********* 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:35:26 +0000 (0:00:00.034) 0:01:38.242 ********* 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:35:26 +0000 (0:00:00.032) 0:01:38.275 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 11:35:26 +0000 (0:00:00.020) 0:01:38.296 ********* 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_luks_pool.yml:247 Thursday 21 July 2022 11:35:26 +0000 (0:00:00.035) 0:01:38.331 ********* 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:35:26 +0000 (0:00:00.051) 0:01:38.383 ********* 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:35:26 +0000 (0:00:00.035) 0:01:38.418 ********* 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:35:27 +0000 (0:00:00.415) 0:01:38.833 ********* 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:35:27 +0000 (0:00:00.065) 0:01:38.898 ********* 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:35:27 +0000 (0:00:00.038) 0:01:38.937 ********* 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:35:27 +0000 (0:00:00.035) 0:01:38.972 ********* 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:35:27 +0000 (0:00:00.054) 0:01:39.027 ********* 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:35:27 +0000 (0:00:00.020) 0:01:39.047 ********* 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:35:27 +0000 (0:00:00.026) 0:01:39.073 ********* 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:35:27 +0000 (0:00:00.037) 0:01:39.111 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_volumes": [ { "disks": [ "sdb" ], "name": "foo", "state": "absent", "type": "disk" } ] } 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:35:27 +0000 (0:00:00.077) 0:01:39.189 ********* 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:35:27 +0000 (0:00:00.028) 0:01:39.217 ********* 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:35:27 +0000 (0:00:00.028) 0:01:39.246 ********* 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:35:27 +0000 (0:00:00.028) 0:01:39.274 ********* 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:35:27 +0000 (0:00:00.027) 0:01:39.302 ********* 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:35:27 +0000 (0:00:00.093) 0:01:39.395 ********* 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:35:27 +0000 (0:00:00.023) 0:01:39.418 ********* changed: [/cache/centos-7.qcow2c.snap] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/mapper/luks-2adfe0ce-2b2b-4f6c-835d-7800b91d47c1", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/mapper/luks-2adfe0ce-2b2b-4f6c-835d-7800b91d47c1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb", "fs_type": "luks" } ], "changed": true, "crypts": [ { "backing_device": "/dev/sdb", "name": "luks-2adfe0ce-2b2b-4f6c-835d-7800b91d47c1", "password": "-", "state": "absent" } ], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test2", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/mapper/luks-2adfe0ce-2b2b-4f6c-835d-7800b91d47c1", "_mount_id": "/dev/mapper/luks-2adfe0ce-2b2b-4f6c-835d-7800b91d47c1", "_raw_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": true, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks1", "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "lvmpv", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10735321088, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 11:35:29 +0000 (0:00:02.073) 0:01:41.492 ********* 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:35:29 +0000 (0:00:00.036) 0:01:41.529 ********* 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:35:29 +0000 (0:00:00.021) 0:01:41.550 ********* ok: [/cache/centos-7.qcow2c.snap] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/mapper/luks-2adfe0ce-2b2b-4f6c-835d-7800b91d47c1", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/mapper/luks-2adfe0ce-2b2b-4f6c-835d-7800b91d47c1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb", "fs_type": "luks" } ], "changed": true, "crypts": [ { "backing_device": "/dev/sdb", "name": "luks-2adfe0ce-2b2b-4f6c-835d-7800b91d47c1", "password": "-", "state": "absent" } ], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test2", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/mapper/luks-2adfe0ce-2b2b-4f6c-835d-7800b91d47c1", "_mount_id": "/dev/mapper/luks-2adfe0ce-2b2b-4f6c-835d-7800b91d47c1", "_raw_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": true, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks1", "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "lvmpv", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10735321088, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 11:35:29 +0000 (0:00:00.039) 0:01:41.590 ********* 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:35:29 +0000 (0:00:00.040) 0:01:41.630 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/mapper/luks-2adfe0ce-2b2b-4f6c-835d-7800b91d47c1", "_mount_id": "/dev/mapper/luks-2adfe0ce-2b2b-4f6c-835d-7800b91d47c1", "_raw_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": true, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks1", "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "lvmpv", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10735321088, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 11:35:29 +0000 (0:00:00.038) 0:01:41.669 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-7.qcow2c.snap] => (item={'src': '/dev/mapper/foo-test1', 'state': 'absent', 'path': '/opt/test2', 'fstype': 'xfs'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "fstype": "xfs", "path": "/opt/test2", "src": "/dev/mapper/foo-test1", "state": "absent" }, "name": "/opt/test2", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 11:35:30 +0000 (0:00:00.351) 0:01:42.021 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "name": null, "status": {} } 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:35:30 +0000 (0:00:00.444) 0:01:42.465 ********* 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:35:30 +0000 (0:00:00.039) 0:01:42.505 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "name": null, "status": {} } 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:35:31 +0000 (0:00:00.450) 0:01:42.955 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658403301.198368, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7ee160efb08bcf7bf5b6f484cc6cc51346e01d82", "ctime": 1658403299.243368, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12585040, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1658403299.242368, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 53, "uid": 0, "version": "18446744071818064725", "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:35:31 +0000 (0:00:00.312) 0:01:43.268 ********* changed: [/cache/centos-7.qcow2c.snap] => (item={'state': 'absent', 'password': '-', 'name': 'luks-2adfe0ce-2b2b-4f6c-835d-7800b91d47c1', 'backing_device': '/dev/sdb'}) => { "ansible_loop_var": "entry", "backup": "", "changed": true, "entry": { "backing_device": "/dev/sdb", "name": "luks-2adfe0ce-2b2b-4f6c-835d-7800b91d47c1", "password": "-", "state": "absent" }, "found": 1 } MSG: 1 line(s) removed 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:35:31 +0000 (0:00:00.336) 0:01:43.605 ********* 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_luks_pool.yml:257 Thursday 21 July 2022 11:35:32 +0000 (0:00:00.842) 0:01:44.447 ********* 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:35:32 +0000 (0:00:00.046) 0:01:44.494 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 11:35:32 +0000 (0:00:00.037) 0:01:44.531 ********* ok: [/cache/centos-7.qcow2c.snap] => { "_storage_volumes_list": [ { "_device": "/dev/mapper/luks-2adfe0ce-2b2b-4f6c-835d-7800b91d47c1", "_mount_id": "/dev/mapper/luks-2adfe0ce-2b2b-4f6c-835d-7800b91d47c1", "_raw_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": true, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks1", "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "lvmpv", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10735321088, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 11:35:32 +0000 (0:00:00.049) 0:01:44.581 ********* 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-33-34-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:35:33 +0000 (0:00:00.340) 0:01:44.922 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003373", "end": "2022-07-21 11:35:33.391095", "rc": 0, "start": "2022-07-21 11:35:33.387722" } 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:35:33 +0000 (0:00:00.350) 0:01:45.272 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003268", "end": "2022-07-21 11:35:33.749391", "failed_when_result": false, "rc": 0, "start": "2022-07-21 11:35:33.746123" } 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:35:33 +0000 (0:00:00.358) 0:01:45.631 ********* 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:35:33 +0000 (0:00:00.023) 0:01:45.654 ********* included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume.yml for /cache/centos-7.qcow2c.snap => (item={'_raw_device': '/dev/sdb', 'raid_metadata_version': None, 'mount_device_identifier': 'uuid', 'fs_type': 'lvmpv', 'mount_options': 'defaults', '_device': '/dev/mapper/luks-2adfe0ce-2b2b-4f6c-835d-7800b91d47c1', 'size': 10735321088, 'mount_point': None, 'compression': None, 'encryption_password': None, 'encryption': True, 'raid_level': None, 'raid_device_count': None, 'state': 'absent', 'vdo_pool_size': None, 'thin_pool_name': None, 'type': 'disk', 'encryption_key_size': 0, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': 'luks1', 'cache_size': 0, '_mount_id': '/dev/mapper/luks-2adfe0ce-2b2b-4f6c-835d-7800b91d47c1', 'raid_spare_count': None, 'name': 'foo', 'cache_mode': None, 'cache_devices': [], 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb'], 'thin': None, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'thin_pool_size': None, 'fs_create_options': ''}) TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 11:35:34 +0000 (0:00:00.060) 0:01:45.715 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_volume_present": false, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 11:35:34 +0000 (0:00:00.048) 0:01:45.763 ********* 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:35:34 +0000 (0:00:00.081) 0:01:45.844 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/luks-2adfe0ce-2b2b-4f6c-835d-7800b91d47c1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 11:35:34 +0000 (0:00:00.040) 0:01:45.885 ********* 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:35:34 +0000 (0:00:00.057) 0:01:45.942 ********* 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:35:34 +0000 (0:00:00.024) 0:01:45.967 ********* 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:35:34 +0000 (0:00:00.056) 0:01:46.024 ********* 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:35:34 +0000 (0:00:00.034) 0:01:46.059 ********* 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:35:34 +0000 (0:00:00.022) 0:01:46.082 ********* 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:35:34 +0000 (0:00:00.022) 0:01:46.105 ********* 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:35:34 +0000 (0:00:00.024) 0:01:46.129 ********* 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:35:34 +0000 (0:00:00.035) 0:01:46.165 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "0", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 11:35:34 +0000 (0:00:00.065) 0:01:46.231 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 11:35:34 +0000 (0:00:00.025) 0:01:46.256 ********* 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:35:34 +0000 (0:00:00.049) 0:01:46.306 ********* 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:35:34 +0000 (0:00:00.036) 0:01:46.342 ********* 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:35:34 +0000 (0:00:00.034) 0:01:46.377 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 11:35:34 +0000 (0:00:00.024) 0:01:46.401 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } 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:35:34 +0000 (0:00:00.024) 0:01:46.425 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658403329.560368, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658403329.560368, "dev": 5, "device_type": 2064, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 11813, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658403329.560368, "nlink": 1, "path": "/dev/sdb", "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:35:35 +0000 (0:00:00.324) 0:01:46.750 ********* 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:35:35 +0000 (0:00:00.039) 0:01:46.790 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } 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:35:35 +0000 (0:00:00.024) 0:01:46.815 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "st_volume_type": "disk" }, "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:35:35 +0000 (0:00:00.036) 0:01:46.852 ********* 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:35:35 +0000 (0:00:00.024) 0:01:46.877 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } 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:35:35 +0000 (0:00:00.022) 0:01:46.899 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "exists": false } } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 11:35:35 +0000 (0:00:00.310) 0:01:47.209 ********* 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:35:36 +0000 (0:00:00.540) 0:01:47.749 ********* 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:35:36 +0000 (0:00:00.025) 0:01:47.774 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed 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:35:36 +0000 (0:00:00.038) 0:01:47.813 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } 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:35:36 +0000 (0:00:00.022) 0:01:47.836 ********* 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:35:36 +0000 (0:00:00.022) 0:01:47.858 ********* 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:35:36 +0000 (0:00:00.022) 0:01:47.881 ********* 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:35:36 +0000 (0:00:00.025) 0:01:47.907 ********* 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:35:36 +0000 (0:00:00.023) 0:01:47.930 ********* 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:35:36 +0000 (0:00:00.022) 0:01:47.953 ********* 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:35:36 +0000 (0:00:00.050) 0:01:48.004 ********* 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:35:36 +0000 (0:00:00.046) 0:01:48.050 ********* 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:35:36 +0000 (0:00:00.037) 0:01:48.088 ********* 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:35:36 +0000 (0:00:00.034) 0:01:48.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/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 11:35:36 +0000 (0:00:00.039) 0:01:48.162 ********* 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:35:36 +0000 (0:00:00.032) 0:01:48.194 ********* 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:35:36 +0000 (0:00:00.035) 0:01:48.230 ********* 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:35:36 +0000 (0:00:00.039) 0:01:48.269 ********* 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:35:36 +0000 (0:00:00.050) 0:01:48.319 ********* 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:35:36 +0000 (0:00:00.036) 0:01:48.356 ********* 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:35:36 +0000 (0:00:00.039) 0:01:48.395 ********* 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:35:36 +0000 (0:00:00.038) 0:01:48.434 ********* 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:35:36 +0000 (0:00:00.042) 0:01:48.476 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } 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:35:36 +0000 (0:00:00.023) 0:01:48.500 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } 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:35:36 +0000 (0:00:00.038) 0:01:48.538 ********* 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:20 Thursday 21 July 2022 11:35:36 +0000 (0:00:00.038) 0:01:48.576 ********* 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:35:36 +0000 (0:00:00.040) 0:01:48.617 ********* 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:35:36 +0000 (0:00:00.037) 0:01:48.654 ********* 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:35:36 +0000 (0:00:00.036) 0:01:48.691 ********* 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:35:37 +0000 (0:00:00.038) 0:01:48.730 ********* 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:35:37 +0000 (0:00:00.042) 0:01:48.772 ********* 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:35:37 +0000 (0:00:00.039) 0:01:48.811 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 11:35:37 +0000 (0:00:00.036) 0:01:48.847 ********* 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:35:37 +0000 (0:00:00.036) 0:01:48.884 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 11:35:37 +0000 (0:00:00.024) 0:01:48.908 ********* 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:14 Thursday 21 July 2022 11:35:37 +0000 (0:00:00.024) 0:01:48.932 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 11:35:37 +0000 (0:00:00.025) 0:01:48.958 ********* 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:22 Thursday 21 July 2022 11:35:37 +0000 (0:00:00.024) 0:01:48.982 ********* 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:35:37 +0000 (0:00:00.025) 0:01:49.008 ********* 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:35:37 +0000 (0:00:00.022) 0:01:49.031 ********* 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:35:37 +0000 (0:00:00.022) 0:01:49.053 ********* 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:35:37 +0000 (0:00:00.022) 0:01:49.076 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 11:35:37 +0000 (0:00:00.036) 0:01:49.112 ********* 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=542 changed=22 unreachable=0 failed=3 skipped=371 rescued=3 ignored=0 Thursday 21 July 2022 11:35:37 +0000 (0:00:00.046) 0:01:49.159 ********* =============================================================================== fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 8.55s /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 --- 7.92s /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 --- 2.48s /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 --- 2.07s /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : Update facts ------------------------ 1.93s /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.48s /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.39s /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.29s /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Gathering Facts --------------------------------------------------------- 1.23s /tmp/tmptuh8_vrz/tests/storage/tests_luks_pool_scsi_generated.yml:3 ----------- fedora.linux_system_roles.storage : get service facts ------------------- 1.09s /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 fedora.linux_system_roles.storage : get required packages --------------- 1.09s /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 1.08s /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : make sure blivet is available ------- 0.96s /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 fedora.linux_system_roles.storage : Update facts ------------------------ 0.89s /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 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.85s /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 fedora.linux_system_roles.storage : Update facts ------------------------ 0.85s /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.83s /tmp/tmptuh8_vrz/tests/storage/tests_luks_pool.yml:2 -------------------------- fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab --- 0.75s /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132