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/tmpu1heti3n executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: centos-8_setup.yml *************************************************** 1 plays in /cache/centos-8_setup.yml PLAY [Enable HA repos] ********************************************************* META: ran handlers TASK [Enable HA repos] ********************************************************* task path: /cache/centos-8_setup.yml:5 Thursday 21 July 2022 09:00:15 +0000 (0:00:00.018) 0:00:00.018 ********* changed: [/cache/centos-8.qcow2] => { "ansible_facts": { "discovered_interpreter_python": "/usr/libexec/platform-python" }, "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "ha" ], "delta": "0:00:00.381561", "end": "2022-07-21 09:00:16.321791", "rc": 0, "start": "2022-07-21 09:00:15.940230" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Thursday 21 July 2022 09:00:16 +0000 (0:00:00.993) 0:00:01.011 ********* =============================================================================== Enable HA repos --------------------------------------------------------- 0.99s /cache/centos-8_setup.yml:5 --------------------------------------------------- PLAYBOOK: tests_create_lvm_pool_then_remove_scsi_generated.yml ***************** 2 plays in /tmp/tmpa3egnbq5/tests/tests_create_lvm_pool_then_remove_scsi_generated.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpa3egnbq5/tests/tests_create_lvm_pool_then_remove_scsi_generated.yml:3 Thursday 21 July 2022 09:00:16 +0000 (0:00:00.015) 0:00:01.027 ********* ok: [/cache/centos-8.qcow2] META: ran handlers TASK [set disk interface for test] ********************************************* task path: /tmp/tmpa3egnbq5/tests/tests_create_lvm_pool_then_remove_scsi_generated.yml:7 Thursday 21 July 2022 09:00:17 +0000 (0:00:01.103) 0:00:02.131 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_use_interface": "scsi" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpa3egnbq5/tests/tests_create_lvm_pool_then_remove.yml:2 Thursday 21 July 2022 09:00:17 +0000 (0:00:00.047) 0:00:02.178 ********* ok: [/cache/centos-8.qcow2] META: ran handlers TASK [include_role : linux-system-roles.storage] ******************************* task path: /tmp/tmpa3egnbq5/tests/tests_create_lvm_pool_then_remove.yml:15 Thursday 21 July 2022 09:00:18 +0000 (0:00:00.826) 0:00:03.005 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 09:00:18 +0000 (0:00:00.033) 0:00:03.039 ********* included: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 09:00:18 +0000 (0:00:00.029) 0:00:03.069 ********* ok: [/cache/centos-8.qcow2] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 09:00:18 +0000 (0:00:00.611) 0:00:03.681 ********* skipping: [/cache/centos-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-8.qcow2] => (item=CentOS_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [/cache/centos-8.qcow2] => (item=CentOS_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 09:00:19 +0000 (0:00:00.061) 0:00:03.742 ********* ok: [/cache/centos-8.qcow2] => { "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/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 09:00:19 +0000 (0:00:00.027) 0:00:03.770 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 09:00:19 +0000 (0:00:00.029) 0:00:03.800 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 09:00:19 +0000 (0:00:00.045) 0:00:03.845 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 09:00:19 +0000 (0:00:00.018) 0:00:03.864 ********* changed: [/cache/centos-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: ndctl-71.1-4.el8.x86_64", "Installed: libblockdev-loop-2.24-8.el8.x86_64", "Installed: ndctl-libs-71.1-4.el8.x86_64", "Installed: libblockdev-lvm-2.24-8.el8.x86_64", "Installed: lvm2-libs-8:2.03.14-2.el8.x86_64", "Installed: device-mapper-multipath-libs-0.8.4-20.el8.x86_64", "Installed: nss-softokn-freebl-3.79.0-5.el8.x86_64", "Installed: kernel-modules-4.18.0-408.el8.x86_64", "Installed: daxctl-libs-71.1-4.el8.x86_64", "Installed: libblockdev-mdraid-2.24-8.el8.x86_64", "Installed: libblockdev-mpath-2.24-8.el8.x86_64", "Installed: device-mapper-persistent-data-0.9.0-7.el8.x86_64", "Installed: nss-sysinit-3.79.0-5.el8.x86_64", "Installed: libblockdev-nvdimm-2.24-8.el8.x86_64", "Installed: userspace-rcu-0.10.1-4.el8.x86_64", "Installed: libblockdev-part-2.24-8.el8.x86_64", "Installed: nss-util-3.79.0-5.el8.x86_64", "Installed: libblockdev-swap-2.24-8.el8.x86_64", "Installed: vdo-6.2.6.14-14.el8.x86_64", "Installed: libblockdev-utils-2.24-8.el8.x86_64", "Installed: linux-firmware-20220713-109.gitdfa29317.el8.noarch", "Installed: nspr-4.34.0-3.el8.x86_64", "Installed: mdadm-4.2-3.el8.x86_64", "Installed: python3-pyparted-1:3.11.7-4.el8.x86_64", "Installed: device-mapper-event-8:1.02.181-2.el8.x86_64", "Installed: libbytesize-1.4-3.el8.x86_64", "Installed: libblockdev-2.24-8.el8.x86_64", "Installed: nss-3.79.0-5.el8.x86_64", "Installed: python3-blivet-1:3.4.0-12.el8.noarch", "Installed: kernel-core-4.18.0-408.el8.x86_64", "Installed: libblockdev-crypto-2.24-8.el8.x86_64", "Installed: device-mapper-event-libs-8:1.02.181-2.el8.x86_64", "Installed: lsof-4.93.2-1.el8.x86_64", "Installed: libblockdev-dm-2.24-8.el8.x86_64", "Installed: python3-blockdev-2.24-8.el8.x86_64", "Installed: volume_key-libs-0.3.11-5.el8.x86_64", "Installed: blivet-data-1:3.4.0-12.el8.noarch", "Installed: python3-bytesize-1.4-3.el8.x86_64", "Installed: lvm2-8:2.03.14-2.el8.x86_64", "Installed: libblockdev-fs-2.24-8.el8.x86_64", "Installed: kmod-kvdo-6.2.6.14-84.el8.x86_64", "Installed: libblockdev-kbd-2.24-8.el8.x86_64", "Installed: nss-softokn-3.79.0-5.el8.x86_64", "Installed: libaio-0.3.112-1.el8.x86_64", "Installed: device-mapper-multipath-0.8.4-20.el8.x86_64" ] } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 09:02:59 +0000 (0:02:40.616) 0:02:44.481 ********* ok: [/cache/centos-8.qcow2] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 09:02:59 +0000 (0:00:00.034) 0:02:44.516 ********* ok: [/cache/centos-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 09:02:59 +0000 (0:00:00.038) 0:02:44.554 ********* ok: [/cache/centos-8.qcow2] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 09:03:00 +0000 (0:00:00.762) 0:02:45.317 ********* included: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.storage : check if the COPR support packages should be installed] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:2 Thursday 21 July 2022 09:03:00 +0000 (0:00:00.040) 0:02:45.358 ********* TASK [linux-system-roles.storage : make sure COPR support packages are present] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:13 Thursday 21 July 2022 09:03:00 +0000 (0:00:00.030) 0:02:45.388 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable COPRs] ******************************* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:18 Thursday 21 July 2022 09:03:00 +0000 (0:00:00.036) 0:02:45.425 ********* TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 09:03:00 +0000 (0:00:00.037) 0:02:45.462 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 09:03:02 +0000 (0:00:02.083) 0:02:47.545 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "services": { "NetworkManager-dispatcher.service": { "name": "NetworkManager-dispatcher.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "NetworkManager-wait-online.service": { "name": "NetworkManager-wait-online.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "NetworkManager.service": { "name": "NetworkManager.service", "source": "systemd", "state": "running", "status": "enabled" }, "auditd.service": { "name": "auditd.service", "source": "systemd", "state": "running", "status": "enabled" }, "auth-rpcgss-module.service": { "name": "auth-rpcgss-module.service", "source": "systemd", "state": "stopped", "status": "static" }, "autovt@.service": { "name": "autovt@.service", "source": "systemd", "state": "unknown", "status": "enabled" }, "blivet.service": { "name": "blivet.service", "source": "systemd", "state": "inactive", "status": "static" }, "blk-availability.service": { "name": "blk-availability.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "chrony-dnssrv@.service": { "name": "chrony-dnssrv@.service", "source": "systemd", "state": "unknown", "status": "static" }, "chrony-wait.service": { "name": "chrony-wait.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "chronyd.service": { "name": "chronyd.service", "source": "systemd", "state": "running", "status": "enabled" }, "cloud-config.service": { "name": "cloud-config.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-final.service": { "name": "cloud-final.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init-local.service": { "name": "cloud-init-local.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init.service": { "name": "cloud-init.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cockpit-motd.service": { "name": "cockpit-motd.service", "source": "systemd", "state": "inactive", "status": "static" }, "cockpit-wsinstance-http.service": { "name": "cockpit-wsinstance-http.service", "source": "systemd", "state": "inactive", "status": "static" }, "cockpit-wsinstance-https-factory@.service": { "name": "cockpit-wsinstance-https-factory@.service", "source": "systemd", "state": "unknown", "status": "static" }, "cockpit-wsinstance-https@.service": { "name": "cockpit-wsinstance-https@.service", "source": "systemd", "state": "unknown", "status": "static" }, "cockpit.service": { "name": "cockpit.service", "source": "systemd", "state": "inactive", "status": "static" }, "console-getty.service": { "name": "console-getty.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "container-getty@.service": { "name": "container-getty@.service", "source": "systemd", "state": "unknown", "status": "static" }, "cpupower.service": { "name": "cpupower.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "crond.service": { "name": "crond.service", "source": "systemd", "state": "running", "status": "enabled" }, "dbus-org.freedesktop.hostname1.service": { "name": "dbus-org.freedesktop.hostname1.service", "source": "systemd", "state": "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.nm-dispatcher.service": { "name": "dbus-org.freedesktop.nm-dispatcher.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "dbus-org.freedesktop.portable1.service": { "name": "dbus-org.freedesktop.portable1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.timedate1.service": { "name": "dbus-org.freedesktop.timedate1.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "dbus.service": { "name": "dbus.service", "source": "systemd", "state": "running", "status": "static" }, "debug-shell.service": { "name": "debug-shell.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "display-manager.service": { "name": "display-manager.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "dm-event.service": { "name": "dm-event.service", "source": "systemd", "state": "stopped", "status": "static" }, "dnf-makecache.service": { "name": "dnf-makecache.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-cmdline.service": { "name": "dracut-cmdline.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-initqueue.service": { "name": "dracut-initqueue.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-mount.service": { "name": "dracut-mount.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-mount.service": { "name": "dracut-pre-mount.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-pivot.service": { "name": "dracut-pre-pivot.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-trigger.service": { "name": "dracut-pre-trigger.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-udev.service": { "name": "dracut-pre-udev.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-shutdown.service": { "name": "dracut-shutdown.service", "source": "systemd", "state": "stopped", "status": "static" }, "emergency.service": { "name": "emergency.service", "source": "systemd", "state": "stopped", "status": "static" }, "fcoe.service": { "name": "fcoe.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "fstrim.service": { "name": "fstrim.service", "source": "systemd", "state": "inactive", "status": "static" }, "getty@.service": { "name": "getty@.service", "source": "systemd", "state": "unknown", "status": "enabled" }, "getty@tty1.service": { "name": "getty@tty1.service", "source": "systemd", "state": "running", "status": "active" }, "grub-boot-indeterminate.service": { "name": "grub-boot-indeterminate.service", "source": "systemd", "state": "inactive", "status": "static" }, "gssproxy.service": { "name": "gssproxy.service", "source": "systemd", "state": "running", "status": "disabled" }, "halt-local.service": { "name": "halt-local.service", "source": "systemd", "state": "inactive", "status": "static" }, "import-state.service": { "name": "import-state.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "initrd-cleanup.service": { "name": "initrd-cleanup.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-parse-etc.service": { "name": "initrd-parse-etc.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-switch-root.service": { "name": "initrd-switch-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-udevadm-cleanup-db.service": { "name": "initrd-udevadm-cleanup-db.service", "source": "systemd", "state": "stopped", "status": "static" }, "irqbalance.service": { "name": "irqbalance.service", "source": "systemd", "state": "running", "status": "enabled" }, "iscsi-shutdown.service": { "name": "iscsi-shutdown.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "iscsi.service": { "name": "iscsi.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "iscsid.service": { "name": "iscsid.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "kdump.service": { "name": "kdump.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "kmod-static-nodes.service": { "name": "kmod-static-nodes.service", "source": "systemd", "state": "stopped", "status": "static" }, "kvm_stat.service": { "name": "kvm_stat.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "ldconfig.service": { "name": "ldconfig.service", "source": "systemd", "state": "stopped", "status": "static" }, "loadmodules.service": { "name": "loadmodules.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "lvm2-activation-early.service": { "name": "lvm2-activation-early.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "lvm2-activation.service": { "name": "lvm2-activation.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "lvm2-lvmpolld.service": { "name": "lvm2-lvmpolld.service", "source": "systemd", "state": "stopped", "status": "static" }, "lvm2-monitor.service": { "name": "lvm2-monitor.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "lvm2-pvscan@.service": { "name": "lvm2-pvscan@.service", "source": "systemd", "state": "unknown", "status": "static" }, "man-db-cache-update.service": { "name": "man-db-cache-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "man-db-restart-cache-update.service": { "name": "man-db-restart-cache-update.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "mdadm-grow-continue@.service": { "name": "mdadm-grow-continue@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdadm-last-resort@.service": { "name": "mdadm-last-resort@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdcheck_continue.service": { "name": "mdcheck_continue.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdcheck_start.service": { "name": "mdcheck_start.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdmon@.service": { "name": "mdmon@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdmonitor-oneshot.service": { "name": "mdmonitor-oneshot.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdmonitor.service": { "name": "mdmonitor.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "messagebus.service": { "name": "messagebus.service", "source": "systemd", "state": "active", "status": "static" }, "microcode.service": { "name": "microcode.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "multipathd.service": { "name": "multipathd.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "ndctl-monitor.service": { "name": "ndctl-monitor.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "network.service": { "name": "network.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "nfs-blkmap.service": { "name": "nfs-blkmap.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfs-convert.service": { "name": "nfs-convert.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfs-idmapd.service": { "name": "nfs-idmapd.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-mountd.service": { "name": "nfs-mountd.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-server.service": { "name": "nfs-server.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "nfs-utils.service": { "name": "nfs-utils.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfsdcld.service": { "name": "nfsdcld.service", "source": "systemd", "state": "stopped", "status": "static" }, "nis-domainname.service": { "name": "nis-domainname.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "nm-priv-helper.service": { "name": "nm-priv-helper.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "ntpd.service": { "name": "ntpd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ntpdate.service": { "name": "ntpdate.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "oddjobd.service": { "name": "oddjobd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "packagekit-offline-update.service": { "name": "packagekit-offline-update.service", "source": "systemd", "state": "inactive", "status": "static" }, "packagekit.service": { "name": "packagekit.service", "source": "systemd", "state": "inactive", "status": "static" }, "plymouth-quit-wait.service": { "name": "plymouth-quit-wait.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "plymouth-start.service": { "name": "plymouth-start.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "polkit.service": { "name": "polkit.service", "source": "systemd", "state": "running", "status": "static" }, "qemu-guest-agent.service": { "name": "qemu-guest-agent.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "quotaon.service": { "name": "quotaon.service", "source": "systemd", "state": "inactive", "status": "static" }, "rbdmap.service": { "name": "rbdmap.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "rc-local.service": { "name": "rc-local.service", "source": "systemd", "state": "stopped", "status": "static" }, "rdisc.service": { "name": "rdisc.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rescue.service": { "name": "rescue.service", "source": "systemd", "state": "stopped", "status": "static" }, "rngd-wake-threshold.service": { "name": "rngd-wake-threshold.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "rngd.service": { "name": "rngd.service", "source": "systemd", "state": "running", "status": "enabled" }, "rpc-gssd.service": { "name": "rpc-gssd.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-statd-notify.service": { "name": "rpc-statd-notify.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-statd.service": { "name": "rpc-statd.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpcbind.service": { "name": "rpcbind.service", "source": "systemd", "state": "running", "status": "enabled" }, "rsyslog.service": { "name": "rsyslog.service", "source": "systemd", "state": "running", "status": "enabled" }, "run-r0f1e72428ce7481da31887bf4ba07c72.service": { "name": "run-r0f1e72428ce7481da31887bf4ba07c72.service", "source": "systemd", "state": "running", "status": "transient" }, "selinux-autorelabel-mark.service": { "name": "selinux-autorelabel-mark.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "selinux-autorelabel.service": { "name": "selinux-autorelabel.service", "source": "systemd", "state": "inactive", "status": "static" }, "serial-getty@.service": { "name": "serial-getty@.service", "source": "systemd", "state": "unknown", "status": "indirect" }, "serial-getty@ttyS0.service": { "name": "serial-getty@ttyS0.service", "source": "systemd", "state": "running", "status": "active" }, "sntp.service": { "name": "sntp.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sshd-keygen.service": { "name": "sshd-keygen.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sshd-keygen@.service": { "name": "sshd-keygen@.service", "source": "systemd", "state": "unknown", "status": "disabled" }, "sshd-keygen@ecdsa.service": { "name": "sshd-keygen@ecdsa.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd-keygen@ed25519.service": { "name": "sshd-keygen@ed25519.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd-keygen@rsa.service": { "name": "sshd-keygen@rsa.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd.service": { "name": "sshd.service", "source": "systemd", "state": "running", "status": "enabled" }, "sshd@.service": { "name": "sshd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "sssd-autofs.service": { "name": "sssd-autofs.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-kcm.service": { "name": "sssd-kcm.service", "source": "systemd", "state": "stopped", "status": "indirect" }, "sssd-nss.service": { "name": "sssd-nss.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-pac.service": { "name": "sssd-pac.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-pam.service": { "name": "sssd-pam.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-ssh.service": { "name": "sssd-ssh.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-sudo.service": { "name": "sssd-sudo.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd.service": { "name": "sssd.service", "source": "systemd", "state": "running", "status": "enabled" }, "syslog.service": { "name": "syslog.service", "source": "systemd", "state": "active", "status": "enabled" }, "system-update-cleanup.service": { "name": "system-update-cleanup.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-ask-password-console.service": { "name": "systemd-ask-password-console.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-ask-password-wall.service": { "name": "systemd-ask-password-wall.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-backlight@.service": { "name": "systemd-backlight@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-binfmt.service": { "name": "systemd-binfmt.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-coredump@.service": { "name": "systemd-coredump@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-exit.service": { "name": "systemd-exit.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-firstboot.service": { "name": "systemd-firstboot.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-fsck-root.service": { "name": "systemd-fsck-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-fsck@.service": { "name": "systemd-fsck@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-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-initctl.service": { "name": "systemd-initctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-catalog-update.service": { "name": "systemd-journal-catalog-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-flush.service": { "name": "systemd-journal-flush.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journald.service": { "name": "systemd-journald.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-kexec.service": { "name": "systemd-kexec.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-localed.service": { "name": "systemd-localed.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-logind.service": { "name": "systemd-logind.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-machine-id-commit.service": { "name": "systemd-machine-id-commit.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-modules-load.service": { "name": "systemd-modules-load.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-portabled.service": { "name": "systemd-portabled.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-poweroff.service": { "name": "systemd-poweroff.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-quotacheck.service": { "name": "systemd-quotacheck.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-random-seed.service": { "name": "systemd-random-seed.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-reboot.service": { "name": "systemd-reboot.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-remount-fs.service": { "name": "systemd-remount-fs.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-resolved.service": { "name": "systemd-resolved.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-rfkill.service": { "name": "systemd-rfkill.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-suspend-then-hibernate.service": { "name": "systemd-suspend-then-hibernate.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-suspend.service": { "name": "systemd-suspend.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-sysctl.service": { "name": "systemd-sysctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-sysusers.service": { "name": "systemd-sysusers.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-timedated.service": { "name": "systemd-timedated.service", "source": "systemd", "state": "inactive", "status": "masked" }, "systemd-timesyncd.service": { "name": "systemd-timesyncd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "systemd-tmpfiles-clean.service": { "name": "systemd-tmpfiles-clean.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup-dev.service": { "name": "systemd-tmpfiles-setup-dev.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup.service": { "name": "systemd-tmpfiles-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udev-settle.service": { "name": "systemd-udev-settle.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udev-trigger.service": { "name": "systemd-udev-trigger.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udevd.service": { "name": "systemd-udevd.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-update-done.service": { "name": "systemd-update-done.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-update-utmp-runlevel.service": { "name": "systemd-update-utmp-runlevel.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-update-utmp.service": { "name": "systemd-update-utmp.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-user-sessions.service": { "name": "systemd-user-sessions.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-vconsole-setup.service": { "name": "systemd-vconsole-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-volatile-root.service": { "name": "systemd-volatile-root.service", "source": "systemd", "state": "inactive", "status": "static" }, "tcsd.service": { "name": "tcsd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "teamd@.service": { "name": "teamd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "timedatex.service": { "name": "timedatex.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "tuned.service": { "name": "tuned.service", "source": "systemd", "state": "running", "status": "enabled" }, "unbound-anchor.service": { "name": "unbound-anchor.service", "source": "systemd", "state": "stopped", "status": "static" }, "user-runtime-dir@.service": { "name": "user-runtime-dir@.service", "source": "systemd", "state": "unknown", "status": "static" }, "user-runtime-dir@0.service": { "name": "user-runtime-dir@0.service", "source": "systemd", "state": "stopped", "status": "active" }, "user@.service": { "name": "user@.service", "source": "systemd", "state": "unknown", "status": "static" }, "user@0.service": { "name": "user@0.service", "source": "systemd", "state": "running", "status": "active" }, "vdo-start-by-dev@.service": { "name": "vdo-start-by-dev@.service", "source": "systemd", "state": "unknown", "status": "static" }, "vdo.service": { "name": "vdo.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "ypbind.service": { "name": "ypbind.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "yppasswdd.service": { "name": "yppasswdd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ypserv.service": { "name": "ypserv.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ypxfrd.service": { "name": "ypxfrd.service", "source": "systemd", "state": "stopped", "status": "not-found" } } }, "changed": false } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 09:03:05 +0000 (0:00:02.770) 0:02:50.316 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 09:03:05 +0000 (0:00:00.057) 0:02:50.373 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 09:03:05 +0000 (0:00:00.022) 0:02:50.396 ********* ok: [/cache/centos-8.qcow2] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 09:03:06 +0000 (0:00:00.561) 0:02:50.957 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 09:03:06 +0000 (0:00:00.036) 0:02:50.993 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 09:03:06 +0000 (0:00:00.019) 0:02:51.013 ********* ok: [/cache/centos-8.qcow2] => { "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/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 09:03:06 +0000 (0:00:00.074) 0:02:51.088 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 09:03:06 +0000 (0:00:00.036) 0:02:51.124 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 09:03:06 +0000 (0:00:00.032) 0:02:51.157 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 09:03:06 +0000 (0:00:00.032) 0:02:51.189 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 09:03:06 +0000 (0:00:00.021) 0:02:51.210 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 09:03:06 +0000 (0:00:00.034) 0:02:51.245 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 09:03:06 +0000 (0:00:00.021) 0:02:51.266 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1658394065.9649138, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1643141385.117, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 135, "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": 1643141019.537, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "3147672035", "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/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 09:03:07 +0000 (0:00:00.519) 0:02:51.786 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 09:03:07 +0000 (0:00:00.023) 0:02:51.810 ********* ok: [/cache/centos-8.qcow2] META: role_complete for /cache/centos-8.qcow2 TASK [Mark tasks to be skipped] ************************************************ task path: /tmp/tmpa3egnbq5/tests/tests_create_lvm_pool_then_remove.yml:18 Thursday 21 July 2022 09:03:08 +0000 (0:00:01.010) 0:02:52.820 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_skip_checks": [ "blivet_available", "packages_installed", "service_facts" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpa3egnbq5/tests/tests_create_lvm_pool_then_remove.yml:25 Thursday 21 July 2022 09:03:08 +0000 (0:00:00.032) 0:02:52.852 ********* included: /tmp/tmpa3egnbq5/tests/get_unused_disk.yml for /cache/centos-8.qcow2 TASK [Find unused disks in the system] ***************************************** task path: /tmp/tmpa3egnbq5/tests/get_unused_disk.yml:2 Thursday 21 July 2022 09:03:08 +0000 (0:00:00.033) 0:02:52.886 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "disks": [ "sda" ] } TASK [Set unused_disks if necessary] ******************************************* task path: /tmp/tmpa3egnbq5/tests/get_unused_disk.yml:9 Thursday 21 July 2022 09:03:08 +0000 (0:00:00.532) 0:02:53.418 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "unused_disks": [ "sda" ] }, "changed": false } TASK [Exit playbook when there's not enough unused disks in the system] ******** task path: /tmp/tmpa3egnbq5/tests/get_unused_disk.yml:14 Thursday 21 July 2022 09:03:08 +0000 (0:00:00.038) 0:02:53.457 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Print unused disks] ****************************************************** task path: /tmp/tmpa3egnbq5/tests/get_unused_disk.yml:19 Thursday 21 July 2022 09:03:08 +0000 (0:00:00.040) 0:02:53.497 ********* ok: [/cache/centos-8.qcow2] => { "unused_disks": [ "sda" ] } TASK [Create two LVM logical volumes under volume group 'foo'] ***************** task path: /tmp/tmpa3egnbq5/tests/tests_create_lvm_pool_then_remove.yml:30 Thursday 21 July 2022 09:03:08 +0000 (0:00:00.036) 0:02:53.534 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 09:03:08 +0000 (0:00:00.041) 0:02:53.576 ********* included: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 09:03:08 +0000 (0:00:00.034) 0:02:53.610 ********* ok: [/cache/centos-8.qcow2] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 09:03:09 +0000 (0:00:00.524) 0:02:54.134 ********* skipping: [/cache/centos-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-8.qcow2] => (item=CentOS_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [/cache/centos-8.qcow2] => (item=CentOS_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 09:03:09 +0000 (0:00:00.102) 0:02:54.237 ********* ok: [/cache/centos-8.qcow2] => { "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/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 09:03:09 +0000 (0:00:00.031) 0:02:54.268 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 09:03:09 +0000 (0:00:00.071) 0:02:54.340 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 09:03:09 +0000 (0:00:00.045) 0:02:54.385 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 09:03:09 +0000 (0:00:00.018) 0:02:54.404 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 09:03:09 +0000 (0:00:00.025) 0:02:54.429 ********* ok: [/cache/centos-8.qcow2] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "5g" }, { "mount_point": "/opt/test2", "name": "test2", "size": "4g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 09:03:09 +0000 (0:00:00.070) 0:02:54.499 ********* ok: [/cache/centos-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 09:03:09 +0000 (0:00:00.064) 0:02:54.564 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 09:03:09 +0000 (0:00:00.028) 0:02:54.592 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 09:03:09 +0000 (0:00:00.028) 0:02:54.621 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 09:03:09 +0000 (0:00:00.065) 0:02:54.686 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 09:03:09 +0000 (0:00:00.034) 0:02:54.720 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 09:03:10 +0000 (0:00:00.056) 0:02:54.777 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 09:03:10 +0000 (0:00:00.021) 0:02:54.798 ********* changed: [/cache/centos-8.qcow2] => { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test2", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test2", "fs_type": "xfs" }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd", "/dev/mapper/foo-test1", "/dev/mapper/foo-test2" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/foo-test2", "state": "mounted" } ], "packages": [ "xfsprogs", "lvm2" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-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": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/foo-test2", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test2", "_raw_device": "/dev/mapper/foo-test2", "_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/test2", "name": "test2", "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/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 09:03:11 +0000 (0:00:01.829) 0:02:56.628 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 09:03:11 +0000 (0:00:00.037) 0:02:56.665 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 09:03:11 +0000 (0:00:00.021) 0:02:56.687 ********* ok: [/cache/centos-8.qcow2] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test2", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test2", "fs_type": "xfs" }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd", "/dev/mapper/foo-test1", "/dev/mapper/foo-test2" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/foo-test2", "state": "mounted" } ], "packages": [ "xfsprogs", "lvm2" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-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": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/foo-test2", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test2", "_raw_device": "/dev/mapper/foo-test2", "_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/test2", "name": "test2", "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/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 09:03:11 +0000 (0:00:00.039) 0:02:56.726 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-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": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/foo-test2", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test2", "_raw_device": "/dev/mapper/foo-test2", "_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/test2", "name": "test2", "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/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 09:03:12 +0000 (0:00:00.036) 0:02:56.762 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 09:03:12 +0000 (0:00:00.034) 0:02:56.797 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 09:03:12 +0000 (0:00:00.037) 0:02:56.835 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 09:03:13 +0000 (0:00:00.905) 0:02:57.741 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-8.qcow2] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-8.qcow2] => (item={'src': '/dev/mapper/foo-test2', 'path': '/opt/test2', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/foo-test2", "state": "mounted" }, "name": "/opt/test2", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test2" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 09:03:13 +0000 (0:00:00.965) 0:02:58.706 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 09:03:14 +0000 (0:00:00.620) 0:02:59.327 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1658394065.9649138, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1643141385.117, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 135, "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": 1643141019.537, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "3147672035", "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/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 09:03:14 +0000 (0:00:00.405) 0:02:59.732 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 09:03:15 +0000 (0:00:00.021) 0:02:59.753 ********* ok: [/cache/centos-8.qcow2] META: role_complete for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpa3egnbq5/tests/tests_create_lvm_pool_then_remove.yml:45 Thursday 21 July 2022 09:03:15 +0000 (0:00:00.956) 0:03:00.710 ********* included: /tmp/tmpa3egnbq5/tests/verify-role-results.yml for /cache/centos-8.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:1 Thursday 21 July 2022 09:03:16 +0000 (0:00:00.070) 0:03:00.781 ********* ok: [/cache/centos-8.qcow2] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-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": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/foo-test2", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test2", "_raw_device": "/dev/mapper/foo-test2", "_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/test2", "name": "test2", "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/tmpa3egnbq5/tests/verify-role-results.yml:6 Thursday 21 July 2022 09:03:16 +0000 (0:00:00.050) 0:03:00.831 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:14 Thursday 21 July 2022 09:03:16 +0000 (0:00:00.036) 0:03:00.867 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test1", "size": "5G", "type": "lvm", "uuid": "3a0964c4-a6eb-428a-bdd0-e8c0aea5f261" }, "/dev/mapper/foo-test2": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test2", "size": "4G", "type": "lvm", "uuid": "504cda8a-b9e2-403a-8373-71af09a9f0c6" }, "/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": "LVM2_member", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "va0ZBu-SvxH-iiVl-6rT0-RyNM-dl2I-pWfjDo" }, "/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-59-55-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "10G", "type": "partition", "uuid": "395b9844-e404-4857-afbb-c6edccaf72f3" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:19 Thursday 21 July 2022 09:03:16 +0000 (0:00:00.479) 0:03:01.346 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002974", "end": "2022-07-21 09:03:17.029241", "rc": 0, "start": "2022-07-21 09:03:17.026267" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jan 25 20:03:39 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=395b9844-e404-4857-afbb-c6edccaf72f3 / xfs defaults 0 0 /dev/mapper/foo-test1 /opt/test1 xfs defaults 0 0 /dev/mapper/foo-test2 /opt/test2 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:24 Thursday 21 July 2022 09:03:16 +0000 (0:00:00.371) 0:03:01.718 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002809", "end": "2022-07-21 09:03:17.401929", "failed_when_result": false, "rc": 0, "start": "2022-07-21 09:03:17.399120" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:33 Thursday 21 July 2022 09:03:17 +0000 (0:00:00.373) 0:03:02.092 ********* included: /tmp/tmpa3egnbq5/tests/test-verify-pool.yml for /cache/centos-8.qcow2 => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}, {'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test2', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test2', '_raw_device': '/dev/mapper/foo-test2', '_mount_id': '/dev/mapper/foo-test2', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-pool.yml:5 Thursday 21 July 2022 09:03:17 +0000 (0:00:00.060) 0:03:02.153 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool.yml:18 Thursday 21 July 2022 09:03:17 +0000 (0:00:00.033) 0:03:02.186 ********* included: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml for /cache/centos-8.qcow2 => (item=members) included: /tmp/tmpa3egnbq5/tests/test-verify-pool-volumes.yml for /cache/centos-8.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 09:03:17 +0000 (0:00:00.046) 0:03:02.233 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 09:03:17 +0000 (0:00:00.054) 0:03:02.288 ********* ok: [/cache/centos-8.qcow2] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 09:03:18 +0000 (0:00:00.508) 0:03:02.796 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 09:03:18 +0000 (0:00:00.047) 0:03:02.844 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 09:03:18 +0000 (0:00:00.046) 0:03:02.890 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 09:03:18 +0000 (0:00:00.050) 0:03:02.941 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 09:03:18 +0000 (0:00:00.039) 0:03:02.981 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 09:03:18 +0000 (0:00:00.049) 0:03:03.030 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 09:03:18 +0000 (0:00:00.024) 0:03:03.055 ********* ok: [/cache/centos-8.qcow2] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 09:03:18 +0000 (0:00:00.069) 0:03:03.124 ********* included: /tmp/tmpa3egnbq5/tests/verify-pool-md.yml for /cache/centos-8.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-md.yml:6 Thursday 21 July 2022 09:03:18 +0000 (0:00:00.042) 0:03:03.167 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-md.yml:12 Thursday 21 July 2022 09:03:18 +0000 (0:00:00.026) 0:03:03.194 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-md.yml:16 Thursday 21 July 2022 09:03:18 +0000 (0:00:00.027) 0:03:03.222 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-md.yml:20 Thursday 21 July 2022 09:03:18 +0000 (0:00:00.062) 0:03:03.285 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-md.yml:24 Thursday 21 July 2022 09:03:18 +0000 (0:00:00.023) 0:03:03.308 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-md.yml:30 Thursday 21 July 2022 09:03:18 +0000 (0:00:00.025) 0:03:03.333 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpa3egnbq5/tests/verify-pool-md.yml:36 Thursday 21 July 2022 09:03:18 +0000 (0:00:00.025) 0:03:03.359 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-md.yml:44 Thursday 21 July 2022 09:03:18 +0000 (0:00:00.026) 0:03:03.385 ********* ok: [/cache/centos-8.qcow2] => { "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/tmpa3egnbq5/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 09:03:18 +0000 (0:00:00.035) 0:03:03.420 ********* included: /tmp/tmpa3egnbq5/tests/verify-pool-members-lvmraid.yml for /cache/centos-8.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 09:03:18 +0000 (0:00:00.045) 0:03:03.466 ********* included: /tmp/tmpa3egnbq5/tests/verify-pool-member-lvmraid.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/tmpa3egnbq5/tests/verify-pool-member-lvmraid.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test2', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test2', '_raw_device': '/dev/mapper/foo-test2', '_mount_id': '/dev/mapper/foo-test2', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 09:03:18 +0000 (0:00:00.048) 0:03:03.514 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 09:03:18 +0000 (0:00:00.028) 0:03:03.543 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 09:03:18 +0000 (0:00:00.029) 0:03:03.573 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 09:03:18 +0000 (0:00:00.026) 0:03:03.599 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 09:03:18 +0000 (0:00:00.028) 0:03:03.627 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 09:03:18 +0000 (0:00:00.028) 0:03:03.656 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 09:03:18 +0000 (0:00:00.029) 0:03:03.685 ********* included: /tmp/tmpa3egnbq5/tests/verify-pool-members-thin.yml for /cache/centos-8.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 09:03:18 +0000 (0:00:00.044) 0:03:03.730 ********* included: /tmp/tmpa3egnbq5/tests/verify-pool-member-thin.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/tmpa3egnbq5/tests/verify-pool-member-thin.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test2', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test2', '_raw_device': '/dev/mapper/foo-test2', '_mount_id': '/dev/mapper/foo-test2', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 09:03:19 +0000 (0:00:00.054) 0:03:03.784 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 09:03:19 +0000 (0:00:00.025) 0:03:03.810 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 09:03:19 +0000 (0:00:00.023) 0:03:03.834 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 09:03:19 +0000 (0:00:00.027) 0:03:03.861 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 09:03:19 +0000 (0:00:00.023) 0:03:03.885 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 09:03:19 +0000 (0:00:00.021) 0:03:03.906 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 09:03:19 +0000 (0:00:00.021) 0:03:03.928 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 09:03:19 +0000 (0:00:00.025) 0:03:03.954 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 09:03:19 +0000 (0:00:00.024) 0:03:03.978 ********* included: /tmp/tmpa3egnbq5/tests/verify-pool-members-encryption.yml for /cache/centos-8.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 09:03:19 +0000 (0:00:00.046) 0:03:04.024 ********* ok: [/cache/centos-8.qcow2] => { "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/tmpa3egnbq5/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 09:03:19 +0000 (0:00:00.051) 0:03:04.076 ********* skipping: [/cache/centos-8.qcow2] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "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/tmpa3egnbq5/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 09:03:19 +0000 (0:00:00.028) 0:03:04.104 ********* included: /tmp/tmpa3egnbq5/tests/verify-pool-member-crypttab.yml for /cache/centos-8.qcow2 => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 09:03:19 +0000 (0:00:00.044) 0:03:04.149 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 09:03:19 +0000 (0:00:00.048) 0:03:04.198 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-crypttab.yml:11 Thursday 21 July 2022 09:03:19 +0000 (0:00:00.049) 0:03:04.248 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 09:03:19 +0000 (0:00:00.037) 0:03:04.285 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-crypttab.yml:23 Thursday 21 July 2022 09:03:19 +0000 (0:00:00.040) 0:03:04.326 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 09:03:19 +0000 (0:00:00.038) 0:03:04.365 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 09:03:19 +0000 (0:00:00.070) 0:03:04.435 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 09:03:19 +0000 (0:00:00.107) 0:03:04.542 ********* included: /tmp/tmpa3egnbq5/tests/verify-pool-members-vdo.yml for /cache/centos-8.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 09:03:19 +0000 (0:00:00.047) 0:03:04.590 ********* included: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test2', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test2', '_raw_device': '/dev/mapper/foo-test2', '_mount_id': '/dev/mapper/foo-test2', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 09:03:19 +0000 (0:00:00.055) 0:03:04.645 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 09:03:19 +0000 (0:00:00.023) 0:03:04.669 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 09:03:19 +0000 (0:00:00.022) 0:03:04.691 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 09:03:19 +0000 (0:00:00.023) 0:03:04.715 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 09:03:20 +0000 (0:00:00.022) 0:03:04.738 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 09:03:20 +0000 (0:00:00.025) 0:03:04.763 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 09:03:20 +0000 (0:00:00.023) 0:03:04.787 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 09:03:20 +0000 (0:00:00.024) 0:03:04.812 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 09:03:20 +0000 (0:00:00.033) 0:03:04.845 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 09:03:20 +0000 (0:00:00.024) 0:03:04.870 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 09:03:20 +0000 (0:00:00.024) 0:03:04.895 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 09:03:20 +0000 (0:00:00.026) 0:03:04.922 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 09:03:20 +0000 (0:00:00.023) 0:03:04.945 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 09:03:20 +0000 (0:00:00.022) 0:03:04.968 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 09:03:20 +0000 (0:00:00.022) 0:03:04.991 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 09:03:20 +0000 (0:00:00.023) 0:03:05.014 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 09:03:20 +0000 (0:00:00.031) 0:03:05.046 ********* ok: [/cache/centos-8.qcow2] => { "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/tmpa3egnbq5/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 09:03:20 +0000 (0:00:00.043) 0:03:05.089 ********* included: /tmp/tmpa3egnbq5/tests/test-verify-volume.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/tmpa3egnbq5/tests/test-verify-volume.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test2', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test2', '_raw_device': '/dev/mapper/foo-test2', '_mount_id': '/dev/mapper/foo-test2', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume.yml:2 Thursday 21 July 2022 09:03:20 +0000 (0:00:00.048) 0:03:05.137 ********* ok: [/cache/centos-8.qcow2] => { "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/tmpa3egnbq5/tests/test-verify-volume.yml:10 Thursday 21 July 2022 09:03:20 +0000 (0:00:00.046) 0:03:05.183 ********* included: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml for /cache/centos-8.qcow2 => (item=mount) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-fstab.yml for /cache/centos-8.qcow2 => (item=fstab) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-fs.yml for /cache/centos-8.qcow2 => (item=fs) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml for /cache/centos-8.qcow2 => (item=device) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml for /cache/centos-8.qcow2 => (item=encryption) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml for /cache/centos-8.qcow2 => (item=md) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml for /cache/centos-8.qcow2 => (item=size) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml for /cache/centos-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 09:03:20 +0000 (0:00:00.081) 0:03:05.264 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 09:03:20 +0000 (0:00:00.042) 0:03:05.307 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 1290774, "block_size": 4096, "block_total": 1308160, "block_used": 17386, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 2621437, "inode_total": 2621440, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 5287010304, "size_total": 5358223360, "uuid": "3a0964c4-a6eb-428a-bdd0-e8c0aea5f261" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 1290774, "block_size": 4096, "block_total": 1308160, "block_used": 17386, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 2621437, "inode_total": 2621440, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 5287010304, "size_total": 5358223360, "uuid": "3a0964c4-a6eb-428a-bdd0-e8c0aea5f261" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 09:03:20 +0000 (0:00:00.056) 0:03:05.364 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 09:03:20 +0000 (0:00:00.052) 0:03:05.416 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 09:03:20 +0000 (0:00:00.049) 0:03:05.465 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 09:03:20 +0000 (0:00:00.047) 0:03:05.513 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 09:03:20 +0000 (0:00:00.022) 0:03:05.536 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 09:03:20 +0000 (0:00:00.022) 0:03:05.558 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 09:03:20 +0000 (0:00:00.023) 0:03:05.581 ********* ok: [/cache/centos-8.qcow2] => { "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/tmpa3egnbq5/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 09:03:20 +0000 (0:00:00.031) 0:03:05.613 ********* ok: [/cache/centos-8.qcow2] => { "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/tmpa3egnbq5/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 09:03:20 +0000 (0:00:00.094) 0:03:05.707 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 09:03:21 +0000 (0:00:00.117) 0:03:05.825 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 09:03:21 +0000 (0:00:00.049) 0:03:05.875 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 09:03:21 +0000 (0:00:00.034) 0:03:05.909 ********* ok: [/cache/centos-8.qcow2] => { "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/tmpa3egnbq5/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 09:03:21 +0000 (0:00:00.034) 0:03:05.944 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 09:03:21 +0000 (0:00:00.034) 0:03:05.979 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 09:03:21 +0000 (0:00:00.038) 0:03:06.017 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1658394191.8799138, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658394191.8799138, "dev": 6, "device_type": 64769, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 97101, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658394191.8799138, "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/tmpa3egnbq5/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 09:03:21 +0000 (0:00:00.401) 0:03:06.418 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 09:03:21 +0000 (0:00:00.041) 0:03:06.460 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 09:03:21 +0000 (0:00:00.040) 0:03:06.500 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 09:03:21 +0000 (0:00:00.041) 0:03:06.541 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 09:03:21 +0000 (0:00:00.025) 0:03:06.567 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 09:03:21 +0000 (0:00:00.041) 0:03:06.608 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 09:03:21 +0000 (0:00:00.024) 0:03:06.633 ********* changed: [/cache/centos-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: cryptsetup-libs-2.3.7-2.el8.x86_64", "Installed: cryptsetup-2.3.7-2.el8.x86_64", "Removed: cryptsetup-libs-2.3.3-4.el8.x86_64" ] } TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 09:03:25 +0000 (0:00:03.534) 0:03:10.168 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 09:03:25 +0000 (0:00:00.025) 0:03:10.193 ********* skipping: [/cache/centos-8.qcow2] => { "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/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 09:03:25 +0000 (0:00:00.024) 0:03:10.217 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 09:03:25 +0000 (0:00:00.054) 0:03:10.272 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 09:03:25 +0000 (0:00:00.025) 0:03:10.298 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 09:03:25 +0000 (0:00:00.022) 0:03:10.321 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 09:03:25 +0000 (0:00:00.022) 0:03:10.343 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 09:03:25 +0000 (0:00:00.024) 0:03:10.368 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 09:03:25 +0000 (0:00:00.024) 0:03:10.392 ********* ok: [/cache/centos-8.qcow2] => { "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/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 09:03:25 +0000 (0:00:00.052) 0:03:10.444 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 09:03:25 +0000 (0:00:00.051) 0:03:10.495 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 09:03:25 +0000 (0:00:00.041) 0:03:10.537 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 09:03:25 +0000 (0:00:00.040) 0:03:10.577 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 09:03:25 +0000 (0:00:00.038) 0:03:10.615 ********* ok: [/cache/centos-8.qcow2] => { "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/tmpa3egnbq5/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 09:03:25 +0000 (0:00:00.037) 0:03:10.652 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 09:03:25 +0000 (0:00:00.041) 0:03:10.693 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 09:03:25 +0000 (0:00:00.037) 0:03:10.731 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 09:03:26 +0000 (0:00:00.035) 0:03:10.766 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 09:03:26 +0000 (0:00:00.034) 0:03:10.801 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 09:03:26 +0000 (0:00:00.039) 0:03:10.841 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 09:03:26 +0000 (0:00:00.038) 0:03:10.880 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 09:03:26 +0000 (0:00:00.039) 0:03:10.919 ********* ok: [/cache/centos-8.qcow2] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 09:03:26 +0000 (0:00:00.521) 0:03:11.441 ********* ok: [/cache/centos-8.qcow2] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 09:03:27 +0000 (0:00:00.417) 0:03:11.858 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_expected_size": "5368709120" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 09:03:27 +0000 (0:00:00.053) 0:03:11.911 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_expected_size": "5368709120" } TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 09:03:27 +0000 (0:00:00.037) 0:03:11.949 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 09:03:27 +0000 (0:00:00.037) 0:03:11.986 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 09:03:27 +0000 (0:00:00.047) 0:03:12.033 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 09:03:27 +0000 (0:00:00.039) 0:03:12.073 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 09:03:27 +0000 (0:00:00.044) 0:03:12.117 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 09:03:27 +0000 (0:00:00.044) 0:03:12.162 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_actual_size": { "bytes": 5368709120, "changed": false, "failed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 09:03:27 +0000 (0:00:00.035) 0:03:12.197 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_expected_size": "5368709120" } TASK [assert] ****************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 09:03:27 +0000 (0:00:00.036) 0:03:12.233 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 09:03:27 +0000 (0:00:00.057) 0:03:12.290 ********* ok: [/cache/centos-8.qcow2] => { "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.037547", "end": "2022-07-21 09:03:28.022808", "rc": 0, "start": "2022-07-21 09:03:27.985261" } 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/tmpa3egnbq5/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 09:03:27 +0000 (0:00:00.427) 0:03:12.717 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 09:03:28 +0000 (0:00:00.050) 0:03:12.768 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 09:03:28 +0000 (0:00:00.050) 0:03:12.818 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 09:03:28 +0000 (0:00:00.039) 0:03:12.857 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 09:03:28 +0000 (0:00:00.040) 0:03:12.898 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 09:03:28 +0000 (0:00:00.038) 0:03:12.936 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume.yml:16 Thursday 21 July 2022 09:03:28 +0000 (0:00:00.037) 0:03:12.974 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume.yml:2 Thursday 21 July 2022 09:03:28 +0000 (0:00:00.034) 0:03:13.009 ********* ok: [/cache/centos-8.qcow2] => { "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/tmpa3egnbq5/tests/test-verify-volume.yml:10 Thursday 21 July 2022 09:03:28 +0000 (0:00:00.050) 0:03:13.059 ********* included: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml for /cache/centos-8.qcow2 => (item=mount) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-fstab.yml for /cache/centos-8.qcow2 => (item=fstab) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-fs.yml for /cache/centos-8.qcow2 => (item=fs) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml for /cache/centos-8.qcow2 => (item=device) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml for /cache/centos-8.qcow2 => (item=encryption) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml for /cache/centos-8.qcow2 => (item=md) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml for /cache/centos-8.qcow2 => (item=size) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml for /cache/centos-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 09:03:28 +0000 (0:00:00.076) 0:03:13.135 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test2" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 09:03:28 +0000 (0:00:00.041) 0:03:13.177 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 1030454, "block_size": 4096, "block_total": 1046016, "block_used": 15562, "device": "/dev/mapper/foo-test2", "fstype": "xfs", "inode_available": 2097149, "inode_total": 2097152, "inode_used": 3, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 4220739584, "size_total": 4284481536, "uuid": "504cda8a-b9e2-403a-8373-71af09a9f0c6" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 1030454, "block_size": 4096, "block_total": 1046016, "block_used": 15562, "device": "/dev/mapper/foo-test2", "fstype": "xfs", "inode_available": 2097149, "inode_total": 2097152, "inode_used": 3, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 4220739584, "size_total": 4284481536, "uuid": "504cda8a-b9e2-403a-8373-71af09a9f0c6" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 09:03:28 +0000 (0:00:00.056) 0:03:13.233 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 09:03:28 +0000 (0:00:00.052) 0:03:13.286 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 09:03:28 +0000 (0:00:00.050) 0:03:13.336 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 09:03:28 +0000 (0:00:00.049) 0:03:13.386 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 09:03:28 +0000 (0:00:00.023) 0:03:13.409 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 09:03:28 +0000 (0:00:00.022) 0:03:13.431 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 09:03:28 +0000 (0:00:00.021) 0:03:13.452 ********* ok: [/cache/centos-8.qcow2] => { "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/tmpa3egnbq5/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 09:03:28 +0000 (0:00:00.065) 0:03:13.518 ********* ok: [/cache/centos-8.qcow2] => { "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-test2 " ], "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/tmpa3egnbq5/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 09:03:28 +0000 (0:00:00.120) 0:03:13.639 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 09:03:28 +0000 (0:00:00.050) 0:03:13.689 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 09:03:29 +0000 (0:00:00.050) 0:03:13.740 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 09:03:29 +0000 (0:00:00.036) 0:03:13.777 ********* ok: [/cache/centos-8.qcow2] => { "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/tmpa3egnbq5/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 09:03:29 +0000 (0:00:00.031) 0:03:13.808 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 09:03:29 +0000 (0:00:00.039) 0:03:13.848 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 09:03:29 +0000 (0:00:00.041) 0:03:13.889 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1658394191.6779137, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658394191.6779137, "dev": 6, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 97026, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658394191.6779137, "nlink": 1, "path": "/dev/mapper/foo-test2", "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/tmpa3egnbq5/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 09:03:29 +0000 (0:00:00.393) 0:03:14.283 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 09:03:29 +0000 (0:00:00.041) 0:03:14.324 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 09:03:29 +0000 (0:00:00.041) 0:03:14.366 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 09:03:29 +0000 (0:00:00.040) 0:03:14.406 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 09:03:29 +0000 (0:00:00.025) 0:03:14.432 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 09:03:29 +0000 (0:00:00.037) 0:03:14.469 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 09:03:29 +0000 (0:00:00.022) 0:03:14.491 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 09:03:31 +0000 (0:00:01.920) 0:03:16.412 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 09:03:31 +0000 (0:00:00.024) 0:03:16.436 ********* skipping: [/cache/centos-8.qcow2] => { "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/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 09:03:31 +0000 (0:00:00.023) 0:03:16.459 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 09:03:31 +0000 (0:00:00.052) 0:03:16.512 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 09:03:31 +0000 (0:00:00.023) 0:03:16.536 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 09:03:31 +0000 (0:00:00.022) 0:03:16.559 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 09:03:31 +0000 (0:00:00.022) 0:03:16.581 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 09:03:31 +0000 (0:00:00.027) 0:03:16.609 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 09:03:31 +0000 (0:00:00.024) 0:03:16.633 ********* ok: [/cache/centos-8.qcow2] => { "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/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 09:03:31 +0000 (0:00:00.078) 0:03:16.711 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 09:03:32 +0000 (0:00:00.047) 0:03:16.759 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 09:03:32 +0000 (0:00:00.035) 0:03:16.795 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 09:03:32 +0000 (0:00:00.037) 0:03:16.833 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 09:03:32 +0000 (0:00:00.036) 0:03:16.870 ********* ok: [/cache/centos-8.qcow2] => { "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/tmpa3egnbq5/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 09:03:32 +0000 (0:00:00.064) 0:03:16.935 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 09:03:32 +0000 (0:00:00.037) 0:03:16.972 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 09:03:32 +0000 (0:00:00.038) 0:03:17.010 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 09:03:32 +0000 (0:00:00.034) 0:03:17.045 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 09:03:32 +0000 (0:00:00.087) 0:03:17.133 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 09:03:32 +0000 (0:00:00.039) 0:03:17.172 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 09:03:32 +0000 (0:00:00.039) 0:03:17.211 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 09:03:32 +0000 (0:00:00.035) 0:03:17.247 ********* ok: [/cache/centos-8.qcow2] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 09:03:32 +0000 (0:00:00.406) 0:03:17.654 ********* ok: [/cache/centos-8.qcow2] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 09:03:33 +0000 (0:00:00.410) 0:03:18.064 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_expected_size": "4294967296" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 09:03:33 +0000 (0:00:00.050) 0:03:18.115 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_expected_size": "4294967296" } TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 09:03:33 +0000 (0:00:00.034) 0:03:18.149 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 09:03:33 +0000 (0:00:00.036) 0:03:18.186 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 09:03:33 +0000 (0:00:00.036) 0:03:18.223 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 09:03:33 +0000 (0:00:00.040) 0:03:18.264 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 09:03:33 +0000 (0:00:00.036) 0:03:18.301 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 09:03:33 +0000 (0:00:00.037) 0:03:18.338 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_actual_size": { "bytes": 4294967296, "changed": false, "failed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 09:03:33 +0000 (0:00:00.040) 0:03:18.378 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_expected_size": "4294967296" } TASK [assert] ****************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 09:03:33 +0000 (0:00:00.040) 0:03:18.419 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 09:03:33 +0000 (0:00:00.053) 0:03:18.472 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test2" ], "delta": "0:00:00.038771", "end": "2022-07-21 09:03:34.222772", "rc": 0, "start": "2022-07-21 09:03:34.184001" } STDOUT: LVM2_LV_NAME=test2 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 09:03:34 +0000 (0:00:00.452) 0:03:18.924 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 09:03:34 +0000 (0:00:00.054) 0:03:18.979 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 09:03:34 +0000 (0:00:00.056) 0:03:19.036 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 09:03:34 +0000 (0:00:00.040) 0:03:19.076 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 09:03:34 +0000 (0:00:00.039) 0:03:19.116 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 09:03:34 +0000 (0:00:00.039) 0:03:19.155 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume.yml:16 Thursday 21 July 2022 09:03:34 +0000 (0:00:00.035) 0:03:19.190 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:43 Thursday 21 July 2022 09:03:34 +0000 (0:00:00.032) 0:03:19.222 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:53 Thursday 21 July 2022 09:03:34 +0000 (0:00:00.020) 0:03:19.243 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Remove one of the LVM logical volumes in 'foo' created above] ************ task path: /tmp/tmpa3egnbq5/tests/tests_create_lvm_pool_then_remove.yml:47 Thursday 21 July 2022 09:03:34 +0000 (0:00:00.030) 0:03:19.274 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 09:03:34 +0000 (0:00:00.047) 0:03:19.321 ********* included: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 09:03:34 +0000 (0:00:00.033) 0:03:19.354 ********* ok: [/cache/centos-8.qcow2] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 09:03:35 +0000 (0:00:00.567) 0:03:19.922 ********* skipping: [/cache/centos-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-8.qcow2] => (item=CentOS_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [/cache/centos-8.qcow2] => (item=CentOS_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 09:03:35 +0000 (0:00:00.136) 0:03:20.058 ********* ok: [/cache/centos-8.qcow2] => { "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/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 09:03:35 +0000 (0:00:00.032) 0:03:20.090 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 09:03:35 +0000 (0:00:00.032) 0:03:20.123 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 09:03:35 +0000 (0:00:00.050) 0:03:20.173 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 09:03:35 +0000 (0:00:00.022) 0:03:20.195 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 09:03:35 +0000 (0:00:00.027) 0:03:20.223 ********* ok: [/cache/centos-8.qcow2] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "state": "present", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "5g" }, { "mount_point": "/opt/test2", "name": "test2", "size": "4g", "state": "absent" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 09:03:35 +0000 (0:00:00.038) 0:03:20.261 ********* ok: [/cache/centos-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 09:03:35 +0000 (0:00:00.033) 0:03:20.295 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 09:03:35 +0000 (0:00:00.039) 0:03:20.335 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 09:03:35 +0000 (0:00:00.038) 0:03:20.373 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 09:03:35 +0000 (0:00:00.033) 0:03:20.407 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 09:03:35 +0000 (0:00:00.032) 0:03:20.439 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 09:03:35 +0000 (0:00:00.061) 0:03:20.501 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 09:03:35 +0000 (0:00:00.023) 0:03:20.525 ********* changed: [/cache/centos-8.qcow2] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test2", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/foo-test2", "fs_type": null } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test2", "src": "/dev/mapper/foo-test2", "state": "absent" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "lvm2", "xfsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-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": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/foo-test2", "_mount_id": "/dev/mapper/foo-test2", "_raw_device": "/dev/mapper/foo-test2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "state": "absent", "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/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 09:03:37 +0000 (0:00:01.802) 0:03:22.327 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 09:03:37 +0000 (0:00:00.037) 0:03:22.365 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 09:03:37 +0000 (0:00:00.021) 0:03:22.386 ********* ok: [/cache/centos-8.qcow2] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test2", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/foo-test2", "fs_type": null } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test2", "src": "/dev/mapper/foo-test2", "state": "absent" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "lvm2", "xfsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-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": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/foo-test2", "_mount_id": "/dev/mapper/foo-test2", "_raw_device": "/dev/mapper/foo-test2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "state": "absent", "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/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 09:03:37 +0000 (0:00:00.040) 0:03:22.426 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-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": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/foo-test2", "_mount_id": "/dev/mapper/foo-test2", "_raw_device": "/dev/mapper/foo-test2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "state": "absent", "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/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 09:03:37 +0000 (0:00:00.040) 0:03:22.467 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 09:03:37 +0000 (0:00:00.038) 0:03:22.505 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-8.qcow2] => (item={'src': '/dev/mapper/foo-test2', 'path': '/opt/test2', 'state': 'absent', 'fstype': 'xfs'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "fstype": "xfs", "path": "/opt/test2", "src": "/dev/mapper/foo-test2", "state": "absent" }, "name": "/opt/test2", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test2" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 09:03:38 +0000 (0:00:00.474) 0:03:22.980 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 09:03:38 +0000 (0:00:00.646) 0:03:23.627 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/centos-8.qcow2] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "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/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 09:03:39 +0000 (0:00:00.444) 0:03:24.072 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 09:03:40 +0000 (0:00:00.684) 0:03:24.757 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1658394065.9649138, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1643141385.117, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 135, "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": 1643141019.537, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "3147672035", "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/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 09:03:40 +0000 (0:00:00.393) 0:03:25.150 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 09:03:40 +0000 (0:00:00.022) 0:03:25.172 ********* ok: [/cache/centos-8.qcow2] META: role_complete for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpa3egnbq5/tests/tests_create_lvm_pool_then_remove.yml:64 Thursday 21 July 2022 09:03:41 +0000 (0:00:00.989) 0:03:26.162 ********* included: /tmp/tmpa3egnbq5/tests/verify-role-results.yml for /cache/centos-8.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:1 Thursday 21 July 2022 09:03:41 +0000 (0:00:00.042) 0:03:26.205 ********* ok: [/cache/centos-8.qcow2] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-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": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/foo-test2", "_mount_id": "/dev/mapper/foo-test2", "_raw_device": "/dev/mapper/foo-test2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "state": "absent", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:6 Thursday 21 July 2022 09:03:41 +0000 (0:00:00.050) 0:03:26.255 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:14 Thursday 21 July 2022 09:03:41 +0000 (0:00:00.034) 0:03:26.289 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test1", "size": "5G", "type": "lvm", "uuid": "3a0964c4-a6eb-428a-bdd0-e8c0aea5f261" }, "/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": "LVM2_member", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "va0ZBu-SvxH-iiVl-6rT0-RyNM-dl2I-pWfjDo" }, "/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-59-55-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "10G", "type": "partition", "uuid": "395b9844-e404-4857-afbb-c6edccaf72f3" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:19 Thursday 21 July 2022 09:03:41 +0000 (0:00:00.380) 0:03:26.670 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003222", "end": "2022-07-21 09:03:42.362194", "rc": 0, "start": "2022-07-21 09:03:42.358972" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jan 25 20:03:39 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=395b9844-e404-4857-afbb-c6edccaf72f3 / xfs defaults 0 0 /dev/mapper/foo-test1 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:24 Thursday 21 July 2022 09:03:42 +0000 (0:00:00.385) 0:03:27.056 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003735", "end": "2022-07-21 09:03:42.748570", "failed_when_result": false, "rc": 0, "start": "2022-07-21 09:03:42.744835" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:33 Thursday 21 July 2022 09:03:42 +0000 (0:00:00.388) 0:03:27.444 ********* included: /tmp/tmpa3egnbq5/tests/test-verify-pool.yml for /cache/centos-8.qcow2 => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}, {'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test2', 'raid_level': None, 'size': '4g', 'state': 'absent', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test2', '_raw_device': '/dev/mapper/foo-test2', '_mount_id': '/dev/mapper/foo-test2'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-pool.yml:5 Thursday 21 July 2022 09:03:42 +0000 (0:00:00.060) 0:03:27.505 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool.yml:18 Thursday 21 July 2022 09:03:42 +0000 (0:00:00.034) 0:03:27.539 ********* included: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml for /cache/centos-8.qcow2 => (item=members) included: /tmp/tmpa3egnbq5/tests/test-verify-pool-volumes.yml for /cache/centos-8.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 09:03:42 +0000 (0:00:00.047) 0:03:27.587 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 09:03:42 +0000 (0:00:00.085) 0:03:27.673 ********* ok: [/cache/centos-8.qcow2] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 09:03:43 +0000 (0:00:00.383) 0:03:28.057 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 09:03:43 +0000 (0:00:00.085) 0:03:28.142 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 09:03:43 +0000 (0:00:00.083) 0:03:28.225 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 09:03:43 +0000 (0:00:00.048) 0:03:28.274 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 09:03:43 +0000 (0:00:00.072) 0:03:28.347 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 09:03:43 +0000 (0:00:00.085) 0:03:28.433 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 09:03:43 +0000 (0:00:00.056) 0:03:28.489 ********* ok: [/cache/centos-8.qcow2] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 09:03:43 +0000 (0:00:00.046) 0:03:28.536 ********* included: /tmp/tmpa3egnbq5/tests/verify-pool-md.yml for /cache/centos-8.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-md.yml:6 Thursday 21 July 2022 09:03:43 +0000 (0:00:00.046) 0:03:28.582 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-md.yml:12 Thursday 21 July 2022 09:03:43 +0000 (0:00:00.026) 0:03:28.608 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-md.yml:16 Thursday 21 July 2022 09:03:43 +0000 (0:00:00.023) 0:03:28.632 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-md.yml:20 Thursday 21 July 2022 09:03:43 +0000 (0:00:00.023) 0:03:28.656 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-md.yml:24 Thursday 21 July 2022 09:03:43 +0000 (0:00:00.023) 0:03:28.680 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-md.yml:30 Thursday 21 July 2022 09:03:43 +0000 (0:00:00.024) 0:03:28.704 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpa3egnbq5/tests/verify-pool-md.yml:36 Thursday 21 July 2022 09:03:43 +0000 (0:00:00.024) 0:03:28.728 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-md.yml:44 Thursday 21 July 2022 09:03:44 +0000 (0:00:00.022) 0:03:28.751 ********* ok: [/cache/centos-8.qcow2] => { "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/tmpa3egnbq5/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 09:03:44 +0000 (0:00:00.038) 0:03:28.790 ********* included: /tmp/tmpa3egnbq5/tests/verify-pool-members-lvmraid.yml for /cache/centos-8.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 09:03:44 +0000 (0:00:00.042) 0:03:28.832 ********* included: /tmp/tmpa3egnbq5/tests/verify-pool-member-lvmraid.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/tmpa3egnbq5/tests/verify-pool-member-lvmraid.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test2', 'raid_level': None, 'size': '4g', 'state': 'absent', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test2', '_raw_device': '/dev/mapper/foo-test2', '_mount_id': '/dev/mapper/foo-test2'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 09:03:44 +0000 (0:00:00.052) 0:03:28.884 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 09:03:44 +0000 (0:00:00.027) 0:03:28.911 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 09:03:44 +0000 (0:00:00.025) 0:03:28.937 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 09:03:44 +0000 (0:00:00.027) 0:03:28.964 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 09:03:44 +0000 (0:00:00.030) 0:03:28.995 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 09:03:44 +0000 (0:00:00.028) 0:03:29.024 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 09:03:44 +0000 (0:00:00.028) 0:03:29.052 ********* included: /tmp/tmpa3egnbq5/tests/verify-pool-members-thin.yml for /cache/centos-8.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 09:03:44 +0000 (0:00:00.044) 0:03:29.096 ********* included: /tmp/tmpa3egnbq5/tests/verify-pool-member-thin.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/tmpa3egnbq5/tests/verify-pool-member-thin.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test2', 'raid_level': None, 'size': '4g', 'state': 'absent', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test2', '_raw_device': '/dev/mapper/foo-test2', '_mount_id': '/dev/mapper/foo-test2'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 09:03:44 +0000 (0:00:00.051) 0:03:29.148 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 09:03:44 +0000 (0:00:00.023) 0:03:29.171 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 09:03:44 +0000 (0:00:00.024) 0:03:29.195 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 09:03:44 +0000 (0:00:00.022) 0:03:29.218 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 09:03:44 +0000 (0:00:00.023) 0:03:29.241 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 09:03:44 +0000 (0:00:00.022) 0:03:29.264 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 09:03:44 +0000 (0:00:00.022) 0:03:29.287 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 09:03:44 +0000 (0:00:00.023) 0:03:29.311 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 09:03:44 +0000 (0:00:00.022) 0:03:29.334 ********* included: /tmp/tmpa3egnbq5/tests/verify-pool-members-encryption.yml for /cache/centos-8.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 09:03:44 +0000 (0:00:00.045) 0:03:29.379 ********* ok: [/cache/centos-8.qcow2] => { "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/tmpa3egnbq5/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 09:03:44 +0000 (0:00:00.047) 0:03:29.426 ********* skipping: [/cache/centos-8.qcow2] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "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/tmpa3egnbq5/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 09:03:44 +0000 (0:00:00.027) 0:03:29.454 ********* included: /tmp/tmpa3egnbq5/tests/verify-pool-member-crypttab.yml for /cache/centos-8.qcow2 => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 09:03:44 +0000 (0:00:00.042) 0:03:29.497 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 09:03:44 +0000 (0:00:00.084) 0:03:29.581 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-crypttab.yml:11 Thursday 21 July 2022 09:03:44 +0000 (0:00:00.081) 0:03:29.662 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 09:03:45 +0000 (0:00:00.097) 0:03:29.760 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-crypttab.yml:23 Thursday 21 July 2022 09:03:45 +0000 (0:00:00.037) 0:03:29.797 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 09:03:45 +0000 (0:00:00.035) 0:03:29.832 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 09:03:45 +0000 (0:00:00.036) 0:03:29.869 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 09:03:45 +0000 (0:00:00.034) 0:03:29.904 ********* included: /tmp/tmpa3egnbq5/tests/verify-pool-members-vdo.yml for /cache/centos-8.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 09:03:45 +0000 (0:00:00.048) 0:03:29.952 ********* included: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test2', 'raid_level': None, 'size': '4g', 'state': 'absent', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test2', '_raw_device': '/dev/mapper/foo-test2', '_mount_id': '/dev/mapper/foo-test2'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 09:03:45 +0000 (0:00:00.067) 0:03:30.019 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 09:03:45 +0000 (0:00:00.023) 0:03:30.043 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 09:03:45 +0000 (0:00:00.026) 0:03:30.069 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 09:03:45 +0000 (0:00:00.024) 0:03:30.094 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 09:03:45 +0000 (0:00:00.024) 0:03:30.118 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 09:03:45 +0000 (0:00:00.023) 0:03:30.141 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 09:03:45 +0000 (0:00:00.032) 0:03:30.173 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 09:03:45 +0000 (0:00:00.029) 0:03:30.203 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 09:03:45 +0000 (0:00:00.035) 0:03:30.238 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 09:03:45 +0000 (0:00:00.026) 0:03:30.264 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 09:03:45 +0000 (0:00:00.027) 0:03:30.292 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 09:03:45 +0000 (0:00:00.025) 0:03:30.317 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 09:03:45 +0000 (0:00:00.025) 0:03:30.342 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 09:03:45 +0000 (0:00:00.023) 0:03:30.366 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 09:03:45 +0000 (0:00:00.024) 0:03:30.390 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 09:03:45 +0000 (0:00:00.022) 0:03:30.413 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 09:03:45 +0000 (0:00:00.036) 0:03:30.449 ********* ok: [/cache/centos-8.qcow2] => { "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/tmpa3egnbq5/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 09:03:45 +0000 (0:00:00.034) 0:03:30.484 ********* included: /tmp/tmpa3egnbq5/tests/test-verify-volume.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/tmpa3egnbq5/tests/test-verify-volume.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test2', 'raid_level': None, 'size': '4g', 'state': 'absent', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test2', '_raw_device': '/dev/mapper/foo-test2', '_mount_id': '/dev/mapper/foo-test2'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume.yml:2 Thursday 21 July 2022 09:03:45 +0000 (0:00:00.047) 0:03:30.532 ********* ok: [/cache/centos-8.qcow2] => { "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/tmpa3egnbq5/tests/test-verify-volume.yml:10 Thursday 21 July 2022 09:03:45 +0000 (0:00:00.049) 0:03:30.581 ********* included: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml for /cache/centos-8.qcow2 => (item=mount) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-fstab.yml for /cache/centos-8.qcow2 => (item=fstab) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-fs.yml for /cache/centos-8.qcow2 => (item=fs) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml for /cache/centos-8.qcow2 => (item=device) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml for /cache/centos-8.qcow2 => (item=encryption) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml for /cache/centos-8.qcow2 => (item=md) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml for /cache/centos-8.qcow2 => (item=size) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml for /cache/centos-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 09:03:45 +0000 (0:00:00.080) 0:03:30.661 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 09:03:45 +0000 (0:00:00.043) 0:03:30.705 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 1290774, "block_size": 4096, "block_total": 1308160, "block_used": 17386, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 2621437, "inode_total": 2621440, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 5287010304, "size_total": 5358223360, "uuid": "3a0964c4-a6eb-428a-bdd0-e8c0aea5f261" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 1290774, "block_size": 4096, "block_total": 1308160, "block_used": 17386, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 2621437, "inode_total": 2621440, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 5287010304, "size_total": 5358223360, "uuid": "3a0964c4-a6eb-428a-bdd0-e8c0aea5f261" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 09:03:46 +0000 (0:00:00.055) 0:03:30.760 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 09:03:46 +0000 (0:00:00.050) 0:03:30.810 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 09:03:46 +0000 (0:00:00.050) 0:03:30.861 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 09:03:46 +0000 (0:00:00.051) 0:03:30.913 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 09:03:46 +0000 (0:00:00.023) 0:03:30.936 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 09:03:46 +0000 (0:00:00.025) 0:03:30.961 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 09:03:46 +0000 (0:00:00.024) 0:03:30.985 ********* ok: [/cache/centos-8.qcow2] => { "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/tmpa3egnbq5/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 09:03:46 +0000 (0:00:00.089) 0:03:31.074 ********* ok: [/cache/centos-8.qcow2] => { "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/tmpa3egnbq5/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 09:03:46 +0000 (0:00:00.074) 0:03:31.149 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 09:03:46 +0000 (0:00:00.052) 0:03:31.201 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 09:03:46 +0000 (0:00:00.050) 0:03:31.252 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 09:03:46 +0000 (0:00:00.036) 0:03:31.289 ********* ok: [/cache/centos-8.qcow2] => { "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/tmpa3egnbq5/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 09:03:46 +0000 (0:00:00.036) 0:03:31.325 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 09:03:46 +0000 (0:00:00.039) 0:03:31.364 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 09:03:46 +0000 (0:00:00.038) 0:03:31.403 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1658394191.8799138, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658394191.8799138, "dev": 6, "device_type": 64769, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 97101, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658394191.8799138, "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/tmpa3egnbq5/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 09:03:47 +0000 (0:00:00.386) 0:03:31.790 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 09:03:47 +0000 (0:00:00.039) 0:03:31.830 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 09:03:47 +0000 (0:00:00.038) 0:03:31.868 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 09:03:47 +0000 (0:00:00.037) 0:03:31.905 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 09:03:47 +0000 (0:00:00.024) 0:03:31.930 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 09:03:47 +0000 (0:00:00.041) 0:03:31.972 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 09:03:47 +0000 (0:00:00.024) 0:03:31.996 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 09:03:49 +0000 (0:00:01.971) 0:03:33.968 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 09:03:49 +0000 (0:00:00.026) 0:03:33.995 ********* skipping: [/cache/centos-8.qcow2] => { "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/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 09:03:49 +0000 (0:00:00.025) 0:03:34.020 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 09:03:49 +0000 (0:00:00.085) 0:03:34.105 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 09:03:49 +0000 (0:00:00.026) 0:03:34.132 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 09:03:49 +0000 (0:00:00.024) 0:03:34.156 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 09:03:49 +0000 (0:00:00.022) 0:03:34.179 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 09:03:49 +0000 (0:00:00.024) 0:03:34.203 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 09:03:49 +0000 (0:00:00.024) 0:03:34.228 ********* ok: [/cache/centos-8.qcow2] => { "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/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 09:03:49 +0000 (0:00:00.079) 0:03:34.307 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 09:03:49 +0000 (0:00:00.047) 0:03:34.354 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 09:03:49 +0000 (0:00:00.034) 0:03:34.389 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 09:03:49 +0000 (0:00:00.038) 0:03:34.427 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 09:03:49 +0000 (0:00:00.037) 0:03:34.465 ********* ok: [/cache/centos-8.qcow2] => { "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/tmpa3egnbq5/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 09:03:49 +0000 (0:00:00.036) 0:03:34.501 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 09:03:49 +0000 (0:00:00.038) 0:03:34.540 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 09:03:49 +0000 (0:00:00.043) 0:03:34.583 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 09:03:49 +0000 (0:00:00.038) 0:03:34.622 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 09:03:49 +0000 (0:00:00.037) 0:03:34.659 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 09:03:49 +0000 (0:00:00.035) 0:03:34.695 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 09:03:49 +0000 (0:00:00.038) 0:03:34.733 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 09:03:50 +0000 (0:00:00.034) 0:03:34.768 ********* ok: [/cache/centos-8.qcow2] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 09:03:50 +0000 (0:00:00.397) 0:03:35.166 ********* ok: [/cache/centos-8.qcow2] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 09:03:50 +0000 (0:00:00.387) 0:03:35.554 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_expected_size": "5368709120" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 09:03:50 +0000 (0:00:00.051) 0:03:35.606 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_expected_size": "5368709120" } TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 09:03:50 +0000 (0:00:00.034) 0:03:35.640 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 09:03:50 +0000 (0:00:00.037) 0:03:35.678 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 09:03:50 +0000 (0:00:00.037) 0:03:35.715 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 09:03:51 +0000 (0:00:00.038) 0:03:35.754 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 09:03:51 +0000 (0:00:00.043) 0:03:35.797 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 09:03:51 +0000 (0:00:00.045) 0:03:35.843 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_actual_size": { "bytes": 5368709120, "changed": false, "failed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 09:03:51 +0000 (0:00:00.037) 0:03:35.880 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_expected_size": "5368709120" } TASK [assert] ****************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 09:03:51 +0000 (0:00:00.039) 0:03:35.919 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 09:03:51 +0000 (0:00:00.053) 0:03:35.973 ********* ok: [/cache/centos-8.qcow2] => { "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.035683", "end": "2022-07-21 09:03:51.695370", "rc": 0, "start": "2022-07-21 09:03:51.659687" } 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/tmpa3egnbq5/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 09:03:51 +0000 (0:00:00.414) 0:03:36.387 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 09:03:51 +0000 (0:00:00.102) 0:03:36.490 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 09:03:51 +0000 (0:00:00.063) 0:03:36.554 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 09:03:51 +0000 (0:00:00.040) 0:03:36.594 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 09:03:51 +0000 (0:00:00.039) 0:03:36.634 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 09:03:51 +0000 (0:00:00.036) 0:03:36.670 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume.yml:16 Thursday 21 July 2022 09:03:51 +0000 (0:00:00.039) 0:03:36.709 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume.yml:2 Thursday 21 July 2022 09:03:52 +0000 (0:00:00.033) 0:03:36.743 ********* ok: [/cache/centos-8.qcow2] => { "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/tmpa3egnbq5/tests/test-verify-volume.yml:10 Thursday 21 July 2022 09:03:52 +0000 (0:00:00.091) 0:03:36.834 ********* included: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml for /cache/centos-8.qcow2 => (item=mount) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-fstab.yml for /cache/centos-8.qcow2 => (item=fstab) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-fs.yml for /cache/centos-8.qcow2 => (item=fs) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml for /cache/centos-8.qcow2 => (item=device) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml for /cache/centos-8.qcow2 => (item=encryption) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml for /cache/centos-8.qcow2 => (item=md) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml for /cache/centos-8.qcow2 => (item=size) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml for /cache/centos-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 09:03:52 +0000 (0:00:00.079) 0:03:36.914 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test2" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 09:03:52 +0000 (0:00:00.102) 0:03:37.016 ********* ok: [/cache/centos-8.qcow2] => { "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/tmpa3egnbq5/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 09:03:52 +0000 (0:00:00.054) 0:03:37.071 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 09:03:52 +0000 (0:00:00.024) 0:03:37.095 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 09:03:52 +0000 (0:00:00.052) 0:03:37.147 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 09:03:52 +0000 (0:00:00.037) 0:03:37.185 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 09:03:52 +0000 (0:00:00.025) 0:03:37.210 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 09:03:52 +0000 (0:00:00.023) 0:03:37.234 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 09:03:52 +0000 (0:00:00.025) 0:03:37.260 ********* ok: [/cache/centos-8.qcow2] => { "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/tmpa3egnbq5/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 09:03:52 +0000 (0:00:00.035) 0:03:37.296 ********* ok: [/cache/centos-8.qcow2] => { "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/tmpa3egnbq5/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 09:03:52 +0000 (0:00:00.064) 0:03:37.360 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 09:03:52 +0000 (0:00:00.024) 0:03:37.385 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 09:03:52 +0000 (0:00:00.050) 0:03:37.435 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 09:03:52 +0000 (0:00:00.034) 0:03:37.470 ********* ok: [/cache/centos-8.qcow2] => { "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/tmpa3egnbq5/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 09:03:52 +0000 (0:00:00.033) 0:03:37.503 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 09:03:52 +0000 (0:00:00.025) 0:03:37.529 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 09:03:52 +0000 (0:00:00.022) 0:03:37.551 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 09:03:53 +0000 (0:00:00.399) 0:03:37.951 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 09:03:53 +0000 (0:00:00.038) 0:03:37.990 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 09:03:53 +0000 (0:00:00.024) 0:03:38.014 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 09:03:53 +0000 (0:00:00.035) 0:03:38.050 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 09:03:53 +0000 (0:00:00.023) 0:03:38.074 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 09:03:53 +0000 (0:00:00.024) 0:03:38.098 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 09:03:53 +0000 (0:00:00.024) 0:03:38.123 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 09:03:55 +0000 (0:00:01.929) 0:03:40.052 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 09:03:55 +0000 (0:00:00.025) 0:03:40.077 ********* skipping: [/cache/centos-8.qcow2] => { "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/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 09:03:55 +0000 (0:00:00.025) 0:03:40.103 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 09:03:55 +0000 (0:00:00.022) 0:03:40.126 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 09:03:55 +0000 (0:00:00.024) 0:03:40.150 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 09:03:55 +0000 (0:00:00.023) 0:03:40.173 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 09:03:55 +0000 (0:00:00.024) 0:03:40.198 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 09:03:55 +0000 (0:00:00.024) 0:03:40.223 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 09:03:55 +0000 (0:00:00.024) 0:03:40.247 ********* ok: [/cache/centos-8.qcow2] => { "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/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 09:03:55 +0000 (0:00:00.084) 0:03:40.331 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 09:03:55 +0000 (0:00:00.056) 0:03:40.387 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 09:03:55 +0000 (0:00:00.040) 0:03:40.427 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 09:03:55 +0000 (0:00:00.039) 0:03:40.466 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 09:03:55 +0000 (0:00:00.040) 0:03:40.506 ********* ok: [/cache/centos-8.qcow2] => { "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/tmpa3egnbq5/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 09:03:55 +0000 (0:00:00.109) 0:03:40.616 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 09:03:55 +0000 (0:00:00.038) 0:03:40.654 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 09:03:55 +0000 (0:00:00.037) 0:03:40.691 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 09:03:55 +0000 (0:00:00.038) 0:03:40.730 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 09:03:56 +0000 (0:00:00.035) 0:03:40.765 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 09:03:56 +0000 (0:00:00.037) 0:03:40.803 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 09:03:56 +0000 (0:00:00.037) 0:03:40.840 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 09:03:56 +0000 (0:00:00.038) 0:03:40.879 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 09:03:56 +0000 (0:00:00.022) 0:03:40.902 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 09:03:56 +0000 (0:00:00.033) 0:03:40.935 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 09:03:56 +0000 (0:00:00.034) 0:03:40.970 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_expected_size": "5368709120" } TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 09:03:56 +0000 (0:00:00.035) 0:03:41.005 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 09:03:56 +0000 (0:00:00.037) 0:03:41.043 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 09:03:56 +0000 (0:00:00.037) 0:03:41.080 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 09:03:56 +0000 (0:00:00.037) 0:03:41.117 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 09:03:56 +0000 (0:00:00.039) 0:03:41.157 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 09:03:56 +0000 (0:00:00.035) 0:03:41.192 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 09:03:56 +0000 (0:00:00.034) 0:03:41.226 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_expected_size": "5368709120" } TASK [assert] ****************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 09:03:56 +0000 (0:00:00.034) 0:03:41.261 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 09:03:56 +0000 (0:00:00.025) 0:03:41.287 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 09:03:56 +0000 (0:00:00.022) 0:03:41.309 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 09:03:56 +0000 (0:00:00.022) 0:03:41.332 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 09:03:56 +0000 (0:00:00.024) 0:03:41.356 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 09:03:56 +0000 (0:00:00.025) 0:03:41.382 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 09:03:56 +0000 (0:00:00.025) 0:03:41.407 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 09:03:56 +0000 (0:00:00.023) 0:03:41.431 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume.yml:16 Thursday 21 July 2022 09:03:56 +0000 (0:00:00.026) 0:03:41.458 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:43 Thursday 21 July 2022 09:03:56 +0000 (0:00:00.038) 0:03:41.496 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:53 Thursday 21 July 2022 09:03:56 +0000 (0:00:00.020) 0:03:41.517 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Repeat the previous invocation to verify idempotence] ******************** task path: /tmp/tmpa3egnbq5/tests/tests_create_lvm_pool_then_remove.yml:66 Thursday 21 July 2022 09:03:56 +0000 (0:00:00.035) 0:03:41.552 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 09:03:56 +0000 (0:00:00.056) 0:03:41.608 ********* included: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 09:03:56 +0000 (0:00:00.035) 0:03:41.644 ********* ok: [/cache/centos-8.qcow2] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 09:03:57 +0000 (0:00:00.520) 0:03:42.164 ********* skipping: [/cache/centos-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-8.qcow2] => (item=CentOS_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [/cache/centos-8.qcow2] => (item=CentOS_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 09:03:57 +0000 (0:00:00.140) 0:03:42.305 ********* ok: [/cache/centos-8.qcow2] => { "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/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 09:03:57 +0000 (0:00:00.040) 0:03:42.345 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 09:03:57 +0000 (0:00:00.033) 0:03:42.379 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 09:03:57 +0000 (0:00:00.048) 0:03:42.427 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 09:03:57 +0000 (0:00:00.021) 0:03:42.448 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 09:03:57 +0000 (0:00:00.027) 0:03:42.475 ********* ok: [/cache/centos-8.qcow2] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "5g" }, { "mount_point": "/opt/test2", "name": "test2", "size": "4g", "state": "absent" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 09:03:57 +0000 (0:00:00.040) 0:03:42.516 ********* ok: [/cache/centos-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 09:03:57 +0000 (0:00:00.036) 0:03:42.552 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 09:03:57 +0000 (0:00:00.029) 0:03:42.581 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 09:03:57 +0000 (0:00:00.030) 0:03:42.612 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 09:03:57 +0000 (0:00:00.029) 0:03:42.641 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 09:03:57 +0000 (0:00:00.027) 0:03:42.668 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 09:03:57 +0000 (0:00:00.054) 0:03:42.723 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 09:03:58 +0000 (0:00:00.028) 0:03:42.751 ********* ok: [/cache/centos-8.qcow2] => { "actions": [], "changed": false, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "xfsprogs", "lvm2" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-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": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "", "_mount_id": "", "_raw_device": "", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "state": "absent", "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/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 09:03:59 +0000 (0:00:01.301) 0:03:44.053 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 09:03:59 +0000 (0:00:00.041) 0:03:44.094 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 09:03:59 +0000 (0:00:00.024) 0:03:44.119 ********* ok: [/cache/centos-8.qcow2] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "xfsprogs", "lvm2" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-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": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "", "_mount_id": "", "_raw_device": "", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "state": "absent", "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/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 09:03:59 +0000 (0:00:00.044) 0:03:44.163 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-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": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "", "_mount_id": "", "_raw_device": "", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "state": "absent", "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/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 09:03:59 +0000 (0:00:00.039) 0:03:44.202 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 09:03:59 +0000 (0:00:00.035) 0:03:44.238 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 09:03:59 +0000 (0:00:00.038) 0:03:44.276 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 09:04:00 +0000 (0:00:00.626) 0:03:44.903 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/centos-8.qcow2] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "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/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 09:04:00 +0000 (0:00:00.404) 0:03:45.307 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 09:04:01 +0000 (0:00:00.635) 0:03:45.942 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1658394065.9649138, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1643141385.117, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 135, "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": 1643141019.537, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "3147672035", "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/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 09:04:01 +0000 (0:00:00.380) 0:03:46.323 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 09:04:01 +0000 (0:00:00.022) 0:03:46.345 ********* ok: [/cache/centos-8.qcow2] META: role_complete for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpa3egnbq5/tests/tests_create_lvm_pool_then_remove.yml:82 Thursday 21 July 2022 09:04:02 +0000 (0:00:01.029) 0:03:47.375 ********* included: /tmp/tmpa3egnbq5/tests/verify-role-results.yml for /cache/centos-8.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:1 Thursday 21 July 2022 09:04:02 +0000 (0:00:00.044) 0:03:47.419 ********* ok: [/cache/centos-8.qcow2] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-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": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "", "_mount_id": "", "_raw_device": "", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "state": "absent", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:6 Thursday 21 July 2022 09:04:02 +0000 (0:00:00.054) 0:03:47.474 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:14 Thursday 21 July 2022 09:04:02 +0000 (0:00:00.037) 0:03:47.511 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test1", "size": "5G", "type": "lvm", "uuid": "3a0964c4-a6eb-428a-bdd0-e8c0aea5f261" }, "/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": "LVM2_member", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "va0ZBu-SvxH-iiVl-6rT0-RyNM-dl2I-pWfjDo" }, "/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-59-55-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "10G", "type": "partition", "uuid": "395b9844-e404-4857-afbb-c6edccaf72f3" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:19 Thursday 21 July 2022 09:04:03 +0000 (0:00:00.390) 0:03:47.902 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002755", "end": "2022-07-21 09:04:03.594689", "rc": 0, "start": "2022-07-21 09:04:03.591934" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jan 25 20:03:39 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=395b9844-e404-4857-afbb-c6edccaf72f3 / xfs defaults 0 0 /dev/mapper/foo-test1 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:24 Thursday 21 July 2022 09:04:03 +0000 (0:00:00.386) 0:03:48.288 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:01.005182", "end": "2022-07-21 09:04:04.983761", "failed_when_result": false, "rc": 0, "start": "2022-07-21 09:04:03.978579" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:33 Thursday 21 July 2022 09:04:04 +0000 (0:00:01.393) 0:03:49.681 ********* included: /tmp/tmpa3egnbq5/tests/test-verify-pool.yml for /cache/centos-8.qcow2 => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}, {'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test2', 'raid_level': None, 'size': '4g', 'state': 'absent', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '', '_raw_device': '', '_mount_id': ''}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-pool.yml:5 Thursday 21 July 2022 09:04:05 +0000 (0:00:00.060) 0:03:49.742 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool.yml:18 Thursday 21 July 2022 09:04:05 +0000 (0:00:00.033) 0:03:49.775 ********* included: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml for /cache/centos-8.qcow2 => (item=members) included: /tmp/tmpa3egnbq5/tests/test-verify-pool-volumes.yml for /cache/centos-8.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 09:04:05 +0000 (0:00:00.048) 0:03:49.823 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 09:04:05 +0000 (0:00:00.053) 0:03:49.877 ********* ok: [/cache/centos-8.qcow2] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 09:04:05 +0000 (0:00:00.409) 0:03:50.286 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 09:04:05 +0000 (0:00:00.050) 0:03:50.336 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 09:04:05 +0000 (0:00:00.083) 0:03:50.420 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 09:04:05 +0000 (0:00:00.083) 0:03:50.504 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 09:04:05 +0000 (0:00:00.039) 0:03:50.543 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 09:04:05 +0000 (0:00:00.082) 0:03:50.626 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 09:04:05 +0000 (0:00:00.026) 0:03:50.652 ********* ok: [/cache/centos-8.qcow2] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 09:04:05 +0000 (0:00:00.074) 0:03:50.727 ********* included: /tmp/tmpa3egnbq5/tests/verify-pool-md.yml for /cache/centos-8.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-md.yml:6 Thursday 21 July 2022 09:04:06 +0000 (0:00:00.042) 0:03:50.769 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-md.yml:12 Thursday 21 July 2022 09:04:06 +0000 (0:00:00.025) 0:03:50.795 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-md.yml:16 Thursday 21 July 2022 09:04:06 +0000 (0:00:00.024) 0:03:50.820 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-md.yml:20 Thursday 21 July 2022 09:04:06 +0000 (0:00:00.024) 0:03:50.844 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-md.yml:24 Thursday 21 July 2022 09:04:06 +0000 (0:00:00.032) 0:03:50.877 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-md.yml:30 Thursday 21 July 2022 09:04:06 +0000 (0:00:00.029) 0:03:50.906 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpa3egnbq5/tests/verify-pool-md.yml:36 Thursday 21 July 2022 09:04:06 +0000 (0:00:00.025) 0:03:50.932 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-md.yml:44 Thursday 21 July 2022 09:04:06 +0000 (0:00:00.025) 0:03:50.957 ********* ok: [/cache/centos-8.qcow2] => { "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/tmpa3egnbq5/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 09:04:06 +0000 (0:00:00.037) 0:03:50.995 ********* included: /tmp/tmpa3egnbq5/tests/verify-pool-members-lvmraid.yml for /cache/centos-8.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 09:04:06 +0000 (0:00:00.046) 0:03:51.042 ********* included: /tmp/tmpa3egnbq5/tests/verify-pool-member-lvmraid.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/tmpa3egnbq5/tests/verify-pool-member-lvmraid.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test2', 'raid_level': None, 'size': '4g', 'state': 'absent', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '', '_raw_device': '', '_mount_id': ''}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 09:04:06 +0000 (0:00:00.050) 0:03:51.092 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 09:04:06 +0000 (0:00:00.030) 0:03:51.123 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 09:04:06 +0000 (0:00:00.028) 0:03:51.151 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 09:04:06 +0000 (0:00:00.027) 0:03:51.178 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 09:04:06 +0000 (0:00:00.029) 0:03:51.208 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 09:04:06 +0000 (0:00:00.028) 0:03:51.236 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 09:04:06 +0000 (0:00:00.029) 0:03:51.266 ********* included: /tmp/tmpa3egnbq5/tests/verify-pool-members-thin.yml for /cache/centos-8.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 09:04:06 +0000 (0:00:00.045) 0:03:51.311 ********* included: /tmp/tmpa3egnbq5/tests/verify-pool-member-thin.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/tmpa3egnbq5/tests/verify-pool-member-thin.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test2', 'raid_level': None, 'size': '4g', 'state': 'absent', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '', '_raw_device': '', '_mount_id': ''}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 09:04:06 +0000 (0:00:00.048) 0:03:51.360 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 09:04:06 +0000 (0:00:00.023) 0:03:51.383 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 09:04:06 +0000 (0:00:00.024) 0:03:51.408 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 09:04:06 +0000 (0:00:00.023) 0:03:51.432 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 09:04:06 +0000 (0:00:00.022) 0:03:51.454 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 09:04:06 +0000 (0:00:00.024) 0:03:51.478 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 09:04:06 +0000 (0:00:00.023) 0:03:51.502 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 09:04:06 +0000 (0:00:00.023) 0:03:51.525 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 09:04:06 +0000 (0:00:00.021) 0:03:51.547 ********* included: /tmp/tmpa3egnbq5/tests/verify-pool-members-encryption.yml for /cache/centos-8.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 09:04:06 +0000 (0:00:00.044) 0:03:51.591 ********* ok: [/cache/centos-8.qcow2] => { "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/tmpa3egnbq5/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 09:04:06 +0000 (0:00:00.051) 0:03:51.642 ********* skipping: [/cache/centos-8.qcow2] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "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/tmpa3egnbq5/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 09:04:06 +0000 (0:00:00.029) 0:03:51.672 ********* included: /tmp/tmpa3egnbq5/tests/verify-pool-member-crypttab.yml for /cache/centos-8.qcow2 => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 09:04:06 +0000 (0:00:00.042) 0:03:51.714 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 09:04:07 +0000 (0:00:00.051) 0:03:51.766 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-crypttab.yml:11 Thursday 21 July 2022 09:04:07 +0000 (0:00:00.107) 0:03:51.873 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 09:04:07 +0000 (0:00:00.036) 0:03:51.910 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-crypttab.yml:23 Thursday 21 July 2022 09:04:07 +0000 (0:00:00.088) 0:03:51.999 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 09:04:07 +0000 (0:00:00.039) 0:03:52.038 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 09:04:07 +0000 (0:00:00.035) 0:03:52.074 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 09:04:07 +0000 (0:00:00.038) 0:03:52.112 ********* included: /tmp/tmpa3egnbq5/tests/verify-pool-members-vdo.yml for /cache/centos-8.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 09:04:07 +0000 (0:00:00.047) 0:03:52.159 ********* included: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test2', 'raid_level': None, 'size': '4g', 'state': 'absent', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '', '_raw_device': '', '_mount_id': ''}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 09:04:07 +0000 (0:00:00.054) 0:03:52.213 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 09:04:07 +0000 (0:00:00.024) 0:03:52.237 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 09:04:07 +0000 (0:00:00.022) 0:03:52.260 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 09:04:07 +0000 (0:00:00.025) 0:03:52.286 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 09:04:07 +0000 (0:00:00.023) 0:03:52.310 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 09:04:07 +0000 (0:00:00.024) 0:03:52.334 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 09:04:07 +0000 (0:00:00.024) 0:03:52.359 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 09:04:07 +0000 (0:00:00.025) 0:03:52.384 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 09:04:07 +0000 (0:00:00.034) 0:03:52.419 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 09:04:07 +0000 (0:00:00.023) 0:03:52.442 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 09:04:07 +0000 (0:00:00.025) 0:03:52.467 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 09:04:07 +0000 (0:00:00.038) 0:03:52.506 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 09:04:07 +0000 (0:00:00.027) 0:03:52.534 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 09:04:07 +0000 (0:00:00.025) 0:03:52.559 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 09:04:07 +0000 (0:00:00.025) 0:03:52.585 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 09:04:07 +0000 (0:00:00.027) 0:03:52.612 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 09:04:07 +0000 (0:00:00.035) 0:03:52.647 ********* ok: [/cache/centos-8.qcow2] => { "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/tmpa3egnbq5/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 09:04:07 +0000 (0:00:00.037) 0:03:52.685 ********* included: /tmp/tmpa3egnbq5/tests/test-verify-volume.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/tmpa3egnbq5/tests/test-verify-volume.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test2', 'raid_level': None, 'size': '4g', 'state': 'absent', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '', '_raw_device': '', '_mount_id': ''}) TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume.yml:2 Thursday 21 July 2022 09:04:07 +0000 (0:00:00.050) 0:03:52.735 ********* ok: [/cache/centos-8.qcow2] => { "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/tmpa3egnbq5/tests/test-verify-volume.yml:10 Thursday 21 July 2022 09:04:08 +0000 (0:00:00.050) 0:03:52.786 ********* included: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml for /cache/centos-8.qcow2 => (item=mount) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-fstab.yml for /cache/centos-8.qcow2 => (item=fstab) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-fs.yml for /cache/centos-8.qcow2 => (item=fs) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml for /cache/centos-8.qcow2 => (item=device) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml for /cache/centos-8.qcow2 => (item=encryption) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml for /cache/centos-8.qcow2 => (item=md) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml for /cache/centos-8.qcow2 => (item=size) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml for /cache/centos-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 09:04:08 +0000 (0:00:00.076) 0:03:52.862 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 09:04:08 +0000 (0:00:00.048) 0:03:52.911 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 1290774, "block_size": 4096, "block_total": 1308160, "block_used": 17386, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 2621437, "inode_total": 2621440, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 5287010304, "size_total": 5358223360, "uuid": "3a0964c4-a6eb-428a-bdd0-e8c0aea5f261" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 1290774, "block_size": 4096, "block_total": 1308160, "block_used": 17386, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 2621437, "inode_total": 2621440, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 5287010304, "size_total": 5358223360, "uuid": "3a0964c4-a6eb-428a-bdd0-e8c0aea5f261" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 09:04:08 +0000 (0:00:00.064) 0:03:52.975 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 09:04:08 +0000 (0:00:00.061) 0:03:53.037 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 09:04:08 +0000 (0:00:00.053) 0:03:53.090 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 09:04:08 +0000 (0:00:00.053) 0:03:53.144 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 09:04:08 +0000 (0:00:00.023) 0:03:53.167 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 09:04:08 +0000 (0:00:00.024) 0:03:53.192 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 09:04:08 +0000 (0:00:00.024) 0:03:53.216 ********* ok: [/cache/centos-8.qcow2] => { "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/tmpa3egnbq5/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 09:04:08 +0000 (0:00:00.116) 0:03:53.332 ********* ok: [/cache/centos-8.qcow2] => { "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/tmpa3egnbq5/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 09:04:08 +0000 (0:00:00.063) 0:03:53.395 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 09:04:08 +0000 (0:00:00.050) 0:03:53.445 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 09:04:08 +0000 (0:00:00.051) 0:03:53.497 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 09:04:08 +0000 (0:00:00.036) 0:03:53.534 ********* ok: [/cache/centos-8.qcow2] => { "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/tmpa3egnbq5/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 09:04:08 +0000 (0:00:00.033) 0:03:53.568 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 09:04:08 +0000 (0:00:00.039) 0:03:53.607 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 09:04:08 +0000 (0:00:00.045) 0:03:53.653 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1658394191.8799138, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658394191.8799138, "dev": 6, "device_type": 64769, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 97101, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658394191.8799138, "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/tmpa3egnbq5/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 09:04:09 +0000 (0:00:00.388) 0:03:54.041 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 09:04:09 +0000 (0:00:00.040) 0:03:54.082 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 09:04:09 +0000 (0:00:00.038) 0:03:54.121 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 09:04:09 +0000 (0:00:00.037) 0:03:54.158 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 09:04:09 +0000 (0:00:00.023) 0:03:54.182 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 09:04:09 +0000 (0:00:00.047) 0:03:54.230 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 09:04:09 +0000 (0:00:00.026) 0:03:54.256 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 09:04:11 +0000 (0:00:01.906) 0:03:56.162 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 09:04:11 +0000 (0:00:00.025) 0:03:56.187 ********* skipping: [/cache/centos-8.qcow2] => { "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/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 09:04:11 +0000 (0:00:00.024) 0:03:56.212 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 09:04:11 +0000 (0:00:00.054) 0:03:56.267 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 09:04:11 +0000 (0:00:00.025) 0:03:56.292 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 09:04:11 +0000 (0:00:00.025) 0:03:56.317 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 09:04:11 +0000 (0:00:00.023) 0:03:56.341 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 09:04:11 +0000 (0:00:00.025) 0:03:56.366 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 09:04:11 +0000 (0:00:00.023) 0:03:56.390 ********* ok: [/cache/centos-8.qcow2] => { "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/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 09:04:11 +0000 (0:00:00.053) 0:03:56.443 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 09:04:11 +0000 (0:00:00.049) 0:03:56.492 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 09:04:11 +0000 (0:00:00.036) 0:03:56.529 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 09:04:11 +0000 (0:00:00.046) 0:03:56.576 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 09:04:11 +0000 (0:00:00.042) 0:03:56.618 ********* ok: [/cache/centos-8.qcow2] => { "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/tmpa3egnbq5/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 09:04:11 +0000 (0:00:00.041) 0:03:56.660 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 09:04:11 +0000 (0:00:00.038) 0:03:56.698 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 09:04:12 +0000 (0:00:00.039) 0:03:56.738 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 09:04:12 +0000 (0:00:00.038) 0:03:56.776 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 09:04:12 +0000 (0:00:00.041) 0:03:56.818 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 09:04:12 +0000 (0:00:00.040) 0:03:56.858 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 09:04:12 +0000 (0:00:00.038) 0:03:56.897 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 09:04:12 +0000 (0:00:00.039) 0:03:56.936 ********* ok: [/cache/centos-8.qcow2] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 09:04:12 +0000 (0:00:00.443) 0:03:57.380 ********* ok: [/cache/centos-8.qcow2] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 09:04:13 +0000 (0:00:00.434) 0:03:57.815 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_expected_size": "5368709120" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 09:04:13 +0000 (0:00:00.050) 0:03:57.866 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_expected_size": "5368709120" } TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 09:04:13 +0000 (0:00:00.035) 0:03:57.901 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 09:04:13 +0000 (0:00:00.038) 0:03:57.939 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 09:04:13 +0000 (0:00:00.037) 0:03:57.977 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 09:04:13 +0000 (0:00:00.037) 0:03:58.015 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 09:04:13 +0000 (0:00:00.038) 0:03:58.053 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 09:04:13 +0000 (0:00:00.035) 0:03:58.089 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_actual_size": { "bytes": 5368709120, "changed": false, "failed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 09:04:13 +0000 (0:00:00.035) 0:03:58.125 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_expected_size": "5368709120" } TASK [assert] ****************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 09:04:13 +0000 (0:00:00.038) 0:03:58.163 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 09:04:13 +0000 (0:00:00.050) 0:03:58.214 ********* ok: [/cache/centos-8.qcow2] => { "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.039362", "end": "2022-07-21 09:04:13.946123", "rc": 0, "start": "2022-07-21 09:04:13.906761" } 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/tmpa3egnbq5/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 09:04:13 +0000 (0:00:00.426) 0:03:58.641 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 09:04:13 +0000 (0:00:00.050) 0:03:58.692 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 09:04:14 +0000 (0:00:00.049) 0:03:58.741 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 09:04:14 +0000 (0:00:00.036) 0:03:58.777 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 09:04:14 +0000 (0:00:00.037) 0:03:58.814 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 09:04:14 +0000 (0:00:00.036) 0:03:58.851 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume.yml:16 Thursday 21 July 2022 09:04:14 +0000 (0:00:00.035) 0:03:58.887 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume.yml:2 Thursday 21 July 2022 09:04:14 +0000 (0:00:00.033) 0:03:58.920 ********* ok: [/cache/centos-8.qcow2] => { "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/tmpa3egnbq5/tests/test-verify-volume.yml:10 Thursday 21 July 2022 09:04:14 +0000 (0:00:00.049) 0:03:58.970 ********* included: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml for /cache/centos-8.qcow2 => (item=mount) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-fstab.yml for /cache/centos-8.qcow2 => (item=fstab) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-fs.yml for /cache/centos-8.qcow2 => (item=fs) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml for /cache/centos-8.qcow2 => (item=device) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml for /cache/centos-8.qcow2 => (item=encryption) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml for /cache/centos-8.qcow2 => (item=md) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml for /cache/centos-8.qcow2 => (item=size) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml for /cache/centos-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 09:04:14 +0000 (0:00:00.077) 0:03:59.048 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 09:04:14 +0000 (0:00:00.039) 0:03:59.087 ********* ok: [/cache/centos-8.qcow2] => { "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/tmpa3egnbq5/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 09:04:14 +0000 (0:00:00.052) 0:03:59.140 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 09:04:14 +0000 (0:00:00.022) 0:03:59.163 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 09:04:14 +0000 (0:00:00.050) 0:03:59.214 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 09:04:14 +0000 (0:00:00.037) 0:03:59.251 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 09:04:14 +0000 (0:00:00.023) 0:03:59.275 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 09:04:14 +0000 (0:00:00.025) 0:03:59.300 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 09:04:14 +0000 (0:00:00.023) 0:03:59.324 ********* ok: [/cache/centos-8.qcow2] => { "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/tmpa3egnbq5/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 09:04:14 +0000 (0:00:00.069) 0:03:59.394 ********* ok: [/cache/centos-8.qcow2] => { "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/tmpa3egnbq5/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 09:04:14 +0000 (0:00:00.097) 0:03:59.492 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 09:04:14 +0000 (0:00:00.059) 0:03:59.551 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 09:04:14 +0000 (0:00:00.057) 0:03:59.609 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 09:04:14 +0000 (0:00:00.037) 0:03:59.646 ********* ok: [/cache/centos-8.qcow2] => { "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/tmpa3egnbq5/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 09:04:14 +0000 (0:00:00.038) 0:03:59.685 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 09:04:14 +0000 (0:00:00.025) 0:03:59.710 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 09:04:15 +0000 (0:00:00.027) 0:03:59.738 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 09:04:15 +0000 (0:00:00.383) 0:04:00.121 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 09:04:15 +0000 (0:00:00.040) 0:04:00.162 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 09:04:15 +0000 (0:00:00.023) 0:04:00.185 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 09:04:15 +0000 (0:00:00.038) 0:04:00.224 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 09:04:15 +0000 (0:00:00.027) 0:04:00.251 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 09:04:15 +0000 (0:00:00.027) 0:04:00.279 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 09:04:15 +0000 (0:00:00.025) 0:04:00.304 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 09:04:17 +0000 (0:00:01.822) 0:04:02.126 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 09:04:17 +0000 (0:00:00.026) 0:04:02.152 ********* skipping: [/cache/centos-8.qcow2] => { "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/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 09:04:17 +0000 (0:00:00.024) 0:04:02.177 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 09:04:17 +0000 (0:00:00.024) 0:04:02.202 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 09:04:17 +0000 (0:00:00.025) 0:04:02.227 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 09:04:17 +0000 (0:00:00.026) 0:04:02.254 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 09:04:17 +0000 (0:00:00.024) 0:04:02.279 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 09:04:17 +0000 (0:00:00.025) 0:04:02.304 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 09:04:17 +0000 (0:00:00.024) 0:04:02.329 ********* ok: [/cache/centos-8.qcow2] => { "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/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 09:04:17 +0000 (0:00:00.092) 0:04:02.421 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 09:04:17 +0000 (0:00:00.050) 0:04:02.472 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 09:04:17 +0000 (0:00:00.038) 0:04:02.510 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 09:04:17 +0000 (0:00:00.039) 0:04:02.549 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 09:04:17 +0000 (0:00:00.037) 0:04:02.587 ********* ok: [/cache/centos-8.qcow2] => { "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/tmpa3egnbq5/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 09:04:17 +0000 (0:00:00.074) 0:04:02.662 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 09:04:17 +0000 (0:00:00.037) 0:04:02.699 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 09:04:17 +0000 (0:00:00.036) 0:04:02.736 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 09:04:18 +0000 (0:00:00.037) 0:04:02.774 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 09:04:18 +0000 (0:00:00.039) 0:04:02.814 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 09:04:18 +0000 (0:00:00.035) 0:04:02.850 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 09:04:18 +0000 (0:00:00.038) 0:04:02.888 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 09:04:18 +0000 (0:00:00.039) 0:04:02.927 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 09:04:18 +0000 (0:00:00.062) 0:04:02.990 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 09:04:18 +0000 (0:00:00.038) 0:04:03.028 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 09:04:18 +0000 (0:00:00.036) 0:04:03.064 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_expected_size": "5368709120" } TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 09:04:18 +0000 (0:00:00.037) 0:04:03.102 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 09:04:18 +0000 (0:00:00.040) 0:04:03.143 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 09:04:18 +0000 (0:00:00.035) 0:04:03.178 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 09:04:18 +0000 (0:00:00.041) 0:04:03.220 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 09:04:18 +0000 (0:00:00.036) 0:04:03.256 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 09:04:18 +0000 (0:00:00.041) 0:04:03.297 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 09:04:18 +0000 (0:00:00.036) 0:04:03.333 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_expected_size": "5368709120" } TASK [assert] ****************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 09:04:18 +0000 (0:00:00.037) 0:04:03.371 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 09:04:18 +0000 (0:00:00.023) 0:04:03.395 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 09:04:18 +0000 (0:00:00.024) 0:04:03.420 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 09:04:18 +0000 (0:00:00.024) 0:04:03.444 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 09:04:18 +0000 (0:00:00.024) 0:04:03.469 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 09:04:18 +0000 (0:00:00.025) 0:04:03.494 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 09:04:18 +0000 (0:00:00.026) 0:04:03.520 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 09:04:18 +0000 (0:00:00.025) 0:04:03.545 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume.yml:16 Thursday 21 July 2022 09:04:18 +0000 (0:00:00.025) 0:04:03.571 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:43 Thursday 21 July 2022 09:04:18 +0000 (0:00:00.036) 0:04:03.607 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:53 Thursday 21 July 2022 09:04:18 +0000 (0:00:00.024) 0:04:03.632 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Remove both of the LVM logical volumes in 'foo' created above] *********** task path: /tmp/tmpa3egnbq5/tests/tests_create_lvm_pool_then_remove.yml:84 Thursday 21 July 2022 09:04:18 +0000 (0:00:00.033) 0:04:03.666 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 09:04:18 +0000 (0:00:00.064) 0:04:03.730 ********* included: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 09:04:19 +0000 (0:00:00.036) 0:04:03.767 ********* ok: [/cache/centos-8.qcow2] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 09:04:19 +0000 (0:00:00.532) 0:04:04.300 ********* skipping: [/cache/centos-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-8.qcow2] => (item=CentOS_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [/cache/centos-8.qcow2] => (item=CentOS_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 09:04:19 +0000 (0:00:00.076) 0:04:04.377 ********* ok: [/cache/centos-8.qcow2] => { "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/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 09:04:19 +0000 (0:00:00.035) 0:04:04.412 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 09:04:19 +0000 (0:00:00.036) 0:04:04.449 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 09:04:19 +0000 (0:00:00.048) 0:04:04.498 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 09:04:19 +0000 (0:00:00.022) 0:04:04.521 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 09:04:19 +0000 (0:00:00.030) 0:04:04.551 ********* ok: [/cache/centos-8.qcow2] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "state": "absent", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "5g" }, { "mount_point": "/opt/test2", "name": "test2", "size": "4g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 09:04:19 +0000 (0:00:00.083) 0:04:04.634 ********* ok: [/cache/centos-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 09:04:19 +0000 (0:00:00.084) 0:04:04.719 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 09:04:20 +0000 (0:00:00.029) 0:04:04.749 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 09:04:20 +0000 (0:00:00.028) 0:04:04.777 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 09:04:20 +0000 (0:00:00.029) 0:04:04.807 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 09:04:20 +0000 (0:00:00.028) 0:04:04.836 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 09:04:20 +0000 (0:00:00.057) 0:04:04.893 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 09:04:20 +0000 (0:00:00.020) 0:04:04.914 ********* changed: [/cache/centos-8.qcow2] => { "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/sda", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "xfsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "", "_mount_id": "", "_raw_device": "", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test2", "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/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 09:04:21 +0000 (0:00:01.754) 0:04:06.668 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 09:04:21 +0000 (0:00:00.035) 0:04:06.704 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 09:04:21 +0000 (0:00:00.021) 0:04:06.725 ********* ok: [/cache/centos-8.qcow2] => { "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/sda", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "xfsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "", "_mount_id": "", "_raw_device": "", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test2", "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/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 09:04:22 +0000 (0:00:00.040) 0:04:06.765 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "", "_mount_id": "", "_raw_device": "", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test2", "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/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 09:04:22 +0000 (0:00:00.040) 0:04:06.806 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 09:04:22 +0000 (0:00:00.040) 0:04:06.846 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-8.qcow2] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'state': 'absent', 'fstype': 'xfs'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/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/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 09:04:22 +0000 (0:00:00.407) 0:04:07.253 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 09:04:23 +0000 (0:00:00.614) 0:04:07.867 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 09:04:23 +0000 (0:00:00.038) 0:04:07.906 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 09:04:23 +0000 (0:00:00.591) 0:04:08.498 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1658394065.9649138, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1643141385.117, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 135, "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": 1643141019.537, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "3147672035", "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/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 09:04:24 +0000 (0:00:00.388) 0:04:08.886 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 09:04:24 +0000 (0:00:00.024) 0:04:08.910 ********* ok: [/cache/centos-8.qcow2] META: role_complete for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpa3egnbq5/tests/tests_create_lvm_pool_then_remove.yml:100 Thursday 21 July 2022 09:04:25 +0000 (0:00:00.942) 0:04:09.853 ********* included: /tmp/tmpa3egnbq5/tests/verify-role-results.yml for /cache/centos-8.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:1 Thursday 21 July 2022 09:04:25 +0000 (0:00:00.049) 0:04:09.903 ********* ok: [/cache/centos-8.qcow2] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "", "_mount_id": "", "_raw_device": "", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test2", "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/tmpa3egnbq5/tests/verify-role-results.yml:6 Thursday 21 July 2022 09:04:25 +0000 (0:00:00.081) 0:04:09.985 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:14 Thursday 21 July 2022 09:04:25 +0000 (0:00:00.037) 0:04:10.022 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "info": { "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-08-59-55-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "10G", "type": "partition", "uuid": "395b9844-e404-4857-afbb-c6edccaf72f3" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:19 Thursday 21 July 2022 09:04:25 +0000 (0:00:00.381) 0:04:10.403 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002893", "end": "2022-07-21 09:04:26.088899", "rc": 0, "start": "2022-07-21 09:04:26.086006" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jan 25 20:03:39 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=395b9844-e404-4857-afbb-c6edccaf72f3 / xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:24 Thursday 21 July 2022 09:04:26 +0000 (0:00:00.379) 0:04:10.783 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003053", "end": "2022-07-21 09:04:26.481494", "failed_when_result": false, "rc": 0, "start": "2022-07-21 09:04:26.478441" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:33 Thursday 21 July 2022 09:04:26 +0000 (0:00:00.390) 0:04:11.173 ********* included: /tmp/tmpa3egnbq5/tests/test-verify-pool.yml for /cache/centos-8.qcow2 => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'absent', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}, {'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test2', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '', '_raw_device': '', '_mount_id': ''}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-pool.yml:5 Thursday 21 July 2022 09:04:26 +0000 (0:00:00.061) 0:04:11.235 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool.yml:18 Thursday 21 July 2022 09:04:26 +0000 (0:00:00.035) 0:04:11.270 ********* included: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml for /cache/centos-8.qcow2 => (item=members) included: /tmp/tmpa3egnbq5/tests/test-verify-pool-volumes.yml for /cache/centos-8.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 09:04:26 +0000 (0:00:00.047) 0:04:11.317 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_count": "0", "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 09:04:26 +0000 (0:00:00.052) 0:04:11.370 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 09:04:26 +0000 (0:00:00.022) 0:04:11.392 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "0" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 09:04:26 +0000 (0:00:00.051) 0:04:11.444 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 09:04:26 +0000 (0:00:00.047) 0:04:11.492 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 09:04:26 +0000 (0:00:00.048) 0:04:11.540 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 09:04:26 +0000 (0:00:00.037) 0:04:11.577 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 09:04:26 +0000 (0:00:00.048) 0:04:11.626 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 09:04:26 +0000 (0:00:00.023) 0:04:11.649 ********* TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 09:04:26 +0000 (0:00:00.020) 0:04:11.669 ********* included: /tmp/tmpa3egnbq5/tests/verify-pool-md.yml for /cache/centos-8.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-md.yml:6 Thursday 21 July 2022 09:04:26 +0000 (0:00:00.050) 0:04:11.720 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-md.yml:12 Thursday 21 July 2022 09:04:27 +0000 (0:00:00.025) 0:04:11.745 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-md.yml:16 Thursday 21 July 2022 09:04:27 +0000 (0:00:00.027) 0:04:11.772 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-md.yml:20 Thursday 21 July 2022 09:04:27 +0000 (0:00:00.027) 0:04:11.800 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-md.yml:24 Thursday 21 July 2022 09:04:27 +0000 (0:00:00.024) 0:04:11.824 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-md.yml:30 Thursday 21 July 2022 09:04:27 +0000 (0:00:00.023) 0:04:11.848 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpa3egnbq5/tests/verify-pool-md.yml:36 Thursday 21 July 2022 09:04:27 +0000 (0:00:00.024) 0:04:11.873 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-md.yml:44 Thursday 21 July 2022 09:04:27 +0000 (0:00:00.023) 0:04:11.897 ********* ok: [/cache/centos-8.qcow2] => { "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/tmpa3egnbq5/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 09:04:27 +0000 (0:00:00.085) 0:04:11.982 ********* included: /tmp/tmpa3egnbq5/tests/verify-pool-members-lvmraid.yml for /cache/centos-8.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 09:04:27 +0000 (0:00:00.083) 0:04:12.065 ********* included: /tmp/tmpa3egnbq5/tests/verify-pool-member-lvmraid.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) included: /tmp/tmpa3egnbq5/tests/verify-pool-member-lvmraid.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test2', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '', '_raw_device': '', '_mount_id': ''}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 09:04:27 +0000 (0:00:00.050) 0:04:12.116 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 09:04:27 +0000 (0:00:00.027) 0:04:12.144 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 09:04:27 +0000 (0:00:00.029) 0:04:12.173 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 09:04:27 +0000 (0:00:00.029) 0:04:12.203 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 09:04:27 +0000 (0:00:00.027) 0:04:12.230 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 09:04:27 +0000 (0:00:00.027) 0:04:12.258 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 09:04:27 +0000 (0:00:00.030) 0:04:12.288 ********* included: /tmp/tmpa3egnbq5/tests/verify-pool-members-thin.yml for /cache/centos-8.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 09:04:27 +0000 (0:00:00.042) 0:04:12.331 ********* included: /tmp/tmpa3egnbq5/tests/verify-pool-member-thin.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) included: /tmp/tmpa3egnbq5/tests/verify-pool-member-thin.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test2', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '', '_raw_device': '', '_mount_id': ''}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 09:04:27 +0000 (0:00:00.049) 0:04:12.380 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 09:04:27 +0000 (0:00:00.025) 0:04:12.406 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 09:04:27 +0000 (0:00:00.022) 0:04:12.429 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 09:04:27 +0000 (0:00:00.022) 0:04:12.452 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 09:04:27 +0000 (0:00:00.021) 0:04:12.473 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 09:04:27 +0000 (0:00:00.021) 0:04:12.495 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 09:04:27 +0000 (0:00:00.023) 0:04:12.518 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 09:04:27 +0000 (0:00:00.024) 0:04:12.542 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 09:04:27 +0000 (0:00:00.024) 0:04:12.566 ********* included: /tmp/tmpa3egnbq5/tests/verify-pool-members-encryption.yml for /cache/centos-8.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 09:04:27 +0000 (0:00:00.045) 0:04:12.612 ********* ok: [/cache/centos-8.qcow2] => { "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/tmpa3egnbq5/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 09:04:27 +0000 (0:00:00.052) 0:04:12.665 ********* TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 09:04:27 +0000 (0:00:00.022) 0:04:12.687 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 09:04:27 +0000 (0:00:00.022) 0:04:12.710 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 09:04:28 +0000 (0:00:00.035) 0:04:12.746 ********* included: /tmp/tmpa3egnbq5/tests/verify-pool-members-vdo.yml for /cache/centos-8.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 09:04:28 +0000 (0:00:00.048) 0:04:12.794 ********* included: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) included: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test2', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '', '_raw_device': '', '_mount_id': ''}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 09:04:28 +0000 (0:00:00.057) 0:04:12.852 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 09:04:28 +0000 (0:00:00.023) 0:04:12.875 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 09:04:28 +0000 (0:00:00.023) 0:04:12.899 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 09:04:28 +0000 (0:00:00.024) 0:04:12.923 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 09:04:28 +0000 (0:00:00.025) 0:04:12.949 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 09:04:28 +0000 (0:00:00.022) 0:04:12.971 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 09:04:28 +0000 (0:00:00.022) 0:04:12.993 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 09:04:28 +0000 (0:00:00.022) 0:04:13.016 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 09:04:28 +0000 (0:00:00.034) 0:04:13.051 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 09:04:28 +0000 (0:00:00.025) 0:04:13.076 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 09:04:28 +0000 (0:00:00.023) 0:04:13.099 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 09:04:28 +0000 (0:00:00.023) 0:04:13.123 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 09:04:28 +0000 (0:00:00.059) 0:04:13.183 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 09:04:28 +0000 (0:00:00.025) 0:04:13.208 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 09:04:28 +0000 (0:00:00.025) 0:04:13.234 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 09:04:28 +0000 (0:00:00.026) 0:04:13.260 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 09:04:28 +0000 (0:00:00.037) 0:04:13.298 ********* ok: [/cache/centos-8.qcow2] => { "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/tmpa3egnbq5/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 09:04:28 +0000 (0:00:00.035) 0:04:13.333 ********* included: /tmp/tmpa3egnbq5/tests/test-verify-volume.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) included: /tmp/tmpa3egnbq5/tests/test-verify-volume.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test2', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '', '_raw_device': '', '_mount_id': ''}) TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume.yml:2 Thursday 21 July 2022 09:04:28 +0000 (0:00:00.046) 0:04:13.380 ********* ok: [/cache/centos-8.qcow2] => { "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/tmpa3egnbq5/tests/test-verify-volume.yml:10 Thursday 21 July 2022 09:04:28 +0000 (0:00:00.052) 0:04:13.432 ********* included: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml for /cache/centos-8.qcow2 => (item=mount) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-fstab.yml for /cache/centos-8.qcow2 => (item=fstab) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-fs.yml for /cache/centos-8.qcow2 => (item=fs) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml for /cache/centos-8.qcow2 => (item=device) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml for /cache/centos-8.qcow2 => (item=encryption) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml for /cache/centos-8.qcow2 => (item=md) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml for /cache/centos-8.qcow2 => (item=size) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml for /cache/centos-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 09:04:28 +0000 (0:00:00.078) 0:04:13.511 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 09:04:28 +0000 (0:00:00.040) 0:04:13.551 ********* ok: [/cache/centos-8.qcow2] => { "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/tmpa3egnbq5/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 09:04:28 +0000 (0:00:00.055) 0:04:13.607 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 09:04:28 +0000 (0:00:00.024) 0:04:13.631 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 09:04:28 +0000 (0:00:00.049) 0:04:13.681 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 09:04:28 +0000 (0:00:00.042) 0:04:13.724 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 09:04:29 +0000 (0:00:00.026) 0:04:13.750 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 09:04:29 +0000 (0:00:00.026) 0:04:13.777 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 09:04:29 +0000 (0:00:00.024) 0:04:13.801 ********* ok: [/cache/centos-8.qcow2] => { "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/tmpa3egnbq5/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 09:04:29 +0000 (0:00:00.043) 0:04:13.845 ********* ok: [/cache/centos-8.qcow2] => { "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/tmpa3egnbq5/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 09:04:29 +0000 (0:00:00.062) 0:04:13.907 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 09:04:29 +0000 (0:00:00.025) 0:04:13.933 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 09:04:29 +0000 (0:00:00.051) 0:04:13.985 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 09:04:29 +0000 (0:00:00.035) 0:04:14.021 ********* ok: [/cache/centos-8.qcow2] => { "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/tmpa3egnbq5/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 09:04:29 +0000 (0:00:00.037) 0:04:14.058 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 09:04:29 +0000 (0:00:00.026) 0:04:14.084 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 09:04:29 +0000 (0:00:00.023) 0:04:14.108 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 09:04:29 +0000 (0:00:00.384) 0:04:14.492 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 09:04:29 +0000 (0:00:00.038) 0:04:14.531 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 09:04:29 +0000 (0:00:00.023) 0:04:14.555 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 09:04:29 +0000 (0:00:00.035) 0:04:14.590 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 09:04:29 +0000 (0:00:00.022) 0:04:14.613 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 09:04:29 +0000 (0:00:00.022) 0:04:14.636 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 09:04:29 +0000 (0:00:00.026) 0:04:14.662 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 09:04:31 +0000 (0:00:01.912) 0:04:16.575 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 09:04:31 +0000 (0:00:00.025) 0:04:16.600 ********* skipping: [/cache/centos-8.qcow2] => { "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/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 09:04:31 +0000 (0:00:00.024) 0:04:16.625 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 09:04:31 +0000 (0:00:00.025) 0:04:16.650 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 09:04:31 +0000 (0:00:00.024) 0:04:16.675 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 09:04:31 +0000 (0:00:00.024) 0:04:16.700 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 09:04:31 +0000 (0:00:00.024) 0:04:16.724 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 09:04:32 +0000 (0:00:00.025) 0:04:16.750 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 09:04:32 +0000 (0:00:00.024) 0:04:16.774 ********* ok: [/cache/centos-8.qcow2] => { "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/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 09:04:32 +0000 (0:00:00.051) 0:04:16.825 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 09:04:32 +0000 (0:00:00.061) 0:04:16.886 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 09:04:32 +0000 (0:00:00.041) 0:04:16.928 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 09:04:32 +0000 (0:00:00.037) 0:04:16.965 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 09:04:32 +0000 (0:00:00.034) 0:04:17.000 ********* ok: [/cache/centos-8.qcow2] => { "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/tmpa3egnbq5/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 09:04:32 +0000 (0:00:00.036) 0:04:17.036 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 09:04:32 +0000 (0:00:00.040) 0:04:17.076 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 09:04:32 +0000 (0:00:00.036) 0:04:17.113 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 09:04:32 +0000 (0:00:00.036) 0:04:17.149 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 09:04:32 +0000 (0:00:00.044) 0:04:17.194 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 09:04:32 +0000 (0:00:00.042) 0:04:17.236 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 09:04:32 +0000 (0:00:00.037) 0:04:17.273 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 09:04:32 +0000 (0:00:00.037) 0:04:17.311 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 09:04:32 +0000 (0:00:00.025) 0:04:17.336 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 09:04:32 +0000 (0:00:00.040) 0:04:17.377 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 09:04:32 +0000 (0:00:00.038) 0:04:17.416 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_expected_size": "5368709120" } TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 09:04:32 +0000 (0:00:00.038) 0:04:17.454 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 09:04:32 +0000 (0:00:00.036) 0:04:17.491 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 09:04:32 +0000 (0:00:00.041) 0:04:17.532 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 09:04:32 +0000 (0:00:00.037) 0:04:17.569 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 09:04:32 +0000 (0:00:00.036) 0:04:17.606 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 09:04:32 +0000 (0:00:00.037) 0:04:17.644 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 09:04:32 +0000 (0:00:00.050) 0:04:17.694 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_expected_size": "5368709120" } TASK [assert] ****************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 09:04:32 +0000 (0:00:00.041) 0:04:17.735 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 09:04:33 +0000 (0:00:00.026) 0:04:17.762 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 09:04:33 +0000 (0:00:00.026) 0:04:17.789 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 09:04:33 +0000 (0:00:00.026) 0:04:17.816 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 09:04:33 +0000 (0:00:00.025) 0:04:17.841 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 09:04:33 +0000 (0:00:00.027) 0:04:17.869 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 09:04:33 +0000 (0:00:00.034) 0:04:17.903 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 09:04:33 +0000 (0:00:00.037) 0:04:17.941 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume.yml:16 Thursday 21 July 2022 09:04:33 +0000 (0:00:00.030) 0:04:17.972 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume.yml:2 Thursday 21 July 2022 09:04:33 +0000 (0:00:00.036) 0:04:18.008 ********* ok: [/cache/centos-8.qcow2] => { "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/tmpa3egnbq5/tests/test-verify-volume.yml:10 Thursday 21 July 2022 09:04:33 +0000 (0:00:00.053) 0:04:18.062 ********* included: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml for /cache/centos-8.qcow2 => (item=mount) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-fstab.yml for /cache/centos-8.qcow2 => (item=fstab) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-fs.yml for /cache/centos-8.qcow2 => (item=fs) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml for /cache/centos-8.qcow2 => (item=device) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml for /cache/centos-8.qcow2 => (item=encryption) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml for /cache/centos-8.qcow2 => (item=md) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml for /cache/centos-8.qcow2 => (item=size) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml for /cache/centos-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 09:04:33 +0000 (0:00:00.078) 0:04:18.140 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 09:04:33 +0000 (0:00:00.041) 0:04:18.182 ********* ok: [/cache/centos-8.qcow2] => { "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/tmpa3egnbq5/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 09:04:33 +0000 (0:00:00.106) 0:04:18.288 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 09:04:33 +0000 (0:00:00.024) 0:04:18.313 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 09:04:33 +0000 (0:00:00.084) 0:04:18.398 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 09:04:33 +0000 (0:00:00.037) 0:04:18.435 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 09:04:33 +0000 (0:00:00.022) 0:04:18.458 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 09:04:33 +0000 (0:00:00.022) 0:04:18.480 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 09:04:33 +0000 (0:00:00.023) 0:04:18.504 ********* ok: [/cache/centos-8.qcow2] => { "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/tmpa3egnbq5/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 09:04:33 +0000 (0:00:00.035) 0:04:18.540 ********* ok: [/cache/centos-8.qcow2] => { "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/tmpa3egnbq5/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 09:04:33 +0000 (0:00:00.060) 0:04:18.600 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 09:04:33 +0000 (0:00:00.024) 0:04:18.625 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 09:04:33 +0000 (0:00:00.050) 0:04:18.676 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 09:04:33 +0000 (0:00:00.039) 0:04:18.715 ********* ok: [/cache/centos-8.qcow2] => { "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/tmpa3egnbq5/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 09:04:34 +0000 (0:00:00.037) 0:04:18.753 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 09:04:34 +0000 (0:00:00.026) 0:04:18.779 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 09:04:34 +0000 (0:00:00.024) 0:04:18.804 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 09:04:34 +0000 (0:00:00.376) 0:04:19.180 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 09:04:34 +0000 (0:00:00.039) 0:04:19.220 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 09:04:34 +0000 (0:00:00.024) 0:04:19.244 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 09:04:34 +0000 (0:00:00.036) 0:04:19.281 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 09:04:34 +0000 (0:00:00.023) 0:04:19.305 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 09:04:34 +0000 (0:00:00.023) 0:04:19.328 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 09:04:34 +0000 (0:00:00.025) 0:04:19.353 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 09:04:36 +0000 (0:00:01.850) 0:04:21.203 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 09:04:36 +0000 (0:00:00.025) 0:04:21.229 ********* skipping: [/cache/centos-8.qcow2] => { "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/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 09:04:36 +0000 (0:00:00.024) 0:04:21.253 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 09:04:36 +0000 (0:00:00.023) 0:04:21.277 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 09:04:36 +0000 (0:00:00.025) 0:04:21.302 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 09:04:36 +0000 (0:00:00.023) 0:04:21.326 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 09:04:36 +0000 (0:00:00.024) 0:04:21.350 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 09:04:36 +0000 (0:00:00.024) 0:04:21.374 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 09:04:36 +0000 (0:00:00.025) 0:04:21.400 ********* ok: [/cache/centos-8.qcow2] => { "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/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 09:04:36 +0000 (0:00:00.051) 0:04:21.451 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 09:04:36 +0000 (0:00:00.085) 0:04:21.537 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 09:04:36 +0000 (0:00:00.050) 0:04:21.588 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 09:04:36 +0000 (0:00:00.039) 0:04:21.628 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 09:04:36 +0000 (0:00:00.037) 0:04:21.666 ********* ok: [/cache/centos-8.qcow2] => { "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/tmpa3egnbq5/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 09:04:37 +0000 (0:00:00.090) 0:04:21.757 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 09:04:37 +0000 (0:00:00.041) 0:04:21.798 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 09:04:37 +0000 (0:00:00.037) 0:04:21.835 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 09:04:37 +0000 (0:00:00.036) 0:04:21.871 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 09:04:37 +0000 (0:00:00.039) 0:04:21.911 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 09:04:37 +0000 (0:00:00.037) 0:04:21.948 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 09:04:37 +0000 (0:00:00.038) 0:04:21.987 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 09:04:37 +0000 (0:00:00.041) 0:04:22.028 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 09:04:37 +0000 (0:00:00.026) 0:04:22.054 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 09:04:37 +0000 (0:00:00.078) 0:04:22.133 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 09:04:37 +0000 (0:00:00.040) 0:04:22.174 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_expected_size": "5368709120" } TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 09:04:37 +0000 (0:00:00.038) 0:04:22.212 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 09:04:37 +0000 (0:00:00.039) 0:04:22.252 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 09:04:37 +0000 (0:00:00.038) 0:04:22.290 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 09:04:37 +0000 (0:00:00.037) 0:04:22.328 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 09:04:37 +0000 (0:00:00.037) 0:04:22.366 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 09:04:37 +0000 (0:00:00.037) 0:04:22.404 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 09:04:37 +0000 (0:00:00.037) 0:04:22.441 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_expected_size": "5368709120" } TASK [assert] ****************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 09:04:37 +0000 (0:00:00.036) 0:04:22.477 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 09:04:37 +0000 (0:00:00.022) 0:04:22.500 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 09:04:37 +0000 (0:00:00.025) 0:04:22.526 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 09:04:37 +0000 (0:00:00.025) 0:04:22.551 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 09:04:37 +0000 (0:00:00.025) 0:04:22.577 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 09:04:37 +0000 (0:00:00.025) 0:04:22.602 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 09:04:37 +0000 (0:00:00.024) 0:04:22.626 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 09:04:37 +0000 (0:00:00.023) 0:04:22.649 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume.yml:16 Thursday 21 July 2022 09:04:37 +0000 (0:00:00.025) 0:04:22.675 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:43 Thursday 21 July 2022 09:04:37 +0000 (0:00:00.036) 0:04:22.712 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:53 Thursday 21 July 2022 09:04:37 +0000 (0:00:00.023) 0:04:22.735 ********* ok: [/cache/centos-8.qcow2] => { "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-8.qcow2 : ok=536 changed=9 unreachable=0 failed=0 skipped=540 rescued=0 ignored=0 Thursday 21 July 2022 09:04:38 +0000 (0:00:00.057) 0:04:22.793 ********* =============================================================================== linux-system-roles.storage : make sure blivet is available ------------ 160.62s /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Ensure cryptsetup is present -------------------------------------------- 3.53s /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:10 ------------------- linux-system-roles.storage : get service facts -------------------------- 2.77s /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 linux-system-roles.storage : make sure required packages are installed --- 2.08s /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Ensure cryptsetup is present -------------------------------------------- 1.97s /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:10 ------------------- Ensure cryptsetup is present -------------------------------------------- 1.93s /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:10 ------------------- Ensure cryptsetup is present -------------------------------------------- 1.92s /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:10 ------------------- Ensure cryptsetup is present -------------------------------------------- 1.91s /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:10 ------------------- Ensure cryptsetup is present -------------------------------------------- 1.91s /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:10 ------------------- Ensure cryptsetup is present -------------------------------------------- 1.85s /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:10 ------------------- linux-system-roles.storage : manage the pools and volumes to match the specified state --- 1.83s /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Ensure cryptsetup is present -------------------------------------------- 1.82s /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:10 ------------------- linux-system-roles.storage : manage the pools and volumes to match the specified state --- 1.80s /tmp/tmpa3egnbq5/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.75s /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Read the /etc/crypttab file --------------------------------------------- 1.39s /tmp/tmpa3egnbq5/tests/verify-role-results.yml:24 ----------------------------- linux-system-roles.storage : manage the pools and volumes to match the specified state --- 1.30s /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Gathering Facts --------------------------------------------------------- 1.10s /tmp/tmpa3egnbq5/tests/tests_create_lvm_pool_then_remove_scsi_generated.yml:3 - linux-system-roles.storage : Update facts ------------------------------- 1.03s /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 linux-system-roles.storage : Update facts ------------------------------- 1.01s /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Enable HA repos --------------------------------------------------------- 0.99s /cache/centos-8_setup.yml:5 --------------------------------------------------- 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/tmpu1heti3n executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: centos-8_setup.yml *************************************************** 1 plays in /cache/centos-8_setup.yml PLAY [Enable HA repos] ********************************************************* META: ran handlers TASK [Enable HA repos] ********************************************************* task path: /cache/centos-8_setup.yml:5 Thursday 21 July 2022 18:15:32 +0000 (0:00:00.018) 0:00:00.018 ********* changed: [/cache/centos-8.qcow2] => { "ansible_facts": { "discovered_interpreter_python": "/usr/libexec/platform-python" }, "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "ha" ], "delta": "0:00:00.413967", "end": "2022-07-21 18:15:33.191745", "rc": 0, "start": "2022-07-21 18:15:32.777778" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Thursday 21 July 2022 18:15:33 +0000 (0:00:01.070) 0:00:01.088 ********* =============================================================================== Enable HA repos --------------------------------------------------------- 1.07s /cache/centos-8_setup.yml:5 --------------------------------------------------- PLAYBOOK: tests_create_lvm_pool_then_remove_scsi_generated.yml ***************** 2 plays in /tmp/tmp_0pjp8ed/tests/storage/tests_create_lvm_pool_then_remove_scsi_generated.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/tests_create_lvm_pool_then_remove_scsi_generated.yml:3 Thursday 21 July 2022 18:15:33 +0000 (0:00:00.014) 0:00:01.103 ********* ok: [/cache/centos-8.qcow2] META: ran handlers TASK [set disk interface for test] ********************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/tests_create_lvm_pool_then_remove_scsi_generated.yml:7 Thursday 21 July 2022 18:15:34 +0000 (0:00:01.123) 0:00:02.227 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_use_interface": "scsi" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/tests_create_lvm_pool_then_remove.yml:2 Thursday 21 July 2022 18:15:34 +0000 (0:00:00.046) 0:00:02.273 ********* ok: [/cache/centos-8.qcow2] META: ran handlers TASK [include_role : fedora.linux_system_roles.storage] ************************ task path: /tmp/tmp_0pjp8ed/tests/storage/tests_create_lvm_pool_then_remove.yml:15 Thursday 21 July 2022 18:15:35 +0000 (0:00:00.860) 0:00:03.134 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 18:15:35 +0000 (0:00:00.036) 0:00:03.170 ********* included: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 18:15:35 +0000 (0:00:00.028) 0:00:03.199 ********* ok: [/cache/centos-8.qcow2] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 18:15:35 +0000 (0:00:00.523) 0:00:03.722 ********* skipping: [/cache/centos-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-8.qcow2] => (item=CentOS_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [/cache/centos-8.qcow2] => (item=CentOS_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 18:15:35 +0000 (0:00:00.068) 0:00:03.791 ********* ok: [/cache/centos-8.qcow2] => { "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/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 18:15:35 +0000 (0:00:00.032) 0:00:03.824 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 18:15:35 +0000 (0:00:00.032) 0:00:03.856 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 18:15:35 +0000 (0:00:00.063) 0:00:03.920 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 18:15:35 +0000 (0:00:00.021) 0:00:03.942 ********* changed: [/cache/centos-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: ndctl-71.1-4.el8.x86_64", "Installed: libblockdev-loop-2.24-8.el8.x86_64", "Installed: ndctl-libs-71.1-4.el8.x86_64", "Installed: libblockdev-lvm-2.24-8.el8.x86_64", "Installed: lvm2-libs-8:2.03.14-2.el8.x86_64", "Installed: device-mapper-multipath-libs-0.8.4-20.el8.x86_64", "Installed: nss-softokn-freebl-3.79.0-5.el8.x86_64", "Installed: kernel-modules-4.18.0-408.el8.x86_64", "Installed: daxctl-libs-71.1-4.el8.x86_64", "Installed: libblockdev-mdraid-2.24-8.el8.x86_64", "Installed: libblockdev-mpath-2.24-8.el8.x86_64", "Installed: device-mapper-persistent-data-0.9.0-7.el8.x86_64", "Installed: nss-sysinit-3.79.0-5.el8.x86_64", "Installed: libblockdev-nvdimm-2.24-8.el8.x86_64", "Installed: userspace-rcu-0.10.1-4.el8.x86_64", "Installed: libblockdev-part-2.24-8.el8.x86_64", "Installed: nss-util-3.79.0-5.el8.x86_64", "Installed: libblockdev-swap-2.24-8.el8.x86_64", "Installed: vdo-6.2.6.14-14.el8.x86_64", "Installed: libblockdev-utils-2.24-8.el8.x86_64", "Installed: linux-firmware-20220713-109.gitdfa29317.el8.noarch", "Installed: nspr-4.34.0-3.el8.x86_64", "Installed: mdadm-4.2-3.el8.x86_64", "Installed: python3-pyparted-1:3.11.7-4.el8.x86_64", "Installed: device-mapper-event-8:1.02.181-2.el8.x86_64", "Installed: libbytesize-1.4-3.el8.x86_64", "Installed: libblockdev-2.24-8.el8.x86_64", "Installed: nss-3.79.0-5.el8.x86_64", "Installed: python3-blivet-1:3.4.0-12.el8.noarch", "Installed: kernel-core-4.18.0-408.el8.x86_64", "Installed: libblockdev-crypto-2.24-8.el8.x86_64", "Installed: device-mapper-event-libs-8:1.02.181-2.el8.x86_64", "Installed: lsof-4.93.2-1.el8.x86_64", "Installed: libblockdev-dm-2.24-8.el8.x86_64", "Installed: python3-blockdev-2.24-8.el8.x86_64", "Installed: volume_key-libs-0.3.11-5.el8.x86_64", "Installed: blivet-data-1:3.4.0-12.el8.noarch", "Installed: python3-bytesize-1.4-3.el8.x86_64", "Installed: lvm2-8:2.03.14-2.el8.x86_64", "Installed: libblockdev-fs-2.24-8.el8.x86_64", "Installed: kmod-kvdo-6.2.6.14-84.el8.x86_64", "Installed: libblockdev-kbd-2.24-8.el8.x86_64", "Installed: nss-softokn-3.79.0-5.el8.x86_64", "Installed: libaio-0.3.112-1.el8.x86_64", "Installed: device-mapper-multipath-0.8.4-20.el8.x86_64" ] } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 18:18:02 +0000 (0:02:26.317) 0:02:30.259 ********* ok: [/cache/centos-8.qcow2] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 18:18:02 +0000 (0:00:00.064) 0:02:30.324 ********* ok: [/cache/centos-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 18:18:02 +0000 (0:00:00.062) 0:02:30.386 ********* ok: [/cache/centos-8.qcow2] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 18:18:03 +0000 (0:00:00.725) 0:02:31.112 ********* included: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.storage : check if the COPR support packages should be installed] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:2 Thursday 21 July 2022 18:18:03 +0000 (0:00:00.043) 0:02:31.155 ********* TASK [fedora.linux_system_roles.storage : make sure COPR support packages are present] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:13 Thursday 21 July 2022 18:18:03 +0000 (0:00:00.033) 0:02:31.188 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable COPRs] ************************ task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:18 Thursday 21 July 2022 18:18:03 +0000 (0:00:00.038) 0:02:31.227 ********* TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 18:18:03 +0000 (0:00:00.033) 0:02:31.260 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 18:18:05 +0000 (0:00:02.170) 0:02:33.431 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "services": { "NetworkManager-dispatcher.service": { "name": "NetworkManager-dispatcher.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "NetworkManager-wait-online.service": { "name": "NetworkManager-wait-online.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "NetworkManager.service": { "name": "NetworkManager.service", "source": "systemd", "state": "running", "status": "enabled" }, "auditd.service": { "name": "auditd.service", "source": "systemd", "state": "running", "status": "enabled" }, "auth-rpcgss-module.service": { "name": "auth-rpcgss-module.service", "source": "systemd", "state": "stopped", "status": "static" }, "autovt@.service": { "name": "autovt@.service", "source": "systemd", "state": "unknown", "status": "enabled" }, "blivet.service": { "name": "blivet.service", "source": "systemd", "state": "inactive", "status": "static" }, "blk-availability.service": { "name": "blk-availability.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "chrony-dnssrv@.service": { "name": "chrony-dnssrv@.service", "source": "systemd", "state": "unknown", "status": "static" }, "chrony-wait.service": { "name": "chrony-wait.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "chronyd.service": { "name": "chronyd.service", "source": "systemd", "state": "running", "status": "enabled" }, "cloud-config.service": { "name": "cloud-config.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-final.service": { "name": "cloud-final.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init-local.service": { "name": "cloud-init-local.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init.service": { "name": "cloud-init.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cockpit-motd.service": { "name": "cockpit-motd.service", "source": "systemd", "state": "inactive", "status": "static" }, "cockpit-wsinstance-http.service": { "name": "cockpit-wsinstance-http.service", "source": "systemd", "state": "inactive", "status": "static" }, "cockpit-wsinstance-https-factory@.service": { "name": "cockpit-wsinstance-https-factory@.service", "source": "systemd", "state": "unknown", "status": "static" }, "cockpit-wsinstance-https@.service": { "name": "cockpit-wsinstance-https@.service", "source": "systemd", "state": "unknown", "status": "static" }, "cockpit.service": { "name": "cockpit.service", "source": "systemd", "state": "inactive", "status": "static" }, "console-getty.service": { "name": "console-getty.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "container-getty@.service": { "name": "container-getty@.service", "source": "systemd", "state": "unknown", "status": "static" }, "cpupower.service": { "name": "cpupower.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "crond.service": { "name": "crond.service", "source": "systemd", "state": "running", "status": "enabled" }, "dbus-org.freedesktop.hostname1.service": { "name": "dbus-org.freedesktop.hostname1.service", "source": "systemd", "state": "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.nm-dispatcher.service": { "name": "dbus-org.freedesktop.nm-dispatcher.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "dbus-org.freedesktop.portable1.service": { "name": "dbus-org.freedesktop.portable1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.timedate1.service": { "name": "dbus-org.freedesktop.timedate1.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "dbus.service": { "name": "dbus.service", "source": "systemd", "state": "running", "status": "static" }, "debug-shell.service": { "name": "debug-shell.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "display-manager.service": { "name": "display-manager.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "dm-event.service": { "name": "dm-event.service", "source": "systemd", "state": "stopped", "status": "static" }, "dnf-makecache.service": { "name": "dnf-makecache.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-cmdline.service": { "name": "dracut-cmdline.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-initqueue.service": { "name": "dracut-initqueue.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-mount.service": { "name": "dracut-mount.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-mount.service": { "name": "dracut-pre-mount.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-pivot.service": { "name": "dracut-pre-pivot.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-trigger.service": { "name": "dracut-pre-trigger.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-udev.service": { "name": "dracut-pre-udev.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-shutdown.service": { "name": "dracut-shutdown.service", "source": "systemd", "state": "stopped", "status": "static" }, "emergency.service": { "name": "emergency.service", "source": "systemd", "state": "stopped", "status": "static" }, "fcoe.service": { "name": "fcoe.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "fstrim.service": { "name": "fstrim.service", "source": "systemd", "state": "inactive", "status": "static" }, "getty@.service": { "name": "getty@.service", "source": "systemd", "state": "unknown", "status": "enabled" }, "getty@tty1.service": { "name": "getty@tty1.service", "source": "systemd", "state": "running", "status": "active" }, "grub-boot-indeterminate.service": { "name": "grub-boot-indeterminate.service", "source": "systemd", "state": "inactive", "status": "static" }, "gssproxy.service": { "name": "gssproxy.service", "source": "systemd", "state": "running", "status": "disabled" }, "halt-local.service": { "name": "halt-local.service", "source": "systemd", "state": "inactive", "status": "static" }, "import-state.service": { "name": "import-state.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "initrd-cleanup.service": { "name": "initrd-cleanup.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-parse-etc.service": { "name": "initrd-parse-etc.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-switch-root.service": { "name": "initrd-switch-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-udevadm-cleanup-db.service": { "name": "initrd-udevadm-cleanup-db.service", "source": "systemd", "state": "stopped", "status": "static" }, "irqbalance.service": { "name": "irqbalance.service", "source": "systemd", "state": "running", "status": "enabled" }, "iscsi-shutdown.service": { "name": "iscsi-shutdown.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "iscsi.service": { "name": "iscsi.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "iscsid.service": { "name": "iscsid.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "kdump.service": { "name": "kdump.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "kmod-static-nodes.service": { "name": "kmod-static-nodes.service", "source": "systemd", "state": "stopped", "status": "static" }, "kvm_stat.service": { "name": "kvm_stat.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "ldconfig.service": { "name": "ldconfig.service", "source": "systemd", "state": "stopped", "status": "static" }, "loadmodules.service": { "name": "loadmodules.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "lvm2-activation-early.service": { "name": "lvm2-activation-early.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "lvm2-activation.service": { "name": "lvm2-activation.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "lvm2-lvmpolld.service": { "name": "lvm2-lvmpolld.service", "source": "systemd", "state": "stopped", "status": "static" }, "lvm2-monitor.service": { "name": "lvm2-monitor.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "lvm2-pvscan@.service": { "name": "lvm2-pvscan@.service", "source": "systemd", "state": "unknown", "status": "static" }, "man-db-cache-update.service": { "name": "man-db-cache-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "man-db-restart-cache-update.service": { "name": "man-db-restart-cache-update.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "mdadm-grow-continue@.service": { "name": "mdadm-grow-continue@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdadm-last-resort@.service": { "name": "mdadm-last-resort@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdcheck_continue.service": { "name": "mdcheck_continue.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdcheck_start.service": { "name": "mdcheck_start.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdmon@.service": { "name": "mdmon@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdmonitor-oneshot.service": { "name": "mdmonitor-oneshot.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdmonitor.service": { "name": "mdmonitor.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "messagebus.service": { "name": "messagebus.service", "source": "systemd", "state": "active", "status": "static" }, "microcode.service": { "name": "microcode.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "multipathd.service": { "name": "multipathd.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "ndctl-monitor.service": { "name": "ndctl-monitor.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "network.service": { "name": "network.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "nfs-blkmap.service": { "name": "nfs-blkmap.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfs-convert.service": { "name": "nfs-convert.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfs-idmapd.service": { "name": "nfs-idmapd.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-mountd.service": { "name": "nfs-mountd.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-server.service": { "name": "nfs-server.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "nfs-utils.service": { "name": "nfs-utils.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfsdcld.service": { "name": "nfsdcld.service", "source": "systemd", "state": "stopped", "status": "static" }, "nis-domainname.service": { "name": "nis-domainname.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "nm-priv-helper.service": { "name": "nm-priv-helper.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "ntpd.service": { "name": "ntpd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ntpdate.service": { "name": "ntpdate.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "oddjobd.service": { "name": "oddjobd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "packagekit-offline-update.service": { "name": "packagekit-offline-update.service", "source": "systemd", "state": "inactive", "status": "static" }, "packagekit.service": { "name": "packagekit.service", "source": "systemd", "state": "inactive", "status": "static" }, "plymouth-quit-wait.service": { "name": "plymouth-quit-wait.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "plymouth-start.service": { "name": "plymouth-start.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "polkit.service": { "name": "polkit.service", "source": "systemd", "state": "running", "status": "static" }, "qemu-guest-agent.service": { "name": "qemu-guest-agent.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "quotaon.service": { "name": "quotaon.service", "source": "systemd", "state": "inactive", "status": "static" }, "rbdmap.service": { "name": "rbdmap.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "rc-local.service": { "name": "rc-local.service", "source": "systemd", "state": "stopped", "status": "static" }, "rdisc.service": { "name": "rdisc.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rescue.service": { "name": "rescue.service", "source": "systemd", "state": "stopped", "status": "static" }, "rngd-wake-threshold.service": { "name": "rngd-wake-threshold.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "rngd.service": { "name": "rngd.service", "source": "systemd", "state": "running", "status": "enabled" }, "rpc-gssd.service": { "name": "rpc-gssd.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-statd-notify.service": { "name": "rpc-statd-notify.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-statd.service": { "name": "rpc-statd.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpcbind.service": { "name": "rpcbind.service", "source": "systemd", "state": "running", "status": "enabled" }, "rsyslog.service": { "name": "rsyslog.service", "source": "systemd", "state": "running", "status": "enabled" }, "run-rf31524ddb5f3419898fab40678ee8db4.service": { "name": "run-rf31524ddb5f3419898fab40678ee8db4.service", "source": "systemd", "state": "running", "status": "transient" }, "selinux-autorelabel-mark.service": { "name": "selinux-autorelabel-mark.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "selinux-autorelabel.service": { "name": "selinux-autorelabel.service", "source": "systemd", "state": "inactive", "status": "static" }, "serial-getty@.service": { "name": "serial-getty@.service", "source": "systemd", "state": "unknown", "status": "indirect" }, "serial-getty@ttyS0.service": { "name": "serial-getty@ttyS0.service", "source": "systemd", "state": "running", "status": "active" }, "sntp.service": { "name": "sntp.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sshd-keygen.service": { "name": "sshd-keygen.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sshd-keygen@.service": { "name": "sshd-keygen@.service", "source": "systemd", "state": "unknown", "status": "disabled" }, "sshd-keygen@ecdsa.service": { "name": "sshd-keygen@ecdsa.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd-keygen@ed25519.service": { "name": "sshd-keygen@ed25519.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd-keygen@rsa.service": { "name": "sshd-keygen@rsa.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd.service": { "name": "sshd.service", "source": "systemd", "state": "running", "status": "enabled" }, "sshd@.service": { "name": "sshd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "sssd-autofs.service": { "name": "sssd-autofs.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-kcm.service": { "name": "sssd-kcm.service", "source": "systemd", "state": "stopped", "status": "indirect" }, "sssd-nss.service": { "name": "sssd-nss.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-pac.service": { "name": "sssd-pac.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-pam.service": { "name": "sssd-pam.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-ssh.service": { "name": "sssd-ssh.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-sudo.service": { "name": "sssd-sudo.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd.service": { "name": "sssd.service", "source": "systemd", "state": "running", "status": "enabled" }, "syslog.service": { "name": "syslog.service", "source": "systemd", "state": "active", "status": "enabled" }, "system-update-cleanup.service": { "name": "system-update-cleanup.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-ask-password-console.service": { "name": "systemd-ask-password-console.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-ask-password-wall.service": { "name": "systemd-ask-password-wall.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-backlight@.service": { "name": "systemd-backlight@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-binfmt.service": { "name": "systemd-binfmt.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-coredump@.service": { "name": "systemd-coredump@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-exit.service": { "name": "systemd-exit.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-firstboot.service": { "name": "systemd-firstboot.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-fsck-root.service": { "name": "systemd-fsck-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-fsck@.service": { "name": "systemd-fsck@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-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-initctl.service": { "name": "systemd-initctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-catalog-update.service": { "name": "systemd-journal-catalog-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-flush.service": { "name": "systemd-journal-flush.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journald.service": { "name": "systemd-journald.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-kexec.service": { "name": "systemd-kexec.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-localed.service": { "name": "systemd-localed.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-logind.service": { "name": "systemd-logind.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-machine-id-commit.service": { "name": "systemd-machine-id-commit.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-modules-load.service": { "name": "systemd-modules-load.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-portabled.service": { "name": "systemd-portabled.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-poweroff.service": { "name": "systemd-poweroff.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-quotacheck.service": { "name": "systemd-quotacheck.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-random-seed.service": { "name": "systemd-random-seed.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-reboot.service": { "name": "systemd-reboot.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-remount-fs.service": { "name": "systemd-remount-fs.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-resolved.service": { "name": "systemd-resolved.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-rfkill.service": { "name": "systemd-rfkill.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-suspend-then-hibernate.service": { "name": "systemd-suspend-then-hibernate.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-suspend.service": { "name": "systemd-suspend.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-sysctl.service": { "name": "systemd-sysctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-sysusers.service": { "name": "systemd-sysusers.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-timedated.service": { "name": "systemd-timedated.service", "source": "systemd", "state": "inactive", "status": "masked" }, "systemd-timesyncd.service": { "name": "systemd-timesyncd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "systemd-tmpfiles-clean.service": { "name": "systemd-tmpfiles-clean.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup-dev.service": { "name": "systemd-tmpfiles-setup-dev.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup.service": { "name": "systemd-tmpfiles-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udev-settle.service": { "name": "systemd-udev-settle.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udev-trigger.service": { "name": "systemd-udev-trigger.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udevd.service": { "name": "systemd-udevd.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-update-done.service": { "name": "systemd-update-done.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-update-utmp-runlevel.service": { "name": "systemd-update-utmp-runlevel.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-update-utmp.service": { "name": "systemd-update-utmp.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-user-sessions.service": { "name": "systemd-user-sessions.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-vconsole-setup.service": { "name": "systemd-vconsole-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-volatile-root.service": { "name": "systemd-volatile-root.service", "source": "systemd", "state": "inactive", "status": "static" }, "tcsd.service": { "name": "tcsd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "teamd@.service": { "name": "teamd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "timedatex.service": { "name": "timedatex.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "tuned.service": { "name": "tuned.service", "source": "systemd", "state": "running", "status": "enabled" }, "unbound-anchor.service": { "name": "unbound-anchor.service", "source": "systemd", "state": "stopped", "status": "static" }, "user-runtime-dir@.service": { "name": "user-runtime-dir@.service", "source": "systemd", "state": "unknown", "status": "static" }, "user-runtime-dir@0.service": { "name": "user-runtime-dir@0.service", "source": "systemd", "state": "stopped", "status": "active" }, "user@.service": { "name": "user@.service", "source": "systemd", "state": "unknown", "status": "static" }, "user@0.service": { "name": "user@0.service", "source": "systemd", "state": "running", "status": "active" }, "vdo-start-by-dev@.service": { "name": "vdo-start-by-dev@.service", "source": "systemd", "state": "unknown", "status": "static" }, "vdo.service": { "name": "vdo.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "ypbind.service": { "name": "ypbind.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "yppasswdd.service": { "name": "yppasswdd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ypserv.service": { "name": "ypserv.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ypxfrd.service": { "name": "ypxfrd.service", "source": "systemd", "state": "stopped", "status": "not-found" } } }, "changed": false } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 18:18:07 +0000 (0:00:01.768) 0:02:35.199 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 18:18:07 +0000 (0:00:00.081) 0:02:35.281 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 18:18:07 +0000 (0:00:00.021) 0:02:35.302 ********* ok: [/cache/centos-8.qcow2] => { "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/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 18:18:07 +0000 (0:00:00.577) 0:02:35.880 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 18:18:07 +0000 (0:00:00.036) 0:02:35.916 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 18:18:07 +0000 (0:00:00.021) 0:02:35.937 ********* ok: [/cache/centos-8.qcow2] => { "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/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 18:18:07 +0000 (0:00:00.038) 0:02:35.976 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 18:18:08 +0000 (0:00:00.039) 0:02:36.015 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 18:18:08 +0000 (0:00:00.036) 0:02:36.051 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 18:18:08 +0000 (0:00:00.034) 0:02:36.085 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 18:18:08 +0000 (0:00:00.023) 0:02:36.108 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 18:18:08 +0000 (0:00:00.035) 0:02:36.143 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 18:18:08 +0000 (0:00:00.023) 0:02:36.166 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1658427367.7378547, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1643141385.117, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 135, "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": 1643141019.537, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "3147672035", "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/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 18:18:08 +0000 (0:00:00.562) 0:02:36.728 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 18:18:08 +0000 (0:00:00.023) 0:02:36.752 ********* ok: [/cache/centos-8.qcow2] META: role_complete for /cache/centos-8.qcow2 TASK [Mark tasks to be skipped] ************************************************ task path: /tmp/tmp_0pjp8ed/tests/storage/tests_create_lvm_pool_then_remove.yml:18 Thursday 21 July 2022 18:18:09 +0000 (0:00:01.018) 0:02:37.770 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_skip_checks": [ "blivet_available", "packages_installed", "service_facts" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/tests_create_lvm_pool_then_remove.yml:25 Thursday 21 July 2022 18:18:09 +0000 (0:00:00.034) 0:02:37.805 ********* included: /tmp/tmp_0pjp8ed/tests/storage/get_unused_disk.yml for /cache/centos-8.qcow2 TASK [Find unused disks in the system] ***************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/get_unused_disk.yml:2 Thursday 21 July 2022 18:18:09 +0000 (0:00:00.036) 0:02:37.842 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "disks": [ "sda" ] } TASK [Set unused_disks if necessary] ******************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/get_unused_disk.yml:9 Thursday 21 July 2022 18:18:11 +0000 (0:00:01.560) 0:02:39.402 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "unused_disks": [ "sda" ] }, "changed": false } TASK [Exit playbook when there's not enough unused disks in the system] ******** task path: /tmp/tmp_0pjp8ed/tests/storage/get_unused_disk.yml:14 Thursday 21 July 2022 18:18:11 +0000 (0:00:00.037) 0:02:39.440 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Print unused disks] ****************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/get_unused_disk.yml:19 Thursday 21 July 2022 18:18:11 +0000 (0:00:00.039) 0:02:39.479 ********* ok: [/cache/centos-8.qcow2] => { "unused_disks": [ "sda" ] } TASK [Create two LVM logical volumes under volume group 'foo'] ***************** task path: /tmp/tmp_0pjp8ed/tests/storage/tests_create_lvm_pool_then_remove.yml:30 Thursday 21 July 2022 18:18:11 +0000 (0:00:00.037) 0:02:39.516 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 18:18:11 +0000 (0:00:00.045) 0:02:39.561 ********* included: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 18:18:11 +0000 (0:00:00.034) 0:02:39.596 ********* ok: [/cache/centos-8.qcow2] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 18:18:12 +0000 (0:00:00.537) 0:02:40.134 ********* skipping: [/cache/centos-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-8.qcow2] => (item=CentOS_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [/cache/centos-8.qcow2] => (item=CentOS_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 18:18:12 +0000 (0:00:00.069) 0:02:40.203 ********* ok: [/cache/centos-8.qcow2] => { "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/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 18:18:12 +0000 (0:00:00.063) 0:02:40.267 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 18:18:12 +0000 (0:00:00.062) 0:02:40.329 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 18:18:12 +0000 (0:00:00.068) 0:02:40.397 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 18:18:12 +0000 (0:00:00.020) 0:02:40.418 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 18:18:12 +0000 (0:00:00.051) 0:02:40.469 ********* ok: [/cache/centos-8.qcow2] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "5g" }, { "mount_point": "/opt/test2", "name": "test2", "size": "4g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 18:18:12 +0000 (0:00:00.038) 0:02:40.508 ********* ok: [/cache/centos-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 18:18:12 +0000 (0:00:00.035) 0:02:40.543 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 18:18:12 +0000 (0:00:00.027) 0:02:40.571 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 18:18:12 +0000 (0:00:00.028) 0:02:40.599 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 18:18:12 +0000 (0:00:00.027) 0:02:40.627 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 18:18:12 +0000 (0:00:00.026) 0:02:40.653 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 18:18:12 +0000 (0:00:00.057) 0:02:40.711 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 18:18:12 +0000 (0:00:00.023) 0:02:40.735 ********* changed: [/cache/centos-8.qcow2] => { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test2", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test2", "fs_type": "xfs" }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd", "/dev/mapper/foo-test1", "/dev/mapper/foo-test2" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/foo-test2", "state": "mounted" } ], "packages": [ "xfsprogs", "lvm2" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-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": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/foo-test2", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test2", "_raw_device": "/dev/mapper/foo-test2", "_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/test2", "name": "test2", "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/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 18:18:14 +0000 (0:00:01.885) 0:02:42.620 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 18:18:14 +0000 (0:00:00.036) 0:02:42.656 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 18:18:14 +0000 (0:00:00.020) 0:02:42.677 ********* ok: [/cache/centos-8.qcow2] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test2", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test2", "fs_type": "xfs" }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd", "/dev/mapper/foo-test1", "/dev/mapper/foo-test2" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/foo-test2", "state": "mounted" } ], "packages": [ "xfsprogs", "lvm2" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-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": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/foo-test2", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test2", "_raw_device": "/dev/mapper/foo-test2", "_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/test2", "name": "test2", "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/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 18:18:14 +0000 (0:00:00.039) 0:02:42.717 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-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": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/foo-test2", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test2", "_raw_device": "/dev/mapper/foo-test2", "_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/test2", "name": "test2", "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/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 18:18:14 +0000 (0:00:00.037) 0:02:42.754 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 18:18:14 +0000 (0:00:00.035) 0:02:42.790 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 18:18:14 +0000 (0:00:00.035) 0:02:42.825 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 18:18:15 +0000 (0:00:00.887) 0:02:43.713 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-8.qcow2] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-8.qcow2] => (item={'src': '/dev/mapper/foo-test2', 'path': '/opt/test2', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/foo-test2", "state": "mounted" }, "name": "/opt/test2", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test2" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 18:18:16 +0000 (0:00:00.980) 0:02:44.693 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 18:18:17 +0000 (0:00:00.599) 0:02:45.293 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1658427367.7378547, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1643141385.117, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 135, "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": 1643141019.537, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "3147672035", "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/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 18:18:17 +0000 (0:00:00.375) 0:02:45.668 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 18:18:17 +0000 (0:00:00.021) 0:02:45.689 ********* ok: [/cache/centos-8.qcow2] META: role_complete for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/tests_create_lvm_pool_then_remove.yml:45 Thursday 21 July 2022 18:18:18 +0000 (0:00:00.956) 0:02:46.645 ********* included: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml for /cache/centos-8.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 18:18:18 +0000 (0:00:00.065) 0:02:46.711 ********* ok: [/cache/centos-8.qcow2] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-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": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/foo-test2", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test2", "_raw_device": "/dev/mapper/foo-test2", "_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/test2", "name": "test2", "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/tmp_0pjp8ed/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 18:18:18 +0000 (0:00:00.050) 0:02:46.761 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 18:18:18 +0000 (0:00:00.034) 0:02:46.796 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test1", "size": "5G", "type": "lvm", "uuid": "ec118681-93f9-49ff-8cc9-aa8e5c9cb245" }, "/dev/mapper/foo-test2": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test2", "size": "4G", "type": "lvm", "uuid": "a101eda5-eacf-42cc-80f8-dc91c4dfa9ec" }, "/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": "LVM2_member", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "dmtOxo-n9CE-fzoG-hDKc-PlWE-gW46-4dMzsQ" }, "/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-18-15-13-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "10G", "type": "partition", "uuid": "395b9844-e404-4857-afbb-c6edccaf72f3" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 18:18:19 +0000 (0:00:00.461) 0:02:47.257 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003785", "end": "2022-07-21 18:18:19.741985", "rc": 0, "start": "2022-07-21 18:18:19.738200" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jan 25 20:03:39 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=395b9844-e404-4857-afbb-c6edccaf72f3 / xfs defaults 0 0 /dev/mapper/foo-test1 /opt/test1 xfs defaults 0 0 /dev/mapper/foo-test2 /opt/test2 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 18:18:19 +0000 (0:00:00.383) 0:02:47.641 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002679", "end": "2022-07-21 18:18:20.129479", "failed_when_result": false, "rc": 0, "start": "2022-07-21 18:18:20.126800" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 18:18:20 +0000 (0:00:00.390) 0:02:48.032 ********* included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool.yml for /cache/centos-8.qcow2 => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}, {'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test2', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test2', '_raw_device': '/dev/mapper/foo-test2', '_mount_id': '/dev/mapper/foo-test2', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 18:18:20 +0000 (0:00:00.066) 0:02:48.099 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 18:18:20 +0000 (0:00:00.035) 0:02:48.134 ********* included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml for /cache/centos-8.qcow2 => (item=members) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-volumes.yml for /cache/centos-8.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 18:18:20 +0000 (0:00:00.045) 0:02:48.179 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 18:18:20 +0000 (0:00:00.060) 0:02:48.240 ********* ok: [/cache/centos-8.qcow2] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 18:18:20 +0000 (0:00:00.530) 0:02:48.770 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 18:18:20 +0000 (0:00:00.049) 0:02:48.820 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 18:18:20 +0000 (0:00:00.051) 0:02:48.871 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 18:18:20 +0000 (0:00:00.049) 0:02:48.921 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 18:18:20 +0000 (0:00:00.038) 0:02:48.960 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 18:18:21 +0000 (0:00:00.082) 0:02:49.043 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 18:18:21 +0000 (0:00:00.023) 0:02:49.066 ********* ok: [/cache/centos-8.qcow2] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 18:18:21 +0000 (0:00:00.042) 0:02:49.109 ********* included: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-md.yml for /cache/centos-8.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 18:18:21 +0000 (0:00:00.040) 0:02:49.149 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 18:18:21 +0000 (0:00:00.022) 0:02:49.172 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 18:18:21 +0000 (0:00:00.054) 0:02:49.227 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 18:18:21 +0000 (0:00:00.024) 0:02:49.251 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 18:18:21 +0000 (0:00:00.023) 0:02:49.274 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 18:18:21 +0000 (0:00:00.023) 0:02:49.297 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 18:18:21 +0000 (0:00:00.024) 0:02:49.322 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 18:18:21 +0000 (0:00:00.023) 0:02:49.345 ********* ok: [/cache/centos-8.qcow2] => { "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/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 18:18:21 +0000 (0:00:00.032) 0:02:49.378 ********* included: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-members-lvmraid.yml for /cache/centos-8.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 18:18:21 +0000 (0:00:00.043) 0:02:49.421 ********* included: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-lvmraid.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-lvmraid.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test2', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test2', '_raw_device': '/dev/mapper/foo-test2', '_mount_id': '/dev/mapper/foo-test2', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 18:18:21 +0000 (0:00:00.047) 0:02:49.469 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 18:18:21 +0000 (0:00:00.027) 0:02:49.496 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 18:18:21 +0000 (0:00:00.026) 0:02:49.523 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 18:18:21 +0000 (0:00:00.025) 0:02:49.549 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 18:18:21 +0000 (0:00:00.025) 0:02:49.574 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 18:18:21 +0000 (0:00:00.027) 0:02:49.601 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 18:18:21 +0000 (0:00:00.026) 0:02:49.627 ********* included: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-members-thin.yml for /cache/centos-8.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 18:18:21 +0000 (0:00:00.042) 0:02:49.670 ********* included: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-thin.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-thin.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test2', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test2', '_raw_device': '/dev/mapper/foo-test2', '_mount_id': '/dev/mapper/foo-test2', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 18:18:21 +0000 (0:00:00.049) 0:02:49.719 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 18:18:21 +0000 (0:00:00.022) 0:02:49.742 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 18:18:21 +0000 (0:00:00.022) 0:02:49.764 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 18:18:21 +0000 (0:00:00.022) 0:02:49.787 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about thinpool] ****************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 18:18:21 +0000 (0:00:00.021) 0:02:49.808 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 18:18:21 +0000 (0:00:00.021) 0:02:49.829 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 18:18:21 +0000 (0:00:00.021) 0:02:49.851 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 18:18:21 +0000 (0:00:00.022) 0:02:49.873 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 18:18:21 +0000 (0:00:00.021) 0:02:49.894 ********* included: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-members-encryption.yml for /cache/centos-8.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 18:18:21 +0000 (0:00:00.045) 0:02:49.939 ********* ok: [/cache/centos-8.qcow2] => { "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/tmp_0pjp8ed/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 18:18:21 +0000 (0:00:00.046) 0:02:49.985 ********* skipping: [/cache/centos-8.qcow2] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "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/tmp_0pjp8ed/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 18:18:22 +0000 (0:00:00.027) 0:02:50.013 ********* included: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-crypttab.yml for /cache/centos-8.qcow2 => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 18:18:22 +0000 (0:00:00.044) 0:02:50.058 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-crypttab.yml:4 Thursday 21 July 2022 18:18:22 +0000 (0:00:00.048) 0:02:50.106 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-crypttab.yml:9 Thursday 21 July 2022 18:18:22 +0000 (0:00:00.047) 0:02:50.153 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-crypttab.yml:15 Thursday 21 July 2022 18:18:22 +0000 (0:00:00.036) 0:02:50.190 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-crypttab.yml:21 Thursday 21 July 2022 18:18:22 +0000 (0:00:00.034) 0:02:50.225 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 18:18:22 +0000 (0:00:00.034) 0:02:50.259 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 18:18:22 +0000 (0:00:00.082) 0:02:50.342 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 18:18:22 +0000 (0:00:00.098) 0:02:50.440 ********* included: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-members-vdo.yml for /cache/centos-8.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 18:18:22 +0000 (0:00:00.048) 0:02:50.488 ********* included: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test2', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test2', '_raw_device': '/dev/mapper/foo-test2', '_mount_id': '/dev/mapper/foo-test2', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 18:18:22 +0000 (0:00:00.055) 0:02:50.544 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 18:18:22 +0000 (0:00:00.024) 0:02:50.568 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 18:18:22 +0000 (0:00:00.024) 0:02:50.592 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 18:18:22 +0000 (0:00:00.025) 0:02:50.618 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 18:18:22 +0000 (0:00:00.023) 0:02:50.641 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 18:18:22 +0000 (0:00:00.024) 0:02:50.666 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 18:18:22 +0000 (0:00:00.024) 0:02:50.690 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 18:18:22 +0000 (0:00:00.025) 0:02:50.716 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 18:18:22 +0000 (0:00:00.034) 0:02:50.751 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 18:18:22 +0000 (0:00:00.025) 0:02:50.776 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 18:18:22 +0000 (0:00:00.024) 0:02:50.800 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 18:18:22 +0000 (0:00:00.026) 0:02:50.826 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 18:18:22 +0000 (0:00:00.023) 0:02:50.849 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 18:18:22 +0000 (0:00:00.022) 0:02:50.872 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 18:18:22 +0000 (0:00:00.022) 0:02:50.894 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 18:18:22 +0000 (0:00:00.026) 0:02:50.920 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 18:18:22 +0000 (0:00:00.033) 0:02:50.953 ********* ok: [/cache/centos-8.qcow2] => { "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/tmp_0pjp8ed/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 18:18:22 +0000 (0:00:00.033) 0:02:50.987 ********* included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test2', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test2', '_raw_device': '/dev/mapper/foo-test2', '_mount_id': '/dev/mapper/foo-test2', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 18:18:23 +0000 (0:00:00.047) 0:02:51.034 ********* ok: [/cache/centos-8.qcow2] => { "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/tmp_0pjp8ed/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 18:18:23 +0000 (0:00:00.052) 0:02:51.086 ********* included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml for /cache/centos-8.qcow2 => (item=mount) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml for /cache/centos-8.qcow2 => (item=fstab) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fs.yml for /cache/centos-8.qcow2 => (item=fs) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml for /cache/centos-8.qcow2 => (item=device) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml for /cache/centos-8.qcow2 => (item=encryption) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml for /cache/centos-8.qcow2 => (item=md) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml for /cache/centos-8.qcow2 => (item=size) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml for /cache/centos-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 18:18:23 +0000 (0:00:00.086) 0:02:51.173 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 18:18:23 +0000 (0:00:00.041) 0:02:51.214 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 1290774, "block_size": 4096, "block_total": 1308160, "block_used": 17386, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 2621437, "inode_total": 2621440, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 5287010304, "size_total": 5358223360, "uuid": "ec118681-93f9-49ff-8cc9-aa8e5c9cb245" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 1290774, "block_size": 4096, "block_total": 1308160, "block_used": 17386, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 2621437, "inode_total": 2621440, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 5287010304, "size_total": 5358223360, "uuid": "ec118681-93f9-49ff-8cc9-aa8e5c9cb245" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 18:18:23 +0000 (0:00:00.058) 0:02:51.273 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 18:18:23 +0000 (0:00:00.057) 0:02:51.330 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 18:18:23 +0000 (0:00:00.055) 0:02:51.386 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 18:18:23 +0000 (0:00:00.056) 0:02:51.442 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 18:18:23 +0000 (0:00:00.030) 0:02:51.472 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 18:18:23 +0000 (0:00:00.031) 0:02:51.503 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 18:18:23 +0000 (0:00:00.025) 0:02:51.529 ********* ok: [/cache/centos-8.qcow2] => { "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/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 18:18:23 +0000 (0:00:00.070) 0:02:51.600 ********* ok: [/cache/centos-8.qcow2] => { "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/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 18:18:23 +0000 (0:00:00.130) 0:02:51.730 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 18:18:23 +0000 (0:00:00.049) 0:02:51.780 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 18:18:23 +0000 (0:00:00.048) 0:02:51.829 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 18:18:23 +0000 (0:00:00.036) 0:02:51.865 ********* ok: [/cache/centos-8.qcow2] => { "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/tmp_0pjp8ed/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 18:18:23 +0000 (0:00:00.035) 0:02:51.900 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 18:18:23 +0000 (0:00:00.039) 0:02:51.940 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 18:18:23 +0000 (0:00:00.041) 0:02:51.981 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1658427494.6568546, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658427494.6568546, "dev": 6, "device_type": 64769, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 96882, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658427494.6568546, "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/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 18:18:24 +0000 (0:00:00.397) 0:02:52.378 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 18:18:24 +0000 (0:00:00.040) 0:02:52.419 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 18:18:24 +0000 (0:00:00.040) 0:02:52.460 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 18:18:24 +0000 (0:00:00.038) 0:02:52.498 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 18:18:24 +0000 (0:00:00.026) 0:02:52.525 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 18:18:24 +0000 (0:00:00.039) 0:02:52.565 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 18:18:24 +0000 (0:00:00.025) 0:02:52.590 ********* changed: [/cache/centos-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: cryptsetup-libs-2.3.7-2.el8.x86_64", "Installed: cryptsetup-2.3.7-2.el8.x86_64", "Removed: cryptsetup-libs-2.3.3-4.el8.x86_64" ] } TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 18:18:27 +0000 (0:00:03.128) 0:02:55.719 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 18:18:27 +0000 (0:00:00.025) 0:02:55.745 ********* skipping: [/cache/centos-8.qcow2] => { "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/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 18:18:27 +0000 (0:00:00.024) 0:02:55.770 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 18:18:27 +0000 (0:00:00.052) 0:02:55.823 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 18:18:27 +0000 (0:00:00.025) 0:02:55.849 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 18:18:27 +0000 (0:00:00.024) 0:02:55.873 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 18:18:27 +0000 (0:00:00.025) 0:02:55.899 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 18:18:27 +0000 (0:00:00.025) 0:02:55.924 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 18:18:27 +0000 (0:00:00.026) 0:02:55.951 ********* ok: [/cache/centos-8.qcow2] => { "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/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 18:18:28 +0000 (0:00:00.053) 0:02:56.004 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 18:18:28 +0000 (0:00:00.054) 0:02:56.059 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 18:18:28 +0000 (0:00:00.040) 0:02:56.100 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 18:18:28 +0000 (0:00:00.038) 0:02:56.138 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 18:18:28 +0000 (0:00:00.038) 0:02:56.177 ********* ok: [/cache/centos-8.qcow2] => { "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/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 18:18:28 +0000 (0:00:00.066) 0:02:56.243 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 18:18:28 +0000 (0:00:00.045) 0:02:56.288 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 18:18:28 +0000 (0:00:00.034) 0:02:56.323 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 18:18:28 +0000 (0:00:00.035) 0:02:56.359 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 18:18:28 +0000 (0:00:00.035) 0:02:56.394 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 18:18:28 +0000 (0:00:00.039) 0:02:56.433 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 18:18:28 +0000 (0:00:00.034) 0:02:56.468 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 18:18:28 +0000 (0:00:00.035) 0:02:56.503 ********* ok: [/cache/centos-8.qcow2] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 18:18:29 +0000 (0:00:00.513) 0:02:57.016 ********* ok: [/cache/centos-8.qcow2] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 18:18:29 +0000 (0:00:00.391) 0:02:57.408 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_expected_size": "5368709120" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 18:18:29 +0000 (0:00:00.050) 0:02:57.459 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_expected_size": "5368709120" } TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 18:18:29 +0000 (0:00:00.038) 0:02:57.498 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 18:18:29 +0000 (0:00:00.038) 0:02:57.536 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 18:18:29 +0000 (0:00:00.038) 0:02:57.575 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 18:18:29 +0000 (0:00:00.038) 0:02:57.613 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 18:18:29 +0000 (0:00:00.041) 0:02:57.655 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 18:18:29 +0000 (0:00:00.038) 0:02:57.693 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_actual_size": { "bytes": 5368709120, "changed": false, "failed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 18:18:29 +0000 (0:00:00.038) 0:02:57.732 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_expected_size": "5368709120" } TASK [assert] ****************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 18:18:29 +0000 (0:00:00.039) 0:02:57.771 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 18:18:29 +0000 (0:00:00.054) 0:02:57.826 ********* ok: [/cache/centos-8.qcow2] => { "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.039079", "end": "2022-07-21 18:18:30.345855", "rc": 0, "start": "2022-07-21 18:18:30.306776" } 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/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 18:18:30 +0000 (0:00:00.419) 0:02:58.246 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 18:18:30 +0000 (0:00:00.052) 0:02:58.298 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 18:18:30 +0000 (0:00:00.052) 0:02:58.351 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 18:18:30 +0000 (0:00:00.039) 0:02:58.390 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 18:18:30 +0000 (0:00:00.052) 0:02:58.443 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 18:18:30 +0000 (0:00:00.038) 0:02:58.481 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 18:18:30 +0000 (0:00:00.039) 0:02:58.521 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 18:18:30 +0000 (0:00:00.036) 0:02:58.558 ********* ok: [/cache/centos-8.qcow2] => { "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/tmp_0pjp8ed/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 18:18:30 +0000 (0:00:00.052) 0:02:58.610 ********* included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml for /cache/centos-8.qcow2 => (item=mount) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml for /cache/centos-8.qcow2 => (item=fstab) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fs.yml for /cache/centos-8.qcow2 => (item=fs) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml for /cache/centos-8.qcow2 => (item=device) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml for /cache/centos-8.qcow2 => (item=encryption) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml for /cache/centos-8.qcow2 => (item=md) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml for /cache/centos-8.qcow2 => (item=size) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml for /cache/centos-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 18:18:30 +0000 (0:00:00.080) 0:02:58.691 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test2" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 18:18:30 +0000 (0:00:00.041) 0:02:58.733 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 1030454, "block_size": 4096, "block_total": 1046016, "block_used": 15562, "device": "/dev/mapper/foo-test2", "fstype": "xfs", "inode_available": 2097149, "inode_total": 2097152, "inode_used": 3, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 4220739584, "size_total": 4284481536, "uuid": "a101eda5-eacf-42cc-80f8-dc91c4dfa9ec" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 1030454, "block_size": 4096, "block_total": 1046016, "block_used": 15562, "device": "/dev/mapper/foo-test2", "fstype": "xfs", "inode_available": 2097149, "inode_total": 2097152, "inode_used": 3, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 4220739584, "size_total": 4284481536, "uuid": "a101eda5-eacf-42cc-80f8-dc91c4dfa9ec" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 18:18:30 +0000 (0:00:00.094) 0:02:58.827 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 18:18:30 +0000 (0:00:00.053) 0:02:58.881 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 18:18:30 +0000 (0:00:00.083) 0:02:58.964 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 18:18:31 +0000 (0:00:00.083) 0:02:59.048 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 18:18:31 +0000 (0:00:00.055) 0:02:59.103 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 18:18:31 +0000 (0:00:00.023) 0:02:59.127 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 18:18:31 +0000 (0:00:00.022) 0:02:59.150 ********* ok: [/cache/centos-8.qcow2] => { "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/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 18:18:31 +0000 (0:00:00.033) 0:02:59.184 ********* ok: [/cache/centos-8.qcow2] => { "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-test2 " ], "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/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 18:18:31 +0000 (0:00:00.059) 0:02:59.244 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 18:18:31 +0000 (0:00:00.048) 0:02:59.292 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 18:18:31 +0000 (0:00:00.048) 0:02:59.340 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 18:18:31 +0000 (0:00:00.044) 0:02:59.384 ********* ok: [/cache/centos-8.qcow2] => { "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/tmp_0pjp8ed/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 18:18:31 +0000 (0:00:00.032) 0:02:59.417 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 18:18:31 +0000 (0:00:00.038) 0:02:59.456 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 18:18:31 +0000 (0:00:00.041) 0:02:59.498 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1658427494.4598546, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658427494.4598546, "dev": 6, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 98502, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658427494.4598546, "nlink": 1, "path": "/dev/mapper/foo-test2", "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/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 18:18:31 +0000 (0:00:00.376) 0:02:59.874 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 18:18:31 +0000 (0:00:00.036) 0:02:59.910 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 18:18:31 +0000 (0:00:00.037) 0:02:59.947 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 18:18:31 +0000 (0:00:00.035) 0:02:59.983 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 18:18:32 +0000 (0:00:00.022) 0:03:00.006 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 18:18:32 +0000 (0:00:00.036) 0:03:00.043 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 18:18:32 +0000 (0:00:00.022) 0:03:00.065 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 18:18:34 +0000 (0:00:02.028) 0:03:02.094 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 18:18:34 +0000 (0:00:00.023) 0:03:02.117 ********* skipping: [/cache/centos-8.qcow2] => { "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/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 18:18:34 +0000 (0:00:00.022) 0:03:02.140 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 18:18:34 +0000 (0:00:00.049) 0:03:02.189 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 18:18:34 +0000 (0:00:00.022) 0:03:02.211 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 18:18:34 +0000 (0:00:00.022) 0:03:02.234 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 18:18:34 +0000 (0:00:00.023) 0:03:02.258 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 18:18:34 +0000 (0:00:00.022) 0:03:02.280 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 18:18:34 +0000 (0:00:00.022) 0:03:02.302 ********* ok: [/cache/centos-8.qcow2] => { "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/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 18:18:34 +0000 (0:00:00.051) 0:03:02.354 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 18:18:34 +0000 (0:00:00.047) 0:03:02.401 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 18:18:34 +0000 (0:00:00.034) 0:03:02.436 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 18:18:34 +0000 (0:00:00.035) 0:03:02.471 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 18:18:34 +0000 (0:00:00.039) 0:03:02.510 ********* ok: [/cache/centos-8.qcow2] => { "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/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 18:18:34 +0000 (0:00:00.032) 0:03:02.543 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 18:18:34 +0000 (0:00:00.036) 0:03:02.579 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 18:18:34 +0000 (0:00:00.036) 0:03:02.616 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 18:18:34 +0000 (0:00:00.039) 0:03:02.655 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 18:18:34 +0000 (0:00:00.036) 0:03:02.692 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 18:18:34 +0000 (0:00:00.036) 0:03:02.729 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 18:18:34 +0000 (0:00:00.036) 0:03:02.765 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 18:18:34 +0000 (0:00:00.040) 0:03:02.805 ********* ok: [/cache/centos-8.qcow2] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 18:18:35 +0000 (0:00:00.411) 0:03:03.217 ********* ok: [/cache/centos-8.qcow2] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 18:18:35 +0000 (0:00:00.391) 0:03:03.608 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_expected_size": "4294967296" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 18:18:35 +0000 (0:00:00.053) 0:03:03.662 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_expected_size": "4294967296" } TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 18:18:35 +0000 (0:00:00.034) 0:03:03.696 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 18:18:35 +0000 (0:00:00.035) 0:03:03.732 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 18:18:35 +0000 (0:00:00.037) 0:03:03.769 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 18:18:35 +0000 (0:00:00.040) 0:03:03.810 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 18:18:35 +0000 (0:00:00.036) 0:03:03.847 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 18:18:35 +0000 (0:00:00.035) 0:03:03.882 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_actual_size": { "bytes": 4294967296, "changed": false, "failed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 18:18:35 +0000 (0:00:00.035) 0:03:03.917 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_expected_size": "4294967296" } TASK [assert] ****************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 18:18:35 +0000 (0:00:00.036) 0:03:03.953 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 18:18:36 +0000 (0:00:00.053) 0:03:04.007 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test2" ], "delta": "0:00:00.040744", "end": "2022-07-21 18:18:36.546805", "rc": 0, "start": "2022-07-21 18:18:36.506061" } STDOUT: LVM2_LV_NAME=test2 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 18:18:36 +0000 (0:00:00.441) 0:03:04.448 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 18:18:36 +0000 (0:00:00.048) 0:03:04.497 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 18:18:36 +0000 (0:00:00.050) 0:03:04.548 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 18:18:36 +0000 (0:00:00.037) 0:03:04.585 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 18:18:36 +0000 (0:00:00.036) 0:03:04.621 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 18:18:36 +0000 (0:00:00.035) 0:03:04.657 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 18:18:36 +0000 (0:00:00.034) 0:03:04.692 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 18:18:36 +0000 (0:00:00.035) 0:03:04.728 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 18:18:36 +0000 (0:00:00.021) 0:03:04.749 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Remove one of the LVM logical volumes in 'foo' created above] ************ task path: /tmp/tmp_0pjp8ed/tests/storage/tests_create_lvm_pool_then_remove.yml:47 Thursday 21 July 2022 18:18:36 +0000 (0:00:00.032) 0:03:04.781 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 18:18:36 +0000 (0:00:00.047) 0:03:04.829 ********* included: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 18:18:36 +0000 (0:00:00.033) 0:03:04.863 ********* ok: [/cache/centos-8.qcow2] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 18:18:37 +0000 (0:00:00.549) 0:03:05.412 ********* skipping: [/cache/centos-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-8.qcow2] => (item=CentOS_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [/cache/centos-8.qcow2] => (item=CentOS_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 18:18:37 +0000 (0:00:00.102) 0:03:05.515 ********* ok: [/cache/centos-8.qcow2] => { "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/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 18:18:37 +0000 (0:00:00.035) 0:03:05.550 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 18:18:37 +0000 (0:00:00.077) 0:03:05.628 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 18:18:37 +0000 (0:00:00.087) 0:03:05.715 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 18:18:37 +0000 (0:00:00.020) 0:03:05.736 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 18:18:37 +0000 (0:00:00.031) 0:03:05.768 ********* ok: [/cache/centos-8.qcow2] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "state": "present", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "5g" }, { "mount_point": "/opt/test2", "name": "test2", "size": "4g", "state": "absent" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 18:18:37 +0000 (0:00:00.040) 0:03:05.808 ********* ok: [/cache/centos-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 18:18:37 +0000 (0:00:00.038) 0:03:05.847 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 18:18:37 +0000 (0:00:00.027) 0:03:05.874 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 18:18:37 +0000 (0:00:00.028) 0:03:05.903 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 18:18:37 +0000 (0:00:00.033) 0:03:05.937 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 18:18:37 +0000 (0:00:00.029) 0:03:05.966 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 18:18:38 +0000 (0:00:00.058) 0:03:06.024 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 18:18:38 +0000 (0:00:00.022) 0:03:06.047 ********* changed: [/cache/centos-8.qcow2] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test2", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/foo-test2", "fs_type": null } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test2", "src": "/dev/mapper/foo-test2", "state": "absent" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "xfsprogs", "lvm2" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-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": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/foo-test2", "_mount_id": "/dev/mapper/foo-test2", "_raw_device": "/dev/mapper/foo-test2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "state": "absent", "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/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 18:18:39 +0000 (0:00:01.775) 0:03:07.823 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 18:18:39 +0000 (0:00:00.038) 0:03:07.861 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 18:18:39 +0000 (0:00:00.022) 0:03:07.884 ********* ok: [/cache/centos-8.qcow2] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test2", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/foo-test2", "fs_type": null } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test2", "src": "/dev/mapper/foo-test2", "state": "absent" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "xfsprogs", "lvm2" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-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": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/foo-test2", "_mount_id": "/dev/mapper/foo-test2", "_raw_device": "/dev/mapper/foo-test2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "state": "absent", "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/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 18:18:39 +0000 (0:00:00.043) 0:03:07.927 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-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": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/foo-test2", "_mount_id": "/dev/mapper/foo-test2", "_raw_device": "/dev/mapper/foo-test2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "state": "absent", "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/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 18:18:39 +0000 (0:00:00.044) 0:03:07.972 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 18:18:40 +0000 (0:00:00.038) 0:03:08.010 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-8.qcow2] => (item={'src': '/dev/mapper/foo-test2', 'path': '/opt/test2', 'state': 'absent', 'fstype': 'xfs'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "fstype": "xfs", "path": "/opt/test2", "src": "/dev/mapper/foo-test2", "state": "absent" }, "name": "/opt/test2", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test2" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 18:18:40 +0000 (0:00:00.419) 0:03:08.429 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 18:18:41 +0000 (0:00:00.649) 0:03:09.078 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/centos-8.qcow2] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "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/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 18:18:41 +0000 (0:00:00.394) 0:03:09.473 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 18:18:42 +0000 (0:00:00.633) 0:03:10.106 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1658427367.7378547, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1643141385.117, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 135, "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": 1643141019.537, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "3147672035", "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/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 18:18:42 +0000 (0:00:00.419) 0:03:10.526 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 18:18:42 +0000 (0:00:00.022) 0:03:10.549 ********* ok: [/cache/centos-8.qcow2] META: role_complete for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/tests_create_lvm_pool_then_remove.yml:64 Thursday 21 July 2022 18:18:43 +0000 (0:00:01.068) 0:03:11.618 ********* included: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml for /cache/centos-8.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 18:18:43 +0000 (0:00:00.041) 0:03:11.659 ********* ok: [/cache/centos-8.qcow2] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-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": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/foo-test2", "_mount_id": "/dev/mapper/foo-test2", "_raw_device": "/dev/mapper/foo-test2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "state": "absent", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 18:18:43 +0000 (0:00:00.055) 0:03:11.715 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 18:18:43 +0000 (0:00:00.035) 0:03:11.750 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test1", "size": "5G", "type": "lvm", "uuid": "ec118681-93f9-49ff-8cc9-aa8e5c9cb245" }, "/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": "LVM2_member", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "dmtOxo-n9CE-fzoG-hDKc-PlWE-gW46-4dMzsQ" }, "/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-18-15-13-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "10G", "type": "partition", "uuid": "395b9844-e404-4857-afbb-c6edccaf72f3" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 18:18:44 +0000 (0:00:00.397) 0:03:12.147 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:01.005082", "end": "2022-07-21 18:18:45.642375", "rc": 0, "start": "2022-07-21 18:18:44.637293" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jan 25 20:03:39 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=395b9844-e404-4857-afbb-c6edccaf72f3 / xfs defaults 0 0 /dev/mapper/foo-test1 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 18:18:45 +0000 (0:00:01.397) 0:03:13.545 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.004396", "end": "2022-07-21 18:18:46.039587", "failed_when_result": false, "rc": 0, "start": "2022-07-21 18:18:46.035191" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 18:18:45 +0000 (0:00:00.395) 0:03:13.940 ********* included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool.yml for /cache/centos-8.qcow2 => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}, {'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test2', 'raid_level': None, 'size': '4g', 'state': 'absent', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test2', '_raw_device': '/dev/mapper/foo-test2', '_mount_id': '/dev/mapper/foo-test2'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 18:18:45 +0000 (0:00:00.060) 0:03:14.001 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 18:18:46 +0000 (0:00:00.035) 0:03:14.036 ********* included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml for /cache/centos-8.qcow2 => (item=members) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-volumes.yml for /cache/centos-8.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 18:18:46 +0000 (0:00:00.047) 0:03:14.084 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 18:18:46 +0000 (0:00:00.053) 0:03:14.137 ********* ok: [/cache/centos-8.qcow2] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 18:18:46 +0000 (0:00:00.387) 0:03:14.524 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 18:18:46 +0000 (0:00:00.047) 0:03:14.572 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 18:18:46 +0000 (0:00:00.082) 0:03:14.654 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 18:18:46 +0000 (0:00:00.050) 0:03:14.705 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 18:18:46 +0000 (0:00:00.045) 0:03:14.750 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 18:18:46 +0000 (0:00:00.079) 0:03:14.830 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 18:18:46 +0000 (0:00:00.024) 0:03:14.854 ********* ok: [/cache/centos-8.qcow2] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 18:18:46 +0000 (0:00:00.039) 0:03:14.894 ********* included: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-md.yml for /cache/centos-8.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 18:18:46 +0000 (0:00:00.040) 0:03:14.934 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 18:18:46 +0000 (0:00:00.024) 0:03:14.959 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 18:18:47 +0000 (0:00:00.051) 0:03:15.010 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 18:18:47 +0000 (0:00:00.023) 0:03:15.034 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 18:18:47 +0000 (0:00:00.022) 0:03:15.057 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 18:18:47 +0000 (0:00:00.023) 0:03:15.080 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 18:18:47 +0000 (0:00:00.024) 0:03:15.105 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 18:18:47 +0000 (0:00:00.023) 0:03:15.128 ********* ok: [/cache/centos-8.qcow2] => { "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/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 18:18:47 +0000 (0:00:00.032) 0:03:15.161 ********* included: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-members-lvmraid.yml for /cache/centos-8.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 18:18:47 +0000 (0:00:00.044) 0:03:15.205 ********* included: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-lvmraid.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-lvmraid.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test2', 'raid_level': None, 'size': '4g', 'state': 'absent', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test2', '_raw_device': '/dev/mapper/foo-test2', '_mount_id': '/dev/mapper/foo-test2'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 18:18:47 +0000 (0:00:00.046) 0:03:15.252 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 18:18:47 +0000 (0:00:00.026) 0:03:15.279 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 18:18:47 +0000 (0:00:00.026) 0:03:15.305 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 18:18:47 +0000 (0:00:00.033) 0:03:15.339 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 18:18:47 +0000 (0:00:00.045) 0:03:15.384 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 18:18:47 +0000 (0:00:00.035) 0:03:15.419 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 18:18:47 +0000 (0:00:00.030) 0:03:15.450 ********* included: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-members-thin.yml for /cache/centos-8.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 18:18:47 +0000 (0:00:00.045) 0:03:15.495 ********* included: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-thin.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-thin.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test2', 'raid_level': None, 'size': '4g', 'state': 'absent', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test2', '_raw_device': '/dev/mapper/foo-test2', '_mount_id': '/dev/mapper/foo-test2'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 18:18:47 +0000 (0:00:00.050) 0:03:15.545 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 18:18:47 +0000 (0:00:00.023) 0:03:15.569 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 18:18:47 +0000 (0:00:00.023) 0:03:15.592 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 18:18:47 +0000 (0:00:00.025) 0:03:15.618 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about thinpool] ****************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 18:18:47 +0000 (0:00:00.026) 0:03:15.644 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 18:18:47 +0000 (0:00:00.023) 0:03:15.667 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 18:18:47 +0000 (0:00:00.021) 0:03:15.689 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 18:18:47 +0000 (0:00:00.023) 0:03:15.712 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 18:18:47 +0000 (0:00:00.022) 0:03:15.735 ********* included: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-members-encryption.yml for /cache/centos-8.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 18:18:47 +0000 (0:00:00.044) 0:03:15.779 ********* ok: [/cache/centos-8.qcow2] => { "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/tmp_0pjp8ed/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 18:18:47 +0000 (0:00:00.048) 0:03:15.828 ********* skipping: [/cache/centos-8.qcow2] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "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/tmp_0pjp8ed/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 18:18:47 +0000 (0:00:00.025) 0:03:15.853 ********* included: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-crypttab.yml for /cache/centos-8.qcow2 => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 18:18:47 +0000 (0:00:00.042) 0:03:15.896 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-crypttab.yml:4 Thursday 21 July 2022 18:18:47 +0000 (0:00:00.049) 0:03:15.945 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-crypttab.yml:9 Thursday 21 July 2022 18:18:47 +0000 (0:00:00.047) 0:03:15.993 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-crypttab.yml:15 Thursday 21 July 2022 18:18:48 +0000 (0:00:00.034) 0:03:16.027 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-crypttab.yml:21 Thursday 21 July 2022 18:18:48 +0000 (0:00:00.037) 0:03:16.064 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 18:18:48 +0000 (0:00:00.033) 0:03:16.098 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 18:18:48 +0000 (0:00:00.064) 0:03:16.162 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 18:18:48 +0000 (0:00:00.068) 0:03:16.231 ********* included: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-members-vdo.yml for /cache/centos-8.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 18:18:48 +0000 (0:00:00.073) 0:03:16.304 ********* included: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test2', 'raid_level': None, 'size': '4g', 'state': 'absent', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test2', '_raw_device': '/dev/mapper/foo-test2', '_mount_id': '/dev/mapper/foo-test2'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 18:18:48 +0000 (0:00:00.053) 0:03:16.358 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 18:18:48 +0000 (0:00:00.023) 0:03:16.382 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 18:18:48 +0000 (0:00:00.022) 0:03:16.405 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 18:18:48 +0000 (0:00:00.026) 0:03:16.431 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 18:18:48 +0000 (0:00:00.025) 0:03:16.457 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 18:18:48 +0000 (0:00:00.022) 0:03:16.479 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 18:18:48 +0000 (0:00:00.022) 0:03:16.502 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 18:18:48 +0000 (0:00:00.022) 0:03:16.525 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 18:18:48 +0000 (0:00:00.035) 0:03:16.561 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 18:18:48 +0000 (0:00:00.022) 0:03:16.583 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 18:18:48 +0000 (0:00:00.022) 0:03:16.605 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 18:18:48 +0000 (0:00:00.022) 0:03:16.627 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 18:18:48 +0000 (0:00:00.023) 0:03:16.650 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 18:18:48 +0000 (0:00:00.022) 0:03:16.673 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 18:18:48 +0000 (0:00:00.022) 0:03:16.695 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 18:18:48 +0000 (0:00:00.022) 0:03:16.717 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 18:18:48 +0000 (0:00:00.034) 0:03:16.751 ********* ok: [/cache/centos-8.qcow2] => { "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/tmp_0pjp8ed/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 18:18:48 +0000 (0:00:00.031) 0:03:16.783 ********* included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test2', 'raid_level': None, 'size': '4g', 'state': 'absent', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test2', '_raw_device': '/dev/mapper/foo-test2', '_mount_id': '/dev/mapper/foo-test2'}) TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 18:18:48 +0000 (0:00:00.046) 0:03:16.829 ********* ok: [/cache/centos-8.qcow2] => { "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/tmp_0pjp8ed/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 18:18:48 +0000 (0:00:00.048) 0:03:16.877 ********* included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml for /cache/centos-8.qcow2 => (item=mount) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml for /cache/centos-8.qcow2 => (item=fstab) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fs.yml for /cache/centos-8.qcow2 => (item=fs) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml for /cache/centos-8.qcow2 => (item=device) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml for /cache/centos-8.qcow2 => (item=encryption) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml for /cache/centos-8.qcow2 => (item=md) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml for /cache/centos-8.qcow2 => (item=size) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml for /cache/centos-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 18:18:48 +0000 (0:00:00.077) 0:03:16.955 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 18:18:48 +0000 (0:00:00.039) 0:03:16.995 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 1290774, "block_size": 4096, "block_total": 1308160, "block_used": 17386, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 2621437, "inode_total": 2621440, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 5287010304, "size_total": 5358223360, "uuid": "ec118681-93f9-49ff-8cc9-aa8e5c9cb245" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 1290774, "block_size": 4096, "block_total": 1308160, "block_used": 17386, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 2621437, "inode_total": 2621440, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 5287010304, "size_total": 5358223360, "uuid": "ec118681-93f9-49ff-8cc9-aa8e5c9cb245" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 18:18:49 +0000 (0:00:00.053) 0:03:17.049 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 18:18:49 +0000 (0:00:00.049) 0:03:17.099 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 18:18:49 +0000 (0:00:00.047) 0:03:17.146 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 18:18:49 +0000 (0:00:00.052) 0:03:17.198 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 18:18:49 +0000 (0:00:00.023) 0:03:17.222 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 18:18:49 +0000 (0:00:00.022) 0:03:17.244 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 18:18:49 +0000 (0:00:00.022) 0:03:17.267 ********* ok: [/cache/centos-8.qcow2] => { "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/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 18:18:49 +0000 (0:00:00.036) 0:03:17.304 ********* ok: [/cache/centos-8.qcow2] => { "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/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 18:18:49 +0000 (0:00:00.063) 0:03:17.367 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 18:18:49 +0000 (0:00:00.087) 0:03:17.454 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 18:18:49 +0000 (0:00:00.098) 0:03:17.553 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 18:18:49 +0000 (0:00:00.035) 0:03:17.588 ********* ok: [/cache/centos-8.qcow2] => { "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/tmp_0pjp8ed/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 18:18:49 +0000 (0:00:00.074) 0:03:17.662 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 18:18:49 +0000 (0:00:00.111) 0:03:17.773 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 18:18:49 +0000 (0:00:00.038) 0:03:17.812 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1658427494.6568546, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658427494.6568546, "dev": 6, "device_type": 64769, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 96882, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658427494.6568546, "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/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 18:18:50 +0000 (0:00:00.397) 0:03:18.210 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 18:18:50 +0000 (0:00:00.041) 0:03:18.251 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 18:18:50 +0000 (0:00:00.036) 0:03:18.287 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 18:18:50 +0000 (0:00:00.037) 0:03:18.324 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 18:18:50 +0000 (0:00:00.023) 0:03:18.348 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 18:18:50 +0000 (0:00:00.039) 0:03:18.388 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 18:18:50 +0000 (0:00:00.024) 0:03:18.413 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 18:18:52 +0000 (0:00:02.004) 0:03:20.417 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 18:18:52 +0000 (0:00:00.026) 0:03:20.443 ********* skipping: [/cache/centos-8.qcow2] => { "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/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 18:18:52 +0000 (0:00:00.025) 0:03:20.468 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 18:18:52 +0000 (0:00:00.053) 0:03:20.522 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 18:18:52 +0000 (0:00:00.025) 0:03:20.547 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 18:18:52 +0000 (0:00:00.022) 0:03:20.570 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 18:18:52 +0000 (0:00:00.025) 0:03:20.596 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 18:18:52 +0000 (0:00:00.025) 0:03:20.621 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 18:18:52 +0000 (0:00:00.026) 0:03:20.648 ********* ok: [/cache/centos-8.qcow2] => { "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/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 18:18:52 +0000 (0:00:00.049) 0:03:20.697 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 18:18:52 +0000 (0:00:00.089) 0:03:20.787 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 18:18:52 +0000 (0:00:00.040) 0:03:20.827 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 18:18:52 +0000 (0:00:00.035) 0:03:20.863 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 18:18:52 +0000 (0:00:00.036) 0:03:20.899 ********* ok: [/cache/centos-8.qcow2] => { "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/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 18:18:52 +0000 (0:00:00.062) 0:03:20.961 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 18:18:52 +0000 (0:00:00.037) 0:03:20.999 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 18:18:53 +0000 (0:00:00.034) 0:03:21.033 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 18:18:53 +0000 (0:00:00.034) 0:03:21.068 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 18:18:53 +0000 (0:00:00.034) 0:03:21.102 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 18:18:53 +0000 (0:00:00.037) 0:03:21.140 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 18:18:53 +0000 (0:00:00.038) 0:03:21.179 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 18:18:53 +0000 (0:00:00.048) 0:03:21.227 ********* ok: [/cache/centos-8.qcow2] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 18:18:53 +0000 (0:00:00.429) 0:03:21.657 ********* ok: [/cache/centos-8.qcow2] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 18:18:54 +0000 (0:00:00.399) 0:03:22.057 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_expected_size": "5368709120" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 18:18:54 +0000 (0:00:00.049) 0:03:22.106 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_expected_size": "5368709120" } TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 18:18:54 +0000 (0:00:00.040) 0:03:22.146 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 18:18:54 +0000 (0:00:00.041) 0:03:22.188 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 18:18:54 +0000 (0:00:00.037) 0:03:22.226 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 18:18:54 +0000 (0:00:00.036) 0:03:22.262 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 18:18:54 +0000 (0:00:00.034) 0:03:22.297 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 18:18:54 +0000 (0:00:00.037) 0:03:22.335 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_actual_size": { "bytes": 5368709120, "changed": false, "failed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 18:18:54 +0000 (0:00:00.033) 0:03:22.369 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_expected_size": "5368709120" } TASK [assert] ****************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 18:18:54 +0000 (0:00:00.033) 0:03:22.403 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 18:18:54 +0000 (0:00:00.062) 0:03:22.465 ********* ok: [/cache/centos-8.qcow2] => { "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.043954", "end": "2022-07-21 18:18:54.999871", "rc": 0, "start": "2022-07-21 18:18:54.955917" } 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/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 18:18:54 +0000 (0:00:00.437) 0:03:22.902 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 18:18:54 +0000 (0:00:00.050) 0:03:22.952 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 18:18:54 +0000 (0:00:00.050) 0:03:23.003 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 18:18:55 +0000 (0:00:00.039) 0:03:23.043 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 18:18:55 +0000 (0:00:00.039) 0:03:23.082 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 18:18:55 +0000 (0:00:00.040) 0:03:23.123 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 18:18:55 +0000 (0:00:00.042) 0:03:23.165 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 18:18:55 +0000 (0:00:00.036) 0:03:23.202 ********* ok: [/cache/centos-8.qcow2] => { "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/tmp_0pjp8ed/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 18:18:55 +0000 (0:00:00.048) 0:03:23.250 ********* included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml for /cache/centos-8.qcow2 => (item=mount) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml for /cache/centos-8.qcow2 => (item=fstab) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fs.yml for /cache/centos-8.qcow2 => (item=fs) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml for /cache/centos-8.qcow2 => (item=device) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml for /cache/centos-8.qcow2 => (item=encryption) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml for /cache/centos-8.qcow2 => (item=md) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml for /cache/centos-8.qcow2 => (item=size) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml for /cache/centos-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 18:18:55 +0000 (0:00:00.081) 0:03:23.332 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test2" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 18:18:55 +0000 (0:00:00.043) 0:03:23.375 ********* ok: [/cache/centos-8.qcow2] => { "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/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 18:18:55 +0000 (0:00:00.088) 0:03:23.464 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 18:18:55 +0000 (0:00:00.024) 0:03:23.488 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 18:18:55 +0000 (0:00:00.052) 0:03:23.540 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 18:18:55 +0000 (0:00:00.037) 0:03:23.578 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 18:18:55 +0000 (0:00:00.024) 0:03:23.603 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 18:18:55 +0000 (0:00:00.023) 0:03:23.626 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 18:18:55 +0000 (0:00:00.024) 0:03:23.651 ********* ok: [/cache/centos-8.qcow2] => { "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/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 18:18:55 +0000 (0:00:00.035) 0:03:23.686 ********* ok: [/cache/centos-8.qcow2] => { "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/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 18:18:55 +0000 (0:00:00.099) 0:03:23.785 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 18:18:55 +0000 (0:00:00.055) 0:03:23.841 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 18:18:55 +0000 (0:00:00.048) 0:03:23.889 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 18:18:55 +0000 (0:00:00.036) 0:03:23.925 ********* ok: [/cache/centos-8.qcow2] => { "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/tmp_0pjp8ed/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 18:18:55 +0000 (0:00:00.034) 0:03:23.960 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 18:18:55 +0000 (0:00:00.025) 0:03:23.985 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 18:18:56 +0000 (0:00:00.022) 0:03:24.008 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 18:18:56 +0000 (0:00:00.367) 0:03:24.376 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 18:18:56 +0000 (0:00:00.037) 0:03:24.414 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 18:18:56 +0000 (0:00:00.024) 0:03:24.438 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 18:18:56 +0000 (0:00:00.034) 0:03:24.472 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 18:18:56 +0000 (0:00:00.022) 0:03:24.495 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 18:18:56 +0000 (0:00:00.025) 0:03:24.520 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 18:18:56 +0000 (0:00:00.025) 0:03:24.546 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 18:18:58 +0000 (0:00:01.865) 0:03:26.412 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 18:18:58 +0000 (0:00:00.026) 0:03:26.438 ********* skipping: [/cache/centos-8.qcow2] => { "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/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 18:18:58 +0000 (0:00:00.024) 0:03:26.462 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 18:18:58 +0000 (0:00:00.022) 0:03:26.485 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 18:18:58 +0000 (0:00:00.022) 0:03:26.508 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 18:18:58 +0000 (0:00:00.024) 0:03:26.532 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 18:18:58 +0000 (0:00:00.025) 0:03:26.558 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 18:18:58 +0000 (0:00:00.024) 0:03:26.583 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 18:18:58 +0000 (0:00:00.025) 0:03:26.608 ********* ok: [/cache/centos-8.qcow2] => { "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/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 18:18:58 +0000 (0:00:00.085) 0:03:26.693 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 18:18:58 +0000 (0:00:00.052) 0:03:26.745 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 18:18:58 +0000 (0:00:00.037) 0:03:26.782 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 18:18:58 +0000 (0:00:00.037) 0:03:26.820 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 18:18:58 +0000 (0:00:00.038) 0:03:26.858 ********* ok: [/cache/centos-8.qcow2] => { "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/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 18:18:58 +0000 (0:00:00.035) 0:03:26.894 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 18:18:58 +0000 (0:00:00.035) 0:03:26.930 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 18:18:58 +0000 (0:00:00.038) 0:03:26.968 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 18:18:59 +0000 (0:00:00.039) 0:03:27.007 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 18:18:59 +0000 (0:00:00.073) 0:03:27.081 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 18:18:59 +0000 (0:00:00.038) 0:03:27.119 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 18:18:59 +0000 (0:00:00.037) 0:03:27.156 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 18:18:59 +0000 (0:00:00.039) 0:03:27.196 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 18:18:59 +0000 (0:00:00.026) 0:03:27.222 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 18:18:59 +0000 (0:00:00.037) 0:03:27.260 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 18:18:59 +0000 (0:00:00.037) 0:03:27.297 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_expected_size": "5368709120" } TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 18:18:59 +0000 (0:00:00.039) 0:03:27.337 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 18:18:59 +0000 (0:00:00.036) 0:03:27.373 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 18:18:59 +0000 (0:00:00.039) 0:03:27.413 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 18:18:59 +0000 (0:00:00.037) 0:03:27.450 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 18:18:59 +0000 (0:00:00.036) 0:03:27.486 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 18:18:59 +0000 (0:00:00.034) 0:03:27.521 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 18:18:59 +0000 (0:00:00.034) 0:03:27.556 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_expected_size": "5368709120" } TASK [assert] ****************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 18:18:59 +0000 (0:00:00.036) 0:03:27.592 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 18:18:59 +0000 (0:00:00.025) 0:03:27.618 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 18:18:59 +0000 (0:00:00.022) 0:03:27.640 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 18:18:59 +0000 (0:00:00.024) 0:03:27.665 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 18:18:59 +0000 (0:00:00.023) 0:03:27.689 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 18:18:59 +0000 (0:00:00.024) 0:03:27.713 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 18:18:59 +0000 (0:00:00.024) 0:03:27.738 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 18:18:59 +0000 (0:00:00.024) 0:03:27.762 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 18:18:59 +0000 (0:00:00.024) 0:03:27.787 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 18:18:59 +0000 (0:00:00.038) 0:03:27.826 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 18:18:59 +0000 (0:00:00.022) 0:03:27.849 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Repeat the previous invocation to verify idempotence] ******************** task path: /tmp/tmp_0pjp8ed/tests/storage/tests_create_lvm_pool_then_remove.yml:66 Thursday 21 July 2022 18:18:59 +0000 (0:00:00.036) 0:03:27.885 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 18:18:59 +0000 (0:00:00.056) 0:03:27.941 ********* included: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 18:18:59 +0000 (0:00:00.035) 0:03:27.976 ********* ok: [/cache/centos-8.qcow2] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 18:19:00 +0000 (0:00:00.527) 0:03:28.503 ********* skipping: [/cache/centos-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-8.qcow2] => (item=CentOS_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [/cache/centos-8.qcow2] => (item=CentOS_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 18:19:00 +0000 (0:00:00.101) 0:03:28.605 ********* ok: [/cache/centos-8.qcow2] => { "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/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 18:19:00 +0000 (0:00:00.074) 0:03:28.679 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 18:19:00 +0000 (0:00:00.076) 0:03:28.756 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 18:19:00 +0000 (0:00:00.090) 0:03:28.846 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 18:19:00 +0000 (0:00:00.022) 0:03:28.868 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 18:19:00 +0000 (0:00:00.030) 0:03:28.899 ********* ok: [/cache/centos-8.qcow2] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "5g" }, { "mount_point": "/opt/test2", "name": "test2", "size": "4g", "state": "absent" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 18:19:00 +0000 (0:00:00.039) 0:03:28.938 ********* ok: [/cache/centos-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 18:19:00 +0000 (0:00:00.034) 0:03:28.973 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 18:19:00 +0000 (0:00:00.026) 0:03:28.999 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 18:19:01 +0000 (0:00:00.029) 0:03:29.028 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 18:19:01 +0000 (0:00:00.028) 0:03:29.057 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 18:19:01 +0000 (0:00:00.027) 0:03:29.084 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 18:19:01 +0000 (0:00:00.056) 0:03:29.141 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 18:19:01 +0000 (0:00:00.021) 0:03:29.162 ********* ok: [/cache/centos-8.qcow2] => { "actions": [], "changed": false, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "lvm2", "xfsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-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": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "", "_mount_id": "", "_raw_device": "", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "state": "absent", "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/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 18:19:02 +0000 (0:00:01.317) 0:03:30.480 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 18:19:02 +0000 (0:00:00.037) 0:03:30.518 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 18:19:02 +0000 (0:00:00.023) 0:03:30.541 ********* ok: [/cache/centos-8.qcow2] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "lvm2", "xfsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-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": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "", "_mount_id": "", "_raw_device": "", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "state": "absent", "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/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 18:19:02 +0000 (0:00:00.041) 0:03:30.583 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-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": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "", "_mount_id": "", "_raw_device": "", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "state": "absent", "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/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 18:19:02 +0000 (0:00:00.041) 0:03:30.624 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 18:19:02 +0000 (0:00:00.040) 0:03:30.665 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 18:19:02 +0000 (0:00:00.044) 0:03:30.709 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 18:19:03 +0000 (0:00:00.629) 0:03:31.339 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/centos-8.qcow2] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "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/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 18:19:03 +0000 (0:00:00.448) 0:03:31.788 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 18:19:04 +0000 (0:00:00.617) 0:03:32.406 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1658427367.7378547, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1643141385.117, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 135, "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": 1643141019.537, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "3147672035", "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/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 18:19:04 +0000 (0:00:00.392) 0:03:32.798 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 18:19:04 +0000 (0:00:00.024) 0:03:32.822 ********* ok: [/cache/centos-8.qcow2] META: role_complete for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/tests_create_lvm_pool_then_remove.yml:82 Thursday 21 July 2022 18:19:05 +0000 (0:00:01.011) 0:03:33.834 ********* included: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml for /cache/centos-8.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 18:19:05 +0000 (0:00:00.045) 0:03:33.879 ********* ok: [/cache/centos-8.qcow2] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-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": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "", "_mount_id": "", "_raw_device": "", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "state": "absent", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 18:19:05 +0000 (0:00:00.052) 0:03:33.932 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 18:19:05 +0000 (0:00:00.038) 0:03:33.970 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test1", "size": "5G", "type": "lvm", "uuid": "ec118681-93f9-49ff-8cc9-aa8e5c9cb245" }, "/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": "LVM2_member", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "dmtOxo-n9CE-fzoG-hDKc-PlWE-gW46-4dMzsQ" }, "/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-18-15-13-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "10G", "type": "partition", "uuid": "395b9844-e404-4857-afbb-c6edccaf72f3" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 18:19:06 +0000 (0:00:00.391) 0:03:34.362 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003014", "end": "2022-07-21 18:19:06.837663", "rc": 0, "start": "2022-07-21 18:19:06.834649" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jan 25 20:03:39 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=395b9844-e404-4857-afbb-c6edccaf72f3 / xfs defaults 0 0 /dev/mapper/foo-test1 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 18:19:06 +0000 (0:00:00.375) 0:03:34.737 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002870", "end": "2022-07-21 18:19:07.212332", "failed_when_result": false, "rc": 0, "start": "2022-07-21 18:19:07.209462" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 18:19:07 +0000 (0:00:00.380) 0:03:35.117 ********* included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool.yml for /cache/centos-8.qcow2 => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}, {'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test2', 'raid_level': None, 'size': '4g', 'state': 'absent', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '', '_raw_device': '', '_mount_id': ''}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 18:19:07 +0000 (0:00:00.067) 0:03:35.185 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 18:19:07 +0000 (0:00:00.035) 0:03:35.221 ********* included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml for /cache/centos-8.qcow2 => (item=members) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-volumes.yml for /cache/centos-8.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 18:19:07 +0000 (0:00:00.049) 0:03:35.270 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 18:19:07 +0000 (0:00:00.054) 0:03:35.324 ********* ok: [/cache/centos-8.qcow2] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 18:19:07 +0000 (0:00:00.386) 0:03:35.711 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 18:19:07 +0000 (0:00:00.049) 0:03:35.761 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 18:19:07 +0000 (0:00:00.083) 0:03:35.845 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 18:19:07 +0000 (0:00:00.081) 0:03:35.927 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 18:19:07 +0000 (0:00:00.074) 0:03:36.001 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 18:19:08 +0000 (0:00:00.082) 0:03:36.084 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 18:19:08 +0000 (0:00:00.024) 0:03:36.109 ********* ok: [/cache/centos-8.qcow2] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 18:19:08 +0000 (0:00:00.099) 0:03:36.208 ********* included: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-md.yml for /cache/centos-8.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 18:19:08 +0000 (0:00:00.042) 0:03:36.250 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 18:19:08 +0000 (0:00:00.025) 0:03:36.276 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 18:19:08 +0000 (0:00:00.025) 0:03:36.301 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 18:19:08 +0000 (0:00:00.025) 0:03:36.326 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 18:19:08 +0000 (0:00:00.024) 0:03:36.350 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 18:19:08 +0000 (0:00:00.025) 0:03:36.376 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 18:19:08 +0000 (0:00:00.023) 0:03:36.399 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 18:19:08 +0000 (0:00:00.024) 0:03:36.423 ********* ok: [/cache/centos-8.qcow2] => { "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/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 18:19:08 +0000 (0:00:00.037) 0:03:36.461 ********* included: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-members-lvmraid.yml for /cache/centos-8.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 18:19:08 +0000 (0:00:00.047) 0:03:36.508 ********* included: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-lvmraid.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-lvmraid.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test2', 'raid_level': None, 'size': '4g', 'state': 'absent', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '', '_raw_device': '', '_mount_id': ''}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 18:19:08 +0000 (0:00:00.053) 0:03:36.561 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 18:19:08 +0000 (0:00:00.030) 0:03:36.592 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 18:19:08 +0000 (0:00:00.028) 0:03:36.621 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 18:19:08 +0000 (0:00:00.028) 0:03:36.649 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 18:19:08 +0000 (0:00:00.028) 0:03:36.678 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 18:19:08 +0000 (0:00:00.028) 0:03:36.707 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 18:19:08 +0000 (0:00:00.029) 0:03:36.736 ********* included: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-members-thin.yml for /cache/centos-8.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 18:19:08 +0000 (0:00:00.046) 0:03:36.782 ********* included: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-thin.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-thin.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test2', 'raid_level': None, 'size': '4g', 'state': 'absent', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '', '_raw_device': '', '_mount_id': ''}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 18:19:08 +0000 (0:00:00.058) 0:03:36.841 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 18:19:08 +0000 (0:00:00.025) 0:03:36.867 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 18:19:08 +0000 (0:00:00.024) 0:03:36.892 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 18:19:08 +0000 (0:00:00.026) 0:03:36.918 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about thinpool] ****************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 18:19:08 +0000 (0:00:00.023) 0:03:36.942 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 18:19:08 +0000 (0:00:00.024) 0:03:36.966 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 18:19:08 +0000 (0:00:00.025) 0:03:36.992 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 18:19:09 +0000 (0:00:00.026) 0:03:37.018 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 18:19:09 +0000 (0:00:00.026) 0:03:37.044 ********* included: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-members-encryption.yml for /cache/centos-8.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 18:19:09 +0000 (0:00:00.056) 0:03:37.100 ********* ok: [/cache/centos-8.qcow2] => { "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/tmp_0pjp8ed/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 18:19:09 +0000 (0:00:00.057) 0:03:37.158 ********* skipping: [/cache/centos-8.qcow2] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "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/tmp_0pjp8ed/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 18:19:09 +0000 (0:00:00.028) 0:03:37.186 ********* included: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-crypttab.yml for /cache/centos-8.qcow2 => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 18:19:09 +0000 (0:00:00.041) 0:03:37.227 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-crypttab.yml:4 Thursday 21 July 2022 18:19:09 +0000 (0:00:00.100) 0:03:37.327 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-crypttab.yml:9 Thursday 21 July 2022 18:19:09 +0000 (0:00:00.095) 0:03:37.422 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-crypttab.yml:15 Thursday 21 July 2022 18:19:09 +0000 (0:00:00.073) 0:03:37.496 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-crypttab.yml:21 Thursday 21 July 2022 18:19:09 +0000 (0:00:00.037) 0:03:37.533 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 18:19:09 +0000 (0:00:00.040) 0:03:37.573 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 18:19:09 +0000 (0:00:00.038) 0:03:37.612 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 18:19:09 +0000 (0:00:00.034) 0:03:37.646 ********* included: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-members-vdo.yml for /cache/centos-8.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 18:19:09 +0000 (0:00:00.048) 0:03:37.694 ********* included: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test2', 'raid_level': None, 'size': '4g', 'state': 'absent', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '', '_raw_device': '', '_mount_id': ''}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 18:19:09 +0000 (0:00:00.054) 0:03:37.749 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 18:19:09 +0000 (0:00:00.024) 0:03:37.774 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 18:19:09 +0000 (0:00:00.024) 0:03:37.798 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 18:19:09 +0000 (0:00:00.022) 0:03:37.821 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 18:19:09 +0000 (0:00:00.022) 0:03:37.843 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 18:19:09 +0000 (0:00:00.022) 0:03:37.866 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 18:19:09 +0000 (0:00:00.026) 0:03:37.892 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 18:19:09 +0000 (0:00:00.025) 0:03:37.918 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 18:19:09 +0000 (0:00:00.035) 0:03:37.954 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 18:19:09 +0000 (0:00:00.025) 0:03:37.979 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 18:19:10 +0000 (0:00:00.026) 0:03:38.006 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 18:19:10 +0000 (0:00:00.024) 0:03:38.030 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 18:19:10 +0000 (0:00:00.025) 0:03:38.056 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 18:19:10 +0000 (0:00:00.024) 0:03:38.080 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 18:19:10 +0000 (0:00:00.026) 0:03:38.107 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 18:19:10 +0000 (0:00:00.025) 0:03:38.133 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 18:19:10 +0000 (0:00:00.036) 0:03:38.169 ********* ok: [/cache/centos-8.qcow2] => { "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/tmp_0pjp8ed/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 18:19:10 +0000 (0:00:00.037) 0:03:38.207 ********* included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test2', 'raid_level': None, 'size': '4g', 'state': 'absent', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '', '_raw_device': '', '_mount_id': ''}) TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 18:19:10 +0000 (0:00:00.050) 0:03:38.257 ********* ok: [/cache/centos-8.qcow2] => { "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/tmp_0pjp8ed/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 18:19:10 +0000 (0:00:00.051) 0:03:38.308 ********* included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml for /cache/centos-8.qcow2 => (item=mount) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml for /cache/centos-8.qcow2 => (item=fstab) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fs.yml for /cache/centos-8.qcow2 => (item=fs) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml for /cache/centos-8.qcow2 => (item=device) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml for /cache/centos-8.qcow2 => (item=encryption) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml for /cache/centos-8.qcow2 => (item=md) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml for /cache/centos-8.qcow2 => (item=size) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml for /cache/centos-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 18:19:10 +0000 (0:00:00.081) 0:03:38.389 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 18:19:10 +0000 (0:00:00.041) 0:03:38.431 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 1290774, "block_size": 4096, "block_total": 1308160, "block_used": 17386, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 2621437, "inode_total": 2621440, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 5287010304, "size_total": 5358223360, "uuid": "ec118681-93f9-49ff-8cc9-aa8e5c9cb245" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 1290774, "block_size": 4096, "block_total": 1308160, "block_used": 17386, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 2621437, "inode_total": 2621440, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 5287010304, "size_total": 5358223360, "uuid": "ec118681-93f9-49ff-8cc9-aa8e5c9cb245" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 18:19:10 +0000 (0:00:00.055) 0:03:38.487 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 18:19:10 +0000 (0:00:00.050) 0:03:38.537 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 18:19:10 +0000 (0:00:00.050) 0:03:38.588 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 18:19:10 +0000 (0:00:00.051) 0:03:38.639 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 18:19:10 +0000 (0:00:00.025) 0:03:38.664 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 18:19:10 +0000 (0:00:00.024) 0:03:38.689 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 18:19:10 +0000 (0:00:00.025) 0:03:38.714 ********* ok: [/cache/centos-8.qcow2] => { "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/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 18:19:10 +0000 (0:00:00.081) 0:03:38.795 ********* ok: [/cache/centos-8.qcow2] => { "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/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 18:19:10 +0000 (0:00:00.063) 0:03:38.859 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 18:19:10 +0000 (0:00:00.052) 0:03:38.911 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 18:19:10 +0000 (0:00:00.050) 0:03:38.961 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 18:19:10 +0000 (0:00:00.037) 0:03:38.999 ********* ok: [/cache/centos-8.qcow2] => { "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/tmp_0pjp8ed/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 18:19:11 +0000 (0:00:00.036) 0:03:39.036 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 18:19:11 +0000 (0:00:00.041) 0:03:39.077 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 18:19:11 +0000 (0:00:00.040) 0:03:39.118 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1658427494.6568546, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658427494.6568546, "dev": 6, "device_type": 64769, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 96882, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658427494.6568546, "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/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 18:19:11 +0000 (0:00:00.386) 0:03:39.504 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 18:19:11 +0000 (0:00:00.040) 0:03:39.545 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 18:19:11 +0000 (0:00:00.040) 0:03:39.586 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 18:19:11 +0000 (0:00:00.056) 0:03:39.642 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 18:19:11 +0000 (0:00:00.025) 0:03:39.668 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 18:19:11 +0000 (0:00:00.041) 0:03:39.709 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 18:19:11 +0000 (0:00:00.026) 0:03:39.735 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 18:19:13 +0000 (0:00:01.976) 0:03:41.712 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 18:19:13 +0000 (0:00:00.026) 0:03:41.738 ********* skipping: [/cache/centos-8.qcow2] => { "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/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 18:19:13 +0000 (0:00:00.024) 0:03:41.763 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 18:19:13 +0000 (0:00:00.059) 0:03:41.823 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 18:19:13 +0000 (0:00:00.024) 0:03:41.848 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 18:19:13 +0000 (0:00:00.025) 0:03:41.873 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 18:19:13 +0000 (0:00:00.024) 0:03:41.898 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 18:19:13 +0000 (0:00:00.024) 0:03:41.922 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 18:19:13 +0000 (0:00:00.024) 0:03:41.947 ********* ok: [/cache/centos-8.qcow2] => { "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/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 18:19:13 +0000 (0:00:00.054) 0:03:42.001 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 18:19:14 +0000 (0:00:00.050) 0:03:42.052 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 18:19:14 +0000 (0:00:00.044) 0:03:42.096 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 18:19:14 +0000 (0:00:00.048) 0:03:42.145 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 18:19:14 +0000 (0:00:00.048) 0:03:42.194 ********* ok: [/cache/centos-8.qcow2] => { "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/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 18:19:14 +0000 (0:00:00.041) 0:03:42.235 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 18:19:14 +0000 (0:00:00.038) 0:03:42.274 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 18:19:14 +0000 (0:00:00.038) 0:03:42.313 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 18:19:14 +0000 (0:00:00.037) 0:03:42.350 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 18:19:14 +0000 (0:00:00.037) 0:03:42.388 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 18:19:14 +0000 (0:00:00.037) 0:03:42.426 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 18:19:14 +0000 (0:00:00.039) 0:03:42.465 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 18:19:14 +0000 (0:00:00.074) 0:03:42.539 ********* ok: [/cache/centos-8.qcow2] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 18:19:14 +0000 (0:00:00.381) 0:03:42.921 ********* ok: [/cache/centos-8.qcow2] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 18:19:15 +0000 (0:00:00.396) 0:03:43.317 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_expected_size": "5368709120" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 18:19:15 +0000 (0:00:00.052) 0:03:43.370 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_expected_size": "5368709120" } TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 18:19:15 +0000 (0:00:00.039) 0:03:43.409 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 18:19:15 +0000 (0:00:00.039) 0:03:43.449 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 18:19:15 +0000 (0:00:00.042) 0:03:43.491 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 18:19:15 +0000 (0:00:00.038) 0:03:43.529 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 18:19:15 +0000 (0:00:00.037) 0:03:43.566 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 18:19:15 +0000 (0:00:00.037) 0:03:43.604 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_actual_size": { "bytes": 5368709120, "changed": false, "failed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 18:19:15 +0000 (0:00:00.040) 0:03:43.644 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_expected_size": "5368709120" } TASK [assert] ****************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 18:19:15 +0000 (0:00:00.036) 0:03:43.680 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 18:19:15 +0000 (0:00:00.052) 0:03:43.733 ********* ok: [/cache/centos-8.qcow2] => { "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.039202", "end": "2022-07-21 18:19:16.256760", "rc": 0, "start": "2022-07-21 18:19:16.217558" } 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/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 18:19:16 +0000 (0:00:00.423) 0:03:44.157 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 18:19:16 +0000 (0:00:00.050) 0:03:44.207 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 18:19:16 +0000 (0:00:00.059) 0:03:44.267 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 18:19:16 +0000 (0:00:00.042) 0:03:44.309 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 18:19:16 +0000 (0:00:00.039) 0:03:44.348 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 18:19:16 +0000 (0:00:00.041) 0:03:44.390 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 18:19:16 +0000 (0:00:00.041) 0:03:44.431 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 18:19:16 +0000 (0:00:00.048) 0:03:44.479 ********* ok: [/cache/centos-8.qcow2] => { "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/tmp_0pjp8ed/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 18:19:16 +0000 (0:00:00.053) 0:03:44.533 ********* included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml for /cache/centos-8.qcow2 => (item=mount) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml for /cache/centos-8.qcow2 => (item=fstab) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fs.yml for /cache/centos-8.qcow2 => (item=fs) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml for /cache/centos-8.qcow2 => (item=device) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml for /cache/centos-8.qcow2 => (item=encryption) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml for /cache/centos-8.qcow2 => (item=md) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml for /cache/centos-8.qcow2 => (item=size) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml for /cache/centos-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 18:19:16 +0000 (0:00:00.082) 0:03:44.615 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 18:19:16 +0000 (0:00:00.044) 0:03:44.659 ********* ok: [/cache/centos-8.qcow2] => { "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/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 18:19:16 +0000 (0:00:00.056) 0:03:44.716 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 18:19:16 +0000 (0:00:00.026) 0:03:44.743 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 18:19:16 +0000 (0:00:00.053) 0:03:44.796 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 18:19:16 +0000 (0:00:00.041) 0:03:44.838 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 18:19:16 +0000 (0:00:00.025) 0:03:44.864 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 18:19:16 +0000 (0:00:00.025) 0:03:44.890 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 18:19:16 +0000 (0:00:00.025) 0:03:44.915 ********* ok: [/cache/centos-8.qcow2] => { "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/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 18:19:16 +0000 (0:00:00.038) 0:03:44.954 ********* ok: [/cache/centos-8.qcow2] => { "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/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 18:19:17 +0000 (0:00:00.106) 0:03:45.061 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 18:19:17 +0000 (0:00:00.025) 0:03:45.086 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 18:19:17 +0000 (0:00:00.092) 0:03:45.179 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 18:19:17 +0000 (0:00:00.038) 0:03:45.217 ********* ok: [/cache/centos-8.qcow2] => { "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/tmp_0pjp8ed/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 18:19:17 +0000 (0:00:00.078) 0:03:45.295 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 18:19:17 +0000 (0:00:00.026) 0:03:45.322 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 18:19:17 +0000 (0:00:00.025) 0:03:45.347 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 18:19:17 +0000 (0:00:00.425) 0:03:45.772 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 18:19:17 +0000 (0:00:00.040) 0:03:45.813 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 18:19:17 +0000 (0:00:00.024) 0:03:45.838 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 18:19:17 +0000 (0:00:00.038) 0:03:45.876 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 18:19:17 +0000 (0:00:00.025) 0:03:45.901 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 18:19:17 +0000 (0:00:00.025) 0:03:45.927 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 18:19:17 +0000 (0:00:00.024) 0:03:45.952 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 18:19:19 +0000 (0:00:01.866) 0:03:47.819 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 18:19:19 +0000 (0:00:00.025) 0:03:47.844 ********* skipping: [/cache/centos-8.qcow2] => { "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/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 18:19:19 +0000 (0:00:00.024) 0:03:47.869 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 18:19:19 +0000 (0:00:00.024) 0:03:47.894 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 18:19:19 +0000 (0:00:00.025) 0:03:47.919 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 18:19:19 +0000 (0:00:00.025) 0:03:47.945 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 18:19:19 +0000 (0:00:00.025) 0:03:47.971 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 18:19:19 +0000 (0:00:00.027) 0:03:47.998 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 18:19:20 +0000 (0:00:00.025) 0:03:48.024 ********* ok: [/cache/centos-8.qcow2] => { "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/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 18:19:20 +0000 (0:00:00.053) 0:03:48.078 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 18:19:20 +0000 (0:00:00.053) 0:03:48.131 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 18:19:20 +0000 (0:00:00.040) 0:03:48.172 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 18:19:20 +0000 (0:00:00.041) 0:03:48.213 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 18:19:20 +0000 (0:00:00.041) 0:03:48.254 ********* ok: [/cache/centos-8.qcow2] => { "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/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 18:19:20 +0000 (0:00:00.046) 0:03:48.301 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 18:19:20 +0000 (0:00:00.044) 0:03:48.345 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 18:19:20 +0000 (0:00:00.046) 0:03:48.392 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 18:19:20 +0000 (0:00:00.042) 0:03:48.434 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 18:19:20 +0000 (0:00:00.041) 0:03:48.475 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 18:19:20 +0000 (0:00:00.039) 0:03:48.515 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 18:19:20 +0000 (0:00:00.039) 0:03:48.554 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 18:19:20 +0000 (0:00:00.041) 0:03:48.595 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 18:19:20 +0000 (0:00:00.026) 0:03:48.622 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 18:19:20 +0000 (0:00:00.037) 0:03:48.659 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 18:19:20 +0000 (0:00:00.036) 0:03:48.696 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_expected_size": "5368709120" } TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 18:19:20 +0000 (0:00:00.078) 0:03:48.774 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 18:19:20 +0000 (0:00:00.099) 0:03:48.873 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 18:19:20 +0000 (0:00:00.037) 0:03:48.910 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 18:19:20 +0000 (0:00:00.036) 0:03:48.946 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 18:19:20 +0000 (0:00:00.036) 0:03:48.983 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 18:19:21 +0000 (0:00:00.035) 0:03:49.018 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 18:19:21 +0000 (0:00:00.034) 0:03:49.053 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_expected_size": "5368709120" } TASK [assert] ****************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 18:19:21 +0000 (0:00:00.035) 0:03:49.088 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 18:19:21 +0000 (0:00:00.024) 0:03:49.113 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 18:19:21 +0000 (0:00:00.022) 0:03:49.135 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 18:19:21 +0000 (0:00:00.022) 0:03:49.158 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 18:19:21 +0000 (0:00:00.022) 0:03:49.181 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 18:19:21 +0000 (0:00:00.024) 0:03:49.206 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 18:19:21 +0000 (0:00:00.022) 0:03:49.229 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 18:19:21 +0000 (0:00:00.023) 0:03:49.252 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 18:19:21 +0000 (0:00:00.023) 0:03:49.276 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 18:19:21 +0000 (0:00:00.040) 0:03:49.316 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 18:19:21 +0000 (0:00:00.022) 0:03:49.338 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Remove both of the LVM logical volumes in 'foo' created above] *********** task path: /tmp/tmp_0pjp8ed/tests/storage/tests_create_lvm_pool_then_remove.yml:84 Thursday 21 July 2022 18:19:21 +0000 (0:00:00.035) 0:03:49.373 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 18:19:21 +0000 (0:00:00.061) 0:03:49.435 ********* included: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 18:19:21 +0000 (0:00:00.036) 0:03:49.471 ********* ok: [/cache/centos-8.qcow2] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 18:19:21 +0000 (0:00:00.528) 0:03:50.000 ********* skipping: [/cache/centos-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-8.qcow2] => (item=CentOS_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [/cache/centos-8.qcow2] => (item=CentOS_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 18:19:22 +0000 (0:00:00.071) 0:03:50.071 ********* ok: [/cache/centos-8.qcow2] => { "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/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 18:19:22 +0000 (0:00:00.037) 0:03:50.108 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 18:19:22 +0000 (0:00:00.037) 0:03:50.145 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 18:19:22 +0000 (0:00:00.056) 0:03:50.201 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 18:19:22 +0000 (0:00:00.020) 0:03:50.222 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 18:19:22 +0000 (0:00:00.026) 0:03:50.249 ********* ok: [/cache/centos-8.qcow2] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "state": "absent", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "5g" }, { "mount_point": "/opt/test2", "name": "test2", "size": "4g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 18:19:22 +0000 (0:00:00.039) 0:03:50.288 ********* ok: [/cache/centos-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 18:19:22 +0000 (0:00:00.035) 0:03:50.323 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 18:19:22 +0000 (0:00:00.027) 0:03:50.350 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 18:19:22 +0000 (0:00:00.028) 0:03:50.379 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 18:19:22 +0000 (0:00:00.062) 0:03:50.441 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 18:19:22 +0000 (0:00:00.028) 0:03:50.470 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 18:19:22 +0000 (0:00:00.057) 0:03:50.527 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 18:19:22 +0000 (0:00:00.021) 0:03:50.549 ********* changed: [/cache/centos-8.qcow2] => { "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/sda", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "xfsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "", "_mount_id": "", "_raw_device": "", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test2", "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/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 18:19:24 +0000 (0:00:01.792) 0:03:52.342 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 18:19:24 +0000 (0:00:00.036) 0:03:52.379 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 18:19:24 +0000 (0:00:00.021) 0:03:52.400 ********* ok: [/cache/centos-8.qcow2] => { "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/sda", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "xfsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "", "_mount_id": "", "_raw_device": "", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test2", "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/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 18:19:24 +0000 (0:00:00.041) 0:03:52.441 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "", "_mount_id": "", "_raw_device": "", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test2", "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/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 18:19:24 +0000 (0:00:00.042) 0:03:52.484 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 18:19:24 +0000 (0:00:00.038) 0:03:52.522 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-8.qcow2] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'state': 'absent', 'fstype': 'xfs'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/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/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 18:19:24 +0000 (0:00:00.401) 0:03:52.923 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 18:19:25 +0000 (0:00:00.644) 0:03:53.568 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 18:19:25 +0000 (0:00:00.043) 0:03:53.612 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 18:19:26 +0000 (0:00:00.604) 0:03:54.216 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1658427367.7378547, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1643141385.117, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 135, "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": 1643141019.537, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "3147672035", "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/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 18:19:26 +0000 (0:00:00.410) 0:03:54.627 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 18:19:26 +0000 (0:00:00.023) 0:03:54.650 ********* ok: [/cache/centos-8.qcow2] META: role_complete for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/tests_create_lvm_pool_then_remove.yml:100 Thursday 21 July 2022 18:19:27 +0000 (0:00:00.951) 0:03:55.601 ********* included: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml for /cache/centos-8.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 18:19:27 +0000 (0:00:00.049) 0:03:55.650 ********* ok: [/cache/centos-8.qcow2] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "", "_mount_id": "", "_raw_device": "", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test2", "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/tmp_0pjp8ed/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 18:19:27 +0000 (0:00:00.100) 0:03:55.751 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 18:19:27 +0000 (0:00:00.102) 0:03:55.853 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "info": { "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-18-15-13-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "10G", "type": "partition", "uuid": "395b9844-e404-4857-afbb-c6edccaf72f3" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 18:19:28 +0000 (0:00:00.389) 0:03:56.242 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002880", "end": "2022-07-21 18:19:28.717958", "rc": 0, "start": "2022-07-21 18:19:28.715078" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jan 25 20:03:39 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=395b9844-e404-4857-afbb-c6edccaf72f3 / xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 18:19:28 +0000 (0:00:00.375) 0:03:56.618 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003119", "end": "2022-07-21 18:19:29.110734", "failed_when_result": false, "rc": 0, "start": "2022-07-21 18:19:29.107615" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 18:19:29 +0000 (0:00:00.391) 0:03:57.009 ********* included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool.yml for /cache/centos-8.qcow2 => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'absent', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}, {'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test2', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '', '_raw_device': '', '_mount_id': ''}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 18:19:29 +0000 (0:00:00.059) 0:03:57.069 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 18:19:29 +0000 (0:00:00.036) 0:03:57.106 ********* included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml for /cache/centos-8.qcow2 => (item=members) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-volumes.yml for /cache/centos-8.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 18:19:29 +0000 (0:00:00.047) 0:03:57.154 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_count": "0", "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 18:19:29 +0000 (0:00:00.054) 0:03:57.208 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 18:19:29 +0000 (0:00:00.022) 0:03:57.230 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "0" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 18:19:29 +0000 (0:00:00.049) 0:03:57.280 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 18:19:29 +0000 (0:00:00.051) 0:03:57.332 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 18:19:29 +0000 (0:00:00.050) 0:03:57.382 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 18:19:29 +0000 (0:00:00.039) 0:03:57.421 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 18:19:29 +0000 (0:00:00.052) 0:03:57.474 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 18:19:29 +0000 (0:00:00.026) 0:03:57.501 ********* TASK [Check MD RAID] *********************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 18:19:29 +0000 (0:00:00.022) 0:03:57.523 ********* included: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-md.yml for /cache/centos-8.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 18:19:29 +0000 (0:00:00.041) 0:03:57.565 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 18:19:29 +0000 (0:00:00.025) 0:03:57.591 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 18:19:29 +0000 (0:00:00.024) 0:03:57.615 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 18:19:29 +0000 (0:00:00.024) 0:03:57.639 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 18:19:29 +0000 (0:00:00.024) 0:03:57.664 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 18:19:29 +0000 (0:00:00.026) 0:03:57.690 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 18:19:29 +0000 (0:00:00.024) 0:03:57.715 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 18:19:29 +0000 (0:00:00.024) 0:03:57.739 ********* ok: [/cache/centos-8.qcow2] => { "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/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 18:19:29 +0000 (0:00:00.070) 0:03:57.810 ********* included: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-members-lvmraid.yml for /cache/centos-8.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 18:19:29 +0000 (0:00:00.045) 0:03:57.856 ********* included: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-lvmraid.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) included: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-lvmraid.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test2', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '', '_raw_device': '', '_mount_id': ''}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 18:19:29 +0000 (0:00:00.050) 0:03:57.906 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 18:19:29 +0000 (0:00:00.028) 0:03:57.935 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 18:19:29 +0000 (0:00:00.060) 0:03:57.996 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 18:19:30 +0000 (0:00:00.027) 0:03:58.024 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 18:19:30 +0000 (0:00:00.027) 0:03:58.051 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 18:19:30 +0000 (0:00:00.026) 0:03:58.077 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 18:19:30 +0000 (0:00:00.030) 0:03:58.108 ********* included: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-members-thin.yml for /cache/centos-8.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 18:19:30 +0000 (0:00:00.045) 0:03:58.154 ********* included: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-thin.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) included: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-thin.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test2', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '', '_raw_device': '', '_mount_id': ''}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 18:19:30 +0000 (0:00:00.051) 0:03:58.205 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 18:19:30 +0000 (0:00:00.025) 0:03:58.231 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 18:19:30 +0000 (0:00:00.023) 0:03:58.255 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 18:19:30 +0000 (0:00:00.024) 0:03:58.279 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about thinpool] ****************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 18:19:30 +0000 (0:00:00.023) 0:03:58.303 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 18:19:30 +0000 (0:00:00.022) 0:03:58.325 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 18:19:30 +0000 (0:00:00.022) 0:03:58.347 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 18:19:30 +0000 (0:00:00.024) 0:03:58.372 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 18:19:30 +0000 (0:00:00.024) 0:03:58.396 ********* included: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-members-encryption.yml for /cache/centos-8.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 18:19:30 +0000 (0:00:00.053) 0:03:58.450 ********* ok: [/cache/centos-8.qcow2] => { "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/tmp_0pjp8ed/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 18:19:30 +0000 (0:00:00.059) 0:03:58.509 ********* TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 18:19:30 +0000 (0:00:00.023) 0:03:58.533 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 18:19:30 +0000 (0:00:00.022) 0:03:58.555 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 18:19:30 +0000 (0:00:00.034) 0:03:58.589 ********* included: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-members-vdo.yml for /cache/centos-8.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 18:19:30 +0000 (0:00:00.048) 0:03:58.637 ********* included: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) included: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test2', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '', '_raw_device': '', '_mount_id': ''}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 18:19:30 +0000 (0:00:00.056) 0:03:58.693 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 18:19:30 +0000 (0:00:00.026) 0:03:58.719 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 18:19:30 +0000 (0:00:00.028) 0:03:58.748 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 18:19:30 +0000 (0:00:00.024) 0:03:58.772 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 18:19:30 +0000 (0:00:00.024) 0:03:58.797 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 18:19:30 +0000 (0:00:00.023) 0:03:58.820 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 18:19:30 +0000 (0:00:00.023) 0:03:58.844 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 18:19:30 +0000 (0:00:00.023) 0:03:58.868 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 18:19:30 +0000 (0:00:00.036) 0:03:58.904 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 18:19:30 +0000 (0:00:00.024) 0:03:58.929 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 18:19:30 +0000 (0:00:00.024) 0:03:58.953 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 18:19:30 +0000 (0:00:00.023) 0:03:58.976 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 18:19:30 +0000 (0:00:00.024) 0:03:59.001 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 18:19:31 +0000 (0:00:00.023) 0:03:59.025 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 18:19:31 +0000 (0:00:00.023) 0:03:59.048 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 18:19:31 +0000 (0:00:00.023) 0:03:59.071 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 18:19:31 +0000 (0:00:00.130) 0:03:59.202 ********* ok: [/cache/centos-8.qcow2] => { "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/tmp_0pjp8ed/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 18:19:31 +0000 (0:00:00.033) 0:03:59.235 ********* included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test2', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '', '_raw_device': '', '_mount_id': ''}) TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 18:19:31 +0000 (0:00:00.048) 0:03:59.284 ********* ok: [/cache/centos-8.qcow2] => { "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/tmp_0pjp8ed/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 18:19:31 +0000 (0:00:00.049) 0:03:59.333 ********* included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml for /cache/centos-8.qcow2 => (item=mount) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml for /cache/centos-8.qcow2 => (item=fstab) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fs.yml for /cache/centos-8.qcow2 => (item=fs) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml for /cache/centos-8.qcow2 => (item=device) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml for /cache/centos-8.qcow2 => (item=encryption) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml for /cache/centos-8.qcow2 => (item=md) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml for /cache/centos-8.qcow2 => (item=size) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml for /cache/centos-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 18:19:31 +0000 (0:00:00.079) 0:03:59.413 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 18:19:31 +0000 (0:00:00.042) 0:03:59.455 ********* ok: [/cache/centos-8.qcow2] => { "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/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 18:19:31 +0000 (0:00:00.054) 0:03:59.510 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 18:19:31 +0000 (0:00:00.025) 0:03:59.535 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 18:19:31 +0000 (0:00:00.050) 0:03:59.586 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 18:19:31 +0000 (0:00:00.037) 0:03:59.624 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 18:19:31 +0000 (0:00:00.027) 0:03:59.651 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 18:19:31 +0000 (0:00:00.024) 0:03:59.676 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 18:19:31 +0000 (0:00:00.024) 0:03:59.700 ********* ok: [/cache/centos-8.qcow2] => { "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/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 18:19:31 +0000 (0:00:00.038) 0:03:59.739 ********* ok: [/cache/centos-8.qcow2] => { "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/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 18:19:31 +0000 (0:00:00.065) 0:03:59.805 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 18:19:31 +0000 (0:00:00.023) 0:03:59.828 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 18:19:31 +0000 (0:00:00.053) 0:03:59.882 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 18:19:31 +0000 (0:00:00.038) 0:03:59.921 ********* ok: [/cache/centos-8.qcow2] => { "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/tmp_0pjp8ed/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 18:19:31 +0000 (0:00:00.038) 0:03:59.960 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 18:19:31 +0000 (0:00:00.025) 0:03:59.985 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 18:19:32 +0000 (0:00:00.025) 0:04:00.010 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 18:19:32 +0000 (0:00:00.378) 0:04:00.388 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 18:19:32 +0000 (0:00:00.040) 0:04:00.429 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 18:19:32 +0000 (0:00:00.022) 0:04:00.451 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 18:19:32 +0000 (0:00:00.040) 0:04:00.492 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 18:19:32 +0000 (0:00:00.042) 0:04:00.534 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 18:19:32 +0000 (0:00:00.025) 0:04:00.559 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 18:19:32 +0000 (0:00:00.026) 0:04:00.586 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 18:19:34 +0000 (0:00:01.993) 0:04:02.580 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 18:19:34 +0000 (0:00:00.024) 0:04:02.605 ********* skipping: [/cache/centos-8.qcow2] => { "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/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 18:19:34 +0000 (0:00:00.023) 0:04:02.628 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 18:19:34 +0000 (0:00:00.022) 0:04:02.651 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 18:19:34 +0000 (0:00:00.023) 0:04:02.675 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 18:19:34 +0000 (0:00:00.078) 0:04:02.754 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 18:19:34 +0000 (0:00:00.023) 0:04:02.777 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 18:19:34 +0000 (0:00:00.022) 0:04:02.800 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 18:19:34 +0000 (0:00:00.021) 0:04:02.821 ********* ok: [/cache/centos-8.qcow2] => { "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/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 18:19:34 +0000 (0:00:00.049) 0:04:02.871 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 18:19:34 +0000 (0:00:00.047) 0:04:02.918 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 18:19:34 +0000 (0:00:00.034) 0:04:02.953 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 18:19:34 +0000 (0:00:00.036) 0:04:02.989 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 18:19:35 +0000 (0:00:00.035) 0:04:03.024 ********* ok: [/cache/centos-8.qcow2] => { "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/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 18:19:35 +0000 (0:00:00.035) 0:04:03.060 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 18:19:35 +0000 (0:00:00.037) 0:04:03.097 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 18:19:35 +0000 (0:00:00.039) 0:04:03.137 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 18:19:35 +0000 (0:00:00.038) 0:04:03.175 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 18:19:35 +0000 (0:00:00.036) 0:04:03.211 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 18:19:35 +0000 (0:00:00.035) 0:04:03.247 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 18:19:35 +0000 (0:00:00.036) 0:04:03.283 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 18:19:35 +0000 (0:00:00.034) 0:04:03.318 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 18:19:35 +0000 (0:00:00.022) 0:04:03.341 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 18:19:35 +0000 (0:00:00.038) 0:04:03.379 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 18:19:35 +0000 (0:00:00.040) 0:04:03.420 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_expected_size": "5368709120" } TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 18:19:35 +0000 (0:00:00.034) 0:04:03.454 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 18:19:35 +0000 (0:00:00.035) 0:04:03.489 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 18:19:35 +0000 (0:00:00.038) 0:04:03.528 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 18:19:35 +0000 (0:00:00.038) 0:04:03.567 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 18:19:35 +0000 (0:00:00.038) 0:04:03.605 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 18:19:35 +0000 (0:00:00.037) 0:04:03.643 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 18:19:35 +0000 (0:00:00.038) 0:04:03.681 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_expected_size": "5368709120" } TASK [assert] ****************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 18:19:35 +0000 (0:00:00.040) 0:04:03.722 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 18:19:35 +0000 (0:00:00.025) 0:04:03.748 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 18:19:35 +0000 (0:00:00.025) 0:04:03.773 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 18:19:35 +0000 (0:00:00.024) 0:04:03.797 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 18:19:35 +0000 (0:00:00.024) 0:04:03.821 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 18:19:35 +0000 (0:00:00.026) 0:04:03.848 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 18:19:35 +0000 (0:00:00.023) 0:04:03.871 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 18:19:35 +0000 (0:00:00.023) 0:04:03.894 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 18:19:35 +0000 (0:00:00.026) 0:04:03.920 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 18:19:35 +0000 (0:00:00.034) 0:04:03.955 ********* ok: [/cache/centos-8.qcow2] => { "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/tmp_0pjp8ed/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 18:19:36 +0000 (0:00:00.050) 0:04:04.005 ********* included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml for /cache/centos-8.qcow2 => (item=mount) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml for /cache/centos-8.qcow2 => (item=fstab) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fs.yml for /cache/centos-8.qcow2 => (item=fs) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml for /cache/centos-8.qcow2 => (item=device) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml for /cache/centos-8.qcow2 => (item=encryption) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml for /cache/centos-8.qcow2 => (item=md) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml for /cache/centos-8.qcow2 => (item=size) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml for /cache/centos-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 18:19:36 +0000 (0:00:00.077) 0:04:04.083 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 18:19:36 +0000 (0:00:00.081) 0:04:04.164 ********* ok: [/cache/centos-8.qcow2] => { "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/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 18:19:36 +0000 (0:00:00.087) 0:04:04.251 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 18:19:36 +0000 (0:00:00.024) 0:04:04.276 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 18:19:36 +0000 (0:00:00.050) 0:04:04.327 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 18:19:36 +0000 (0:00:00.040) 0:04:04.367 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 18:19:36 +0000 (0:00:00.024) 0:04:04.392 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 18:19:36 +0000 (0:00:00.022) 0:04:04.415 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 18:19:36 +0000 (0:00:00.021) 0:04:04.436 ********* ok: [/cache/centos-8.qcow2] => { "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/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 18:19:36 +0000 (0:00:00.033) 0:04:04.470 ********* ok: [/cache/centos-8.qcow2] => { "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/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 18:19:36 +0000 (0:00:00.057) 0:04:04.528 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 18:19:36 +0000 (0:00:00.021) 0:04:04.549 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 18:19:36 +0000 (0:00:00.046) 0:04:04.596 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 18:19:36 +0000 (0:00:00.046) 0:04:04.642 ********* ok: [/cache/centos-8.qcow2] => { "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/tmp_0pjp8ed/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 18:19:36 +0000 (0:00:00.041) 0:04:04.683 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 18:19:36 +0000 (0:00:00.026) 0:04:04.709 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 18:19:36 +0000 (0:00:00.022) 0:04:04.732 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 18:19:37 +0000 (0:00:00.376) 0:04:05.109 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 18:19:37 +0000 (0:00:00.040) 0:04:05.149 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 18:19:37 +0000 (0:00:00.022) 0:04:05.172 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 18:19:37 +0000 (0:00:00.043) 0:04:05.215 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 18:19:37 +0000 (0:00:00.024) 0:04:05.240 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 18:19:37 +0000 (0:00:00.023) 0:04:05.263 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 18:19:37 +0000 (0:00:00.025) 0:04:05.288 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 18:19:39 +0000 (0:00:01.945) 0:04:07.233 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 18:19:39 +0000 (0:00:00.023) 0:04:07.257 ********* skipping: [/cache/centos-8.qcow2] => { "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/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 18:19:39 +0000 (0:00:00.022) 0:04:07.280 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 18:19:39 +0000 (0:00:00.023) 0:04:07.304 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 18:19:39 +0000 (0:00:00.024) 0:04:07.329 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 18:19:39 +0000 (0:00:00.023) 0:04:07.352 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 18:19:39 +0000 (0:00:00.023) 0:04:07.376 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 18:19:39 +0000 (0:00:00.026) 0:04:07.403 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 18:19:39 +0000 (0:00:00.023) 0:04:07.426 ********* ok: [/cache/centos-8.qcow2] => { "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/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 18:19:39 +0000 (0:00:00.093) 0:04:07.520 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 18:19:39 +0000 (0:00:00.050) 0:04:07.571 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 18:19:39 +0000 (0:00:00.036) 0:04:07.607 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 18:19:39 +0000 (0:00:00.038) 0:04:07.645 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 18:19:39 +0000 (0:00:00.037) 0:04:07.683 ********* ok: [/cache/centos-8.qcow2] => { "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/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 18:19:39 +0000 (0:00:00.088) 0:04:07.771 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 18:19:39 +0000 (0:00:00.042) 0:04:07.814 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 18:19:39 +0000 (0:00:00.038) 0:04:07.852 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 18:19:39 +0000 (0:00:00.040) 0:04:07.893 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 18:19:39 +0000 (0:00:00.039) 0:04:07.932 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 18:19:39 +0000 (0:00:00.039) 0:04:07.972 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 18:19:40 +0000 (0:00:00.038) 0:04:08.011 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 18:19:40 +0000 (0:00:00.037) 0:04:08.048 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 18:19:40 +0000 (0:00:00.063) 0:04:08.111 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 18:19:40 +0000 (0:00:00.039) 0:04:08.151 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 18:19:40 +0000 (0:00:00.045) 0:04:08.197 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_expected_size": "5368709120" } TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 18:19:40 +0000 (0:00:00.039) 0:04:08.237 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 18:19:40 +0000 (0:00:00.043) 0:04:08.281 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 18:19:40 +0000 (0:00:00.038) 0:04:08.319 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 18:19:40 +0000 (0:00:00.035) 0:04:08.355 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 18:19:40 +0000 (0:00:00.035) 0:04:08.390 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 18:19:40 +0000 (0:00:00.039) 0:04:08.429 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 18:19:40 +0000 (0:00:00.034) 0:04:08.463 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_expected_size": "5368709120" } TASK [assert] ****************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 18:19:40 +0000 (0:00:00.034) 0:04:08.498 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 18:19:40 +0000 (0:00:00.025) 0:04:08.524 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 18:19:40 +0000 (0:00:00.024) 0:04:08.548 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 18:19:40 +0000 (0:00:00.027) 0:04:08.576 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 18:19:40 +0000 (0:00:00.025) 0:04:08.601 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 18:19:40 +0000 (0:00:00.022) 0:04:08.624 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 18:19:40 +0000 (0:00:00.023) 0:04:08.648 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 18:19:40 +0000 (0:00:00.023) 0:04:08.671 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 18:19:40 +0000 (0:00:00.024) 0:04:08.696 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 18:19:40 +0000 (0:00:00.047) 0:04:08.743 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 18:19:40 +0000 (0:00:00.026) 0:04:08.769 ********* ok: [/cache/centos-8.qcow2] => { "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-8.qcow2 : ok=536 changed=9 unreachable=0 failed=0 skipped=540 rescued=0 ignored=0 Thursday 21 July 2022 18:19:40 +0000 (0:00:00.045) 0:04:08.815 ********* =============================================================================== fedora.linux_system_roles.storage : make sure blivet is available ----- 146.32s /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Ensure cryptsetup is present -------------------------------------------- 3.13s /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:10 ----------- fedora.linux_system_roles.storage : make sure required packages are installed --- 2.17s /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Ensure cryptsetup is present -------------------------------------------- 2.03s /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:10 ----------- Ensure cryptsetup is present -------------------------------------------- 2.00s /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:10 ----------- Ensure cryptsetup is present -------------------------------------------- 1.99s /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:10 ----------- Ensure cryptsetup is present -------------------------------------------- 1.98s /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:10 ----------- Ensure cryptsetup is present -------------------------------------------- 1.95s /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:10 ----------- fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 1.89s /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Ensure cryptsetup is present -------------------------------------------- 1.87s /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:10 ----------- Ensure cryptsetup is present -------------------------------------------- 1.87s /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:10 ----------- fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 1.79s /tmp/tmpu1heti3n/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.78s /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : get service facts ------------------- 1.77s /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Find unused disks in the system ----------------------------------------- 1.56s /tmp/tmp_0pjp8ed/tests/storage/get_unused_disk.yml:2 -------------------------- Read the /etc/fstab file for volume existence --------------------------- 1.40s /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:19 --------------------- fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 1.32s /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Gathering Facts --------------------------------------------------------- 1.12s /tmp/tmp_0pjp8ed/tests/storage/tests_create_lvm_pool_then_remove_scsi_generated.yml:3 Enable HA repos --------------------------------------------------------- 1.07s /cache/centos-8_setup.yml:5 --------------------------------------------------- fedora.linux_system_roles.storage : Update facts ------------------------ 1.07s /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183